![oxic XPM9A261A Скачать руководство пользователя страница 59](http://html1.mh-extra.com/html/oxic/xpm9a261a/xpm9a261a_installation-and-programming-manual_1665038059.webp)
Appendix 3: PELCO D control protocol
1, Command format:
BYTE
VALUE
FUNCTION
1
$FF
STX (start transmission)
2
$01 TO $1F
Address
3
Data byte 1
4
Data byte 2
5
Data byte 3
6
Data byte 4
7
$00-$FF
Checksum(add byte 2,3,4,5,6)
2, Instruction command:
Bit number
7
6
5
4
3
2
1
0
Data1
0
0
0
0
0
Iris close Iris open Focus near
Data2
Focus
far
Zoom
wide
Zoom
tele
Tilt
down
Tilt
up
Pan left
Pan right 0(for pan/tilt)
1 (extended)
Data3
Pan speed $00 to $40 for turbo
Data4
Tilt speed $00 to $3F
3, Special command format:
COMMAND
DATA BYTE1
DATA BYTE2
DATA BYTE3
DATA BYTE4
Set preset. xx
00
03
00
01 to FF
Clear preset. xx
00
05
00
01 to FF
Go to preset. xx
00
07
00
01 to FF
Flip (rotate 180)
00
07
00
21
Zero pan position
00
07
00
22
Set aux. xx
00
09
00
01 to 08
Clear aux. xx
00
0B
00
01 to 08
Pattern start
00
1F
00
00
Pattern stop
00
21
00
00
Run pattern
00
23
00
00
Example: No.1 address
Right FF 01 00 02 20 00 23
Left FF 01 00 04 23 00 28
Up FF 01 00 08 00 23 2C
Down FF 01 00 10 00 23 34
OPEN FF 01 02 00 00 00 03
CLOSE FF 01 04 00 00 00 05
NEAR FF 01 01 00 00 00 02
FAR FF 01 00 80 00 00 81