what does the "modbusDevice regBank;" means?
"modbusSlave slave;" is also a weired one to me;
where can I find the definition and explain of this command,?
I believe these are instances of classes being declared.
I would locate the file for arduino.
There should be a file in there called Libraries or lib or something.
Within that file you can locate
ModbusSlave and your other installed libraries.
These libraries are going to have a .cpp and a .h file. take a look at the .cpp file
It would be unusual to find a full and detailed explanation of every part of a specific library, given that most libraries are written by volunteers, but the basic concepts are explained in the Morse library example above.