Difference between revisions of "2-2b. CCTV with relay - Event Handler (solution)"
From Zenitel Wiki
(→Relay control. Alternative 1) |
(→Relay control. Alternative 2) |
||
Line 40: | Line 40: | ||
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
− | ====Relay control. Alternative | + | ====Relay control. Alternative solution ==== |
− | + | This solution reduces the number of events to two. | |
− | |||
− | Instead of " | + | Instead of filtering the calling number using the "When Related To", one can set this filed use the IF statement. |
Include all substations (here: Elevator and Entrance) in UDP group 1: | Include all substations (here: Elevator and Entrance) in UDP group 1: |
Revision as of 14:47, 20 September 2013
Solution
Call buttons:
- Pressing the call button at the Entrance or at the SOS Point should generate a call in private ringing mode to the Control Room.
Relay control. Alternative 1
- A relay output to the CCTV system should be activated when the private ringing starts. There is one relay for each substation. Use the outputs 5 and 6.
- The relay should stay activate until the call is accepted and the conversation is cancelled. (If the call is not answered, the relay must drop when the ringing times out).
When the Control Room starts ringing (The Private Ringing mode event goes ON), and the caller is station 107, turn on RCO 5:
When the Control Room starts ringing (The Private Ringing mode event goes ON), and the caller is station 108, turn on RCO 6:
When the conversation with the Entrance ends (or the ringing times out), the station returns to idle mode. Now the event "4 - Station in Use" will go OFF:
When the conversation with the SOS Point ends (or the ringing times out), the station returns to idle mode. Now the event "4 - Station in Use" will go OFF:
Relay control. Alternative solution
This solution reduces the number of events to two.
Instead of filtering the calling number using the "When Related To", one can set this filed use the IF statement.
Include all substations (here: Elevator and Entrance) in UDP group 1:
When the Main Guard starts ringing (The Private Ringing mode event goes ON), and the caller is from any station in UDP group 1, turn on the RCO with logical number equal to the physical number of the calling station. E.g. if the call is from the Entrance (directory number 302, physical number 39), the RCO 39 will be triggered:
When a station in UDP group 1 ends the conversation (or the ringing times out), the station returns to idle mode. The event 04 - Station in Use will go OFF when the station returns to idle:
In the RCO table one needs to map the logical RCO to the physical output.
- Elevator 104 is on physical number 4. RCO 4 should be mapped to output 5.
- Entrance 302 is on physical number 39. RCO 39 should be mapped to output 6.