© Softing Industrial Automation GmbH
31
Chapter 5 - Machine Settings
5.2.3.1.1
Modbus Item Syntax
Note
This description only applies to the
edgeGate
and
uaGate MB
products!
Modbus Item Syntax
The Modbus item syntax has the following structure:
[Group.]<Area><DataType><StartAddress>[.ArraySize][Suffix]
For Modbus items of data type
BOOL
the bit number has to be provided as well:
[Group.]<Area><DataType><StartAddress><.Bitnumber>[.ArraySize][Suffix]
If
UnitID individual with item syntax
has been selected for the connection, the following syntax is required:
[UnitID.][Group.]<Area><DataType><StartAddresse><.Bitnumber>[.ArraySize][Suffix]
Legend:
<>
= mandatory component of Modbus item
[ ] = optional component of Modbus item
[Group.]
Operand ranges can be combined to groups.
If
UnitID individual with item syntax
has been selected in the range
0 - 65535
, the range is reduced to
0 - 255
.
Gaps in the periphery can be skipped by building different groups. The gap is then not called upon. Simply place
the group name in front of the item name and separate both by a dot (
GroupName.ItemName
).
The group name is made up by
G
and the number.
Example:
G1.40001
G2.R2
G3.S20.30
[UnitID.]
The UnitID for this item is specified by the item syntax. Simply place the UnitID name in front of the item name
(
UnitIDName.ItemName
).
The UnitID name is made up by
Id
and the number.
If a Group is specified, the range of the Group number is reduced to 0 - 255.
If the UnitID is missing in the item syntax, the parametrized UnitID is transferred to the PLC.
Example:
Id1.40001
Id2.R2
Id3.S20.30
Id1.G2.R3 Group