Actions

Difference between revisions of "Door Opening using Dummy Number (Event Handler)"

From Zenitel Wiki

 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Situation:
+
{{AI}}
Some gates are not equipped with door stations, but the operator want to use the same Door Opening procedure to open the door. 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]]).
+
==Situation==
 +
Some gates are not equipped with door stations, but the operator should use the same [[Door opening]] procedure to open the door.
  
For this function the two-step event trigger, feature 105, can be used. In AlphaPro, Directory & Features, create a directory number, feature 105, for each door. Directory number 9545 is included by default. In Exchange & System -> Events, create a new event with the following parameters:
+
==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, [[Event trigg on dialing digits|feature 105]].
  
{|  
+
==Programming==
|-
+
 
|width="100pt"|'''Event Owner''':
+
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>
|width="300pt"|A station or an [[UDP]] group
+
In [[AlphaPro]], go to [[Exchange_%26_System_%28AlphaPro%29#Events|Exchange and System -> Events]], press Insert and create the following event:
|-
+
 
|'''Event type''': || 25 – Event Trigger w/User Parameter
+
[[File:Application9a.png|500px|left|thumb|Event Handler configuration]]
|-
+
<br style="clear:both;" />
|'''Subevent''': || 6
+
 
|-
+
{{Code2|
|'''When change to:''': || ON
+
[[RCO]] 4 ON 20
|-
+
[[DISCON_ST|$DISCON_ST]] L%1.dir U2
|'''When related to''': || Directory number: 9545
+
}}
|-
+
 
|'''Action:''' || RCO 4 ON 20
+
Subevent 6:                   Digit 6
|-
+
When Change to ON:           When the digit is pressed (not released)
|&nbsp; || $DISCON_ST L%1.dir U2
+
RCO 4 ON 20:                  Pulse RCO 4 for 2.0 seconds
|-
+
$[[DISCON_ST]] L%1.dir U2:        Disconnect the station with successtone
|}
+
 
<br><br>
+
 
 +
[[Category:AlphaCom Applications]]
 +
[[Category:ICX-AlphaCom Applications]]
 +
[[Category:Applications using Event Handler]]

Latest revision as of 11:14, 8 July 2022

AI.png

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:

Event Handler configuration


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