ATI
MetriNet Ethernet/IP Communications Manual
32
O&M Manual
Rev-A (6/19)
The data in Figure 20 is then starts with the following string of decimal values -
0,0,0,1,0,0,0,0,0,0,2,15128,8224,30035,0,0,0,14000,182,1,0,0,…
Parsing SYSTEM INFO Data -
0 =
Byte 0-1, Q52 diagnostic bits
0 =
Byte 2-3, System Status 1 Flags
0 =
Byte 4-5, System Status 2 Flags
1 =
Byte 6-7, Number of sensors connected
0 =
Byte 8-9, NU
0 =
Byte 10-11, NU
0 =
Byte 12-13, NU
0 =
Byte 14-15, NU
0 =
Byte 16-17, NU
0 =
Byte 18-19, NU
Sensor 1 MEASURE
Bytes
Data Type
Description
20-23
DINT
S1 Main Value
24-27
DINT
S1 Units
28-31
DINT
S1 Raw Value
32-35
DINT
S1 Temperature
36-37
INT
S1 Output Value
38-39
WORD
S1 Status 1
40-41
WORD
S1 Status 2
42-43
INT
S2 ID
Parsing S1 Sensor MEASURE Data -
2 =
Byte 20-21, S1 MainValue high byte (0x0002)
15128 = Byte 22-23, S1 MainValue low byte (0x3b18)
8224 =
Byte 24-25, S1 Units high byte (0x2020)
30035 = Byte 26-27, S1 Units low bye (0x7553)
0 =
Byte 28-29, S1 RawValue high byte (0x0000)
0 =
Byte 30-31, S1 RawValue low byte (0x0000)
0 =
Byte 32-33, S1 Temperature high byte (0x0000)
14000 = Byte 34-35, S1 Temperature low byte (0x36b0)
182 =
Byte 36-37, S1 Output Value (0.182 VDC)
1 =
Byte 38-39, S1 Status Flags 1 (0x0001)
0 =
Byte 40-41, S1 Status Flags 2 (0x0000)
0 =
Byte 42-43, S1 ID (0x0000) NU
The values above in red are 32 bit INT type. So, combine them to get total value.
MainValue =
0x00023b18 = 1462000, or 146.200 uS (implied 0.000 dp)
Units =
0x20207553 = _ _ u S (ASCII text)
RawValue =
0x00000000 = 0, or 0.000 nA
Temperature = 0x000036b0 = 14000, or 14.000C