Arduino library to use arduino as modbus device.
“The library gives the program the possibility to be a master, a slave or both on a TCP network.
The Modbus functions 1, 2, 3, 4, 5, 6 15 and 16 are implemented.”
I have used this library successfully with kepserver enterprise and Kepware to communicate with Rockwell Factory talk view SE and panel views.