forked from smarmengol/Modbus-Master-Slave-for-Arduino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
14,863 additions
and
14,863 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,67 @@ | ||
README.txt | ||
|
||
libmodbus is a library that provides a Serial Modbus implementation for Arduino. | ||
|
||
A primary goal was to enable industrial communication for the Arduino in order to link it to industrial devices such as HMIs, CNCs, PLCs, temperature regulators or speed drives. | ||
|
||
LIBRARY CONTENTS | ||
================================================================= | ||
LICENSE.txt GNU Licence file | ||
keywords.txt Arduino IDE colouring syntax | ||
|
||
/documentation | ||
Library documentation generated with Doxygen. | ||
|
||
/examples | ||
Sample sketches to implement miscellaneous settings: | ||
|
||
/examples/advanced_slave Modbus slave node, which links Arduino pins to the Modbus port. | ||
/examples/RS485_slave Modbus slave adapted to the RS485 port | ||
/examples/simple_master Modbus master node with a single query | ||
/examples/simple_slave Modbus slave node with a link array | ||
|
||
INSTALLATION PROCEDURE | ||
================================================================= | ||
Refer to this documentation to Install this library: | ||
|
||
http://arduino.cc/en/Guide/Libraries | ||
|
||
Starting with version 1.0.5, you can install 3rd party libraries in the IDE. | ||
|
||
Do not unzip the downloaded library, leave it as is. | ||
|
||
In the Arduino IDE, navigate to Sketch > Import Library. At the top of the drop down list, select the option to "Add Library". | ||
|
||
You will be prompted to select this zipped library. | ||
|
||
Return to the Sketch > Import Library menu. You should now see the library at the bottom of the drop-down menu. It is ready to be used in your sketch. | ||
|
||
The zip file will have been expanded in the libraries folder in your Arduino sketches directory. | ||
|
||
NB : the library will be available to use in sketches, but examples for the library will not be exposed in the File > Examples until after the IDE has restarted. | ||
|
||
|
||
KNOWN ISSUES | ||
================================================================= | ||
It is not compatible with ARDUINO LEONARDO and not tested under ARDUINO DUE and newer boards. | ||
|
||
TODO List | ||
================================================================= | ||
Common to Master and Slave: | ||
|
||
1) Implement other Serial settings: parity, stop bits, ... | ||
|
||
2) End frame delay, also known as T35 | ||
|
||
3) Test it with several Arduino boards: UNO, Mega, etc.. | ||
|
||
4) Extend it to Leonardo | ||
|
||
Master: | ||
|
||
1) Function code 1 and 2 still not implemented | ||
|
||
2) Function code 15 still not implement | ||
|
||
3) Other codes under development | ||
|
||
README.txt | ||
|
||
libmodbus is a library that provides a Serial Modbus implementation for Arduino. | ||
|
||
A primary goal was to enable industrial communication for the Arduino in order to link it to industrial devices such as HMIs, CNCs, PLCs, temperature regulators or speed drives. | ||
|
||
LIBRARY CONTENTS | ||
================================================================= | ||
LICENSE.txt GNU Licence file | ||
keywords.txt Arduino IDE colouring syntax | ||
|
||
/documentation | ||
Library documentation generated with Doxygen. | ||
|
||
/examples | ||
Sample sketches to implement miscellaneous settings: | ||
|
||
/examples/advanced_slave Modbus slave node, which links Arduino pins to the Modbus port. | ||
/examples/RS485_slave Modbus slave adapted to the RS485 port | ||
/examples/simple_master Modbus master node with a single query | ||
/examples/simple_slave Modbus slave node with a link array | ||
|
||
INSTALLATION PROCEDURE | ||
================================================================= | ||
Refer to this documentation to Install this library: | ||
|
||
http://arduino.cc/en/Guide/Libraries | ||
|
||
Starting with version 1.0.5, you can install 3rd party libraries in the IDE. | ||
|
||
Do not unzip the downloaded library, leave it as is. | ||
|
||
In the Arduino IDE, navigate to Sketch > Import Library. At the top of the drop down list, select the option to "Add Library". | ||
|
||
You will be prompted to select this zipped library. | ||
|
||
Return to the Sketch > Import Library menu. You should now see the library at the bottom of the drop-down menu. It is ready to be used in your sketch. | ||
|
||
The zip file will have been expanded in the libraries folder in your Arduino sketches directory. | ||
|
||
NB : the library will be available to use in sketches, but examples for the library will not be exposed in the File > Examples until after the IDE has restarted. | ||
|
||
|
||
KNOWN ISSUES | ||
================================================================= | ||
It is not compatible with ARDUINO LEONARDO and not tested under ARDUINO DUE and newer boards. | ||
|
||
TODO List | ||
================================================================= | ||
Common to Master and Slave: | ||
|
||
1) Implement other Serial settings: parity, stop bits, ... | ||
|
||
2) End frame delay, also known as T35 | ||
|
||
3) Test it with several Arduino boards: UNO, Mega, etc.. | ||
|
||
4) Extend it to Leonardo | ||
|
||
Master: | ||
|
||
1) Function code 1 and 2 still not implemented | ||
|
||
2) Function code 15 still not implement | ||
|
||
3) Other codes under development | ||
|
Oops, something went wrong.