
VPort CGI Commands VPort Set/Get Configuration CGI URL and Parameter Items
PTZ Control of CGI URL Command Sets and
Parameters
PTZ Control CGIs are used to control the PTZ action of cameras and devices. The CGIs are organized by
function-related directories under the moxa-cgi directory, and are followed by one of two actions: setptzctrl
and setpreset. The file extension of the CGI is required. The first parameter move indicates the command of
this request. The next parameter is item; note that “item” must be written exactly the same as shown in this
document.
This section is for VPorts 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 speed of
the PTZ device.
speedpan 1 to 16 Increase or decrease the pan speed of
the PTZ device.
speedzoom 1 to 16 Increase or decrease the zoom speed of
the PTZ device.
move gopreset Go to preset position of PTZ Camera
recall 1 to 25 Preset position index
Comentarios a estos manuales