5.5.2 Message example
The example shows communication with the conditions below.
1)
2)
◼
Communication example
The communication example is expressed in hexadecimal value with
[ ]. The actual communication is performed in ASCII code. Refer to the
request / response message in this section.
Your system
(Request): 010300400001BB [CR][LF]
(Response): 010302094DA4 [CR][LF]
Request message
Code
Contents
01
Slave Address
03
Function
0040
Head address of specified register
0001
Quantity of register to read
BB
LRC
◼
Request message (Master to Slave)
Start
Slave Address
3A
30
31
◼
Response message (Slave to Master)
Start
Slave Address
3A
30
31
HECR
MODBUS communication function
Slave Address (=Unit number):No.1
Read a data from register 0040H.
(Read Internal sensor temperature.)
Function
30
33
Read Address
Hi
30
30
34
Function
30
33
Byte Count
30
32
30
Response message
Code
01
Slave Address
03
Function
02
Quantity of bytes to read
Information of 0040H
094D
(circulating fluid discharge temperature: 23.81
A4
LRC
Data
Quantity to Read
Lo
Hi
30
30
30
Data
Read Data1
Hi
Lo
39
34
4D
This product
Data is sent and
received in ASCII
code.
Contents
LRC
End
42
42
0D
Lo
30
31
LRC
End
41
34
0D
o
C)
0A
0A
5-6
Need help?
Do you have a question about the HECR Series and is the answer not in the manual?