53
Rev 1.2 7/15
TCP Protocol Method:
The camera’s integrated web server supports TCP for PTZ control.
The camera has an internal TCP server. There is a port configured for receiving the connection from a TCP client.
The default TCP port number is 5678. When client and server initiate a TCP connection, the client sends PTZ
command to the internal server and the server will then parse and execute the PTZ commands.
PTZ command format is based on VISCA Protocol to define, details as below:
Command
Function
Command Packet
Comments
Zoom
Stop
81 01 04 07 00 FF
Tele(Standard)
81 01 04 07 02 FF
Wide(Standard)
81 01 04 07 03 FF
Tele(Variable)
81 01 04 07 2P FF
P = 0(low speed) - 7(high speed)
Wide(Variable)
81 01 04 07 3P FF
Focus
Stop
81 01 04 08 00 FF
Far(Standard)
81 01 04 08 02 FF
Near(Standard)
81 01 04 08 03 FF
Far(Variable)
81 01 04 08 2P FF
P = 0(low speed) - 7(high speed)
Near(Variable)
81 01 04 08 3P FF
Auto Focus
81 01 04 38 02 FF
AF On/Off
Manual Focus
81 01 04 38 03 FF
Auto/Manual
81 01 04 38 10 FF
Pan & tilt
Up
81 01 06 01 VV WW 03 01 FF
VV: Pan speed 0x01 (low speed) to 0x18
(high speed)
WW: Tilt speed 0x01 (low speed) to 0x14
(high speed)
Down
81 01 06 01 VV WW 03 02 FF
Left
81 01 06 01 VV WW 01 03 FF
Right
81 01 06 01 VV WW 02 03 FF
UpLeft
81 01 06 01 VV WW 01 01 FF
UpRight
81 01 06 01 VV WW 02 01 FF
DownLeft
81 01 06 01 VV WW 01 02 FF
DownRight
81 01 06 01 VV WW 02 02 FF
Stop
81 01 06 01 VV WW 03 03 FF
Home
81 01 06 04 FF
Preset position
Reset
81 01 04 3F 00 PP FF
PP: P
osition
Number(==0x00-0x59,
0x64-0xFE)
Set
81 01 04 3F 01 PP FF
Recall
81 01 04 3F 02 PP FF
Содержание 12X-USB
Страница 1: ...Rev 1 2 7 15 PTZ Optics 12X USB User Manual V1 2 English...
Страница 38: ...35 Rev 1 2 7 15...
Страница 42: ...39 Rev 1 2 7 15...