User’s Manual 7M
54
DATA TYPES DECODING
Registers defined in the Modbus database will define data as one of the data types described in the following table:
TYPE
VALUE / BIT MASK
DESCRIPTION
T1
Unsigned Value (16 bit)
Example: 12345 stored as 12345 = 3039
(16)
T2
Signed Value (16 bit)
Example: -12345 stored as -12345 = CFC7
(16)
T3
Signed Long Value (32 bit)
Example: 123456789 stored as 123456789 = 075B CD 15
(16)
T4
bits # 15..14
bits # 13..00
Short Unsigned float (16 bit)
Decade Exponent(Unsigned 2 bit)
Binary Unsigned Value (14 bit)
Example: 10000*10
2
stored as A710
(16)
T5
bits # 31..24
bits # 23..00
Unsigned Measurement (32 bit)
Decade Exponent(Signed 8 bit)
Binary Unsigned Value (24 bit)
Example: 123456*10
–3
stored as FD01 E240
(16)
T6
bits # 31..24
bits # 23..00
Signed Measurement (32 bit)
Decade Exponent (Signed 8 bit)
Binary Signed value (24 bit)
Example: - 123456*10
–3
stored as FDFE 1DC0
(16)
T7
bits # 31..24
bits # 23..16
bits # 15..00
Power Factor (32 bit)
Sign: Import/Export (00/FF)
Sign: Inductive/Capacitive (00/FF)
Unsigned Value (16 bit), 4 decimal places
Example: 0.9876 CAP stored as 00FF 2694
(16)
T8
bits # 31..24
bits # 23..16
bits # 15..08
bits # 07..00
Time stamp (32 bit)
Minutes 00 - 59 (BCD)
Hours 00 - 23 (BCD)
Day of month 01 - 31 (BCD)
Month of year 01 - 12 (BCD)
Example: 15:42, 1. SEP stored as 4215 0109
(16)
T9
bits # 31..24
bits # 23..16
bits # 15..08
bits # 07..00
Time (32 bit)
1/100s 00 - 99 (BCD)
Seconds 00 - 59 (BCD)
Minutes 00 - 59 (BCD)
Hours 00 - 24 (BCD)
Example: 15:42:03.75 stored as 7503 4215
(16)
T10
bits # 31..24
bits # 23..16
bits # 15..00
Date (32 bit)
Day of month 01 - 31 (BCD)
Month of year 01 - 12 (BCD)
Year (unsigned integer) 1998..4095
Example: 10, SEP 2000 stored as 1009 07D0
(16)
T_Str4
(T11)
Text String 4 characters
Two characters per 16 bit register
T_Str6
(T12)
Text String 6 characters
Two charcters per 16 bit register
T_Str8
Text String 8 characters
Two characters per 16 bit register.
T_Str16
Text String 16 characters
Two characters per 16 bit register.
T_Str20
Text String 20 characters
Two characters per 16 bit register.
T16
Unsigned Value (16 bit), 2 decimal places
Example: 123.45 stored as 123.45 = 3039
(16)
T17
Signed Value (16 bit), 2 decimal places
Example: -123.45 stored as -123.45 = CFC7
(16)