Step1: Configure the IP configuration of the PLCs.
Master
IP: 192.168.0.100
TCP port: 8000
Slave1:
IP: 192.168.0.101 Target server: 192.168.0.100
Target Port: 8000
Slave2:
IP: 192.168.0.102 Target server: 192.168.0.100
Target Port: 8000
Slave3:
IP: 192.168.0.103 Target server: 192.168.0.100
Target Port: 8000
Step 2 Programming the Master and Slave
Master program
In the master program, you need read and write data to
the slaves, the function block is “Modbus Read Write”.
NOTICE:
Even if the MODBUS READ and MODBUS WRITE
block also have the Ethernet interface, but they only can