Chengdu Ebyte Electronic Technology Co.,Ltd.
E22-230T22D User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
14
7 Register Read/Write Control
7.1 Command Format
The list of supported commands in configuration mode (mode 2: M1=1, M0=0) is as follows (when set, only 9600, 8N1 format is
supported).
Serial
number
Command
Format
Detailed description
1
Set register
Instruction: C0+start parameter
Response: C1 + start a parameters
Example 1: Configure the channel as 0x09
Instruction Start Address Length Parameter
Send: C0 05 01 09
Return: C1 05 01 09
Example 2: Configure the module address (0x1234), network address (0x00), serial port (9600
8N1), and air speed (1.2K) at the same time
Send: C0 00 04 12 34 00 61
Return: C1 00 04 12 34 00 61
2
Read register
Instruction: C1+start length
Response: C1 + start a parameters
Example 1: Reading the channel
Instruction Start Address Length Parameter
Send: C1 05 01
Return: C1 05 01 09
Example 2: Simultaneous reading of module address, network address, serial port, airspeed
Send: C1 00 04
Return: C1 00 04 12 34 00 61
3
Set
temporary
register
Instruction: C2 + start a parameters
Response: C1 + start a parameters
Example 1: Configure the channel as 0x09
Instruction Start Address Length Parameter
Send: C2 05 01 09
Return: C1 05 01 09
Example 2: Configure the module address (0x1234), network address (0x00), serial port (9600
8N1), and air speed (1.2K) at the same time
Send: C2 00 04 12 34 00 61