Actions

Difference between revisions of "Audio Monitoring - Scanning"

From Zenitel Wiki

(Event Handler Programming)
Line 1: Line 1:
This application makes it possible to silently monitor preselected stations in a sequence. The green LED in the DAK panel will show which station that is currently monitored. The guard in the Control Room can stop the scanning and listen to one particular station.
+
This application makes it possible to silently monitor dynamically selected stations in a sequence. The green LED in the DAK panel will show which station that is currently monitored. The guard in the Control Room can pause the scanning and listen to one particular station.
  
 
The example described consists of:
 
The example described consists of:
Line 6: Line 6:
  
 
==Operation==
 
==Operation==
*To silently monitor multiple stations, press the Scanning DAK. The system will start to monitor in rotating order.
+
*To select stations to be monitored, press the Scanning DAK (D3), then select the stations by pressing the DAK key they are configured on (or dialling the directory number). Finish the selection phase by pressing the Scanning DAK again.
*To stop the scanning, press the Scanning DAK again.
+
*To start silently monitor multiple stations, press DAK 1 (D1). The system will start to monitor in rotating order.
*To stop the scanning and listen to a particular station, press the Monitoring DAK + station DAK.  
+
*To stop the scanning, press DAK 2 (D2).
 +
*To stop the scanning and listen to a particular station, press DAK 1 (D1).  
  
 
==DAK Programming==
 
==DAK Programming==
 
The CRM has these DAK keys configured:
 
The CRM has these DAK keys configured:
 
*DAK5-9 = Substation(111-115)
 
*DAK5-9 = Substation(111-115)
*DAK17 = Monitoring (9547)
+
*DAK1 = Start scan/pause
*DAK18 = Scanning (9548)
+
*DAK2 = Stop scan
 +
*DAK3 = Select stations to be scanned (9535)
  
==Directory & Features==
+
==Simplex Conference==
Create these new numbers:
+
*Conference number 1 - Deafult member: 101 Control Room
*9547 - Feature 95/2 - Display text: Monitoring
+
[[File:Audio Monitoring Scanning 3.PNG|thumb|left|500px]]
*9548 - Feature 52/0 - Display text: Scanning
+
<br style="clear:both;" />
  
==Simplex Conference==
+
==Station configuration==
*Conference number 1 - Monitoring - Deafult member: 101 Control Room
+
Put the CRM station in a UDP group and define the chosen simplex conference in the EXP field.
*Conference number 2 - Scanning - Default member: 101 Control Room
+
[[File:Audio Monitoring Scanning 1.PNG|thumb|left|500px]]
 +
<br style="clear:both;" />
 +
 
 +
Put all the stations that should be able to be scanned in a common UDP group.
 +
[[File:Audio Monitoring Scanning 2.PNG|thumb|left|500px]]
 +
<br style="clear:both;" />
  
 
==Event Handler Programming==
 
==Event Handler Programming==
'''Event 1''' - Monitoring: Turn on/off the green and red LED in the monitoring button. Stop scanning (reset scanner timer, turn off LEDs in scanning DAK and reset "Scanning active" UDD 501) in case monitoring is turned on during scanning.
+
Start Selection Event: This event trigger immediately when the Scanning DAK is pressed. Turns on a LED and writes to the display.
{|  
+
[[File:Audio Monitoring Scanning 8.PNG|thumb|left|500px]]
|-
+
<br style="clear:both;" />
|width="100pt"|'''Event Owner''':
+
 
|width="400pt"|Stations w/UDP, Id: 1 (Control Room)
+
Action commands:
|-
+
IND %1.phy %1.dak(I%2.dir) 1 1 ON
|'''Event type''': || [[Event Trigger (Event Type)|15 – Event Trigger Feature]]
+
$DTS L%1.dir 'Select cell' U1
|-
+
 
|'''Subevent''': || 0
+
------------
|-
+
 
|'''When change to''': || ON or OFF
+
Selection Event: This is a two-step event trigger that adds any selected station to group 16.
|-
+
[[File:Audio Monitoring Scanning 7.PNG|thumb|left|500px]]
|'''When related to''': || Directory Number, Id: 9547
+
<br style="clear:both;" />
|-
+
 
|'''Action''': || IND %1.phy %1.dak(I%2.dir) 1 3
+
Action commands:
|-
+
IF %op(%2.dir,=,9535)
| &nbsp; || IND %1.phy %1.dak(I%2.dir) 2 3
+
IND %1.phy %1.dak(I%2.dir) 1 1 OFF
|-
+
$DISCON_ST L%1.dir U2
| &nbsp; || $ST L%1.dir W0 L9902
+
STOP
|-
+
ENDIF
| &nbsp; || IND %1.phy %1.dak(I9548) 1 2 OFF
+
$GRM L%2.dir NG16 U2
|-
+
IF %udd(%2.phy)
| &nbsp; || IND %1.phy %1.dak(I9548) 2 2 OFF
+
IND %1.phy %1.dak(I%2.dir) 1 1 OFF
|-
+
WUDD %2.phy 0
| &nbsp; || WUDD 501 0
+
STOP
|-
+
ENDIF
|}
+
IND %1.phy %1.dak(I%2.dir) 1 1 ON
 +
WUDD %1.dir 3
 +
WUDD %2.phy 1
 +
 
 +
------------
 +
 
 +
Start Scanning Event: Starts a 0.1 sec timer. If pressed while Scanning is running, then pause.
 +
[[File:Audio Monitoring Scanning 9.PNG|thumb|left|500px]]
 +
<br style="clear:both;" />
 +
 
 +
Action commands:
 +
IF %op(%udd(%1.dir),=,3)
 +
$DISCON_ST L%1.dir U3
 +
STOP
 +
ENDIF
 +
IF %op(%udd(%1.dir),=,2)
 +
WUDD %1.dir 1
 +
$ST L%1.dir W1 L9991
 +
IND %1.phy 1 1 3 OFF
 +
STOP
 +
ENDIF
 +
IF %op(%udd(%1.dir),=,1)
 +
WUDD %1.dir 2
 +
$ST L%1.dir
 +
IND %1.phy 1 1 3 ON
 +
$DTS L%1.dir 'Scan: Paused'
 +
STOP
 +
ENDIF
 +
WUDD %1.phy 0
 +
WUDD %1.dir 1
 +
$ST L%1.dir W1 L9991
 +
IND %1.phy 1 1 1 ON
 +
 
 +
------------
 +
 
 +
Scan Timeout Event: Clears current monitored station, starts monitoring of new station, set a 2.5 sec timer.
 +
[[File:Audio Monitoring Scanning 5.PNG|thumb|left|500px]]
 +
<br style="clear:both;" />
 +
 
 +
Action commands:
 +
$CONF NG16 L8200
 +
tmp 0 "%gns(16,%udd(%1.phy))"
 +
tmp 1 "%rdir(%tmp(0))"
 +
IF %op(%tmp(0),=,0)
 +
tmp 0 "%gns(16,0))"
 +
tmp 1 "%rdir(%tmp(0))"
 +
ENDIF
 +
WUDD %1.phy %tmp(0)
 +
$CONF L%tmp(1) L%1.exp U2
 +
$CONF_TALK L%tmp(1) U2 U1
 +
$ST L%1.dir W25 L9991
 +
$DTS L%1.dir 'Scan: Running' U1
  
 
------------
 
------------
  
'''Event 2''' - Scanning: Store the number of the first station to scan in the UDD 500. Start a timer that triggers the scanning loop.
+
Stop Scan Event: Stops the scanning, clears the timers and empties the scanning group.
{|  
+
[[File:Audio Monitoring Scanning 10.PNG|thumb|left|500px]]
|-
+
<br style="clear:both;" />
|width="100pt"|'''Event Owner''':
+
 
|width="400pt"|Stations w/UDP, Id: 1 (Control Room)
+
Action commands:
|-
+
$ST L%1.dir
|'''Event type''': || [[Event Trigger (Event Type)|15 – Event Trigger Feature]]
+
$CONF NG16 L8200
|-
+
IND %1.phy 1 1 1 OFF
|'''Subevent''': || 0
+
WUDD %1.dir 0
|-
+
$ST L%1.dir W1 L9992
|'''When change to''': || ON
+
$ER U15 U0 U1 U1 N%gns(16,0) U3 L9993
|-
 
|'''When related to''': || Directory Number, Id: 9548
 
|-
 
|'''Action''': || WUDD 500 111
 
|-
 
| &nbsp; || IF %udd(501)
 
|-
 
| &nbsp; || WUDD 501 0
 
|-
 
| &nbsp; || $ST L%1.dir W0 L9902
 
|-
 
| &nbsp; || IND %1.phy %1.dak(I9548) 1 2 OFF
 
|-
 
| &nbsp; || IND %1.phy %1.dak(I9548) 2 2 OFF
 
|-
 
| &nbsp; || $CONF L84 L8200
 
|-
 
| &nbsp; || STOP
 
|-
 
| &nbsp; || ENDIF
 
|-
 
| &nbsp; || WUDD 501 1
 
|-
 
| &nbsp; || $ST L%1.dir W1 L9902
 
|-
 
| &nbsp; || IND %1.phy %1.dak(I9548) 1 2 ON
 
|-
 
| &nbsp; || IND %1.phy %1.dak(I9548) 2 2 ON
 
|-
 
|}
 
  
 
------------
 
------------
  
'''Event 3''' - Scanning: Scans station 111 to 115 with 2,5 sec interval. Uses UDD 500 as a counter. First clear all conferences, then turn on conference and feed for the next station, stored in udd 500. Increment udd 500 (next station), but if higher than 115, start over again with 111. The timer retriggers it self, 2,5 sec intervall.
+
Cleanup Event: Empties the scanning group after scanning is stopped.
{|  
+
[[File:Audio Monitoring Scanning 4.PNG|thumb|left|500px]]
|-
+
<br style="clear:both;" />
|width="100pt"|'''Event Owner''':
+
 
|width="400pt"|Stations w/UDP, Id: 1 (Control Room)
+
Action commands:
|-
+
IF %gns(16,0)
|'''Event type''': || [[Event Timeout (Event Type)|21 – Event Timeout]]
+
tmp 0 "%gns(16,0))"
|-
+
tmp 1 "%rdir(%tmp(0))"
|'''Subevent''': || 0
+
$GRM N%gns(16,0) NG16 U0
|-
+
IND %1.phy %1.dak(I%tmp(1)) 1 1 OFF
|'''When change to''': || ON
+
$ER U15 U0 U1 U1 N%gns(16,0) U3 L9993
|-
+
ENDIF
|'''When related to''': || Directory Number, Id: 9902
 
|-
 
|'''Action''': || $CONF L84 L8200
 
|-
 
| &nbsp; || $CONF L%udd(500) L8202
 
|-
 
| &nbsp; || $CONF_TALK L%udd(500)
 
|-
 
| &nbsp; || OWN r %udd(500)
 
|-
 
| &nbsp; || $SDT L8202 '%2.nam'
 
|-
 
| &nbsp; || WUDD 500 %op(%udd(500),+,1)
 
|-
 
| &nbsp; || IF %op(%udd(500),>,115)
 
|-
 
| &nbsp; || WUDD 500 111
 
|-
 
| &nbsp; || ENDIF
 
|-
 
| &nbsp; || $ST L%1.dir W25 L9902
 
|-
 
|}
 
  
 
------------
 
------------
  
'''Event 4''' - Monitoring: If the selected number is in the range 111-115, include the station in SX conference and make it feed the conference.
+
Cleanup Event2: Cleans up the display after scanning is stopped.
{|  
+
[[File:Audio Monitoring Scanning 6.PNG|thumb|left|500px]]
|-
+
<br style="clear:both;" />
|width="100pt"|'''Event Owner''':
+
 
|width="400pt"|Stations w/UDP, Id: 1 (Control Room)
+
Action commands:
|-
+
$DTS L%1.dir
|'''Event type''': || [[Event Trigger with parameter (Event Type)|25 – Event Trigger w/User Parameter]]
 
|-
 
|'''Subevent''': || 2
 
|-
 
|'''When change to''': || ON
 
|-
 
|'''When related to''': || All
 
|-
 
|'''Action''': || $CONF L84 L8200
 
|-
 
| &nbsp; || $DISCON_ST L%1.dir U0
 
|-
 
| &nbsp; || IF %op(%2.dir,>=,111)
 
|-
 
| &nbsp; || IF %op(%2.dir,<=,115)
 
|-
 
| &nbsp; || $SDT L8201 '%2.nam'
 
|-
 
| &nbsp; || $CONF L%2.dir L8201
 
|-
 
| &nbsp; || $CONF_TALK L%2.dir
 
|-
 
| &nbsp; || STOP
 
|-
 
| &nbsp; || ENDIF
 
|-
 
|}
 
  
 
------------
 
------------
  
'''Event 5''' - Monitoring and Scanning: Conference members are indicated by flashing green LED in the DAK panel of the CRMV 101.
+
Scanned Stations Event: Updates LED status on the DAK panel as stations are scanned. Also turn station LED off.
{|  
+
[[File:Audio Monitoring Scanning 11.PNG|thumb|left|500px]]
|-
+
<br style="clear:both;" />
|width="100pt"|'''Event Owner''':
+
 
|width="400pt"|Stations w/UDP, Id: 8 (All Stations)
+
Action commands:
|-
+
OWN r 101
|'''Event type''': || [[Simplex Conference Member (Event Type)|17 – Simplex Conference Member]]
+
IND %2.phy %2.dak(I%1.dir) 2 1
|-
+
$DTS L%2.dir '%1.nam' U2
|'''Subevent''': || 0
+
pause
|-
+
$DIP L%1.dir "ind stl 0 0"
|'''When change to''': || ON or OFF
+
$DIP L%1.dir "stinfo 5 'LedOff'"
|-
 
|'''When related to''': || All
 
|-
 
|'''Action''': || OWN r 101
 
|-
 
| &nbsp; || IND %2.phy %2.dak(I%1.dir) 2 3
 
|-
 
|}
 
  
 
------------
 
------------

Revision as of 15:34, 23 May 2016

This application makes it possible to silently monitor dynamically selected stations in a sequence. The green LED in the DAK panel will show which station that is currently monitored. The guard in the Control Room can pause the scanning and listen to one particular station.

The example described consists of:

  • 1 CRM-V w/D48; Dir no: 101
  • 5 IP Substations; Dir no: 111-115

Operation

  • To select stations to be monitored, press the Scanning DAK (D3), then select the stations by pressing the DAK key they are configured on (or dialling the directory number). Finish the selection phase by pressing the Scanning DAK again.
  • To start silently monitor multiple stations, press DAK 1 (D1). The system will start to monitor in rotating order.
  • To stop the scanning, press DAK 2 (D2).
  • To stop the scanning and listen to a particular station, press DAK 1 (D1).

DAK Programming

The CRM has these DAK keys configured:

  • DAK5-9 = Substation(111-115)
  • DAK1 = Start scan/pause
  • DAK2 = Stop scan
  • DAK3 = Select stations to be scanned (9535)

Simplex Conference

  • Conference number 1 - Deafult member: 101 Control Room
Audio Monitoring Scanning 3.PNG


Station configuration

Put the CRM station in a UDP group and define the chosen simplex conference in the EXP field.

Audio Monitoring Scanning 1.PNG


Put all the stations that should be able to be scanned in a common UDP group.

Audio Monitoring Scanning 2.PNG


Event Handler Programming

Start Selection Event: This event trigger immediately when the Scanning DAK is pressed. Turns on a LED and writes to the display.

Audio Monitoring Scanning 8.PNG


Action commands:

IND %1.phy %1.dak(I%2.dir) 1 1 ON
$DTS L%1.dir 'Select cell' U1

Selection Event: This is a two-step event trigger that adds any selected station to group 16.

Audio Monitoring Scanning 7.PNG


Action commands:

IF %op(%2.dir,=,9535)
IND %1.phy %1.dak(I%2.dir) 1 1 OFF
$DISCON_ST L%1.dir U2
STOP
ENDIF
$GRM L%2.dir NG16 U2
IF %udd(%2.phy)
IND %1.phy %1.dak(I%2.dir) 1 1 OFF
WUDD %2.phy 0
STOP
ENDIF
IND %1.phy %1.dak(I%2.dir) 1 1 ON
WUDD %1.dir 3
WUDD %2.phy 1

Start Scanning Event: Starts a 0.1 sec timer. If pressed while Scanning is running, then pause.

Audio Monitoring Scanning 9.PNG


Action commands:

IF %op(%udd(%1.dir),=,3)
$DISCON_ST L%1.dir U3
STOP
ENDIF
IF %op(%udd(%1.dir),=,2)
WUDD %1.dir 1
$ST L%1.dir W1 L9991
IND %1.phy 1 1 3 OFF
STOP
ENDIF
IF %op(%udd(%1.dir),=,1)
WUDD %1.dir 2
$ST L%1.dir
IND %1.phy 1 1 3 ON
$DTS L%1.dir 'Scan: Paused'
STOP
ENDIF
WUDD %1.phy 0
WUDD %1.dir 1
$ST L%1.dir W1 L9991
IND %1.phy 1 1 1 ON

Scan Timeout Event: Clears current monitored station, starts monitoring of new station, set a 2.5 sec timer.

Audio Monitoring Scanning 5.PNG


Action commands:

$CONF NG16 L8200
tmp 0 "%gns(16,%udd(%1.phy))"
tmp 1 "%rdir(%tmp(0))"
IF %op(%tmp(0),=,0)
tmp 0 "%gns(16,0))"
tmp 1 "%rdir(%tmp(0))"
ENDIF
WUDD %1.phy %tmp(0)
$CONF L%tmp(1) L%1.exp U2
$CONF_TALK L%tmp(1) U2 U1
$ST L%1.dir W25 L9991
$DTS L%1.dir 'Scan: Running' U1

Stop Scan Event: Stops the scanning, clears the timers and empties the scanning group.

Audio Monitoring Scanning 10.PNG


Action commands:

$ST L%1.dir
$CONF NG16 L8200
IND %1.phy 1 1 1 OFF
WUDD %1.dir 0
$ST L%1.dir W1 L9992
$ER U15 U0 U1 U1 N%gns(16,0) U3 L9993

Cleanup Event: Empties the scanning group after scanning is stopped.

Audio Monitoring Scanning 4.PNG


Action commands:

IF %gns(16,0)
tmp 0 "%gns(16,0))"
tmp 1 "%rdir(%tmp(0))"
$GRM N%gns(16,0) NG16 U0
IND %1.phy %1.dak(I%tmp(1)) 1 1 OFF
$ER U15 U0 U1 U1 N%gns(16,0) U3 L9993
ENDIF

Cleanup Event2: Cleans up the display after scanning is stopped.

Audio Monitoring Scanning 6.PNG


Action commands:

$DTS L%1.dir

Scanned Stations Event: Updates LED status on the DAK panel as stations are scanned. Also turn station LED off.

Audio Monitoring Scanning 11.PNG


Action commands:

OWN r 101
IND %2.phy %2.dak(I%1.dir) 2 1
$DTS L%2.dir '%1.nam' U2
pause
$DIP L%1.dir "ind stl 0 0"
$DIP L%1.dir "stinfo 5 'LedOff'"