Go Down

Topic: modbus (Read 1 time) previous topic - next topic


has anyone tried to communicate with an arduino using ModBus or TCP/IP?  Are there protocols for this already?


I have never used ModBus, but there are plenty of ethernet shields avaliable for use with the arduino, it would just be a case of making them output the data you need, the TCP-IP stack should be included in the shield itself, so it is just a case of making the data become ModBus compatible.
"Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent di


There is a MODBUS master implementation:  http://arduino.cc/playground/Code/ModbusMaster

I didn't look super hard, but Google seems to know quite a a lot about "arduino modbus"


I am using it alot
my work is based of modbusmq


however i found a small bug with using IP address containing zeros (
to fix find any strncpy in the code and replace with memcpy

Go Up