Difference between revisions of "Door Opening using Dummy Number (Event Handler)"
From Zenitel Wiki
(→Programming) |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{AI}} | ||
==Situation== | ==Situation== | ||
Some gates are not equipped with door stations, but the operator should use the same [[Door opening]] procedure to open the door. | Some gates are not equipped with door stations, but the operator should use the same [[Door opening]] procedure to open the door. | ||
Line 11: | Line 12: | ||
In [[AlphaPro]], [[Directory_%26_Features_%28AlphaPro%29|Directory & Features]], press "Insert" to create a directory number, feature 105, for each door. Directory number 9545 is included by default.<br> | In [[AlphaPro]], [[Directory_%26_Features_%28AlphaPro%29|Directory & Features]], press "Insert" to create a directory number, feature 105, for each door. Directory number 9545 is included by default.<br> | ||
In [[AlphaPro]], go to [[Exchange_%26_System_%28AlphaPro%29#Events|Exchange and System -> Events]], press Insert and create the following event: | In [[AlphaPro]], go to [[Exchange_%26_System_%28AlphaPro%29#Events|Exchange and System -> Events]], press Insert and create the following event: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[File:Application9a.png|500px|left|thumb|Event Handler configuration]] | |
− | = | + | <br style="clear:both;" /> |
− | Subevent 6: | + | |
− | When Change to ON: When the digit is pressed (not released) | + | {{Code2| |
− | RCO | + | [[RCO]] 4 ON 20 |
− | $[[DISCON_ST]] L%1.dir U2: Disconnect the station with successtone | + | [[DISCON_ST|$DISCON_ST]] L%1.dir U2 |
+ | }} | ||
+ | |||
+ | Subevent 6: Digit 6 | ||
+ | When Change to ON: When the digit is pressed (not released) | ||
+ | RCO 4 ON 20: Pulse RCO 4 for 2.0 seconds | ||
+ | $[[DISCON_ST]] L%1.dir U2: Disconnect the station with successtone | ||
+ | |||
+ | |||
+ | [[Category:AlphaCom Applications]] | ||
+ | [[Category:ICX-AlphaCom Applications]] | ||
+ | [[Category:Applications using Event Handler]] |
Latest revision as of 10:14, 8 July 2022
Situation
Some gates are not equipped with door stations, but the operator should use the same Door opening procedure to open the door.
Solution
When the operator gets a signal that there is someone at the door he should dial a 'dummy' number, then press digit 6 to operate a relay output (i.e. a RCO). In the example below any station can dial 9545 + 6 to trigger RCO 4 for 2 seconds, and disconnect with success-tone. Use the two-step event trigger, feature 105.
Programming
In AlphaPro, Directory & Features, press "Insert" to create a directory number, feature 105, for each door. Directory number 9545 is included by default.
In AlphaPro, go to Exchange and System -> Events, press Insert and create the following event:
Action commands:
RCO 4 ON 20 $DISCON_ST L%1.dir U2
Subevent 6: Digit 6 When Change to ON: When the digit is pressed (not released) RCO 4 ON 20: Pulse RCO 4 for 2.0 seconds $DISCON_ST L%1.dir U2: Disconnect the station with successtone