Datasheet

Modbus TCP Client
MODBUS is an application layer messaging protocol that provides client/server communication
between devices. Proview implements the MODBUS messaging service over TCP/IP.
MODBUS is a request/reply protocol and offers services specified by function codes. For more
information on the MODBUS protocol see the documents:
MODBUS Application Protocol Specification V1.1b
MODBUS Messaging on TCP/IP Implementation Guide V1.0b
Each device that is to be communicated with is configured with an object of class
Modbus_TCP_Slave, or a subclass to this class. The interface to the device is defined by instances
of the class Modbus_Module. Each instance of the Modbus_Module represents a function code for
the service that is requested. The corresponding data area is defined with channels.
Configuration of a device
Master
Insert a Modbus_Master-object in the node-hierarchy. By default all modbus communication will
be handled by one plc-thread. Connect the master to a plc-thread.
Slaves
As children to the master-object you configure the devices that you want to communicate with.
Each device will be represented by a Modbus_TCP_Slave-object.
Insert a Modbus_TCP_Slave-object in the node-hierarchy. Specify the ip-address of the MODBUS
device. By default the device will be handled by a plc-thread. Connect the slave to a plc-thread. An
example is given below.