Pelco-P 指令
PAN AND TILT COMMANDS
byte 1
func
data
0xA0
byte3 :
command 1
byte4:
command 2
EXTENDED COMMAND SET
func
Set Preset XX
Clear Preset XX
Go To Preset XX
Track ON
Track OFF
P/T bit(byte4.0) = 0
byte 2
STX
ADDR
0~7F
bit 7
bit 6
bit 5
CAM
NA
ON
NA
ON/OFF
bit 7
bit 6
ZOOM
NA
Wide
P/T bit(byte4.0) = 1
byte 1
STX
0xA0
0xA0
0xA0
0xA0
0xA0
byte 3
byte 4
byte 5
data1
data2
data3
cmd 1
cmd 2
Pan speed
bit 4
bit 3
CAM
NA
note : power off : byte3.6 = 0 & byte3.4 = 1 (0x10)
note : power on : byte3.6 = 1 & byte3.4 = 1 (0x50)
bit 5
bit 4
ZOOM
TILT
Tele
Down
byte 2
byte 3 byte 4 byte 5
ADDR
data1
data2
0~7
0x00
0x03
0~7
0x00
0x05
0~7
0x00
0x07
0~7
0x00
0x65
0~7
0x00
0x67
49
byte 6
byte 7
data4
ETX
Tilt speed
0xAF
note : speed = 0x00~0x17
bit 2
bit 1
NA
NA
bit 3
bit 2
bit 1
TILT
PAN
PAN
Up
Left
Right
byte 6
byte 7
data3
data4
ETX
0x00
Preset #
0xAF
0x00
Preset #
0xAF
0x00
Preset #
0xAF
0x00
0x00
0xAF
0x00
0x00
0xAF
note : Preset # : 0x01 ~ 0xFF
byte 8
checksum
1~7 XOR
bit 0
NA
bit 0
P/T bit
0(always)
byte 8
checksum
1~7 XOR
1~7 XOR
1~7 XOR
1~7 XOR
1~7 XOR