Modbus TCP
Posted: Thu Nov 17, 2011 9:01 pm
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
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/
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/