Serial communication control 51
Pelco-P protocol command list
DownLeft 0xFF Address 0x00 0x14 Pan Speed Tilt Speed SUM
DownRight 0xFF Address 0x00 0x12 Pan Speed Tilt Speed SUM
Zoom In 0xFF Address 0x00 0x20 0x00 0x00 SUM
Zoom Out 0xFF Address 0x00 0x40 0x00 0x00 SUM
Focus Far 0xFF Address 0x00 0x80 0x00 0x00 SUM
Focus Near 0xFF Address 0x01 0x00 0x00 0x00 SUM
Set Preset 0xFF Address 0x00 0x03 0x00 Preset ID SUM
Clear
Preset
0xFF Address 0x00 0x05 0x00 Preset ID SUM
Call Preset 0xFF Address 0x00 0x07 0x00 Preset ID SUM
Query Pan
Position
0xFF Address 0x00 0x51 0x00 0x00 SUM
Query Pan
Position
Response
0xFF Address 0x00 0x59 Value High
Byte
Value Low
Byte
SUM
Query Tilt
Position
0xFF Address 0x00 0x53 0x00 0x00 SUM
Query Tilt
Position
Response
0xFF Address 0x00 0x5B Value High
Byte
Value Low
Byte
SUM
Query
Zoom
Position
0xFF Address 0x00 0x55 0x00 0x00 SUM
Query
Zoom
Position
Response
0xFF Address 0x00 0x5D Value High
Byte
Value Low
Byte
SUM
Function Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7
Function Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8
Up 0xA0 Address 0x00 0x08 Pan Speed Tilt Speed 0xAF XOR