Actions

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

From Zenitel Wiki

 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
==Situation==
 
==Situation==
 
[[Image:CCTV RCO controlled.jpg|thumb|350px|CCTV switch controlled by relays from AlphaCom]]
 
[[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 assosiated to the selected station is activated. In this way the picture on the monitor will follow the queue navigation on the master station.  
+
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 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.
 
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.
Line 9: Line 9:
 
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:
 
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:
 
* [[CRM|CRM V station]]  
 
* [[CRM|CRM V station]]  
* [[TouchLine station used for Call Queing]]
+
* [[TouchLine station used for Call Queuing]]
* [[Dual_Display_Station_-_1007007000#DualDisplay_station_used_for_Call_Queuing|DualDisplay station used for Call Queing]]
+
* [[Dual_Display_Station_-_1007007000#DualDisplay_station_used_for_Call_Queuing|DualDisplay station used for Call Queuing]]
 
* [[Control Room Master IV|CRM IV station]]
 
* [[Control Room Master IV|CRM IV station]]
  
Line 17: 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.
  
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 nymber 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.  
+
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.  
  
  
Line 23: Line 23:
 
------------
 
------------
 
'''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.
 
'''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''': || Stations w. UDP, Id: 2
 
|-
 
|'''Action''': || [[wudd|WUDD %1.phy 1]]
 
|-
 
| &nbsp; || [[RCO - Set Remote Control Output|RCO %2.phy ON]]
 
|-
 
|}
 
  
 
---------------
 
---------------
 
'''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.
 
'''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''': || Stations w. UDP: Id 2
 
|-
 
|'''Action''': || [[wudd|WUDD %1.phy 0]]
 
|-
 
| &nbsp; || [[RCO - Set Remote Control Output|RCO %2.phy OFF]]
 
|-
 
| &nbsp; || [[MAILQ NAVIG|$MAILQ_NAVIG L%1.dir 2]]
 
|-
 
|}
 
  
 
------------------
 
------------------
  
'''Event 3''' - When receiving a Call Request or scrolling the queue, and the master station is not in conversation, activate the RCO assosiated to the selected substation.
+
'''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''': || Stations w. UDP, Id: 2
 
|-
 
|'''Action''': || [[IF/ENDIF|IF %udd(%1.phy)]]
 
|-
 
| &nbsp; || [[STOP]]
 
|-
 
| &nbsp; || [[IF/ENDIF|ENDIF]]
 
|-
 
| &nbsp; || [[RCO - Set Remote Control Output|RCO %2.phy ON]]
 
|-
 
|}
 
  
 
------------------
 
------------------
  
 
'''Event 4''' - When a queue entry is deleted or scrolled away from, and the master station is not in conversation, 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''': || [[New Current Mail (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''': || Stations w. UDP, Id: 2
 
|-
 
|'''Action''': || [[IF/ENDIF|IF %udd(%1.phy)]]
 
|-
 
| &nbsp; || [[STOP]]
 
|-
 
| &nbsp; || [[IF/ENDIF|ENDIF]]
 
|-
 
| &nbsp; || [[RCO - Set Remote Control Output|RCO %2.phy OFF]]
 
|-
 
|}
 
  
 
------------------
 
------------------
  
  
[[Category:CCTV]]
+
[[Category: CCTV]]
[[Category:Video]]
+
[[Category: Video]]
[[Category:Applications]]
+
[[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: