HRT-710 User Manual (Version 1.24, June/2015) PAGE: 82
Figure 5-2 Receive HART Command 1 data
(5) Parse the modbus response data.
Response Data => 01 04 08
00 00 3E 0C 20 C5 00 A4
2A 94
Register data =>
00
00
3E
0C
20
C5
00
A4
Because the unit of HART-
710’s database is byte and the unit of Modbus register is word
and the Modbus register is compos
ed of database’s byte and the order is low byte first.
(For example
:
Modbus register0 = 0x3412, database byte0 = 0x12, byte1 = 0x34).
So we need to change the byte order.
So the data will be
00
00
0C
3E
C5
20
A4
00.
According to the data count is 7, so the actual data will be
00
00
0C
3E
C5
20
A4
About the format of HART Command 1, it is shown as below.
Command 1: Read Primary Variable
Request data bytes
:
None
Response data bytes
:
2+5 = 7
Index format description
Byte 0
:
uint8 Response code 1
Byte 1
:
uint8 Response code 2
Byte 2
:
uint8 Unit code
Byte 3~6
:
float Primary Variable
Summary of Contents for HRT-710
Page 1: ...HRT 710 User Manual Version 1 24 June 2015 PAGE 1 TM H R T 7 1 0 User s Manual Version 1 24...
Page 32: ...HRT 710 User Manual Version 1 24 June 2015 PAGE 32 Figure 23 MBRTU send and receive data...
Page 96: ...HRT 710 User Manual Version 1 24 June 2015 PAGE 96 8 Dimensions...
Page 97: ...HRT 710 User Manual Version 1 24 June 2015 PAGE 97...