
VPort CGI Commands VPort CGI Commands
This section is for VPort
s that have a PTZ port or COM port for controlling a camera.
setptzctrl.cgi
These commands are used to control PTZ movement.
Example: To command channel 1’s PTZ camera to pan up at speed 3:
http://192.168.127.100/moxa-cgi/setptzctrl.cgi?move=up&speedtilt=3&channel=1
Example: To command channel 1’s PTZ camera to go to preset position 12:
http://192.168.127.100/moxa-cgi/setptzctrl.cgi?move=gopreset&recall=12
Item Value Description
channel 1 to 4 Specifies the channel index; defaults to
1 if not specified.
move up, down, left, right, home
upleft, upright, downleft, downright,
stop, pstop, tstop, fstop, zstop, irisstop
PTZ movement includes 8 directions
plus the home position:
stop: stop all action
pstop: pan stop
tstop: tilt stop
fstop: focus stop
zstop: zoom stop
irisstop: iris stop
Note: all of these commands need to
match the implementation of the PTZ
driver.
move zout, zin,focusnear, focusfar,
autofocus,irisclose, irisopen, autoiris
zout: zoom out
zin: zoom in
move osdon, osdoff,
osdup, osddown, osdleft, osdright
Operations of PTZ OSD Menu
E.g.: Pelco’s Preset95 OSD menu.
move wiperon, wiperoff, washon, washoff Wash and wiper operations of PTZ
camera.
speedtilt 1 to 16 Increase or decrease the tilt/pan/zoom
speed of the PTZ device.
speedpan 1 to 16
speedzoom 1 to 16
move Gopreset Go to preset position of PTZ Camera
Recall 1 to 25 Preset position index
setpreset.cgi
This function is used to edit the preset position of the PTZ camera. There are three “move” values, clearpreset
and addpreset.
• addpreset is used to add the current PTZ position to a preset position with a specified presetindex.
• clearpreset is used to remove a preset position.
The maximum number of preset positions is 25.
Preset positions actually keep in the PTZ camera. VPort only execute the recall command regarding the index
of preset list.
Komentarze do niniejszej Instrukcji