Data Formats
Overview
The data format of a communication variable can be integer, Word, or Word[n], as described below. For more information about a variable size and format, refer to the Data types.
Integer (Int, UInt, DInt, IDInt)
Integers fall into the following categories:
-
Int: signed integer using one register (16 bits)
-
UInt: unsigned integer using one register (16 bits)
-
DInt: signed double integer using 2 registers (32 bits)
-
UDInt: unsigned double integer using 2 registers (32 bits)
For all integer-type variables, the variable name is completed with its unit or format, if necessary.
Example:
Address 474, UInt, Frequency (x 0.01 Hz).
Word
Word: Set of 16 bits, where each bit or group of bits represents command, monitoring or configuration data.
Example:
Address 455, Word, System Status Register 1.
bit 0 |
System ready |
bit 1 |
System on |
bit 2 |
System trip |
bit 3 |
System alarm |
bit 4 |
System tripped |
bit 5 |
Trip reset authorized |
bit 6 |
(Not significant) |
bit 7 |
Motor running |
bits 8-13 |
Motor average current ratio |
bit 14 |
In remote |
bit 15 |
Motor starting (in progress) |
Word[n]
Word[n]: Data encoded on contiguous registers.
Examples:
Addresses 64 to 69, Word[6], Controller Commercial Reference (DT_CommercialReference).
Addresses 655 to 658, Word[4], (DT_DateTime).