User Guide

Appendix H-The Programming Script
AXIS 2400/2401 Administration Manual
76
Options
-on sets the relay on.
-off sets the relay off.
Example
reset
This command resets the software or hardware of the AXIS 2400/2401.
Syntax
reset [-soft | -hard];
Options
-soft
Reinitiates the AXIS 2400/2401 protocols.
-hard
Performs a complete reboot of the AXIS 2400/2401.
Example
sleep
This command adds a pause to the programming script execution. The command is typically used
if you want to assure that the previous command is finished before continuing the script.
Syntax
sleep <seconds>;
Options
<seconds>
Specifies the seconds to wait before proceeding with the next command in the event entry.
Example
# This command sets the relay ON when digital input 1 goes high:
* * * * * / I1 :
reset -on;
%
# This command will reset the hardware once a day.
0 0 * * * * :
reset -hard;
%
# This command will result in a 30 seconds pause in the programming script execution.
* * * * * * :
sleep 30;
%