Modbus TCP

Post Reply
User avatar
admin
Site Admin
Posts: 231
Joined: Tue May 11, 2010 6:30 pm

Modbus TCP

Post 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 51354 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 51354 times
Attachments
Modbus Server V1-02.fsm
(50.09 KiB) Downloaded 4167 times
Modbus TCP Client V1-06.fsm
(64.67 KiB) Downloaded 4163 times
Post Reply