97
The following variable types are defined:
Variable types
Name
ID
Description
Word
01h
2 bytes: signed or unsigned integer
DoubleWord
02h
4 bytes: signed or unsigned integer or single accuracy IEEE-754 float
QuadWord
03h
8 bytes: signed or unsigned integer or double accuracy IEEE-754 float
Byte pair
04h
Structure having two fields, each consisting of one byte (signed or
unsigned integer).
Generic
Types
Byte Array
05h
Variable length byte array (alphanumeric ASCIIZ string or array of
signed or unsigned integers)
Unix Timestamp
06h
Number of
non leap
seconds since the so called
Unix Epoch
(1/1/1970
00:00:00)
Unix Tim
offset
07h
Structured type including the following fields:
−
Number
of
non leap
seconds since the so called
Unix Epoch
(1/1/1970 00:00:00);
−
GMT offset in minutes (signed);
−
DST offset in minutes (signed).
Unix Tim
DST flag
08h
Structured type including the following fields:
−
Number
of
non leap
seconds since the so called
Unix Epoch
(1/1/1970 00:00:00);
−
Flag indicating if, at this instant, STANDARD TIME or
DAYLIGHT SAVING TIME is in effect.
Date
09h
Structured type including the following fields:
Century, Year, Month, Day
Time
0Ah
Structured type including the following fields:
Hours, Minutes, Seconds, DST flag
Date/Time
Date/Time
0Bh
Structured type including the following fields:
Century, Year, Month, Day, Hours, Minutes, Seconds, DST flag
Input Registers
Group
0Ch
Structured type including a group of contiguous input registers
Holding Registers
Group
0Dh
Structured type including a group of contiguous holding registers
Modbus
Registers
Arithmetic Operation
between 2 Input
Registers
0Eh
Structured type defining an arithmetic operation (e.g. comparison) to
be carried out between two input registers