Fault Relay - Automatic Reset
From Zenitel Wiki
This article describes how to operate a relay when one or more stations becomes faulty. Relay is reset automatically when all station errors are corrected.
Programming
It is recommended to use a relay on MRBD or IP-ARIO, but relay in IP station can also be used. The physical RCO is mapped to a logical RCO. In this example I have used RCO 1. In AlphaPro, go to Exchange & System, System, Events and insert an event with UDP 8 (any station) as owner, event type 13 - Faulty Station, when change to ON or OFF and related to All. This event goes on when station becomes faulty and off when station is ok.
Action commands:
IF %chg(1,0) $STM L%1.dir L107 U100 'Line %1.dir faulty' STOP ENDIF $CANM L%1.dir L107 NM255 U255
In this example I am sending a mail with text "Line xxx faulty" to directory number 107 with priority 100 when a station becomes faulty. The mail message is deleted if station becomes ok. NOTE: Physical station or ASLT port is not needed. But if you connect a station you can see status in station display. If the used station also receives default error messages, like physical 1 do, then it will receive double error messages, but this will not influence on relay function as long as default priority level is used for priority mail queue indication.
The mail message is triggering event 6 - Priority Mail Present on directory number 107. This will operate the relay, or deactivate it if there are no more mails present.
In AlphaNet, you can operate same relay also when line errors occurs in a different node.
Event 13 in node 2 sent to 107 in node 1 will be like this:
Action commands:
IF %chg(1,0) @1 $STM L(2)%1.dir L107 U100 'Line %1.dir faulty' STOP ENDIF @1 $CANM L(2)%1.dir L107 NM255 U255