68
4. Parameter description
Parameter
CRC added to the message, the low byte first join, and then the high byte.
●
Communication format
(1). Read data
(
H03
)
Mode
Start
Address
*
1
)
Function
*
2
)
Initial address
*3
)
Register number
*
4
)
Check
End
ASCII
H3A
2char
2char
4char
4char
2char
0D 0A
RTU
>=10ms
8bit
8bit
2byte
2byte
2byte
>=10ms
Normal response
Mode
Start
Address
*
1
)
Function
*
2
)
Read data
number
*
5
)
Read data
*
6
)
Check
End
ASCII
H3A
2char
2char
2char
4char
…2N×8bit
2char
0D 0A
RTU
>=10ms
8bit
8bit
1byte
2byte
…N×8bit
2byte
>=10ms
Message
Content
*
1) Address
Set the address to send information, 0 is in vain.
*
2) Function code
H03
*
3) Initial address
Set to the address of register to read.
*4
) Register
number
Set to the number of register to read. The number is most 20 can read.
*
5) Read data number
Twice to
*
4).
*6) Read data
Set information * 4) specified, read the data byte at the level of the order.
(2). Write data
(
H06
)
Mode
Start
Address
*1
)
Function
*
2
)
Initial address
*
3
)
Write data
*
4
)
Check
End
ASCII
H3A
2char
2char
4char
4char
2char
0D 0A
RTU
>=10ms
8bit
8bit
2byte
2byte
2byte
>=10ms
Normal response
Mode
Start
Address
*
1
)
Function
*
2
)
Initial address
*
3
)
Write data
*
4
)
Check
End
ASCII
H3A
2char
2char
4char
4char
2char
0D 0A
RTU
>=10ms
8bit
8bit
2byte
2byte
2byte
>=10ms