Manual
User manual/ Technical information
© 2008-2020 Seeed Technology Co., Ltd. All rights reserved. www.seeed.cc
The 35 Page total 50
Response 0XA; BD=96<CR><LF>
Description The baud rate for device 0 is 9,600
Setting
Send 0XA; BD=[bd]<CR><LF>
Response 0XA; BD=[bd]<CR><LF>
Description
Return the Baud rate of device 0 is [bd], it could be 96 for 9600; 192 for 19200, 384 for 38400;
576 for 57600; and 1152 for 115200.
For example, the return value 0XA;BD=96 represents the successful setting of a Baud rate of
9,600
Communication protocol CP
Query
Send 0XA; CP=?<CR><LF>
Response 0XA; CP=[cp]<CR><LF>
Description
[cp] Represents the code of the communication protocol, the device supports multiple
communication protocols.
Response 0XA;CP=3<CR><LF> means that the data communication protocol of device 0 is
Modbus-RTU protocol based on the RS-485 bus
1 SDI-12
2 RS-232 Modbus-RTU
3 RS-485 Modbus-RTU
4 RS-422 Modbus-RTU
5 RS-232 ASCII
6 RS-485 ASCII
7 RS-422 ASCII
Setting
Send 0XA; CP=[cp] <CR><LF>
Response 0XA; CP=[cp] <CR><LF>
Description
Set the communication protocol of device 0 to [cp], if [cp] is 6, the communication protocol is set
to ASCII text protocol based on the RS-485 bus
RS-485
address MBAD
Query
Send 0XA; MBAD=?<CR><LF>
Response 0XA; MBAD=1<CR><LF>
Description The RS-485 address of device 0 is 1 (decimal)
Setting
Send 0XA; MBAD=2<CR><LF>
Response 0XA; MBAD=2
<CR><LF>
Description Set the address of device 0 to 2 (decimal)
RS-485 baud rate MBBD
Query
Send 0XA; MBBD=?<CR><LF>
Response 0XA; MBBD=96<CR><LF>
Description
The RS-485 communication baud rate for device 0 is 9,600
Setting
Send 0XA; MBBD=[bd]<CR><LF>
Response 0XA; MBBD=[bd]<CR><LF>
Description Return device 0’s RS-485 communication baud rate is [bd]: it can be 96 for 9600, 192 for 19200,