Note : The sample codes cannot be used when the "Exclusive control mode" is set to "ON" in the system setting page. Be sure to set the mode to "OFF".
The table 1 shows how to put in the data sequence for the <VALUE> of the CGI command. Refer to the table to customize the pages to control Pan, Tilt, Zoom and Focus function of the
| Table1: CGI command list for | |||
|
|
|
| |
Command set | Command | PTZF command | Comment | |
Auto | On | 81 01 06 24 02 | FF | Auto |
| Off | 81 01 06 24 03 | FF |
|
Up | 81 01 06 01 vv ww 03 01 FF | vv: Pan speed ww: Tilt speed | ||
| Down | 81 01 06 01 vv ww 03 02 FF | *Effective | |
| 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 | yyyy: Pan position zzzz: Tilt position | |
| AbsolutoPosition | 81 01 06 02 vv ww 0y 0y 0y 0y 0z 0z 0z 0z FF | ||
| RelativePosition | 81 01 06 03 vv ww 0y 0y 0y 0y 0z 0z 0z 0z FF |
| |
| Home | 81 01 06 04 FF |
|
|
| Reset | 81 01 06 05 FF |
|
|
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 | |
| Wide(Variable) | 81 01 04 07 3p | FF | pqrs: Zoom Position |
| Direct | 81 01 04 47 0p | 0q 0r 0s FF | |
| 81 01 04 06 02 FF | Digital Zoom ON/OFF | ||
| 81 01 04 06 03 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 | |
| Near(Variable) | 81 01 04 08 3p | FF | pqrs: Focus Position |
| Direct | 81 01 04 48 0p | 0q 0r 0s 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 | One Push AF Trigger |
| One Push Trigger | 81 01 04 18 01 | FF | |
| Infinity | 81 01 04 18 02 | FF | Forced Infinity |
| Near Limit | 81 01 04 28 0p | 0q 0r 0s FF | pqrs: Focus Near Limit Position |
Zoom_Focus | Direct | 81 01 04 47 0p | 0q 0r 0s 0t 0u 0v 0w FF | pqrs: Zoom Position tuvw: Focus Position |
Supplementary 3: About the "Auto
The "Auto