60
Pelco-P Command Table
PAN AND TILT COMMAND P/T bit(byte4.0) = 0
byte 1
byte 2
byte 3
byte 4
byte 5
byte 6
byte 7
byte 8
func
STX
ADDR
data1
data2
data3
data4
ETX
checksum
data
0xA0
0~7F
cmd 1
cmd 2
Pan speed Tilt speed
0xAF
1~7 XOR
note : speed = 0x00~0x30
byte3 : command 1
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
NA
CAM
ON
NA
CAM
ON/OFF
NA
NA
NA
NA
note : power off : byte3.6 = 0 & byte3.4 = 1
byte4: command 2
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
NA
ZOOM
Wide
ZOOM
Tele
TILT
Down
TILT
Up
PAN
Left
PAN
Right
P/T bit
0(always)
EXTENDED COMMAND SETP/T bit(byte4.0) = 1
byte 1
byte 2
byte 3
byte 4
byte 5
byte 6
byte 7
byte 8
func
STX
ADDR
data1
data2
data3
data4
ETX
checksum
Set Preset XX
0xA0
0~7
0x00
0x03
0x00
Preset #
0xAF
1~7 XOR
Go To Preset XX
0xA0
0~7
0x00
0x07
0x00
Preset #
0xAF
1~7 XOR
Track ON
0xA0
0~7
0x00
0x65
0x00
0x00
0xAF
1~7 XOR
Track OFF
0xA0
0~7
0x00
0x67
0x00
0x00
0xAF
1~7 XOR
WOL ON
0xA0
0~7
0x00
0x69
0x00
0x00
0xAF
1~7 XOR
WOL OFF
0xA0
0~7
0x00
0x6B
0x00
0x00
0xAF
1~7 XOR
Read Profile XX
0xA0
0~7
0x00
0x6D
0x00
Profile #
0xAF
1~7 XOR
Save To Profile XX
0xA0
0~7
0x00
0x6F
0x00
Profile #
0xAF
1~7 XOR
note : Preset # : 0x01 ~ 0xFF
Profile # : 0x01 ~ 0x05