Difference between revisions of "Fault Relay - Automatic Reset"
From Zenitel Wiki
(→Programming) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{AI}} |
− | This article describes how to operate a relay when one or more stations becomes faulty. Relay is reset automatically when | + | 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== | ==Programming== | ||
− | It is | + | It is recommended to use a relay on [[MRBD|MRBD]] or [[IP-ARIO|IP-ARIO]], but relay in IP station can also be used. |
The physical RCO is mapped to a logical [[RCO|RCO]]. In this example I have used [[RCO|RCO]] 1. | The physical RCO is mapped to a logical [[RCO|RCO]]. In this example I have used [[RCO|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. | 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. | ||
Line 9: | Line 9: | ||
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
− | + | {{Code2| | |
− | IF %chg(1,0) | + | IF %chg(1,0) |
− | $STM L%1.dir L107 U100 'Line %1.dir faulty' | + | $STM L%1.dir L107 U100 'Line %1.dir faulty' |
− | STOP | + | STOP |
− | ENDIF | + | ENDIF |
− | $CANM L%1.dir L107 NM255 U255 | + | $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. | 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 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. | ||
Line 23: | Line 25: | ||
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
− | [[Category:Applications]] | + | 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: | ||
+ | |||
+ | {{Code2| | ||
+ | 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 | ||
+ | }} | ||
+ | |||
+ | |||
+ | [[Category: AlphaCom Applications]] | ||
+ | [[Category: ICX-AlphaCom Applications]] |
Latest revision as of 13:18, 31 May 2022
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