HRX-OM-M091
Chapter 4 MODBUS communication function
4.8 Explanation of function codes
HRS Series
4-14
4.8.4 Function
code
:
23 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)
Start Slave
Address
Function
Data
LRC
End
[:] XX XX [1] [7]
XX XX
[CR]
[LF]
Read Address
Quantity to Read
Write Address
Quantity to Write
Hi Lo Hi Lo Hi Lo Hi Lo
XX XX XX XX
XX XX XX
XX
XX
XX
XX
XX
XX XX XX XX
Write Data1
Write Data n
Byte Count
Hi Lo
Hi Lo
XX XX
XX
XX
XX
XX
XX XX XX XX
Response message <Normal> (Slave to Master)
Start Slave
Address
Function
Data
LRC
End
[:] XX XX [1] [7]
XX XX [CR]
[LF]
Read Data1
Read Data n
Byte Count
Hi Lo
Hi Lo
XX XX
XX
XX
XX
XX
XX
XX XX XX
Содержание HRS012-W
Страница 54: ...HRX OM M091 Chapter 4 MODBUS communication function 4 10 Register Map HRS Series 4 22...
Страница 81: ......