Connect to C-More with Modbus TCP
This procedure will walk through setting up the ModbusTCP mapping with the XEM CPU as a server and a C-More EA9 HMI as the client.
Some programming is required for transferring STRING values between the XEM CPU and C-More HMI.
Supported Data Types
| XG5000 Data Type | C-More Data Type Equivalent |
|---|---|
| BOOL | Discrete |
| INT | Signed int 16 |
| UINT | Unsigned int 16 |
| DINT | Signed int 32 |
| UDINT | Unsigned int 32 |
| REAL | Floating PT 32 |
| WORD | Unsigned int 16 |
| DWORD | Unsigned int 32 |
| STRING | Ascii String |
Procedures
Follow the referenced procedures below to connect to C-More via Modbus TCP.
You can also download an example program here:
LP203