![background image](http://html1.mh-extra.com/html/smc-networks/hrs100-series/hrs100-series_operation-manual_1299247049.webp)
HRX-OM-S010
Chapter 4 MODBUS communication function
HRS100/150 Series
4.8
Explanation of function codes
4-15
Communication example
○Slave Address: No 1
○Read three consecutive data from register 0004h, and write two
consecutive data from register 000Bh.
(Command to change the circulating fluid set temperature to <15.5
o
C>,
and read status and alarm information.)
Request message
Response message
Code
Contents
Code
Contents
01
Slave Address
01
Slave Address
17
Function
17
Function
0004
Head address of specified register
06
Quantity of byte to read
0003
Quantity of register to read
0000
Information of 0004h (Status flag
)
000B
Head address of specified register
0000
Information of 0005h (Alarm flag 1)
0002
Quantity of register to write
0000
Information of 0006h (Alarm flag 2)
04
Quantity of byte to write
E2
LRC
009B
Information written to 000Bh (Circulating
fluid set temperature)
0001
Information written to 000Ch (Stop flag)
34
LRC
(Request):011700040003000B000204009B000134 [CR][LF]
(Response):011706000000000000E2 [CR][LF]
Your system
This product
Data is sent and
received in ASCII
code.