Modbus Communication Driver is intended for data connection between Reliance's runtime software and devices communicating via the Modbus RTU and/or Modbus TCP communication protocols. The driver implements basic communication functions for reading and writing data.
The implemented communication functions:
If any of the writing functions is not supported by the device, this function can then be deactivated.
Communication with devices runs in one of the following ways:
Connection type can be selected in the Reliance development environment in the Project Structure Manager (connecting a device).
The communication driver is a DLL loaded into memory by the Reliance 4 Driver Server program which can be launched either as a Windows service at Windows startup or as a standard application at the start of a visualization project. Information required to make a connection with the devices is read from the visualization project. After reading this information, communication to the devices is activated.
Memory of the Modicon systems is divided into the four basic areas: digital inputs, digital outputs, input registers, holding registers. In the Modicon systems, these areas are addressed absolutely, see the table below, the “Modicon addressing” column. In the Reliance system, however, the tags are addressed relatively starting always at zero, see the table below, the “Reliance addressing” column.
| Addressing tags in a Modbus device | |||
| Memory area | Modicon addressing | Reliance addressing | |
| Register type | Address | ||
| 1. Discrete outputs (Coils) | from 00001 | Outputs | from 0 |
| 2. Discrete inputs | from 10001 | Inputs | from 0 |
| 3. Input registers | from 30001 | Input registers | from 0 |
| 4. Holding registers | from 40001 | Holding registers | from 0 |
In the Reliance system, the tag at 40011 will be addressed as follows:
Register type: Holding registers; Address 10
Reading the data runs periodically based on the defined communication zones. The tag value and the data of the communication zone in which the tag is located are always updated together. The tag data type must match the size of a data point in the selected register type. The size of data points is defined by the Modbus protocol (Coils, Inputs – bool; Holding Registers, Input register – word).
The loss of connection is detected if the communication driver doesn’t receive a valid response Nx consecutively (N represents the maximum number of failed communications). This parameter can be adjusted.
For information about the price, please contact your local distributor.

| Top |