HRX-OM-W069
Chapter 3 Serial communication
3.11
Explanation of function codes
HRL Series
3-12
3.11
Explanation of function codes
3.11.1
Function code
:
04 Reading multiple registers
Register data of assigned points from assigned address is read.
■
Communication example
○
Slave Address : No.1
○
Read 16 pieces data from register 0030h.
CH1 Circulating fluid discharge temperature [20.0
℃
]
CH2 Circulating fluid discharge temperature [25.0
℃
]
CH2 Circulating fluid electrical conductivity [20.0uS/cm]
CH1 Circulating fluid discharge pressure [45MPa]
CH2 Circulating fluid discharge pressure [0.50MPa]
CH1 Circulating fluid discharge flow rate [45.0LPM]
CH2 Circulating fluid return flow rate [10.0LPM]
Data display 1 to 4 [non-selection (all 0)]
Status flag [during operation, CH1, CH2 TEMP READY status]
Alarm flag 1 to 3 [no alarm]
Request message 010400300010
Field name
Example
(HEX)
ASCII mode
character data
RTU mode
binary data
Header
-
“
:
”
None
Slave Address
0x01
“0”,“1”
0x01
Function
0x04
“0”,“4”
0x04
Head address of specified register
0x0030
“0”,“0”,“3”,“0”
0x00,0x30
Quantity of register to read
0x0010
“0”,“0”,“1”,“0”
0x00,0x10
Checksum ASCII:LRC RTU:CRC
-
“B”,”B”
0xF1,0xC9
Trailer
-
CR/LF
None
Total
quantity of byte
17
8