Download Print this page

Axis 240 User Manual

Network camera server axis
Hide thumbs Also See for AXIS 240:

Advertisement

Quick Links

Advertisement

loading

Summary of Contents for Axis AXIS 240

  • 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 5 WWW: http://www.axis.com FTP server: ftp://ftp.axis.com/pub/axis Support tech-sup@axis.com e-mail address:...
  • Page 13 setup31.exe start.pdf...
  • Page 14 tools/Acrobat/ readme.txt...
  • Page 18 http://camserv/ http://172.16.253.80/...
  • Page 24 arp -s <IP address> <Ethernet address> <my PC IP address> ping <IP address> arp -s 192.16.253.80 00-40-8c-10-00-86 171.16.6.40 ping 192.16.253.80 Reply from 172.16.253.80 ... ping...
  • Page 25 arp -s <IP address> <Ethernet address> ping <IP address> arp -s 192.168.3.191 00-40-8c-10-00-86 ping 192.168.3.191 Reply from 192.168.3.191 ... ping...
  • Page 26 arp -s <host name> <Ethernet address> temp ping <host names> arp -s camserv 00:40:8c:10:00:86 temp ping camserv camserv is alive , ping arp -s ether arp -s ether <host name> 00:40:8c:10:00:86 temp...
  • Page 27 /etc/ethers <Ethernet address> <host name> 00:40:8c:10:00:86 camserv rarpd -a.
  • Page 28 /etc/bootptab <host name>:ht=<hardware type>:vm=<vendor magic>:\ :ha=<hardware address>:ip=<IP address>:\ :sm=<subnet mask>:gw=<gateway field> ether rfc1048 camserv:ht=ether:vm=rfc1048:\ :ha=00408c100086:ip=192.168.3.191:\ :sm=255.255.255.0:gw=192.168.1.1 bootpd...
  • Page 31 http://camserv/ root pass...
  • 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 40 config config CONFIG CONFIG quit bye exit config...
  • Page 43 http://172.16.253.80/ http://172.16.253.80/fullsize.jpg http://172.16.253.80/halfsize.jpg...
  • 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 52 hugesize.jpg...
  • Page 53 # <comment> (first entry) <trigger condition> : <command 1> ; <command 2> ; <command n> ; # <comment> (second entry) <trigger condition> : <command 1> ; <command 2> ; <command n> ; (...nth entry) # <comment> <trigger condition> : <command 1> ; <command 2>...
  • 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&nbsp; <input type=text size=20 maxsize=19 name="dataout"> to Pan/Tilt port.
  • Page 64 http://<cameraname>/<imagefile>?cgi-bin/control? presetposname=<position name> http://<cameraname>/<imagefile>?cgi-bin/control? presetposno=<1-10>...
  • Page 66 <name> ABORT BUSY ABORT 'NO CARRIER' '' ATDT<phone number> CONNECT .DIAL_240...
  • Page 67 pppd connect '/usr/sbin/chat -f DIAL_240' 115200 /dev/modem pppd connect '/usr/sbin/chat -f DIAL_240' :192.168.3.219 115200 /dev/modem root -detach 64 bytes from 192.168.3.219: icmp_seq=0 ttl=15 time=197.0 ms 64 bytes from 192.168.3.219: icmp_seq=1 ttl=15 time=180.0 ms kill -TERM ‘cat /var/run/ppp0.pid‘...
  • Page 68 sz fullsize.jpg...
  • 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 76: Config Menu

    --- CONFIG MENU NODE_ADDR. = 00 40 8C 18 00 86 ROOT_PWD. = PASS USERS. --- TCPIP MENU TCP_ENB. = YES INT_ADDR. = 0.0.0.0 DEF_ROUT. = 0.0.0.0 DNS1_ADDR. = 0.0.0.0 DNS2_ADDR. = 0.0.0.0 MAIL_SERVER_ADDR. = 0.0.0.0 RETURN_PATH. NET_MASK. = 0.0.0.0 BOOTP_ENB.
  • Page 77 --- Camera specific parameters LOGO_X. = 10 LOGO_Y. = 10 LOGO_SHOWN. = NO CLOCK_X. CLOCK_Y. CLOCK_SHOWN. = NO CLOCK_MODE. = AM/PM Image appearance parameters LIGHT_FRONT_LED. = YES CACHE_TIME. System Parameters MODEM_TYPE. SERIAL_MODE. = DISABLED SERIAL_BAUD. = 9600 SERIAL_FLOW. MODEM_INIT. BUSY_REDIAL. TCP_SERVPORT.
  • Page 78 CAM2. CAM3. CAM4. CAM5. CAM1ID. CAM2ID. CAM3ID. CAM4ID. CAM5ID. CAMMODEL. SECCODE. SECPASS. PAREA. IMGTEXTAREA. IMGTEXTPOSITION. PREPOSAREA0. PREPOSAREA1. PREPOSAREA2. PREPOSAREA3. PREPOSAREA4. PREPOSAREA5. PREPOSAREA6. PREPOSAREA7. PREPOSAREA8. PREPOSAREA9. VIEWANGLE0. VIEWANGLE1. VIEWANGLE2. VIEWANGLE3. VIEWANGLE4.
  • Page 80 240_x_xx.exe, x_xx...
  • Page 81 240_x_xx.exe, x_xx root pass put 240_1_00.bin flash put 240_1_00.bin FLASH...
  • Page 82 “Transfer complete, flash programming finished OK” npsload -1 -n 240_1_00.bin...
  • Page 85 JPEG 192 x 144 0.5 sec 160 x 112 0.5 sec JPEG 384 x 288 0.7 sec 320 x 240 0.7 sec JPEG, BMP 768 x 576 16 sec 640 x 480 15 sec...
  • Page 89 http://camserv/io/ root root pass relayon.txt relayoff.txt input.txt relayoff.txt relayon.txt Relay is Off Relay is On...
  • Page 90 input.txt input:1 current:0 last:1 pulse:2 time_of_change:12.22 input:2 current:1 last:0 pulse:6 time_of_change:14.43 input:3 current:0 last:1 pulse:1 time_of_change:09.13 input:4 current:0 last:1 pulse:4 time_of_change:12.25...
  • Page 92 - RXD - TXD...
  • Page 93 -RXD -TXD...
  • Page 94 bold at&f ;load factory default settings at&b1 ;lock DTE-DCE baud rate at&h1 ;CTS handshaking on atm0 ;turn speaker off ate0 ;command echo off Note: this inhibits the display of entered commands. at&w ;save settings to modem ---------ready ---- ati4...
  • Page 95 ati4. ate0...
  • Page 96 BAUD=115200 PARITY=N WORDLEN=8 DIAL=PULSE ON HOOK &A1 &B1 &C1 &D2 &H2 &I0 &K1 &M4 &N0 &R1 &S0 &T5 &U0 &Y1 S00=000 S01=000 S02=043 S03=013 S04=010 S05=008 S06=002 S07=059 S08=002 S09=006 S10=007 S11=070 S12=050 S13=000 S14=000 S15=000 S16=000 S17=000 S18=000 S19=000 S20=000 S21=010 S22=017 S23=019...
  • 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 101 root pass...
  • 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 104 root pass...
  • Page 105 root pass...
  • Page 108 # <comments> <triggering condition> : <commands>; where: <comments> are optional. <triggering condition> <minute> <hour> <day> <month> <weekday> <optional input/boot event> <commands>...
  • 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 111 http://<camera>/images/buffer.jpg?imagetype=<value> http://mycam/images/buffer.jpg?imagetype=fullsize.jpg buffer_start [-src SOURCEFILE] [-cam CAMERANUMBER] [-interval TIME] [-duration TIME] [-store SIZE]; -src halfsize.jpg fullsize.jpg hugesize.jpg -cam -interval h<hours>m<minutes>s<seconds> -duration h<hours>m<minutes>s<seconds> -duration inf -store...
  • Page 112 # This command will keep loading fullsize.jpg images. * * * * * * : buffer_start -src fullsize.jpg -cam 3 -interval s30 -duration inf; # When someone presses the Control button, this # command will store 10 hugesize.jpg images. * * * * * /B : buffer_start -src hugesize.jpg -store 10;...
  • Page 113 buffer_stop [-src SOURCEFILE] [-cam CAMERANUMBER] [-interval TIME] [-duration TIME] [-store SIZE]; -src halfsize.jpg fullsize.jpg hugesize.jpg -cam -interval h<hours>m<minutes>s<seconds> -duration h<hours>m<minutes>s<seconds> -duration inf -store...
  • 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 115 [-host HOST] [-user USERNAME] [-pass PASSWORD] [-src SOURCEFILE] [-dest DESTINATIONFILE] [-temp TEMPORARY_DESTINATION_NAME] [-loop LOOPTIME] [-time TOTALTIME] [-cam CAMERANUMBER] [-buffer BUFFERTYPE]; -host -user -pass -src fullsize.jpg images/buffer.jpg. -dest...
  • Page 116 $rS-E rS-E -temp -loop h<hours>m<minutes>s<seconds> -time h<hours>m<minutes>s<seconds> -cam -buffer fullsize.jpg halfsize.jpg hugesize.jpg -src images/buffer.jpg...
  • Page 117 -ctrlport -dataport h<hours>m<minutes>s<seconds>...
  • 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 121 offline; online [-dial NUMBER] [-user USERNAME -pass PASSWORD] [-timeout TIME] [-script "send expect send expect ..."]; -dial ATDT<phone number> -user -pass -timeout h<hours>m<minutes>s<seconds> -script ‘‘ $(USER) $(PASS) -user -pass...
  • 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 126 CRON automatic picture updates 45 alert 108 auxiliary 87 trigger condition 53 Auxiliary IO connector 87 CRON script 56 AXIS Online CD 12 buffer_init 108 buffer_start 109 buffer_stop 112 bad snapshot images 73 commands 108 BOOTP 19 27 comments 52...
  • 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...