Page 1 of 1

Modbus TCP

PostPosted: Thu Nov 17, 2011 9:01 pm
by admin
These are examples of how to communicate to external hardware using the Modbus TCP standard (Thanks - Embedded). Modbus is a popular protocol for communicating with industrial PLC's

Modbus.jpg
Modbus.jpg (72.9 KiB) Viewed 31952 times


There are two programs a Client and a Server. Usually the Client is the controller and the Server is the PLC device.

These examples use the registers (FC = 3 & FC = 16) to communicate but could be adapted to use coils if required.

For more information on Modbus: http://www.modbus.org/

Modbus TCP Client  V1-06 clip.png
Modbus TCP Client V1-06 clip.png (63.63 KiB) Viewed 31952 times