1Preparations
E.g. Power On & ID=0
Header | Command | ID | Data length | Data 1 | Checksum | |
|
|
|
| |||
0xAA | 0x11 | 1 | "Power" | |||
|
| |||||
|
|
|
|
|
| |
|
|
|
| |||
Header | Command | ID | Data length | Data 1 | 12 | |
|
|
|
| |||
0xAA | 0x11 | 1 | 1 | |||
|
| |||||
|
|
|
|
|
|
To control all devices connected by a serial cable simultaneously irrespective of IDs, set the ID as "0xFE" and transmit commands. Commands will be executed by each device but ACK will not respond.
Power control
Function
A product can be powered on and off using a PC.
Viewing power state (Get Power ON / OFF Status)
Header | Command |
|
|
0xAA | 0x11 |
|
|
ID
Data length
0
Checksum
Setting power ON/Off (Set Power ON / OFF)
Header | Command | ID | Data length | Data | Checksum | |
|
|
|
| |||
0xAA | 0x11 | 1 | "Power" | |||
|
| |||||
|
|
|
|
|
|
"Power": Power code to be set on a product.
1 : Power ON
0 : Power OFF
Ack
Header | Comma |
| Data length | Ack/Nak | Val1 | Checksu | |
| nd | ID | |||||
|
|
|
|
| |||
|
|
|
|
| m | ||
|
|
|
|
|
| ||
|
|
|
|
|
|
| |
0xAA | 0xFF |
| 3 | ‘A’ | 0x11 | "Power" | |
|
| ||||||
|
|
|
|
|
|
|
|
"Power": Power code to be set on a product.
Nak
Header | Comma |
| Data length | Ack/Nak | Val1 | Checksu | |
| nd | ID | |||||
|
|
|
|
| |||
|
|
|
|
| m | ||
|
|
|
|
|
| ||
|
|
|
|
|
|
| |
0xAA | 0xFF |
| 3 | ‘N’ | 0x11 | "ERR" | |
|
| ||||||
|
|
|
|
|
|
|
|
"ERR" : A code showing what error has occurred.
1 Preparations 41