User Manual

Table Of Contents
AXIS 240 Users Manual Appendix H: CRON Script Command Reference
121
Example
ptz
This command pans, tilts and zooms connected video cameras.
Syntax
ptz [-speed VALUE[DEVICE]][-preset POSITION]
[-cam CAMERANUMBER][-zoom VALUE][-move DIRECTION]
[-pan ANGLE][-tilt ANGLE];
Options
-speed
Specifies with which speed the camera source will move
between the defined positions. Note that this option is device
dependent and is supported by the drivers Sony G20, Sony
E30 and VCC3.
To specify the speed for Sony G20 and E30 enter a value
between 1 - 16, where 1 is slow and 16 fast. For the VCC3,
enter a value between 1 - 76, where 1 is slow and 76 fast.
-preset
Specifies the preset position, i.e. 1-10. Note that camera source
must be defined on the Configuration - Preset Position page.
-cam Specifies the camera source, i.e. 1 - 5. If omitted, the default
camera will be used. This is the camera defined as default on
the Configuration - Video page.
-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 the drivers Sony, Canon and Videmech.
# This command will dial up a modem with number
# aNumber, and login with user name aUser and
# password aPass. It will first wait for the
# string ogin: and send the user name. It
# will then wait for the string ass: and send
# the password.
* * * * * :
online -dial aNumber -user aUser -pass aPass
-script " ‘’ ogin: $(USER)’ ’ass: $(PASS)
";
%