User Manual

Table Of Contents
Appendix H: CRON Script Command Reference AXIS 240 Users Manual
122
-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 order:
-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.
reset
This command resets the software or hardware of the AXIS 240.
Syntax
reset [-soft | -hard];
Options
-soft Reinitiates the AXIS 240 protocols.
-hard Performs a complete reboot of the AXIS 240.
# This command moves camera 2 up five degrees and
# zooms wide.
* * * * * :
ptz -cam 2 -move up -zoom 1
# This command moves the camera source to preset
# position 1.
* * * * * :
ptz -preset 1;