Applications
Modbus_TCP address from 40001 in the state table of MagicWorks PLC. Same content with
data in the memory for Modbus_TCP master means successful Modbus TCP communication.
6.2.4 ModBus TCP Slave Address Mapping
ModBus address is consist of Data Type and 5~6 character values of the offset. The first 1 or 2 is
Data Type, others are values conforming to the data type. ModBus-TCP slave support the
following addresses:
Address Image of slave to TCP protocol
6.3 UDP_PPI Communication
This section show you an application of CTH200 UDP_PPI communication (EtherNET Port).
In the UDP_PPI network, CPU works as master which is independent with the whole cycle period;
and the Receiving / Sending of message is controlled by user program.
When using the EtherNET port for Modbus TCP communication, CTH200 PLC can serve as
Modbus TCP slave directly without any configuration, the default port number is 502 and if you
need to modify IP address, please refer to the Chapter 2 Getting Started.
The CTH200 PLC can serve as UDP_PPI master or slave to communicate with other devices in
the same LAN by using NETW/NETR or UDP_NETR/UDP_NETW instructions. The CTH200
PLC can also be used as slave of HMI in the UDP_PPI network.