The Function block Modbus TCP MTCP_CP2E_Server is dedicated to CP2E PLC.
The FB Modbus TCP server provides some read/write features in accordance with the specifications defined by the Modbus organization.

Restrictions :
- The FB MTCP_CP2E_Server_S1, S2 and S3 support up to 3 clients.
- The FB MTCP_CP2E_Server is intended to facilitate data exchange not related to the control or the safety of machine.
Supported command list
Code | Function | Name in MODBUS |
0x01 | ***** NOT SUPPORTED ****** | Read Coils |
0x02 | ***** NOT SUPPORTED ****** | Read Discrete Inputs |
0x03 | I/O memory area (DM) Read Multiple Registers | Read Holding Registers |
0x04 | I/O memory area (CIO) Read Multiple Registers | Read Input Registers |
0x05 | I/O memory area Write Single Coil (CIO) | Write Single Coil |
0x06 | I/O memory area (DM) Write Single Register | Write Single Register |
0x08 | Echo back test | Diagnostic |
0x0F | ***** NOT SUPPORTED ****** | Write Multiple Coils |
0x10 | I/O memory area (DM) Write Multiple Registers | Write Multiple Registers |
0x17 | Read Write Multiple Registers | Read Write Registers |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article