Actions

Difference between revisions of "CCTV control by relays (RCO) when using Call Request"

From Zenitel Wiki

(Solution)
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{A}}
 
==Situation==
 
==Situation==
When a master station is receiving [[Call Request]]s from a [[substation]], a relay should be activated to control a CCTV switch. Each substation has a dedicated relay output for this purpose. When scrolling the queue, the relay assosiated to the seleceted station should be activated. In this way the picture on the monitor will follow the queue navigation on the master station.  
+
[[Image:CCTV RCO controlled.jpg|thumb|350px|CCTV switch controlled by relays from AlphaCom]]
 +
When a master station is receiving [[Call Request]]s from a substation, a relay can be activated to control a CCTV switch. Each substation can have a dedicated relay output for this purpose. When scrolling the queue, the relay associated to the selected station is activated. In this way the picture on the monitor will follow the queue navigation on the master station.  
  
When answering the call request the relay must remain active during the conversation. Any new call requests received during conversation should not influence on the active relay. When the conversation is cancelled, and there are still calls in queue, the relay assosiated to the first station in queue should be activated.  
+
When answering the call request the relay remains active during the conversation. Any new call requests received during conversation do not influence on the active relay. When the conversation is cancelled, and there still are calls in queue, the relay associated to the first station in queue will be activated.
  
 
==Solution==
 
==Solution==
The master station should use the [[Mail Queue Operation|763x codes]] for queue navigation. These directory numbers should be assigned to [[DAK]] keys. A number of station types can be used for call queuing. Depending on the station type in use, the station should be prepared for call queue operation:
+
The master station should use the [[Mail Queue Operation|763x codes]] for queue navigation. These directory numbers should be assigned to [[DAK]] keys. A number of station types can be used for call queuing. The station should be prepared for call queue operation, how to do this depends on the station type used:
* TouchLine station
+
* [[CRM|CRM V station]]
* DualDisplay station
+
* [[TouchLine station used for Call Queuing]]
* CRM IV station
+
* [[Dual_Display_Station_-_1007007000#DualDisplay_station_used_for_Call_Queuing|DualDisplay station used for Call Queuing]]
 +
* [[Control Room Master IV|CRM IV station]]
  
 
Include all substations with cameras in [[UDP group]] 2.
 
Include all substations with cameras in [[UDP group]] 2.
Line 14: Line 17:
 
The [[Event Handler]] is used to control the [[RCO]]'s which operate the relays. In the examples below the logical address of the RCO is equal to the [[physical number]] of the substation. E.g. if station on physical number 5 is calling, RCO #5 will be operated.
 
The [[Event Handler]] is used to control the [[RCO]]'s which operate the relays. In the examples below the logical address of the RCO is equal to the [[physical number]] of the substation. E.g. if station on physical number 5 is calling, RCO #5 will be operated.
  
An [[UDD]] is used to store the conversation status of the master station. 0 = no conversation, 1 = conversation. The index of the UDD is equal to the physical nymber of the master station. The UDD is checked when new call requests arrive (when the 'New Current Mail' - ON is triggered). If there is a conversation active when a new call request cames in, there should be no RCO operations.  
+
A [[UDD]] is used to store the conversation status of the master station. 0 = no conversation, 1 = conversation. The index of the UDD is equal to the physical number of the master station. The UDD is checked when call requests are received or deleted. If there is a conversation active there should be no RCO operations.  
  
  
In [[AlphaPro]], ['''Exchange and System'''] -> ['''Events'''], press ['''Insert'''] and create the following events:
+
In [[AlphaPro]], go to [[Exchange_%26_System_%28AlphaPro%29#Events|Exchange and System -> Events]], press Insert and create the following events:
 
------------
 
------------
'''Event 1''' - When a conversation in made from the master station to the substation, set the conversation status in the UDD. A 0,1 sec. timer is started, when it expires the RCO is activated. The timer is neccessary due to a timing issue between the New Current Mail - OFF event and the Conversation Outgoing - ON event (the Conversation events goes ON before the Mail events goes OFF, so the Conversaation event must be a bit delayed).
+
'''Event 1''' - When a conversation is made from the master station to the substation, set the conversation status in the UDD, and activate the RCO.
{|
+
[[File:Application_A201.png|500px|left|thumb|]]
|-
+
<br style="clear:both;" />
|width="100pt"|'''Event Owner''':
+
{{Code2|
|width="400pt"|The Master Station (or a [[UDP group]] of master stations)
+
[[wudd|WUDD %1.phy 1]]
|-
+
[[RCO - Set Remote Control Output|RCO %2.phy ON]]
|'''Event type''': || [[Conversation Outgoing (Event Type)|08 - Conversation Outgoing]]
+
}}
|-
 
|'''Subevent''': || 0
 
|-
 
|'''When change to''': || ON
 
|-
 
|'''When related to''': || UDP 2
 
|-
 
|'''Action''': || [[wudd|WUDD %1.phy 1]]
 
|-
 
| &nbsp; || [[SET TIMER|$ST L%1.dir W1 L%2.phy]]
 
|-
 
|}
 
 
 
 
 
---------------
 
'''Event 2''' - Set the RCO when the 0.1 sec. timer expires:
 
{|
 
|-
 
|width="100pt"|'''Event Owner''':
 
|width="400pt"|The Master Station (or a UDP group of master stations)
 
|-
 
|'''Event type''': || [[Event Timeout (Event Type)|21 - Event Timeout]]
 
|-
 
|'''Subevent''': || 0
 
|-
 
|'''When change to''': || ON
 
|-
 
|'''When related to''': || All
 
|-
 
|'''Action''': || [[RCO - Set Remote Control Output|RCO %2.dir ON]]
 
|-
 
|}
 
  
 
---------------
 
---------------
'''Event 3''' - When the conversation between the master and substation cancels, reset the conversation status (UDD), switch off the RCO, and activate the MAILQ_NAVIG command. This command will step to the first in the queue, and re-trigger the '23 - New Current Mail' event:
+
'''Event 2''' - When the conversation between the master and substation cancels, reset the conversation status (UDD), switch off the RCO, and activate the MAILQ_NAVIG command. This command will step to the first in the queue, and re-trigger the '23 - New Current Mail' event.
{|  
+
[[File:Application_A202.png|500px|left|thumb|]]
|-
+
<br style="clear:both;" />
|width="100pt"|'''Event Owner''':
+
{{Code2|
|width="400pt"|The Master Station (or a UDP group of master stations)
+
[[wudd|WUDD %1.phy 0]]
|-
+
[[RCO - Set Remote Control Output|RCO %2.phy OFF]]
|'''Event type''': || 08 - Conversation Outgoing
+
[[MAILQ NAVIG|$MAILQ_NAVIG L%1.dir 2]]
|-
+
}}
|'''Subevent''': || 0
 
|-
 
|'''When change to''': || OFF
 
|-
 
|'''When related to''': || UDP 2
 
|-
 
|'''Action''': || WUDD 1 0
 
|-
 
| &nbsp; || RCO %2.phy OFF
 
|-
 
| &nbsp; || [[MAILQ NAVIG|$MAILQ_NAVIG L%1.dir 2]]
 
|-
 
|}
 
  
 
------------------
 
------------------
  
'''Event 4''' - When receiving a Call Request or scrolling the queue, and the station is not in conversation, activate the RCO:
+
'''Event 3''' - When receiving a Call Request or scrolling the queue, and the master station is not in conversation, activate the RCO associated to the selected substation.
{|
+
[[File:Application_A203.png|500px|left|thumb|]]
|-
+
<br style="clear:both;" />
|width="100pt"|'''Event Owner''':
+
{{Code2|
|width="400pt"|The Master Station (or a UDP group of master stations)
+
[[IF/ENDIF|IF %udd(%1.phy)]]
|-
+
[[STOP]]
|'''Event type''': || [[New Current Mail (Event Type)|23 - New Current Mail]]
+
[[IF/ENDIF|ENDIF]]
|-
+
[[RCO - Set Remote Control Output|RCO %2.phy ON]]
|'''Subevent''': || 0
+
}}
|-
 
|'''When change to''': || ON
 
|-
 
|'''When related to''': || UDP 2
 
|-
 
|'''Action''': || [[IF/ENDIF|IF %udd(%1.phy)]]
 
|-
 
| &nbsp; || [[STOP]]
 
|-
 
| &nbsp; || [[IF/ENDIF|ENDIF]]
 
|-
 
| &nbsp; || RCO %2.phy ON
 
|-
 
|}
 
  
 
------------------
 
------------------
  
'''Event 5''' - When a queue entry is deleted or scrolled away from, switch off the RCO:
+
'''Event 4''' - When a queue entry is deleted or scrolled away from, and the master station is not in conversation, switch off the RCO:
{|  
+
[[File:Application_A204.png|500px|left|thumb|]]
|-
+
<br style="clear:both;" />
|width="100pt"|'''Event Owner''':
+
{{Code2|
|width="400pt"|The Master Station (or a UDP group of master stations)
+
[[IF/ENDIF|IF %udd(%1.phy)]]
|-
+
[[STOP]]
|'''Event type''': || 23 - New Current Mail
+
[[IF/ENDIF|ENDIF]]
|-
+
[[RCO - Set Remote Control Output|RCO %2.phy OFF]]
|'''Subevent''': || 0
+
}}
|-
 
|'''When change to''': || OFF
 
|-
 
|'''When related to''': || UDP 2
 
|-
 
|'''Action''': || RCO %2.phy OFF
 
|-
 
|}
 
  
 
------------------
 
------------------
  
  
[[Category:Applications]]
+
[[Category: CCTV]]
 +
[[Category: Video]]
 +
[[Category: AlphaCom Applications]]
 +
[[Category:Applications using Event Handler]]

Latest revision as of 11:12, 8 July 2022

AlphaCom icon 300px.png

Situation

CCTV switch controlled by relays from AlphaCom

When a master station is receiving Call Requests from a substation, a relay can be activated to control a CCTV switch. Each substation can have a dedicated relay output for this purpose. When scrolling the queue, the relay associated to the selected station is activated. In this way the picture on the monitor will follow the queue navigation on the master station.

When answering the call request the relay remains active during the conversation. Any new call requests received during conversation do not influence on the active relay. When the conversation is cancelled, and there still are calls in queue, the relay associated to the first station in queue will be activated.

Solution

The master station should use the 763x codes for queue navigation. These directory numbers should be assigned to DAK keys. A number of station types can be used for call queuing. The station should be prepared for call queue operation, how to do this depends on the station type used:

Include all substations with cameras in UDP group 2.

The Event Handler is used to control the RCO's which operate the relays. In the examples below the logical address of the RCO is equal to the physical number of the substation. E.g. if station on physical number 5 is calling, RCO #5 will be operated.

A UDD is used to store the conversation status of the master station. 0 = no conversation, 1 = conversation. The index of the UDD is equal to the physical number of the master station. The UDD is checked when call requests are received or deleted. If there is a conversation active there should be no RCO operations.


In AlphaPro, go to Exchange and System -> Events, press Insert and create the following events:


Event 1 - When a conversation is made from the master station to the substation, set the conversation status in the UDD, and activate the RCO.

Application A201.png


Action commands:



Event 2 - When the conversation between the master and substation cancels, reset the conversation status (UDD), switch off the RCO, and activate the MAILQ_NAVIG command. This command will step to the first in the queue, and re-trigger the '23 - New Current Mail' event.

Application A202.png


Action commands:



Event 3 - When receiving a Call Request or scrolling the queue, and the master station is not in conversation, activate the RCO associated to the selected substation.

Application A203.png


Action commands:



Event 4 - When a queue entry is deleted or scrolled away from, and the master station is not in conversation, switch off the RCO:

Application A204.png


Action commands: