Modbus Read Write FBD
Modbus Read Write FBD
Modbus Read Write FBD
Ethernet PLC (PR-12-N, PR-18-N, PR-26-N series) Please use this block for Modbus communication.
1, Modbus RTU
The 4 options selected in the red box in the above figure are serial communication ports, which
2, Modbus TCP
First, connect the PLCs to the LAN where the PC is located. And belong to the same network
Web Port remains unchanged), meaning the same as the IP address of the configuration
computer.
Port: The port of the PLC when doing Server, try not to use 8001.
Max Clients:0 – 8, When the PLC is used as a server, you can select how many channels
Port: The port of the PLC when doing Server, try not to use 8001. Not the same as TCP.
Area E:Used to configure the IP and port of the servers when the PLC is used as a client. The
sum of the number of servers that can be configured and the number of Max Clients set in Area
C is 8.
Area F:
Read: Read network configuration parameters.
Confirm & Reset: After writing the configuration, click this button to complete the
After the parameters are configured, it is best to test whether there is successful access to the network. The
method is to run CMD.exe (on PC): ping 192.168.0.172
*
*Add another point:
Modbus TCP architecture is client – server (like for websites, you with the browser are the client that ask
information to the server, and the server reply).Modbus TCP devices can be both client-server and the protocol
is multi-master, so every device can start the communication.
Modbus RTU architecture is master – slave (master is the client, slave is the server).
**
*
**
*
*
*
*
*
*
**
A) This PLC is used as a client, and the MODBUS READ WRITE configuration is as follows:
B) This PLC is used as a server, and the MODBUS READ WRITE configuration is as follows: