
32
10.
RS-232 Control Protocol
10.1 Hardware Specifications
Serial Port Specifications
Item
Description
Data Rate
38,400 Baud
Character Length
1 start bit + 8 data bits + 1 parity bit + 1 stop bit
Parity
Odd parity
Connector
9-Pin D-Sub
Serial Data Word Descriptions
Start bit always low
Data 8 bit; LSB first
Odd Parity
Stop bit always high
Command / Message Block Structure
Sync Byte Byte Count Command
Byte
Parameter 1 Parameter 2
… Parameter N
Checksum
Item
Description
Sync Byte
0xAA
Byte Count
The total number of subsequent bytes in the block (from
command byte to Checksum byte).
Valid byte count values range from 0x01 to 0xFF
Command Code
Command Code Byte
Parameter 0 ~ 254 Byte Parameters
Checksum
Checksum (C Parameter 1 + Parameter 2
+ Parameter N) & 0xFF
Example:
Set ChromaKey mode
0xAA 0x04 0x10 0x01 0x01 0x12
0xAA: Sync Byte
0x04: Byte Count
0x10: Command Code = Operation Mode
0x01: Parameter 1 = Set keying mode
0x01: Parameter 2 = Chroma
0x12: Checksum = (0x10 + 0x01 + 0x01) & 0xFF