User Guide

AXIS 2400/2401
Users Manual Appendix E -
CGI Parameters
53
CGI Parameters for Pan Tilt and Zoom Control
Use the following syntax for creating CGI parameters to control Pan Tilt devices:
Example
Move the camera connected to VIDEO 1 on
videoserv
45 degrees to the right:
This table lists the CGI parameters for Pan Tilt requests:
Notes:
Parameters and values identified with an asterisk * are not available to all supported pan tilt
devices. For the latest driver-specific information, check out the Axis Camera Developers Web
at http://cctv.axis.com/
The CGI parameters that adjust the camera position are only applicable when using one of the
suppor ted Pan/Tilt devices.
http://<servername>/cgi-bin/control?camera=<n>&<parameter>=<value>[&<parameter>=<value>...]
http://videoserv/cgi-bin/control?camera=1&pan=45
Parameter/Syntax Description Values
camera=<n>
Selects the source for pan tilt requests. This is
mandatory and must be submitted (for the AXIS
2401this is always set to 1).
1,2,3 or 4
move=<x>
Moves the Pan/Tilt device 5 degrees in the
specified direction.
up/down/left/right/upleft/upright/
downleft/downright/*home/
*pan=<n>
Pans the Pan/Tilt device <n> degrees relative to
the home position.
-180 ... 180
*tilt=<n>
Tilts the Pan/Tilt device <n> degrees relative to
the home position.
-180 ... 180
*rpan=<n>
Pans the Pan/Tilt device <n> degrees relative to
the current position.
-180 ... 180
*rtilt=<n>
Tilts the Pan/Tilt device <n> degrees relative to
the current position.
-180 ... 180
*zoom=<n> Adjusts the camera zoom to the specified angle.
1 ... 999
where 1is full zoom out
zoomrel=<x> Adjusts zoom to specified values. wide/tel/*widemax/*telemax/
*focus=<x> Adjusts zoom within the specified scale. 1 ... 999
*focusrel Adjusts zoom to upper and lower extremes. far or near
presetposno
Assumes the camera position defined by the
preset position number.
1 ... 20
presetposname=<name>
Assumes the camera position defined by the
preset position name.
<name>
*speed=<n>
Sets the head speed of the pan tilt device
connected to the selected camera/port.
1 ... 999
whoami
identifies the type of pan tilt driver connected to
the selected camera/port.
check