MODBUS communication function
5-11 HECR
5.8.4 Function code:17H Reading/writing multiple registers
Register content of assigned points of assigned address is read. Write the register data from the
specified address with specified points simultaneously.
◼ Request message <Normal> (Master to Slave)
◼ Response message <Normal> (Slave to Master)
◼ Communication example
1) Slave Address (=Unit number): No 1
2) Read three consecutive data from register 0040H, and write two consecutive data from register 0051h.
(Command to read the internal sensor temperature, external sensor temperature and average temperature
and change the target temperature to <30.0
o
C>, offset temperature to <0.50
o
C >)
Head address of specified register
Quantity of register to read
Information of 0040H (Internal sensor temperature)
Head address of specified register
Information of 0041H
(External sensor temperature)
Quantity of register to write
Information of 0042H (Average temperature)
Information written to 0051H
(Target temperature)
Information written to 0052H
(Offset temperature)
(Request): 01170040000300510002040BB8003259 [CR][LF]
(Response): 01170609E1FC22FC22BE [CR][LF]
Data is sent and
received in ASCII
code.