HRX-OM-W004
Chapter 3 Serial communication
3.11
Explanation of function codes HRR Series
3-14
Response message 0106000C0001
Field name
Example
(HEX)
ASCII mode
character data
RTU mode
binary data
Header - “:”
None
Slave Address
0x01
“0”,“1” 0x01
Function
0x06
“0”,“6” 0x06
Address of register to write 0x000C
“0”, “0”,“0”,“C” 0x00,0x0C
Information of register to write 0x0001
“0”,“0”,“0”,“1” 0x00,0x01
Checksum ASCII:LRC RTU:CRC - “E”,“C” 0x88,0x09
Trailer
- CR/LF
None
Total
quantity of byte
17 8
3.11.3 Function code:16 Writing multiple registers
Register content of assigned points of assigned address is written.
■ Communication example
○Slave Address No.1
○
Write two consecutive data from register 000Bh.
(
Commands to change of circulating fluid set temperature <34.9
o
C > and run.)
Request message 0110000B000204015D0001
Field name
Example
(HEX)
ASCII mode
character data
RTU mode
binary data
Header - “:”
None
Slave Address 0x01
“0”,“1”
0x01
Function 0x10 “1”,“0”
0x10
Head address of specified register 0x000B “0”,“0”,“0”,“B”
0x00,0x0B
Quantity of register to write
0x0002 “0”,“0”,“0”,“2”
0x00,0x02
Quantity of byte to read
0x04 “0”,“4”
0x04
Information written to 000Bh
(Circulating fluid set temperature)
0x015D “0”,“1”,“5”,“D”
0x01,0x5D
Information written to 000Ch
(Stop flag)
0x0001 “0”,“0”,“0”,“1”
0x00,0x01
Checksum ASCII:LRC RTU:CRC - “7”,”F”
0xE3,0xF2
Trailer
- CR/LF
None
-
Total
quantity of byte
27
13