26
17. Dimension
Appendix
Ⅰ
P control protocol
⑴
Command format
BYTE
VALUE
FUNCTION
1
$A0
STX(start transmission)
2
$00 to $FF
Address
3
Data byte 1
4
Data byte 2
5
Data byte 3
6
Data byte 4
7
$AF
ETX(end transmission)
8
$00-$FF
Check sum (XOR 1-7 bytes)
⑵
Instruction command
BYTE
VALUE
FUNCTION
1
$A0
STX(start transmission)
2
$00 to $FF
Address
3
Data byte 1
4
Data byte 2
5
Data byte 3
6
Data byte 4
7
$AF
ETX(end transmission)
8
$00-$FF
Check sum (XOR 1-7 bytes)
⑶
Special command format
COMMAND
DATA BYTE1 DATA BYTE2 DATA BYTE3
DATA BYTE4
Set preset. xx
00
03
00
01 to FF
Clear preset. xx
00
05
00
01 to FF