modbus

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.

There is a MODBUS master implementation: Arduino Playground - ModbusMaster Library

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

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