5. CONFIGURATION
Configuration Description Default Value Options
Function MODBUS function type Read
Read
Write
Read/Write
Mask Write
Slave Address MODBUS slave address 1 0 to 255
Polling (ms)
Period of communication
(ms)
100 0 to 3600000
Mapping Diagnostics Area
Starting address of MOD-
BUS interface diagnostics
- 0 to 2147483640
Read Data Start Address
Starting address of the read
MODBUS data
1 1 to 65536
Read Data Size
Number of read MODBUS
data
-
Depends on the function
used
Read IEC Variable
Starting address of the read
variables (%I)
- 0 to 2147483647
Write Data Start Address
Starting address of MOD-
BUS writing data
1 1 to 65536
Write Data Size
Number of MODBUS writ-
ing data
-
Depends on the function
used
Write IEC Variable
Starting address of the write
variables (%Q)
- 0 to 2147483647
Mask Write IEC Variables
Starting address of variables
for write mask (%Q)
- 0 to 2147483644
Table 117: Device Mapping
Notes:
Device Mappings Table: the number of settings and values described in the column Options may vary according to the
data type and MODBUS function.
Slave Address: typically, the address 0 is used when the server is a MODBUS RTU or MODBUS RTU via TCP Gateway,
and the same broadcasts the request to all network devices. When the address 0 is used, the client waits for a response and its
use serves only to written commands. Moreover, in accordance with MODBUS standard, the valid address range for slaves is
0 to 247, and addresses 248 to 255 are reserved.
Polling: this parameter indicates how often the communication set for this relation must be executed. At the end of
communication will be awaited a time equal to the configured polling and after, will be performed a new communication as
soon as possible.
Mapping Diagnostic Area: this field is limited by the size of output variables addressable memory (%Q) at CPU, which
can be found in the section Memory . The configured MODBUS relations diagnostics are described in Table 91.
Size of the Read and Write Data: details of the size of the data supported by each function are described in the notes of
Requests Configuration – Symbolic Mapping Settings section.
ATTENTION
When accessing the communication data memory is between devices with different endian-
ism (Little-Endian and Big-Endian), inversion of the read/write data may occur. In this case,
the user must adjust the data in the application.
Read IEC Variable: in case the MODBUS data type is Coil or Input Status (bit), the IEC variables initial address will be
in the format %IX10.1. However, if the MODBUS data type is Holding Register or Input Register (16 bits), the IEC variables
initial address will be in the format %IW. This field is limited by the memory size of the addressable input variables (%I) from
each CPU, which can be seen on Memory section.
Write IEC Variable: in case the MODBUS data type is Coil (bit), the IEC variables initial address will be in the format
%QX10.1. However, if the MODBUS data type is Holding Register (16 bits), the IEC variables initial address will be in the
format %QW. This field is limited by the memory size of the addressable output variables (%Q) from each CPU, which can be
seen on Memory section.
142