Go Down

Topic: modbus (Read 639 times) previous topic - next topic

Bradmdickerson

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

fliggygeek

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

gardner

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"

Arnonh

I am using it alot
my work is based of modbusmq

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1271505778
http://bazaar.launchpad.net/~marioquark-yahoo/modbusmq/modbusmq/files

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

Go Up