30
6. Protocol
• Communication parameter (RS-485)
Protocol: VISCA, Pelco-D, Pelco-P
ID: ~7 (VISCA), ~55(Pelco-D, Pelco-P)
Baud rate: 400, 4800, 9600, 900, 38400 bps
Data bit: 8
Start bit:
Stop bit:
Non parity bit
Pelco-D Protocol Command List
Function
Message format (Hex)
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Zoom Tele
FF
ID
00
0
00
00
CS
Zoom Wide
FF
ID
00
40
00
00
CS
Focus Near
FF
ID
0
00
00
00
CS
Focus Far
FF
ID
00
80
00
00
CS
Stop
FF
ID
00
00
Don’t care
CS
Menu
FF
ID
00
03
00
5F
CS
Esc
FF
ID
00
03
00
60
CS
Up
FF
ID
00
08
00
XX
CS
Down
FF
ID
00
0
00
XX
CS
Left
FF
ID
00
04
XX
00
CS
Right
FF
ID
00
0
XX
00
CS
* FF: Start Byte (FFh)
* ID: Camera ID ( ~ 55)
* 0h < XX
≤
40h
* CS (Check Sum): An 8bit sum of byte ~ 6 in the message