4-37

APPENDIX B: Protocol
=================================================
Speed Dome Control Protocol
=================================================
1-1. Format
A. Fixed 7 bytes packet
Byte1 (cmd1 = 0xFA)
Byte2 (cmd2)
Byte3 (ID high byte)
Byte4 (ID low byte)
Byte5 (data1)
Byte6 (Keyboard-ID)
Byte7 (checksum)
B. Fixed 8 bytes pcket
Byte1 (cmd1 = 0xFC)
Byte2 (cmd2)
Byte3 (ID high byte)
Byte4 (ID low byte)
Byte5 (data1)
Byte6 (Keyboard-ID)
Byte7 (data2)
Byte8 (checksum)
1-2. checksum calculation
1. Address = IDH*32 + IDL
2. Movement Speed: 01-EF ==> begin speed value (01:Slow, EF:Fast)
00 ==> stop
3. checksum ==> B7=(B1+B2+B3+B4+B5+B6)&0x7f