User Guide

Appendix F -
The IO Terminal Block
AXIS 2400/2401 Administration Manual
58
Controlling and Monitoring
The status of the input/output interface can be controlled and monitored by the IO software file
resident within your AXIS 2400/2401.
From your Web browser, you can access the IO control file to:
query the relay status, or drive the relay output high or low
monitor the status of the 4 digital inputs
Note: To access the control file requires
root
access, you will therefore need to supply a username and
password. Login as
root
and supply the root password (default =
pass
).
Relay Output
You can use the supported relay output to drive directly a maximum load of 24V AC/DC at
100mA. By connecting additional relay circuitry, it can also drive heavier loads.
Querying the Status of the Relay
Enter the following URL to query the status of the relay output:
The AXIS 2400/2401 displays the relay status as either:
Setting the Relay
The relay can be controlled from the scripting language using the relay command, as described in
relay, on page 75, or by entering the following URL:
The AXIS 2400/2401 returns a respective messages, to confirm the relay status:
http://<servername>/io?relay=check
relay=on o
oo
or
rr
r
relay=off
http://<servername>/io?relay=on o
oo
or
rr
r
http://<servername>/io?relay=off
Relay is off
Relay is on