When using a SCADAPack x70 device it is recommended to use the Modbus Scanner implemented with RemoteConnect for simple Modbus polling of a server device (Modbus RTU or Modbus/TCP).
It may be desirable to have more control with the use of a logic program to perform the Modbus Client operations. An end user can use the MB_SERIAL_MASTER block in the logic editor to perform these tasks.
This example shows how to implement a typical Modbus read/write sequence in logic with retries and error detection. It uses a combination of LD (Ladder Logic) and FBD (Function Block Diagram) for section execution.
It may be desirable to have more control with the use of a logic program to perform the Modbus Client operations. An end user can use the MB_SERIAL_MASTER block in the logic editor to perform these tasks.
This example shows how to implement a typical Modbus read/write sequence in logic with retries and error detection. It uses a combination of LD (Ladder Logic) and FBD (Function Block Diagram) for section execution.