(Read 1 time)
Feb 01, 2011, 10:04 pm
has anyone tried to communicate with an arduino using ModBus or TCP/IP? Are there protocols for this already?
Feb 02, 2011, 01:05 am
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.
Feb 02, 2011, 03:36 am
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"
May 16, 2011, 11:22 am
I am using it alot
my work is based of modbusmq
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