
AXIS 2400/2401
Administration Manual
Appendix H-The Programming Script
75
-preset
Specifies the preset position, i.e. 1- 20. Note that camera source must be defined within the
command.
-cam
Specifies the camera source, i.e. 1 - 4. If this is omitted, video camera source 1 is used as
default (AXIS 2401 must be set to 1).
-zoom
Specifies the zoom value of the selected camera source, i.e. 1 - 999.
Note that this option is device dependent and is supported by Sony, Canon and Videmech
drivers only.
-move
Specifies in which direction the selected camera source shall be moved, i.e. home, up, upleft,
left, downleft, down, downright, right, upright. Note that the move home option is only
supported by the drivers Sony, Canon and Videmech.
-pan
Specifies the pan angle of the selected camera source,
i.e. -180 - 180. Note that this option is device dependent and is supported by the drivers
Sony, Canon and Videmech.
-tilt
Specifies the tilt angle of the selected camera source,
i.e. -180 - 180. Note that this option is device dependent and is supported by the drivers
Sony, Canon and Videmech.
Example 1
Example 2
Note:
The options must be entered in the following orde r:
-speed, -preset, -cam, -zoom, -move, -pan, -tilt
For example; ptz -tilt 10 -cam 4, will not work. You must enter, ptz -cam 4 -tilt 10.
relay
This command sets the relay on or off within the AXIS 2400/2401.
Syntax
relay [-on | -off];
# This command moves camera 1 up five degrees and zooms wide.
* * * * * * :
ptz -cam 1 -zoom 1 -move up;
%
# This command moves camera 1 to preset position 1.
* * * * * * :
ptz -preset 1 -cam 1;
%