3. Command Block Format
The code from B0 to B (n) +2 as described below are transmitted.
1
B0
Start Code
2
B1 | B2 |
| B3 | B4 |
| B5 | |
Peripheral Index | Group Index |
|
| Device Index | |||
|
|
| SENDER (To) Index |
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
|
|
B6 | B7 |
| B8 | B9 |
| B10 | |
Peripheral Index | Group Index |
|
| Device Index | |||
|
|
| SENDER (From) Index |
|
|
| |
|
|
|
|
|
|
|
|
| 4 |
|
|
|
|
|
|
B11 | B12 |
|
| B13 |
|
|
|
Cmd1 | Cmd2 |
|
| Cmd3 |
|
|
|
| COMMAND |
|
|
|
|
5
B14
Data Length 1
(B16 +2)
(02 _81 h)
6 | 7 |
B15 | B16 |
Data Length 2 | Data Length 3 |
(00 h) | (00 _7 Fh) |
Total Data Length
B16
Check Data Length | Data Length | ||
| 8 |
| |
Bn |
| Bm | Bn = B16 +1 |
Data (n) |
| Data (n +1, 2, 3, 4...) | Bm = B16 +Total Data Length |
| Data |
| |
|
|
|
|
9 |
|
|
|
Bm +1 |
|
|
|
Check SUM |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
Bm +2 |
|
|
|
End Code |
|
|
|
|
|
|
|
3 |