HRX-OM-Q033
Chapter 4 MODBUS communication function
HRSH Series
4.8
Explanation of function codes
4-11
4.8 Explanation of function codes
4.8.1
Function code
:
03 Reading multiple registers
Register data of assigned points from assigned address is read.
Request message <Normal> (Master to Slave)
Start
Slave Address
Function
Data
LRC
End
[:]
XX
XX
[0]
[3]
XX
XX
[CR]
[LF]
Read Address
Quantity to Read
Hi
Lo
Hi
Lo
XX
XX
XX
XX
XX
XX
XX
XX
Response message<Normal> (Slave to Master)
Start
Slave Address
Function
Data
LRC
End
[:]
XX
XX
[0]
[3]
XX
XX
[CR]
[LF]
Byte Count
Read Data1
Read Data n
Hi
Lo
Hi
Lo
XX
XX
XX
XX
XX
XX
XX
XX
XX
XX
Communication example
○
Slave Address: No.1
○
Read seven consecutive data from register 0000h
.
(Read circulating fluid discharge temperature, circulating fluid discharge
pressure, status information, alarm information.)
Request message
Response message
Code
Contents
Code
Contents
01
Slave Address
01
Slave Address
03
Function
03
Function
0000
Head address of specified register
0E
Quantity of bytes to read
0007
Quantity of register to read
00D4
Information of 0000h (circulating fluid
discharge temperature)
F5
LRC
0000
Information of 0001h (Reserved)
000D
Information of 0002h (circulating fluid
discharge pressure)
0000
Information of 0003h (Reserved)
0201
Information of 0004h (Status flag)
0000
Information of 0005h (Alarm flag 1)
0000
Information of 0006h (Alarm flag 2)
0A
LRC
This product
(Request):010300000007F5 [CR][LF]
(Response):01030E00D40000000D00000201000000000A [CR][LF]
Your system
Data is sent and
received in ASCII
code.
Содержание HRSH Series
Страница 5: ...HRX OM Q033 Contents HRSH Series 6 3 2 Setting and checking 6 3...
Страница 6: ......
Страница 56: ......
Страница 83: ......