User Manual

User Guide
©2008-2020 Seeed Technology Co., Ltd. All rights reserved. solution.seeedstudio.com
19 / 23
RRRR
2byte
Start register address, High byte in front
NNNN
2byte
To read the number N Register, high byte in the
front
MM
1byte
The number of byte to write the value of the
register
VVVV1
2byte
To write the value of the first register, the high
byte is in the front.
VVVV2
2byte
To write the value of the second register, the high
byte is in the front.
To write the value of the “N” register, the high byte
is in the front. N=MM/2
CCCC
2byte
CRC CHECK
Common request formatAA 10 RRRR NNNN CCCC
AA
1byte
Address, 0-255
10(HEX)
1byte
Function number16 (10 binary system)
RRRR
2byte
Start register address, High byte in front
NNNN
2byte
To read the number N Register, high byte in the
front
CCCC
2byte
CRC CHECK
For example: to write register 0x0200-0x0201 is set from the machine address is 1, the baud rate is
19200bps as an example
Ask01 10 0200 0002 04 0001 0004 BACC
0x01
1byte
Address
0x10 (HEX)
1byte
Function number 16 (DEC)
0x0200
2byte
Start register address, High byte in front
0x0002
2byte
To read the number N Register, high byte in the
front
0x04
1byte
The number of byte to write the value of the
register
0x0001
2byte
To write such as from the station address register
value is 1
0x0004
2byte
To write such as from the station address register