4. Configuration
112
Configuration
Description
Default
Value
Options
Value Variable
Symbolic variable name
-
Variable name declared in a program or
GVL
Data Type
MODBUS data type
-
Write Coil (1 bit)
Read Coil (1 bit)
Write Holding Register (16 bits)
Read Holding Register (16 bits)
Holding Register
– AND Mask (16 bits)
Holding Register
– OR Mask (16 bits)
Input Register (16 bits)
Input Status (1 bit)
Data Start
Address
Initial address of the MODBUS
data
-
1 to 65536
Data Size
Size of the MODBUS data
-
1 to 65536
Data Range
Range of the configured data
address
-
-
Quality Variable
Variable name that will contain the
quality data of the MODBUS
mapping
-
Name of a variable declared in a program or
GVL. The variable must be DWORD.
Generate
Quality
Variables
Automatically generates in the
IOQualities GVL variables of type
QUALITY for each value variable
declared. For more information go
to chapter Quality Conversions.
-
-
Table 4-63. MODBUS Client Data Mapping Configuration
Notes:
Variable
Value:
This field is used to specify a symbolic variable in the MODBUS relation.
Data Type:
This field is used to specify the data type used in the MODBUS relation.
Data type
Size [bits]
Description
Write Coil
1
Write digital output
Read Coil
1
Read digital output
Write Holding Register
16
Write analog output
Read Holding Register
16
Read analog output
Holding Register com
mascara AND
16
Analog output that can be read or written with
AND mask
Holding Register com
mascara OR
16
Analog output that can be read or written with
OR mask
Input Register
16
Analog input that can only be read
Input Status
1
Digital input which can only be read
Table 4-64. Data types supported in MODBUS Client
Data Start Address:
Initial address of the MODBUS mapping data.
Data size:
The size value specifies the maximum amount of data that a MODBUS relation can
access, from the initial address. Thus, to read a continuous address range, it is necessary that all
addresses are declared in a single interface. This field varies with the MODBUS data type
configured.
Data range:
This field shows the memory address range used by the MODBUS relation.
Quality Variable:
This field specifies the variable that contains the quality data of the MODBUS
relation.
Requests Configuration
The setting of the MODBUS requests (Figure 4-21), follows the parameters described in Table 4-65: