| Command |
%AANNTTCCFF |
| Description |
Set Module Configuration |
| Syntax |
%AANNTTCCFF[CHK](cr)
| % |
a delimiter character |
| AA |
address of setting module (00 to FF) |
| NN |
new address for setting module (00 to FF) |
| TT |
new type for setting module |
| CC |
new baudrate for setting module. It is needed to short INIT* to ground while change baudrate. |
| FF |
new format for setting module. It is needed to short INIT* to ground while change checksum setting. |
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of command |
|
| Response |
| Valid Command |
!AA[CHK](cr) |
| Invalid Command |
?AA[CHK](cr) |
Syntax error or communication error may get no response.
| ! |
delimiter for valid command |
| ? |
delimiter for invalid command. While change baudrate or checksum setting without short INIT* to ground, the module will return invalid command. |
| AA |
address of response module (00 to FF) |
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of response |
|
| Example |
| Command |
%0102080600 |
| Response |
!02 |
| Description |
Change address from 01 to 02, return success. |
|
| Command |
%0202080602 |
| Response |
!02 |
| Description |
Change data format from 00 to 02, return success. |
|
| Reference |
$AA2
Type Table
Baudrate Table
Format Table
INIT* pin Operation
|
|