Page 3
Camera surveillance can be prohibited by laws that vary from country to country. Check out the laws in your country before using the AXIS 240 for surveillance. Acrobat, Adobe, Apple, Canon, Chimera, Ethernet, IBM, Internet, Internet Explorer, LAN Manager, LAN Server,...
Page 32
The valid range is 0 - 999 seconds. The default value is 0, and causes the AXIS 240 to generate a new snapshot file for each access.
Page 33
Date The current date Time The current time. The time must be specified in 24 hour format, e.g. 5 pm should be entered as 17 in the hour field. Datesync Server To activate the integrated date and time synchronization mechanism, you must provide the IP address of a date Datesync Period server, a synchronization period (in minutes) bigger than Datesync Protocol...
Page 34
IP Address Defines the IP address of the AXIS 240. Default Router Defines the default router for the AXIS 240. By default the parameter is set to automatic router search. Net Mask Defines the subnet mask for the AXIS 240. Used for determining when the traffic should be sent via a router.
Page 35
When set to Inbound only, the AXIS 240 answers incoming calls, but does not dial up. When set to Outbound only, the AXIS 240 dials up according to the behavior programmed in a CRON script, but does not answer incoming calls.
Page 36
Default Port Defines the port for the default camera. The default camera is used e.g. for taking the snapshots displayed on the AXIS 240 Home Page. CAM<n> Port Enables the camera port on camera <n>. Image Text, Optionally specify a descriptive text to appear on the Position x y snapshots.
Page 37
ID 1 - 3. Videmech It is possible to connect up to five Videmech units to the AXIS 240, if connected via an RS485 adapter. For each camera that you intend to use, enable Pan/Tilt and specify an address 1-255.
Page 38
Position You can select an entry in the dropdown list. The AXIS 240 allows you to define 10 different camera positions. These positions can be used from the Pan/Tilt Control page for directing a camera to a predefined position. New Name...
Page 39
ftp camserv camserv root pass get config config...
Page 44
352 x 288 The standard resolution. Hardware fullsize.jpg 320 x 240 (30 kBytes) generated in 0.5 seconds. Excellent for thumbnails. 176 x 144 halfsize.jpg 160 x 112 Hardware generated in 0.3 (15 kBytes) seconds. The last snapshot taken from any...
Page 45
<HTML> <HEAD> <TITLE>Sample page</TITLE> </HEAD> <BODY> <H1>Welcome to my camera server demo</H1> <IMG ALT="Fullsize JPEG Image” SRC=”http://camserv/fullsize.jpg?camera=1" WIDTH="320" HEIGHT="240"> </BODY> </HTML> fullsize.jpg...
Page 47
<APPLET CODEBASE="http://www.yoursite.com/classes/CamImg" CODE="CamImg.class" WIDTH=362 HEIGHT=328> <PARAM NAME = "Image" VALUE = "/img/image1.jpg | /img/image2.jpg | /img/image3.jpg"> <PARAM NAME = "ImageLabel" VALUE = "First image | Second image | Third image"> <PARAM NAME = "Interval" VALUE = "5"> <HR> If you were using a Java-enabled browser, you would see a continuously updating image instead of this paragraph.
Page 48
Specifies a list of images to display. Multiple file names must be separated by vertical bars ‘|’. Syntax: Image <PARAM NAME=”Image” VALUE=”imgfile1 [| imgfile2 | ...]”> Default value: “fullsize.jpg” Specifies a label for each image. Multiple labels must be separated by vertical bars ‘|’.
Page 49
Specifies a list of images to display. Multiple file names must be separated by vertical bars ‘|’. Syntax: Image <PARAM NAME=”Image” VALUE=”imgfile1 [| imgfile2 | ...]”> Default value: “fullsize.jpg” Specifies a label for each image. Multiple labels must be separated by vertical bars ‘|’.
Page 54
<Minute> <Hour> <Day> <Month> <Day of the week> <Input and Boot (optional)> : Minute Hour, Day, Month Day of the week 3 10,12,14 4-8 * * :...
Page 55
BOOT B I1 I2 I3 B I1 I2 / \ 0 BOOT Activate at startup. Activate after high-low logical transition of Control button. Activate after low-high logical transition of Control button. Activate when Control button is logically high (pressed). Activate when Control button is logically low (released). Activate after high-low logical transition on Input port 1.
Page 56
0I2&1I4 Minute Hour Month Day of the Week Conditional Tag BOOT 0-59 0-23 1-31 1-12 0 = Sunday I1, I2. I3, I4 alert Sends a small message to a remote host. buffer_init Initiates an image buffer. buffer_start Stores snapshots in the image buffer. buffer_stop Ends the storing of snapshots in the image buffer.
Page 58
# This is an example of a CRON script: # Once a day I want my mother to receive an e-mail # containing the lastshot.jpg image. 0 0 * * * * : mail -s "Hi mom! Look what my little camera has taken for you."...
Page 59
File transfer complete C:\Temp>ftp 171.16.3.30 Connected to 171.16.3.30. 220 AXIS 240 Jun 6 1998 ready. User (171.16.3.30:(none)): root 331 User name ok, need password Password: 230 Root user logged in ftp> bin 200 TYPE set to I.
Page 60
Adjusts the image quality and medium/high/low <value> file size. color=<value> Selects color or grayscale. normal/none Shows/hides the Axis axislogo=<value> off/on logotype. clock=<value> Shows/hides the time stamp. off/on normal/upsidedown/90deg/ rotation=<value> Rotates the image. 270deg Mirrors the image mirror=<value>...
Page 61
Parameter values expressed in number of pixels and truncated to multiples of 8 Cropping/ (e.g. 45 is truncated to 40). top=<value> &left=<value> Crops a ‘hugesize’ type Top+height must not exceed &width=<value> image. the ‘hugesize’ height (i.e. 576 &height=<value> for PAL, 480 for NTSC). Left+width must not exceed the ‘hugesize’...
Page 62
camserv http://camserv/fullsize.jpg?clock=on&rotation=270deg camserv http://camserv/hugesize.jpg?camera=2&compression=high camserv http://camserv/fullsize.jpg?camera=3&pan=45 http://<cameraname>/cgi-bin/control?<parameter>= <value>[&<parameter>=<value>...] Hexadecimal coded Writes the specified data string to bytes {0, 1, 2, 3, 4, 5, 6, dataout=<string> the Pan/Tilt serial port. Maximum 7, 8, 9, A, B, C, D, E, F, 128 bytes. a, b, c, d, e, f} Reads the specified number of bytes from the Pan/Tilt port.
Page 63
Empties the input buffer for the Pan/Tilt port. Always performed first flush=<value> yes/no when combined with other parameters. http://camserv/cgi-bin/control?dataout=430001FF http://camserv/cgi-bin/control?flush=yes &dataout=2B004C4C4F&wait=5&read=20 <HTML> <HEAD> <TITLE>HTTP Input/Output Test Page</TITLE> </HEAD> <BODY> <H2>HTTP Input/Output Test Page</H2> <FORM ACTION="http://camserv/cgi-bin/control" method=post>Write hexadecimal byte string <input type=text size=20 maxsize=19 name="dataout"> to Pan/Tilt port.
Page 71
http://<camserv>/log/messages Wed Nov 5 15:12:18 Info: BOOT Wed Nov 5 15:12:36 Warning: Modem failed to acknowledge hangup. Wed Nov 5 15:12:48 Warning: Modem not responding at 9600 BPS. Wed Nov 5 15:12:56 Warning: Modem failed to acknowledge hangup. Wed Nov 5 15:13:01 Info: Modem ready for incoming calls.
Page 72
The AXIS 240 cannot be The IP address is already To check that the IP address for your AXIS 240 is unique: accessed from a Web used by another device. 1. Start a DOS window. browser. 2. Type ping x.x.x.x , where x.x.x.x is the IP address...
Page 73
Use a script running on your web server to relay images heavily loaded. from the AXIS 240 to the Internet. This is particulary impor- tant when generating zoom and hugesize images. See “Point to Point Protocol (PPP)” on page 64 No image using Refresh Complex images, i.e.
Page 74
• Modem not set for 1. Ensure that the modem is set for RTS/CTS serial modem connected to the RTS/CTS communication. For US Robotics modems, you do this serial port of the AXIS using the command AT&I1 • Local echo not 240.
Page 98
ATDTnnnnnn, nnnnnn ATDT555-1212 Welcome! You are connected to the host shell of your AXIS Camera Server. Try 'help' for a list of available commands, or just ‘sz fullsize.jpg’ to download an image. $ he...
Page 99
Help Display help text Date Get current date and time SetDate Set current date and time Version Print current software version Become super-user or another user Login Become a specific user Send a file using zmodem protocol SoftReset Protocol reinit HardReset Complete reboot Exit...
Page 100
Welcome! You are connected to the host shell of your AXIS Camera Server. Try 'help' for a list of available commands, or just ‘sz fullsize.jpg’ to download an image. $ sz fullsize.jpg **B00000000000000 >> Notice: Redirecting stdin/stdout.
Page 102
SafeMode To avoid any undesired camera movements, you can enable the SafeMode function. However, the traffic will increase and normally you can keep SafeMode dis- abled. Movement These soft stops indicate the end position in all direc- SoftStops tions; i.e. left, right, up and down. The soft stops will assure that the camera is kept within certain bounds.
Page 109
-message "\0x04" \" # This command will send the message "Alarm # "0013" from AXIS 240" to the remote host when # input port 1 goes high. * * * * * /I1: alert -host 172.16.253.80 -port 2703 -message "Alarm \"0013\"...
Page 110
IMAGE halfsize.jpg fullsize.jpg hugesize.jpg SIZE # At startup, this command will initiate one # buffer for camera 1 with 25 fullsize.jpg images # and one buffer for camera 2 with 5 hugesize.jpg # images. * * * * * BOOT: buffer_init 1,2,25:2,3,5;...
Page 114
# This command initiates the buffer to hold 60 # halfsize.jpg and 5 hugesize.jpg images. New images # are captured until the buffer_start command is # interrupted. * * * * * BOOT : buffer_init 1,1,60:1,3,5; buffer_start -src halfsize.jpg -interval s1 -duration inf;...
Page 118
# This command will log in as "elvis" with the # password "presley" on the host with the Internet # address 123.123.123.123, download a hugesize # image with the name "king.jpg" and put # it in the directory "/home/elvis" on the remote # host.
Page 119
log [MESSAGE]; [MESSAGE] # This command will write a message to the log file # when someone presses the Control button on the # camera server front panel. * * * * * /B : log "The Control button was pressed." ; mail [-s SUBJECT] [-a ATTACHMENTS] [-t RECIPIENTS] [-cam CAMERANUMBER] [-b BUFFERTYPE] [-n NUMBER];...
Page 120
# subject "This "fullsize.jpg" was sent from my # AXIS 240" to two recipients. * * * * * : mail -s "This \"fullsize.jpg\" was sent from my AXIS 240" -a fullsize.jpg -t someone@axis.com anotherone@axis.com; # This command will send an e-mail with five # attachments.
Page 122
# 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.
Page 123
-move -pan -tilt # 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;...
Page 124
# This command will reset the AXIS 240 hardware # once a day. 0 0 * * * : reset -hard; sleep <seconds>; <seconds> # This command will result in a 30 seconds pause # in the CRON script execution.
Page 125
-cam [FILE] fullsize.jpg halfsize.jpg hugesize.jpg zoom.jpg io/relayon.txt io/relayoff.txt # This command will update the lastshot.jpg image # with a fullsize image from camera 2. * * * * * : snapshot fullsize.jpg -cam 2; # During one minute, the lastshot image will be # updated as halfsize.jpg with two-seconds # intervals.
Page 127
Date & Time page 32 ICMP 83 default Internet address 78 Image page 31 defaults 78 image types 43 Dialing including snapshots in a web page 44 modem server 97 indicators Digital inputs 89 Active 15 dip switches 14 Network 15 DNS server 33 Power 15 downloading the Internet address 19...
Page 128
Modem page 34 Pelco Digital Coaxitron 50 102 Modem server performance 84 configuration 96 ping command 25 modem server 92 Point to Point Protocol 64 configuration 34 poor images 73 dialing 97 Power indicator 15 72 help menu 97 power supply 85 Zmodem 99 PPP 64 modulation 35...
Page 129
Security page 33 viewing angle 37 serial connection 34 64 serial interface 91 serial number 15 20 Web browser interface 30 Server push 45 72 Web browsers 83 sleep, CRON script 123 Windows 95/98 Snapshot types 84 PPP 64 snapshot types 43 snapshot, CRON script 123 software updates 79 Zmodem 67 99...