Serial Commands
The VS0801’s serial commands are as follows
Control |
|
| Packet Format |
|
|
| ||
Function | Start | Head | Function | Data | Data | Checksum | End | |
Protocol | ||||||||
Code | Length | Code | ||||||
|
|
|
|
| ||||
|
|
|
|
|
|
|
| |
Switch to | 0x5A | Port | Switch to Next | 0x00 | N/A | 0x81 | 0x81 | |
Last Port | 0x7E | Code | Port 0x00 |
|
|
| 0xA5 | |
|
| 0x81 |
|
|
|
|
| |
Switch to |
| Switch to Next |
| N/A | 0x82 |
| ||
|
|
|
| |||||
Next Port |
|
| Port 0x01 |
|
|
|
| |
|
|
|
|
|
|
|
| |
Switch to |
|
| Switch to Next | 0x01 | 0x31 | 0xBB |
| |
Port 1 |
|
| Port 0x08 |
|
|
|
| |
|
|
|
|
|
|
|
| |
Switch to |
|
|
|
| 0x32 | 0xBC |
| |
Port 2 |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |
Switch to |
|
|
|
| 0x33 | 0xBD |
| |
Port 3 |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |
Switch to |
|
|
|
| 0x34 | 0xBE |
| |
Port 4 |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |
Switch to |
|
|
|
| 0x35 | 0xBF |
| |
Port 5 |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |
Switch to |
|
|
|
| 0x36 | 0xC0 |
| |
Port 6 |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |
Switch to |
|
|
|
| 0x37 | 0xC1 |
| |
Port 7 |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| |
Switch to |
|
|
|
| 0x38 | 0xC2 |
| |
Port 8 |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
- 15 -