Modbus TCP is based on a client/server model.
The Magelis SCU HMI Controller implements both client and server services so that it can initiate communications to other controllers and I/O devices, and respond to requests from other controllers, SCADA, HMIs, and other devices.
The Modbus TCP client supports the following function blocks from the PLCCommunication library without any configuration:
oADDM
oREAD_VAR
oSEND_RECV_MSG
oSINGLE_WRITE
oWRITE_READ_VAR
oWRITE_VAR
For further information, refer to the Function Block Descriptions.
The library SE_Modbus TCP_Slave provides a communication function block, ModbusServer, for managing the communication between the Magelis SCU HMI Controller in the capacity of a Modbus server and any clients requesting Modbus services from the controller. For more details, refer to the appendix Library SE_ModbusTCP_Slave.