Modbus RTU

Use this library. It is so simple and works.

http://code.google.com/p/arduino-modbus-slave/downloads/detail?name=MODBUS.zip&can=2&q=