Actions

Difference between revisions of "Door Opening - Configuration example"

From Zenitel Wiki

(Mapping of RCO)
 
(126 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{A}}
+
{{AI}}
This is an article explaining in detail how to configure Door Opening.
+
<table style="float:right; max-width:80%; border-style: double; border-color: #c7c7c7;">
 +
<tr style="rowspan:2;">
 +
<td style="display: block; vertical-align: bottom;">[[Image:DoorOpeningExample.png|500px]]</td>
 +
</tr>
 +
<tr>
 +
<td style='background-color:#efefef;'>Operator 120 in conversation with Door 106, pressing digit "6" to open the door</td>
 +
</tr>
 +
</table>
  
[[Door opening]] is a standard feature in the AlphaCom. The way it works is that when an operator is in a conversation with a door station, the operator kan press digit 6 to activate a relay.  
+
This article explains how to configure the Door Opening feature.
  
==Event Handler==
+
[[Door opening]] is a standard feature in the ICX-AlphaCom and AlphaCom XE. When an operator is in a conversation with a door station, the operator can press digit 6 to activate a relay. The relay will be pulsed for 3.5 seconds (configurable).
We need to define who this event is for, and which output to activate. This is done using the [[Event Handler]]. Go to '''Exchange & System''' menu from the top menu in [[AlphaPro]]:
 
[[File:AlphaPro Exchange and System icon.png|thumb|left|500px]]
 
<br style="clear:both;" />
 
  
From the Exchange&System window choose the Events button:
+
As an option, it is also possible to play a prerecorded message at the door, saying e.g. "''The door is open, please enter''".
[[File:Exchange System Events.png|thumb|left|500px]]
 
<br style="clear:both;" />
 
  
In the '''Event Actions''' window click the ''Insert'' button and create an event like this:
 
[[File:EventHandler Event2.PNG|thumb|left|500px]]
 
<br style="clear:both;" />
 
  
This event is triggered when the operator dials digit 6 while in covnersation with the door. Physical number 6 (the door station) is the owner of the event. '''When Related To''' can be set to "All", meaning whoever in conversation with the door is allowed to dial digit 6 to open the door. In this example we have chosen to limit this access by selecting a single station; Directory number 120.
 
  
In the example above RCO 6 will be triggered when the Door Opening feature (digit 6) is pressed.
 
  
==Mapping of RCO==
 
The actual physical output that is activated is dependant on the station type.
 
  
===IP Stations===
 
All IP Substations have an inbuilt relay which can be controlled by the RCO signal. Tod this the RCO must be remapped to go to the IP station in stead of the analogue output.
 
  
From '''Exchange & System''' menu choose the '''RCO''' button:
 
[[File:Exchange System RCO.png|thumb|left|500px]]
 
<br style="clear:both;" />
 
  
Select the RCO from the list on the left and click the '''Change''' button:
 
[[File:RCO Change.png|thumb|left|500px]]
 
<br style="clear:both;" />
 
  
Choose '''RCO Type''' = ''Station'', and enter the physical number of the door station (where the relay is physically located) in the '''Station''' field:
+
<div style="float:right;"> <youtube width="300" height="180">omKysK2PTDA=3s</youtube>  </div>
[[File:RCO Change2.PNG|thumb|left|500px]]
 
<br style="clear:both;" />
 
  
Which '''Pin Number''' to use depends on the station type:
+
==Map the relay to a Logical RCO==
* [[:Category:INCA Stations|INCA Stations]]: Use Pin Nuber = 1
+
All Zenitel IP stations have an inbuilt relay. The relay must be mapped to a "Logical RCO" in the ICX-AlphaCom server. The mapping is done from AlphaPro, [[Exchange_%26_System_%28AlphaPro%29#RCO|Exchange & System > RCO]]. Here the logical RCO is assigned to a physical address.  The physical address is given as '''Station ID''' + '''Pin Number'''.
* [[:Category:Turbine|Turbine Stations]]: Use Pin Nuber = 7
 
  
 +
Open [[Exchange_%26_System_%28AlphaPro%29#RCO|Exchange & System > RCO]], and select a free RCO from the list to the left and click the '''Change''' button.
  
===Analogue stations===
+
Change the following parameters:
If the door station is analogue the RCO comes from the server its self. On an [XE7]] there are two connectors for RCO1-6 and 7-12 located on the back:
+
* '''Description''': Any text
[[File:XE7 RCO Connectors.png|thumb|left|500px]]
+
*'''RCO Type''' = Station
<br style="clear:both;" />
+
* '''Station physical number''': The '''''physical''''' number of the door station (Not the directory number)
 +
* '''Pin number''': The output number related to the relay, normally "7" (see below)
  
On XE20/XE26 there is an RCO output per ASLT connection. These can be fetched either from
+
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
* [[Subscriber Connection Board]]
+
<tr style="rowspan:2;">
[[File:Subscriber Connection Board RCO.png|thumb|left|500px]]
+
<td style="display: block; vertical-align: bottom;">[[Image:RCO mapping.PNG|700px]]</td>
<br style="clear:both;" />
+
</tr>
 +
<tr>
 +
<td style='background-color:#efefef;'>Mapping logical RCO 6 to the relay of station 11 (106 - Entrance)</td>
 +
</tr>
 +
</table>
  
* [[Filter and connection card ASLT and ATLB]]
+
What '''Pin Number''' to use depends on the station type:
[[File:RJ45 Connection RCO.png|thumb|left|500px]]
+
* [[:Category:Stations#Turbine_stations|Zenitel IP Stations (Turbine generation)]]: Pin Number = 7 refers to the relay. Pin 1-6 refers to the six I/Os of the Zenitel Device.
<br style="clear:both;" />
+
* [[:Category:INCA Stations|INCA Stations (the previous generation Zenitel IP stations)]]: Use Pin Number = 1
  
The RCO, which is a logical signal must be connected to a relay. Use the Multi Relay Board for this. See <u>[[MRBD|MRBD article]]</u> for further details.
+
For an overview of which devices are supporting RCOs and what pin numbers they use, see [[RCO_-_Remote_Control_Output#Devices_supporting_RCOs|Devices_supporting_RCOs]]
 +
{{note|A '''Reset''' of the ICX-AlphaCom server is required for the RCO mapping configuration to take effect}}
 +
 
 +
==Creating Event for Door Opening ==
 +
In AlphaPro, open [[Users & Stations (AlphaPro)|Users & Stations]], and select the door station from the list to the left. Then select the button '''Events'''. '''Insert''' a new event with the following properties:
 +
 
 +
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 +
<tr style="rowspan:2;">
 +
<td style="display: block; vertical-align: bottom;">[[Image:DoorOpeningEvent.png|700px]]</td>
 +
</tr>
 +
<tr>
 +
<td style='background-color:#efefef;'>Door Opening event</td>
 +
</tr>
 +
</table>
 +
 
 +
 
 +
The '''When Related To''' field specifies who should be allowed to trigger the Door Opening feature. There are three options:
 +
* Any station: Set "When Related To" = '''All''' (default)
 +
* A specific station: Set "When Related To" = '''Directory Number''', and in the "Id" field enter the directory number of the station that should be allowed to open the door (station 120 in the screenshot above)
 +
* A group of stations: Set "When Related To" = '''Stations w. UDP''', and in the "Id" field enter the ID of the UDP group (1-8). See [[UDP group]] on how to include stations in a UDP group
 +
 
 +
In the example above RCO 6 will be pulsed for 3.5 sec when the Door Opening feature (digit 6) is pressed on station number 120. The '''RCO Pulse Time''' can be change in the [[Exchange_%26_System_(AlphaPro)#Timers|Exchange & System > System > Timers tab]].
 +
 
 +
 
 +
Upload the database using the '''Send All''' button.
 +
{{note|A '''Reset''' of the ICX-AlphaCom server is required for the RCO mapping configuration to take effect}}
 +
 
 +
<br>
 +
 
 +
== Optional configuration ==
 +
=== Automatic termination of the call after activation of door opening ===
 +
 
 +
The system can be configured to terminate the call automatically after the door opening feature has been activated, eliminating the need for the operator to press the C-key to end the call.
 +
Three lines must be added to the Action Command:
 +
 
 +
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 +
<tr style="rowspan:2;">
 +
<td style="display: block; vertical-align: bottom;">[[Image:DoorOpeningEvent3.png|700px]]</td>
 +
</tr>
 +
<tr>
 +
<td style='background-color:#efefef;'>Event for auto-termination of call</td>
 +
</tr>
 +
</table>
 +
 
 +
The Action commands are (one can copy/paste from below):
 +
 
 +
{{code2|
 +
RCO 6
 +
IF %chg(0,1)
 +
$C L%1.dir
 +
ENDIF
 +
}}
 +
 
 +
<br>
 +
 
 +
=== Playing a prerecorded message at the door ===
 +
{{note|This feature requires an [[Licenses for ICX-500 and ICX-AlphaCom Core|Audio Messaging license]]}}
 +
<table style="float:right; max-width:80%; border-style: double; border-color: #c7c7c7;">
 +
<tr style="rowspan:2;">
 +
<td style="display: block; vertical-align: bottom;">[[Image:DoorOpeningMessage.png|500px]]</td>
 +
</tr>
 +
<tr>
 +
<td style='background-color:#efefef;'>Playing an audio message at the door</td>
 +
</tr>
 +
</table>
 +
A prerecorded audio message can be played at the door when the operator activates the door lock, saying e.g. "''The door is open, please enter''".
 +
 
 +
A wav file must be [[Audio_Messaging#Upload_customized_wav-files_from_AlphaWeb|uploaded to the ICX-AlphaCom server]]. Sample wav files can be found in the '''Audio files''' section on [[Downloads#Audio_files|download page]].
 +
 
 +
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 +
<tr style="rowspan:2;">
 +
<td style="display: block; vertical-align: bottom;">[[Image:DoorOpeningUploadMessage.png|700px]]</td>
 +
</tr>
 +
<tr>
 +
<td style='background-color:#efefef;'>Uploading the wav file as Announcement Message (Message group 30) number 3 (Group index 3)</td>
 +
</tr>
 +
</table>
 +
 
 +
 
 +
The action commands in the Door Opening event created in the previous section needs to be modified. In the example below station group 890 is used for dispatching the message. If this group is already in use, the below event must be modified to use a different group.
 +
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 +
<tr style="rowspan:2;">
 +
<td style="display: block; vertical-align: bottom;">[[Image:DoorOpeningEvent2.png|700px]]</td>
 +
</tr>
 +
<tr>
 +
<td style='background-color:#efefef;'>Door Opening event playing message 3 (8193) to group 890 </td>
 +
</tr>
 +
</table>
 +
 
 +
{{code2|
 +
RCO 6
 +
$GRM L%1.dir L890 %chg(1,0)
 +
IF %chg(1,0)
 +
$GM L890 L8193 U1 U0 U0
 +
ENDIF
 +
}}
 +
 
 +
 
 +
Explanation:
 +
* When the Door Opening event goes ON:
 +
** Turn on RCO 6
 +
** Include ($GRM) the door station in station group 890
 +
** Play message 8193 to group 890
 +
* When the Door Opening event goes OFF 3.5 sec later:
 +
** Turn off RCO 6
 +
** Exclude ($GRM) the door station from station group 890
 +
 
 +
 
 +
If you want to combine Auto-termination of Call, and playback of audio message, insert the following Action Command:
 +
 
 +
{{code2|
 +
RCO 6
 +
$GRM L%1.dir L890 %chg(1,0)
 +
IF %chg(1,0)
 +
$GM L890 L8193 U1 U0 U0
 +
ENDIF
 +
IF %chg(0,1)
 +
$C L%1.dir
 +
ENDIF
 +
}}
  
==Finalization==
 
Close all windows in AlphaPro and upload the database using the '''Send All''' or '''Send Change''' button. Apply changes by restarting the server.
 
[[File:AlphaPro Communication icon.png|thumb|left|500px]]
 
<br style="clear:both;" />
 
  
 
[[Category: How to]]
 
[[Category: How to]]
 +
[[Category:AlphaCom Applications]]
 +
[[Category:ICX-AlphaCom Applications]]
 +
[[Category:Applications using Event Handler]]

Latest revision as of 10:16, 24 October 2023

AI.png
DoorOpeningExample.png
Operator 120 in conversation with Door 106, pressing digit "6" to open the door

This article explains how to configure the Door Opening feature.

Door opening is a standard feature in the ICX-AlphaCom and AlphaCom XE. When an operator is in a conversation with a door station, the operator can press digit 6 to activate a relay. The relay will be pulsed for 3.5 seconds (configurable).

As an option, it is also possible to play a prerecorded message at the door, saying e.g. "The door is open, please enter".





Map the relay to a Logical RCO

All Zenitel IP stations have an inbuilt relay. The relay must be mapped to a "Logical RCO" in the ICX-AlphaCom server. The mapping is done from AlphaPro, Exchange & System > RCO. Here the logical RCO is assigned to a physical address. The physical address is given as Station ID + Pin Number.

Open Exchange & System > RCO, and select a free RCO from the list to the left and click the Change button.

Change the following parameters:

  • Description: Any text
  • RCO Type = Station
  • Station physical number: The physical number of the door station (Not the directory number)
  • Pin number: The output number related to the relay, normally "7" (see below)
RCO mapping.PNG
Mapping logical RCO 6 to the relay of station 11 (106 - Entrance)

What Pin Number to use depends on the station type:

For an overview of which devices are supporting RCOs and what pin numbers they use, see Devices_supporting_RCOs

Note icon A Reset of the ICX-AlphaCom server is required for the RCO mapping configuration to take effect


Creating Event for Door Opening

In AlphaPro, open Users & Stations, and select the door station from the list to the left. Then select the button Events. Insert a new event with the following properties:

DoorOpeningEvent.png
Door Opening event


The When Related To field specifies who should be allowed to trigger the Door Opening feature. There are three options:

  • Any station: Set "When Related To" = All (default)
  • A specific station: Set "When Related To" = Directory Number, and in the "Id" field enter the directory number of the station that should be allowed to open the door (station 120 in the screenshot above)
  • A group of stations: Set "When Related To" = Stations w. UDP, and in the "Id" field enter the ID of the UDP group (1-8). See UDP group on how to include stations in a UDP group

In the example above RCO 6 will be pulsed for 3.5 sec when the Door Opening feature (digit 6) is pressed on station number 120. The RCO Pulse Time can be change in the Exchange & System > System > Timers tab.


Upload the database using the Send All button.

Note icon A Reset of the ICX-AlphaCom server is required for the RCO mapping configuration to take effect



Optional configuration

Automatic termination of the call after activation of door opening

The system can be configured to terminate the call automatically after the door opening feature has been activated, eliminating the need for the operator to press the C-key to end the call. Three lines must be added to the Action Command:

DoorOpeningEvent3.png
Event for auto-termination of call

The Action commands are (one can copy/paste from below):

Action commands:

RCO 6
IF %chg(0,1)
$C L%1.dir
ENDIF



Playing a prerecorded message at the door

Note icon This feature requires an Audio Messaging license


DoorOpeningMessage.png
Playing an audio message at the door

A prerecorded audio message can be played at the door when the operator activates the door lock, saying e.g. "The door is open, please enter".

A wav file must be uploaded to the ICX-AlphaCom server. Sample wav files can be found in the Audio files section on download page.

DoorOpeningUploadMessage.png
Uploading the wav file as Announcement Message (Message group 30) number 3 (Group index 3)


The action commands in the Door Opening event created in the previous section needs to be modified. In the example below station group 890 is used for dispatching the message. If this group is already in use, the below event must be modified to use a different group.

DoorOpeningEvent2.png
Door Opening event playing message 3 (8193) to group 890

Action commands:

RCO 6
$GRM L%1.dir L890 %chg(1,0)
IF %chg(1,0)
$GM L890 L8193 U1 U0 U0
ENDIF



Explanation:

  • When the Door Opening event goes ON:
    • Turn on RCO 6
    • Include ($GRM) the door station in station group 890
    • Play message 8193 to group 890
  • When the Door Opening event goes OFF 3.5 sec later:
    • Turn off RCO 6
    • Exclude ($GRM) the door station from station group 890


If you want to combine Auto-termination of Call, and playback of audio message, insert the following Action Command:

Action commands:

RCO 6
$GRM L%1.dir L890 %chg(1,0)
IF %chg(1,0)
$GM L890 L8193 U1 U0 U0
ENDIF
IF %chg(0,1)
$C L%1.dir
ENDIF