Skip to main content

Creating a Device Project with Modbus

You create two device projects in a shared workspace. One project acts as a Modbus TCP Server and the other project acts as a Modbus TCP Client. Both projects continuously exchange their values according to the ping-pong principle. In addition, you monitor the device state and the exchanged values.

Limitations of Modbus in CODESYS 4

  • Only Modbus TCP is currently available. The serial gateway of the client side cannot yet be implemented in CODESYS 4.

  • The additional TCP Server mappings for status and request count of each individual channel are currently not supported.

  • The editor does not provide a status page or advanced diagnosis options.

  • The editors do not automatically switch to read-only while logged in or in online mode.