AXIS 240 Network Camera Server Users Manual AXIS 240 Users Manual
AXIS 240 Users Manual 2 Safety Notices Liability Legal Considerations Every care has been taken in the preparation of this manual; if you detect any inaccuracies or omissions, please inform us at an address which can be found in the last appendix of the manual. Axis Communications cannot be held responsible for any technical or typographical errors and reserves the right to make changes to the product and manuals without prior notice.
AXIS 240 Users Manual Preface Preface Thank you for purchasing the AXIS 240 Network Camera Server. This product has been developed to connect your cameras anywhere in your network, allowing all users to take high quality snapshot pictures around the globe over Internet and intranet networks. About This Manual The manual provides introductory information as well as detailed instructions on how to set up and manage the AXIS 240 in various network environments.
4 Preface AXIS 240 Users Manual IBM Mainframe and S/3x - AS/400 Print Servers and Protocol Converters - includes a wide range of LAN, coax and twinax attached print servers for the IBM host environment. By emulating IBM devices, these servers provide conversion of the IPDS, SCS and 3270DS data streams to the major ASCII printer languages.
AXIS 240 Users Manual Table of Contents Section 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 The AXIS 240 Camera Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Features and Benefits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Section 2 Installing the AXIS 240 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Installation Summary . . . .
AXIS 240 Users Manual 6 Factory Default Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Appendix C Updating the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Obtaining Updated Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Upgrading the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Appendix D Technical Specifications . . . . . . . . . . . . . . . . . .
AXIS 240 Users Manual Introduction Section 1 Introduction The AXIS 240 Camera Server The AXIS 240 Camera Server connects video cameras to Ethernet networks. The AXIS 240 can service up to 4 coax/BNC cameras and one S-video camera. With its built-in web server, it provides an easy and cost-effective solution for interactive surveillance and remote monitoring. Images can be captured and distributed over the local network or Internet using a standard Web browser.
8 Introduction AXIS 240 Users Manual Features and Benefits Ease of Use The AXIS 240 requires no additional software. Plug and picture basically all you need to do is assign a valid IP address. Cost-effective Without involving unnecessary equipment such as expensive software or specific video cabling, the AXIS 240 provides a reliable and low cost resource for network imaging. Operating Environments The AXIS 240 supports TCP/IP and Internet-related protocols.
AXIS 240 Users Manual Introduction External Device Connection The auxiliary inputs makes it possible to trig the AXIS 240 from Pan/Tilt Device Connection Via an RS232 (or RS485 + converter) serial interface, you can combine the AXIS 240 with a Pan/Tilt device for automatically adjusting the camera orientation. external devices, e.g. IR-sensors, switches, alarm relays etc. Security The AXIS 240 is a self-contained web server. This means that the camera server is secured like any other Internet host.
10 Introduction AXIS 240 Users Manual
AXIS 240 Users Manual Installing the AXIS 240 Section 2 Installing the AXIS 240 This section provides a brief description of the AXIS 240 connectors and indicators, and details the installation procedures. Installation Summary You install the AXIS 240 in these stages: Stage 1. Unpacking and Checking the Hardware Stage 2. Identifying the Connectors and Indicators Stage 3. Connecting the AXIS 240 to your Cameras Stage 4. Connecting the AXIS 240 to your Network Stage 5. Assigning an IP Address Stage 6.
12 Installing the AXIS 240 AXIS 240 Users Manual Stage 1. Unpacking and Checking the Hardware Unpack and check all the items against the list below. Contact your dealer if anything is missing or damaged. All packing material is recyclable.
AXIS 240 Users Manual Note: HTML Interface Installing the AXIS 240 ❏ If the Adobe Acrobat Reader 3.0 is not installed on your system, locate and run the appropriate installer from the tools/Acrobat/ folder. Refer to the readme.txt file for full pathname details. You can access a Web browser interface to the contents of the AXIS Online CD by clicking the HTML button from within the main installation dialog.
14 Installing the AXIS 240 AXIS 240 Users Manual Connectors Camera Inputs Dip Switches I/O Pan/Tilt Modem 10BaseT Power Caution! The AXIS 240 is equipped with 4 CAM coax/BNC connectors and one S-video connector (Y/C). The inputs are autosensing for the video format used in the connected cameras, i.e. NTSC, PAL, Black/white 50Hz or Black/white 60Hz. Each of the CAM coax inputs has a 75 ohm terminator resistor. Normally, the resistors are switched on with the corresponding dip switches down.
AXIS 240 Users Manual Installing the AXIS 240 Indicators Active The Active indicator flashes on every occasion one of the connected cameras takes a snapshot. Power The Power indicator is normally lit while power is applied. If it is not lit, or it flashes, there is problem with the AXIS 240 power supply. Network Control Button Serial Number The Network indicator flashes to indicate network activity. The Control button is used for multiple purposes, e.g.
16 Installing the AXIS 240 AXIS 240 Users Manual Stage 4. Connecting the AXIS 240 to your Network To connect your AXIS 240 to the network, follow these steps: 1. Connect your AXIS 240 to the network using an Ethernet 10baseT connector. 2. Connect the power supply to the AXIS 240. 3. Check that the Power indicator is constantly lit. Stage 5. Assigning an IP Address To access the AXIS 240 from a Web browser, you must first assign and download a valid IP address.
AXIS 240 Users Manual Installing the AXIS 240 1. Start your Web browser and enter the name or IP address: http://camserv/ or http://172.16.253.80/ The Home Page of your AXIS 240 appears: 2. The camera ports are enabled by default. Click on the Settings link and then the Video button to display the Configuration - Video page. Select the default camera, and disable the unused camera ports. 3.
18 Installing the AXIS 240 AXIS 240 Users Manual 4. Return to the AXIS 240 Home Page. A picture just taken by the default camera will be displayed. 5. To obtain sharp pictures, adjust the focus of your cameras. Refer to the camera documentation on how to do this. 6. Test the results of your adjustments by taking some new pictures. To do this, simply reload your Web browser. Note: ❏ If you are using Netscape Navigator, you can simultaneously monitor the changes by clicking on the Server push link.
AXIS 240 Users Manual Assigning an IP Address Section 3 Assigning an IP Address To enable access to your AXIS 240, you must first assign it an appropriate IP address. This section describes how to assign and download an IP address to your AXIS 240. Downloading the IP Address You can set the IP address of the AXIS 240 in three different ways, using either ARP, RARP or BOOTP. All methods are enabled by default.
20 Assigning an IP Address Before you begin IP Address AXIS 240 Users Manual Make sure the AXIS 240 is powered up and attached to the network. Acquire an unused IP address from your Network Administrator. System Privileges You will require root privileges on your UNIX system and administrator privileges on the Windows NT servers. Ethernet Address Depending on the method you are using, you will need to know the Ethernet address of your AXIS 240.
AXIS 240 Users Manual Procedures Assigning an IP Address Set the IP address using one of these methods, depending on your network environment: Method AXIS IP Installer ARP RARP BOOTP Network environments See ...
22 Assigning an IP Address Using the AXIS IP Installer AXIS 240 Users Manual The AXIS IP Installer is a program that installs the camera server IP address for you. It also allows you to access the camera server home page via a Web browser. The program is available on the AXIS Online CD and on the Axis Web Site at http://www.axis.com 1. On the AXIS Online CD, click on the Software button. 2. Select the IP Installer and click Install. The AXIS IP Installer Setup dialog is displayed on the screen. 3.
AXIS 240 Users Manual Using ARP in Windows 95 Assigning an IP Address Follow these instruction to download the IP address and verify the communication. Start a DOS window and type the following commands: arp -s ping Example: arp -s 192.16.253.80 00-40-8c-10-00-86 171.16.6.40 ping 192.16.253.80 The host will return Reply from 172.16.253.80 ... or some similar message.
24 Assigning an IP Address Using ARP in Windows 98 and Windows NT AXIS 240 Users Manual Perform the following commands to download the IP address and verify correct Internet communication: 1. Start a DOS window and type the following command: arp -s 2. Ping the unit as follows: ping Example: arp -s 192.168.3.191 00-40-8c-10-00-86 ping 192.168.3.191 The host will return Reply from 192.168.3.191 ... or some similar message.
AXIS 240 Users Manual Using ARP in UNIX and OS/2 Assigning an IP Address Follow these steps to download the IP address and verify the communication: 1. Type the following command: arp -s temp 2. Ping the unit as follows: ping Example: arp -s camserv 00:40:8c:10:00:86 temp ping camserv The host will return camserv is alive, or some similar message to indicate that the address has been set and the communication is established.
26 Assigning an IP Address Using RARP in UNIX AXIS 240 Users Manual Follow these steps to use the RARP method in UNIX: 1. Append the following line to your Ethernet Address table. This is typically performed using the command /etc/ethers: Example: 00:40:8c:10:00:86 camserv 2. If necessary, update your host table and alias name databases as described required by your system. 3. If it is not already running, start the RARP daemon.
AXIS 240 Users Manual Using BOOTP in UNIX Assigning an IP Address Follow these steps to use the BOOTP method: 1. Append the following entry to your boot table. This is typically done using the command /etc/bootptab: :ht=:vm=:\ :ha=:ip=:\ :sm=:gw= where: ht vm ha ip sm gw = ether = rfc1048 = The Ethernet address of the AXIS 240 = The IP address of the AXIS 240 = The subnet mask = The default router addres
28 Assigning an IP Address AXIS 240 Users Manual
AXIS 240 Users Manual Configuring the AXIS 240 Section 4 Configuring the AXIS 240 This section includes an overview of the AXIS 240 parameters. You can configure the AXIS 240 via hyperlinks from within its own web pages from any standard Web browser. Alternatively, you can configure the AXIS 240 using FTP. Refer to Appendix B - The Parameter List for a full listing of the configuration parameters. Note: ❏ For the latest technical information, access the AXIS 240 web site at http://www.axis.
30 Configuring the AXIS 240 AXIS 240 Users Manual Configuring using a Web browser To configure the AXIS 240, enter the name or IP address into the location/address field of your Web browser: http://camserv/ On the AXIS 240 Home Page, click on the Settings link to reach the Configuration pages.
AXIS 240 Users Manual Image Page Configuring the AXIS 240 You can specify the default image settings on the Configuration Image page. Click Image at the top of the Configuration page. Click General to set the Image parameters that applies to all connected cameras. The buttons Camera 1 to Camera 5 each represent a camera connected to your AXIS 240. Click one of the buttons to configure the Image parameters for this particular camera.
32 Configuring the AXIS 240 Date & Time Page AXIS 240 Users Manual You can specify the current date and time via the Configuration - Date & Time page. Click Date & Time at the top of the Configuration page. The following is a description of the Date & Time parameters: Parameter name Date Time Datesync Server Datesync Period Datesync Protocol Datesync Time Zone Display Date/Time Time format Clock Position x Clock Position y Description The current date. The current time.
AXIS 240 Users Manual Security Page Configuring the AXIS 240 You can specify the configuration password for your AXIS 240 on the Configuration - Security page. Click Security at the top of the Configuration page. The following is a description of the Security parameters: Parameter name Root password Usernames and passwords TCP/IP Page Description The password for the Administrator. When configuring the unit for the first time, log on as user root and use the default password pass.
34 Configuring the AXIS 240 Modem Page AXIS 240 Users Manual Should you wish to transfer snapshot and configuration data via a connecting modem, you must enable the serial link to the AXIS 240. You do this by specifying the settings on the Configuration - Modem page. Click Modem at the top of the Configuration page.
AXIS 240 Users Manual Configuring the AXIS 240 ❏ Only disable Link Quality if you intend to connect your AXIS 240 to a Macintosh via a modem. Refer to Setting Up the AXIS 240 Modem Server on page 92 for more information on how to connect the AXIS 240 to a modem. Video Page You can specify the video parameters on the Configuration - Video page. Click Video at the top of the Configuration page.
36 Configuring the AXIS 240 AXIS 240 Users Manual The following is a description of the Pan/Tilt parameters: Parameter name [Driver] Pan/Tilt Driver [Settings] Canon Sony Videmech Ernitec Pelco Digital Coaxitron TCP [Port] Baud Rate Data Bit Stop Bit Parity [Protection] Protect page Password Description Specify the driver for the attached Pan/Tilt device or enable input/output operation via the HTTP or TCP protocols. Specify the camera input source for the Canon device.
AXIS 240 Users Manual Preset Position Page Configuring the AXIS 240 You can define up to 10 camera positions on the Configuration Preset Position page. Click Preset Position at the top of the Configuration page. The following is a description of the Preset Position parameters: Parameter name Position New Name Source Pan, Tilt Zoom Note: Viewing Angle Page Description You can select an entry in the dropdown list. The AXIS 240 allows you to define 10 different camera positions.
38 Configuring the AXIS 240 Zooming AXIS 240 Users Manual When zooming, you can continue moving the camera head within the defined viewing limits. This is because the view angle limits define the visual limits of an area and not the physical limits for the camera head. The camera is panned to the its right view angle limit. The camera is now zoomed. The camera can now be moved to the right until stopped by the view angle limit.
AXIS 240 Users Manual Configuring the AXIS 240 6. Once the editing is complete, save the file as config. Type put config CONFIG to save the configuration file permanently. Note that if the last uppercase CONFIG is omitted, the file will only be stored temporarily until the next time the product is powered off. 7. To exit FTP, type the command quit, bye, or exit. Caution! ❏ Windows 95 has a directory called config that contains important system files.
40 Configuring the AXIS 240 AXIS 240 Users Manual
AXIS 240 Users Manual Section 5: Using the AXIS 240 Section 5 Using the AXIS 240 After installing the AXIS 240 and assigning it an appropriate IP address, you are ready to use it in your own video applications.
42 Section 5: Using the AXIS 240 AXIS 240 Users Manual Snapshots Taking snapshots For each snapshot taken, the AXIS 240 creates a JPEG file and stores it within its internal memory. Home Page Snapshots To produce a snapshot that is presented within the AXIS 240 Home Page, you simply enter the name or IP address of your AXIS 240 into the URL of your Web browser. Example http://172.16.253.80/ This causes the AXIS 240 to generate a fullsize JPEG image.
AXIS 240 Users Manual Snapshot Types Section 5: Using the AXIS 240 You can adjust the size and appearance of your AXIS 240 snapshots, ranging from small, highly compressed to large, high-quality images. The file sizes depend on several factors. Low compression and large images result in larger files, but the images will be of better quality. Images with a lot of details will also generate larger files.
44 Section 5: Using the AXIS 240 Including Snapshots in Web Pages AXIS 240 Users Manual Follow these steps to integrate live snapshots into your own web pages: 1. Create your web page using your preferred HTML creation tool, i.e. an ordinary text editor or a dedicated HTML design application such as Microsoft Internet Assistant, Front Page or Adobe PageMill. 2. In your Web browser, enter the URL that defines the name or IP address of your AXIS 240 and the snapshot type that you wish to create.
AXIS 240 Users Manual Section 5: Using the AXIS 240 Automatic Picture Updates The AXIS 240 supports five methods for automatic picture updates, namely: Server push Java image feed Pan/Tilt Java Control Refresh image feed Multiple refresh image feed These are available from links on the AXIS 240 Home Page. Server Push The Server push function pushes new snapshots to your Web browser continuously.
46 Section 5: Using the AXIS 240 AXIS 240 Users Manual CamImg CamImg is an easy-to-use Java applet that continuously displays a set of images. Using CamImg 1. Place the CamImg.class on the same server where your images are kept. 2. Insert the following piece of code in your HTML file where you want the images to appear
48 Section 5: Using the AXIS 240 CamCtrl AXIS 240 Users Manual CamCtrl is an easy-to-use Java applet that continously displays and controls a set of images. Image Specifies a list of images to display. Multiple file names must be separated by vertical bars ‘|’. Syntax: Default value: “fullsize.jpg” ImageLabel Specifies a label for each image. Multiple labels must be separated by vertical bars ‘|’.
AXIS 240 Users Manual Section 5: Using the AXIS 240 Pan/Tilt Control If you are using a Pan/Tilt device, the AXIS 240 web interface allows you to adjust the orientation of the connected cameras remotely. Follow these steps: 1. On the AXIS 240 Home Page, click Pan/Tilt Control. 2. To the left, thumbnail images of the enabled cameras are displayed. Click on the camera you want to adjust. 3. The image will be displayed to the right.
50 Section 5: Using the AXIS 240 AXIS 240 Users Manual Click on the arrows to move the camera step by step in the preferred direction. The adjustments are relative to the current camera position. This means that each time you click on the left arrow, the camera will pan one step to the left regardless of its current position. Ernitec To adjust the camera zoom, click Wide or Tele respectively. Click on the arrows to perform a rough adjustment of the camera position in the preferred direction.
AXIS 240 Users Manual Note: Section 5: Using the AXIS 240 ❏ You can use the CRON script facility to collect snapshots periodically. See CRON Script on page 51. If your web site does not have heavy traffic, it is possible to use the URL directly to the AXIS 240. However, this has three main drawbacks: Your AXIS 240 may be located on the other side of a firewall. The AXIS 240 cannot handle more than 5 simultaneous requests. Generating large files, such as the hugesize.
52 Section 5: Using the AXIS 240 AXIS 240 Users Manual A typical CRON script construction is detailed below: # (first entry) : ; ; . . ; % # (second entry) : ; ; . . ; % # (...nth entry) : ; ; . .
AXIS 240 Users Manual Trigger Condition Section 5: Using the AXIS 240 The commands contained within each specific entry are triggered by a defined trigger condition. The trigger condition is specified by six separate fields and must be terminated with a colon :. : Time and Date Event Fields The first five fields specify the time and date events, i.e. Minute, Hour, Day, Month and Day of the week.
54 Section 5: Using the AXIS 240 Input and Boot Field AXIS 240 Users Manual The sixth field consists of a character array. It is optional and defines the input and boot trigger functions. You can program the AXIS 240 to trigger at startup or on the logical states present on the Control button and digital input ports, using the trigger variables BOOT, B, I1, I2, I3 and I4 respectively. The B, I1, I2, I3 and I4 trigger variables must be proceeded by an activate condition, /, \, 0 or 1, to indicate when t
AXIS 240 Users Manual Section 5: Using the AXIS 240 Example 2 Activate on Input port 2 low and Input port 4 high. 0I2&1I4 Triggering Fields Summary This table summarizes the valid values of the triggering event fields: Time and Date Fields Field # Commands 1 2 3 4 Description Minute Hour Day Month Day of the Week Conditional Tag * Valid values 0-59 * 1-31 * 1-12 * 0-23 5 Input and Boot Field (Optional) * 0-6 0 = Sunday 6 BOOT B I1, I2.
56 Section 5: Using the AXIS 240 AXIS 240 Users Manual ❏ Although the downloaded entries are executed in parallel, the commands included within each entry are executed sequentially, i.e. the second command is not executed until the first is finished. Editing a CRON Script From the AXIS 240 Home Page, click CRON to access an online editor for generating a CRON script. The new CRON script will then be automatically downloaded to the AXIS 240.
AXIS 240 Users Manual Section 5: Using the AXIS 240 Example: # 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." -a lastshot.jpg -t mother@some.site; % # This, the second entry will store a fullsize image # using ftp on the ftp server an.ftp.site in # /home/snapshots when input 1 goes high. * * * * * /I1 : ftp -host an.ftp.
58 Section 5: Using the AXIS 240 Downloading the CRON Script via FTP AXIS 240 Users Manual Follow these steps to download a CRON script file, e.g. cron.txt, to the AXIS 240 via FTP: 1. Start an FTP session using the command ftp 2. You will be prompted for user name and password. By default, these are root and pass. 3. Change to binary mode using the command bin 4. Download the script using the command put cron.
AXIS 240 Users Manual Section 5: Using the AXIS 240 Common Gateway Interface (CGI) parameters The Common Gateway Interface (CGI) is a standard for interfacing external applications with information servers, such as HTTP or Web servers. A CGI program within the AXIS 240 allows you to define special snapshot features within an embedded URL request. You generate these requests in the form of query strings appended to the URL of the AXIS 240.
60 Section 5: Using the AXIS 240 Cropping/ top= &left= &width= &height= AXIS 240 Users Manual Parameter values expressed in number of pixels and truncated to multiples of 8 (e.g. 45 is truncated to 40). Crops a ‘hugesize’ type image. Top+height must not exceed the ‘hugesize’ height (i.e. 576 for PAL, 480 for NTSC). Left+width must not exceed the ‘hugesize’ width. ( i.e.
AXIS 240 Users Manual Section 5: Using the AXIS 240 Example 1 Request a fullsize JPEG snapshot from the default camera connected to the AXIS 240 camserv that contains a clock reference and is rotated 270 degrees: http://camserv/fullsize.jpg?clock=on&rotation=270deg Example 2 Request a highly compressed hugesize JPEG snapshot from the camera connected to CAM2 on camserv: http://camserv/hugesize.
62 Section 5: Using the AXIS 240 flush= AXIS 240 Users Manual Empties the input buffer for the Pan/Tilt port. Always performed first yes/no when combined with other parameters. Example 1 Write the data stream 430001FF to the Pan/Tilt port: http://camserv/cgi-bin/control?dataout=430001FF Example 2 Clears the input buffer, writes the data string 2B004C4C4F to the Pan/Tilt port and waits 5 seconds for a reply.
AXIS 240 Users Manual Section 5: Using the AXIS 240 In a Web browser, the page will look like this: Note: CGI Parameters for Preset Positions ❏ To enable input/output operations using HTTP, the AXIS 240 must be configured properly. See Setting Up the AXIS 240 for Pan/Tilt Connection on page 100.
64 Section 5: Using the AXIS 240 AXIS 240 Users Manual Point to Point Protocol (PPP) The AXIS 240 supports the Point to Point Protocol (PPP) which is a mechanism for creating and running the Internet Protocol and other network protocols over a serial link. This can be either: A direct serial connection that uses a null-modem cable, or A connection established using modems and telephone lines (including digital lines such as ISDN).
AXIS 240 Users Manual Section 5: Using the AXIS 240 6. Enter the relevant phone number information for the remote modem connected to your AXIS 240. Click Next. 7. Click Finish. The system then proceeds to build the Driver information database and your connection dialog will then subsequently appear in the Dial-Up Networking dialog. Accessing the Remote AXIS 240 Follow this procedure to dial out to a remote AXIS 240: 1.
66 Section 5: Using the AXIS 240 AXIS 240 Users Manual 3. To open the connection, enter: pppd connect '/usr/sbin/chat -f DIAL_240' 115200 /dev/modem or pppd connect '/usr/sbin/chat -f DIAL_240' :192.168.3.219 115200 /dev/modem The latter variation on this command causes the AXIS 240 to temporarily have the IP address 192.168.3.219. If an address is not specified, as displayed in first form of this command, the unit will then use its default address that was previously assigned using arp.
AXIS 240 Users Manual Section 5: Using the AXIS 240 Zmodem Modem Connection By connecting the AXIS 240 to a modem, it is possible to download snapshot images to remote computers using standard modem equipment. Snapshot data and configuration data can be transferred over the serial link using the zmodem protocol. This protocol is supported by most UNIX and PC/Mac communications packages.
68 Section 5: Using the AXIS 240 AXIS 240 Users Manual
AXIS 240 Users Manual Appendix A: Troubleshooting Appendix A Troubleshooting This appendix provides useful information to help you resolve any difficulty you might have with your AXIS 240. Symptoms, possible causes and remedial actions are listed within a reference table. The Log File The AXIS 240 log file records commands executed within the unit and can prove a useful diagnostic tool when attempting to resolve any problems that might occur.
70 Appendix A: Troubleshooting Obtaining the File AXIS 240 Users Manual To obtain a copy of the log file, simply type the following command into the URL of your Web browser: http:///log/messages Examining the File The file can be examined directly using any text editor and would typically contain information as detailed below: 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.
AXIS 240 Users Manual Appendix A: Troubleshooting Symptoms, Possible Causes and Remedial Actions Symptoms The AXIS 240 cannot be accessed from a Web browser. Possible causes The IP address is already used by another device. Remedial actions To check that the IP address for your AXIS 240 is unique: 1. Start a DOS window. 2. Type ping x.x.x.x, where x.x.x.x is the IP address of the AXIS 240. The reply subsequently returned will provide an explanation as to the cause of the problem.
72 Appendix A: Troubleshooting Symptoms Possible causes The Power indicator is not Faulty power supply. constantly lit The Network indicator is Faulty cabling. not flashing randomly. AXIS 240 Users Manual Remedial actions Verify that you are using an Axis PS-D power supply. 1. To verify that the cables work, ping the address of a known existing unit on your network. 2. If the cabling is OK and your network is reachable, you should receive the reply similar to this: ...
AXIS 240 Users Manual Symptoms Bad snapshot images. Cannot access the modem connected to the serial port of the AXIS 240. Appendix A: Troubleshooting Possible causes Display configured incorrectly. • Modem not set for RTS/CTS • Local echo not disabled Remedial actions Within Display Properties, configure your display to show at least 65'000 colors, i.e. at least 16-bit. Using only 16 or 256 colors on your computer will produce dithering artifacts in the image. 1.
74 Appendix A: Troubleshooting AXIS 240 Users Manual
AXIS 240 Users Manual Appendix B: The Parameter List Appendix B The Parameter List This appendix contains a listing of the AXIS 240 configuration parameters and also describes how to restore the factory default settings for the unit. The Configuration File This table shows the AXIS 240 parameter list. The left and middle columns show the parameter names and their default values as they appear in the config file. The right column contains brief descriptions of the parameters.
76 Appendix B: The Parameter List AXIS 240 Users Manual Parameter name --- Camera specific parameters LOGO_X. LOGO_Y. LOGO_SHOWN. CLOCK_X. CLOCK_Y. CLOCK_SHOWN. CLOCK_MODE. Value Description = = = = = = = Axis logo position in pixels, the horizontal coordinate. Axis logo position in pixels, the vertical coordinate. Enables Axis logo display. Clock position in pixels,, the horizontal coordinate. Clock position in pixels, the vertical coordinate. Enables clock display. AM/PM or 24 hours time format.
AXIS 240 Users Manual Parameter name CAM2. CAM3. CAM4. CAM5. CAM1ID. Value = 0 = 0 = 0 = 0 = 0 CAM2ID. = 0 CAM3ID. = 0 CAM4ID. = 0 CAM5ID. = 0 CAMMODEL. SECCODE. = 0 = 0 SECPASS. PAREA. IMGTEXTAREA. IMGTEXTPOSITION. PREPOSAREA0. PREPOSAREA1. PREPOSAREA2. PREPOSAREA3. PREPOSAREA4. PREPOSAREA5. PREPOSAREA6. PREPOSAREA7. PREPOSAREA8. PREPOSAREA9. VIEWANGLE0. VIEWANGLE1. VIEWANGLE2. VIEWANGLE3. VIEWANGLE4.
78 Appendix B: The Parameter List AXIS 240 Users Manual Factory Default Settings If you should need to reset the AXIS 240 to its factory default settings, you can use the Control button. Follow these steps: 1. Switch off the AXIS 240 by unplugging the power cord. 2. Press and hold the Control button while you switch on the AXIS 240. Keep the Control button pressed until the Active indicator flashes at regular two second intervals. 3.
AXIS 240 Users Manual Appendix C: Updating the Software Appendix C Updating the Software The AXIS 240 is equipped with Flash Memory which means that its server software can be updated using FTP. This appendix describes how this operation can be performed. Obtaining Updated Software The latest version of the AXIS 240 server software is available free of charge from Axis or your local distributor. You may obtain this software over the Internet or via anonymous FTP.
80 Appendix C: Updating the Software Anonymous FTP AXIS 240 Users Manual Log in to ftp.axis.com and go to the /pub/axis directory. Download the software update file 240_x_xx.exe, where x_xx indicates the software revision. It is recommend that you save this file in your root directory. Proceed then by unpacking the .exe file to create the associated binary and text files.
AXIS 240 Users Manual Appendix C: Updating the Software 5. The AXIS 240 will report “Transfer complete, flash programming finished OK”, once the programming is complete. Caution! ❏ In controlled environments, Flash memory upgrades provide a very safe method for updating software. However, Flash products may easily become damaged if this operation is left to inexperienced persons.
82 Appendix C: Updating the Software AXIS 240 Users Manual
AXIS 240 Users Manual Appendix D: Technical Specifications Appendix D Technical Specifications Network Systems Web Browsers All systems running TCP/IP using a HTTP browser and supporting JPEG files, HTML version 0.9 or higher, e.g. Netscape Navigator 1.22 or higher, and Microsoft Internet Explorer 1.0 or higher. However, Netscape Navigator 4.0 or Microsoft Internet Explorer 4.0 is recommended.
84 Appendix D: Technical Specifications Images Resolution AXIS 240 Users Manual Using CGI parameters, the image size can be set to a maximum size of 768 x 576 pixels. It can also be zoomed in to a size of 352 x 288 pixels. In addition, CGI parameters for quality, rotation, mirroring, colors etc. can be specified. For live updated images, a server push function is available.
AXIS 240 Users Manual Pan/Tilt Devices Operating Temperature Humidity Approvals Size Weight Power Supply Appendix D: Technical Specifications One Pan/Tilt device, or several if they are daisy chained, can be controlled via an RS232 or RS485 serial interface. The Canon VCC3, Sony EVI-D30/D31, Sony EVI-G20/G21, Ernitec ICU, Videmech and Pelco Digital Coaxitron have direct support. 40-125°F (5-50°C). 20-80% RHG, non-condensing.
86 Appendix D: Technical Specifications Dimensions AXIS 240 Users Manual
AXIS 240 Users Manual Appendix E: The Auxiliary IO Port Appendix E The Auxiliary IO Port A Mini-DIN 8-pole external connector is provided for auxiliary IO connections to the AXIS 240. This appendix discusses the additional functionality that this connector provides. Physical Connection The auxiliary IO connector provides the interface to one relay switch output and four digital inputs.
88 Appendix E: The Auxiliary IO Port AXIS 240 Users Manual Controlling and Monitoring IO Files The status of the input/output interface can be monitored and controlled by the IO software within your AXIS 240. From your Web browser, you can access the IO control file in order to either drive the relay output or monitor the status of the digital inputs.
AXIS 240 Users Manual The four digital inputs make it possible to trigger your snapshots on chosen events. However, you must use a CRON script to implement this functionality. See CRON Script on page 51. By connecting a digital microcircuit to a particular door for example, it is possible to take a snapshot on each occasion that it opens or closes. AXIS 240 5V Digital input 1 . . 6 o 7 o 8 o 1 o . Micro-switched door Infra-red switch oo Digital input 2 Aux. Con.
90 Appendix E: The Auxiliary IO Port AXIS 240 Users Manual This table describes each digital input text string: Note: String Description input: Input reference (Input 1= pin 6, Input 2 = pin 7, Input 3 = pin 4, Input 4 = pin 5) current Current port status (Logical high = 1, Logical low = 0) last Result of previous read operation pulse The number of logical one-to-zero transitions on the I/O pin, since the last read. time_of_change The time of the last change on the input pin.
AXIS 240 Users Manual Appendix F: The RS232 Serial Ports Appendix F The RS232 Serial Ports Two 9 pin D-sub connectors provides the physical connection for the RS232 serial interface of the AXIS 240. These connectors are provided for connecting accessory equipment such as modems and Pan/Tilt devices. This appendix discusses the functionality of the RS232 serial interface.
92 Appendix F: The RS232 Serial Ports AXIS 240 Users Manual Setting Up the AXIS 240 Modem Server A modem server provided within your AXIS 240 makes it possible to transmit snapshot images over the PSTN. By connecting the AXIS 240 to a modem, it is possible to download snapshot images to remote computers using standard modem equipment. Configuration of the serial port for modem connection RTS/CTS Wiring The AXIS 240 modem server utilizes hardware (RTS/CTS) handshaking.
AXIS 240 Users Manual Notes: Appendix F: The RS232 Serial Ports ❏ Some modems are supplied with a cable equipped with 25 pin DSUB connectors at both ends. Should you have a cable similar to this, you will need to use a 25 pin Male - 9 pin Female 'genderbender' with the pin assignment detailed above. Null modem cables will not work! ❏ Contact Axis for information about supported cellular phones and modems.
94 Appendix F: The RS232 Serial Ports AXIS 240 Users Manual 5. To check that the settings have been saved, turn the modem off and power it on again. 6. Type ati4. You should not see your own typing at this point, but if you do, check your modem DIP switches and make sure that the ate0 command was issued successfully. The new settings dump that is displayed should be identical to those previously saved.
AXIS 240 Users Manual Typical Modem Settings Appendix F: The RS232 Serial Ports Typical US Robotics Sportster Vi 33600 Faxmodem settings are defined below: B0 E0 F1 M0 Q0 V1 X1 Y0 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 S24=000 S25=005 S26=000 S27=00
96 Appendix F: The RS232 Serial Ports Configuring the AXIS 240 Web Browser AXIS 240 Users Manual Once you have set up your modems, you need to configure your AXIS 240 for modem control. You can use any of these methods: Web browser Control button FTP 1. On the Configuration - Modem page, enable serial mode by setting the Serial mode parameter to Full Support. 2. Connect the modem to the AXIS 240. 3. Turn the modem on. 4. Wait a few seconds and then power up the AXIS 240.
AXIS 240 Users Manual FTP Appendix F: The RS232 Serial Ports 1. Log in to the AXIS 240 with the command ftp camserv where camserv is the AXIS 240 host name or IP address. 2. You will be prompted for user name and password. Use the user id root, which has the default password pass. 3. Issue the command get config to copy the AXIS 240 config file to a directory on your workstation. 4. Log out using any of the commands quit,bye or exit depending on your FTP version. 5.
98 Appendix F: The RS232 Serial Ports AXIS 240 Users Manual The help menu is displayed: Help Date SetDate Version Su Login Sz SoftReset HardReset Exit Ip Ppp Exit Quit Goodbye Display help text Get current date and time Set current date and time Print current software version Become super-user or another user Become a specific user Send a file using zmodem protocol Protocol reinit Complete reboot Disconnect Print current IP address Initiate PPP connection Disconnect Disconnect Disconnect Access rights
AXIS 240 Users Manual Zmodem Appendix F: The RS232 Serial Ports Once connection to the AXIS 240 has been established, you can initiate a file transfer. Simply type the sz command followed by the filename of file you wish to transfer, as follows: sz fullsize.jpg A typical zmodem session is detailed below: at OK 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. $ sz fullsize.
100 Appendix F: The RS232 Serial Ports AXIS 240 Users Manual Setting Up the AXIS 240 for Pan/Tilt Connection The AXIS 240 allows various ways of controlling the camera position via the Pan/Tilt port: Connecting the AXIS 240 to a camera via a Pan/Tilt device, and controlling the position from the Pan/Tilt control page Connecting the AXIS 240 directly to a camera, and using CGI parameters in a web application for controlling the position Connecting the AXIS 240 directly to a camera, and using a
AXIS 240 Users Manual Appendix F: The RS232 Serial Ports Canon Specify which camera should use the Pan/Tilt device. Click Store device settings. Sony The Sony devices can connect up to three video cameras, if daisy chained. Specify the camera sources for each camera ID 1-3. Click Store device settings. Videmech It is possible to connect up to five Videmech units to the AXIS 240, if connected via an RS485 adapter.
102 Appendix F: The RS232 Serial Ports Ernitec AXIS 240 Users Manual It is possible to connect up to five Ernitec 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. Click Store device settings. 1. Click Port. If required, adjust the parameters for Baud rate, Data bit, Stop bit and Parity for the Pan/Tilt port. Click Store port settings. 2.
AXIS 240 Users Manual Appendix F: The RS232 Serial Ports To enable HTTP input/output operations on the Pan/Tilt port, follow these steps: 1. Click on the Settings link on the AXIS 240 Home Page. You will be prompted to supply the username and password. By default, these are set to root and pass. 2. Click Pan/Tilt. 3. Click Driver. As Pan/Tilt device, select HTTP input/output driver. Click Store driver and restart. 4. Click Port. Adjust the parameters for Baud rate, Data bit, Stop bit and Parity.
104 Appendix F: The RS232 Serial Ports AXIS 240 Users Manual 2. Click on the Settings link on the AXIS 240 Home Page. You will be prompted to supply the username and password. By default, these are set to root and pass. 3. Click Pan/Tilt. 4. Click Driver. Select the TCP input/output driver. Click Store driver and restart. 5. Click Settings. Specify the TCP port number. Note that your TCP client application must also use this TCP port when communicating with the AXIS 240.
AXIS 240 Users Manual Appendix G: Camera Applications Appendix G Camera Applications Traditional surveillance systems often limit camera access to a specific monitor, i.e. the control room. However, the AXIS 240 applies to industrial and security operations over a secure intranet, as well as to live publishing via the Internet.
106 Appendix G: Camera Applications AXIS 240 Users Manual Application Examples The list below contains links to a number of web sites, and illustrates the wide range of applications suitable for the AXIS 240: Note: Surveillance of the company entrance door: http://www.axis.com/neteye/rm_demo/front_doors.html Child monitoring system for daycare centers and preschools: http://www.kindercam.com/ Construction pictures from the Riverview Wastewater treatment plant project: http://www.pirnie.
AXIS 240 Users Manual Appendix H: CRON Script Command Reference Appendix H CRON Script Command Reference This appendix details the syntax of the CRON script commands. For information on how to use the CRON scripts with your AXIS 240, refer to CRON Script, on page 51. Script Format A CRON script for the AXIS 240 can include one or several entries. The CRON script entries use this format: # : ; % where: The are optional.
108 Appendix H: CRON Script Command Reference AXIS 240 Users Manual Commands alert Syntax Options The alert command sends a message to a remote host. alert [-host HOST] [-port PORTNUMBER] [-message STRING]; Specifies the host name or IP address of the remote host. -port Specifies the TCP port number in the range [0..65534]. -host -message Specifies the message that will be sent to the remote host. The message must be surrounded by quotation marks. Hexadecimal coded messages must be preceded by \0
AXIS 240 Users Manual Appendix H: CRON Script Command Reference IMAGE SIZE Specifies the image type 1-3, where: 1 = halfsize.jpg 2 = fullsize.jpg 3 = hugesize.jpg Specifies the maximum number of images that can be stored in the buffer. Valid range is 0-255. To initiate several buffers, you can stack multiple statements separated by colon. Notes: ❏ To clear the image buffer, you simply do not specify any arguments. ❏ To initiate several buffers, you can stack multiple statements separated by colon.
110 Appendix H: CRON Script Command Reference AXIS 240 Users Manual When invoked, the buffer_start command is executed in the background. Any subsequent command in the event entry will be executed immediately. To retrieve the stored images, specify the source using this syntax: http:///images/buffer.jpg?imagetype= Example: http://mycam/images/buffer.jpg?imagetype=fullsize.jpg You can also retrieve the images using the mail or the ftp commands.
AXIS 240 Users Manual Appendix H: CRON Script Command Reference Example 1 # This command will keep loading fullsize.jpg images. * * * * * * : buffer_start -src fullsize.jpg -cam 3 -interval s30 -duration inf; % Example 2 # When someone presses the Control button, this # command will store 10 hugesize.jpg images. * * * * * /B : buffer_start -src hugesize.jpg -store 10; % Example 3 # At startup, the buffer is initialized to hold 15 # fullsize.jpg images.
112 Appendix H: CRON Script Command Reference buffer_stop AXIS 240 Users Manual The buffer_stop command ends the storing of snapshots in an image buffer. Until completed, the buffer_stop command will block the execution of any subsequent commands in the event entry. Note that the buffer_start command behaves differently. The command is typically used together with the buffer_start command.
AXIS 240 Users Manual Appendix H: CRON Script Command Reference Example # 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; buffer_start -src hugesize.jpg -interval m1 -duration inf; % # When port 1 is triggered, an alert message is sent # to host 1.2.3.4. Another 10 halfsize.
114 Appendix H: CRON Script Command Reference ftp Note: Syntax Options AXIS 240 Users Manual The ftp command uses the standard File Transfer Protocol (FTP) for transferring an image from your AXIS 240 to a remote host. ❏ The ftp command keeps the connection open during each file transfer.
AXIS 240 Users Manual Appendix H: CRON Script Command Reference $m The current minute in the range 00-59. $h The current hour in the range 00-23. $d The current day of the month in the range 01-31. $n The current month in the range 01-12. $y The current year without the century in the range 00-99. $Y The current year including the century. $rS-E -temp -loop -time -cam Inserts an index number starting from number S through all the numbers including the number E.
116 Appendix H: CRON Script Command Reference Additional Options AXIS 240 Users Manual In addition to the options described above, the following optional settings are also available: -ctrlport Specifies the TCP port number in the range [0..65534] to be used as the control port for the FTP server. -dataport -to Specifies the TCP port number in the range [0..65534] to be used as data port for the FTP server. Specifies the timeout, i.e.
AXIS 240 Users Manual Appendix H: CRON Script Command Reference Example 1 # 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. During download, the file name "tmp.jpg" # will be used. * * * * * : ftp -host 123.123.123.123 -user elvis -pass presley -src hugesize.jpg -dest /home/elvis/king.jpg -temp tmp.
118 Appendix H: CRON Script Command Reference log Note: Syntax Options AXIS 240 Users Manual This command writes a message to the camera server log file. ❏ To display the log file, you type the following in the address/location field of your Web browser: http:///log/messages log [MESSAGE]; [MESSAGE] The message string must be surrounded by quotation marks.
AXIS 240 Users Manual Appendix H: CRON Script Command Reference -cam -b -n Specifies the camera source, i.e. 1-5. If omitted, the default camera will be used. Specifies the buffer type, i.e. fullsize.jpg, halfsize.jpg or hugesize.jpg. Only valid if -a is set to images/buffer.jpg. Specifies the number of buffered images to be included in the e-mail. Only valid if -src is set to images/buffer.jpg. Example 1 # This command will send an e-mail with the # subject "Hello" and the attached file # fullsize.
120 Appendix H: CRON Script Command Reference Syntax online Syntax Options AXIS 240 Users Manual offline; This command dials up a modem and establishes a PPP connection. Used together with the offline command. online [-dial NUMBER] [-user USERNAME -pass PASSWORD] [-timeout TIME] [-script "send expect send expect ..."]; Specifies the phone number that will be sent to the modem as ATDT. The number cannot include spaces. -user Specifies the user name used for authentication.
AXIS 240 Users Manual Appendix H: CRON Script Command Reference Example # 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.
122 Appendix H: CRON Script Command Reference AXIS 240 Users Manual 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.
AXIS 240 Users Manual Appendix H: CRON Script Command Reference Example # This command will reset the AXIS 240 hardware # once a day. 0 0 * * * : reset -hard; % sleep Syntax Options This command adds a pause to the CRON script execution. The command is typically used if you want to assure that the previous command is finished before continuing the script. sleep ; Specifies the number of seconds to wait before proceeding with the next command in the event entry.
124 Appendix H: CRON Script Command Reference -cam AXIS 240 Users Manual Specifies the camera source, i.e. 1-5. If omitted, the default camera will be used. [FILE] Specifies the image type: fullsize.jpg, halfsize.jpg, hugesize.jpg, or zoom.jpg. If using the command for controlling the relay switch, you specify io/relayon.txt and io/relayoff.txt, respectively. Example 1 # This command will update the lastshot.jpg image # with a fullsize image from camera 2. * * * * * : snapshot fullsize.
AXIS 240 Users Manual Index Index Numerics 10BaseT 14 A Active indicator 15 ActiveX 18 ActiveX component 45 AIX 25 alert, CRON script 108 anonymous user access 33 ARP 19, 25, 71 automatic picture updates 45 auxiliary 87 Auxiliary IO connector 87 AXIS Online CD 12 B bad snapshot images 73 BOOTP 19, 27 BSD Systems 25 buffer_init, CRON script 108 buffer_start, CRON script 109 buffer_stop, CRON script 112 C Camera application examples 106 Camera applications 105 camera inputs 14 camera positions 37 Canon 49,
126 Index D Date & Time page 32 default Internet address 78 defaults 78 Dialing modem server 97 Digital inputs 89 dip switches 14 DNS server 33 downloading the Internet address 19 E enabling camera ports 17 Ernitec 50, 102 Ethernet address 20 F factory defaults 78 FAQ’s - Frequently asked questions 9 Flash memory 79, 83 focus 72 front panel indicators 15 FTP 38, 79, 83 ftp, CRON script 114 fullsize 43 G generating snapshots 42 H halfsize 43 HTML reference 44 HTTP 83 HTTP input/output operations 103 hugesiz
AXIS 240 Users Manual Modem page 34 Modem server configuration 96 modem server 92 configuration 34 dialing 97 help menu 97 Zmodem 99 modulation 35 Multiple refresh image feed 48 N Netscape Navigator 18 Network indicator 15, 72 Network systems 83 NTSC 14, 83 O Obtaining updated software 79 anonymous FTP 80 over the internet 79 offline, CRON script 119 online, CRON script 120 P PAL 14, 83 Pan/Tilt 14, 36, 49, 85, 91, 100 connection 100 HTTP protocol 102 TCP protocol 103 Pan/Tilt page 35 Pan/Tilt serial port
128 Index Security page 33 serial connection 34, 64 serial interface 91 serial number 15, 20 Server push 45, 72 sleep, CRON script 123 Snapshot types 84 snapshot types 43 snapshot, CRON script 123 software updates 79 Sony 49, 101 synchronization 32 T taking snapshots 42 TCP input/output operations 103 TCP/IP 8, 33, 83 technical specifications 83 terminator resistor 14 time stamp 32 CRON script 114 trigger condition 53 triggering snapshots 89 troubleshooting 69 U updates 79 Upgrading the software 80 using F