4. Configuration
106
Configuration
Description
Default
Options
Value Variable
Symbolic variable name
-
Name of a variable declared in a program or
GVL
Data Type
MODBUS data type
-
Coil (1 bit)
Input Status (1 bit)
Holding Register (16 bits)
Input Register (16 bits)
Data Start
Address
MODBUS data initial address
-
1 to 65536
Data Size
MODBUS data size
-
1 to 65536
Data Range
Configured data address range
-
-
Quality Variable
Name of the symbolic variable
that stores the mapping quality,
which must be type QUALITY
available in the library
LibDataTypes
The variable can be simple or an array
element and can be in structures.
Table 4-57. MODBUS Mapping Settings
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
Coil
1
Digital output that can be read or written
Input Status
1
Digital input (read only)
Holding Register
16
Analog output that can be read or written
Input Register
16
Analog input (read only)
Table 4-58. Data types supported by MODBUS RTU Slave
Data Start Address:
Data initial address of the MODBUS relation.
Data Size:
The Data Size value sets the maximum amount of data that a MODBUS relation can
access from the initial address. Thus, in order to read a continuous range of addresses, it is necessary
that all addresses are declared in a single relation. This field varies according to the configured type
of MODBUS data.
Data Range:
This field shows the memory address range used by the MODBUS relation.
Maximum Relation Size:
Each COM is limited in 20000 communication points, that is, if you use
this amount (20000) in a single relation on COM1, you cannot use more communication points on
this COM. Thus, use the type and amount of relations appropriate to the application needs. For
additional information, see Double Points.
ATTENTION:
Differently from other application tasks, when a depuration mark in the MainTask is reached, the
task of a Slave MODBUS RTU instance and any other MODBUS task will stop running at the
moment that it tries to perform a writing in a memory area. It occurs in order to keep the consistency
of the memory areas data while a MainTask is not running.
MODBUS Ethernet
The multi-master communication network allows the Hadron Xtorm CPUs to read or write
MODBUS variables in other controllers or HMIs compatible with the MODBUS TCP protocol or
MODBUS RTU via TCP. The Hadron Xtorm CPU functions simultaneously as a client and a server
in the same communication network. Regardless if it concerns MODBUS TCP or MODBUS RTU
via TCP, this CPU and can even have more instances associated to the Ethernet interface (Table
4-26).