Controlling And Monitoring - Axis 2400+ Administration Manual

Hide thumbs Also See for 2400+:
Table of Contents

Advertisement

The I/O Terminal Block
40

Controlling and Monitoring

By entering http requests in your browser's URL field, you can:
• drive the relay output high or low
• monitor the status of the 4 digital inputs
This requires you to have root access to the AXIS 2400+/2401+ and consequently, to
supply a user name and password. Login as root and supply the root password (default =
pass).
Tip!
Developers wishing to create applications incorporating sophisticated alarm conditioning using the
relay output and digital inputs are encouraged to read the Camera API, HTTP-Interface Specification,
available from the Axis Web at www.axis.com.
Relay Output
You can use the supported relay output to directly drive a maximum load of 24V AC/DC at
100mA. By connecting additional relay circuitry, it can also drive heavier loads.
The output relay is controlled using http requests, as defined in the following examples:
Set output 1 ON
Example 1: -
http://myserver/axis-cgi/io/output.cgi?action=1:/
Set two 300ms pulses with 500ms delay between the pulses on output 1.
Example 2: -
http://myserver/axis-cgi/io/output.cgi?action=1:/300\500/300\
Wait 1 second before setting output 1 ON.
Example 3: -
http://myserver/axis-cgi/io/output.cgi?action=1:1000/
Digital Inputs
Four digital inputs, programmed using the Application Wizard, allow the AXIS
2400+/2401+ to be configured for time and alarm based image recording. For example, by
connecting a motion detector to a digital input, it is a relatively simple procedure to send a
single image (or video stream) to a remote imaging library each time the detector is
activated.
Querying the Status of Digital Inputs
The status of the four supported digital inputs can be queried in exactly the same way as
the relay output. Simply enter the following URL to query the status of the digital inputs:
AXIS 2400+/2401+ Admin Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

2401+

Table of Contents