hi all,
I need your help to write rule to activate alarm after 15 sec delay , if one switch pressed during this 15 sec it should make another 180 sec delay
then activate
ACK sw
-
- Posts: 15
- Joined: Fri Dec 14, 2012 5:15 pm
Re: ACK sw
use positive alarm sequence programming field notes..
{===================================================DESCRIPTION=======================================================}
{10th June 2013 - Here the Normal PAS has been reworked to provide floor wise PAS.
The purpose is to provide floor wise annunciation as it would have worked in a NON PAS scenario.
The Acknowledge switch , bypass switch applies to all floors. - Shashish Ashu (UTC)}
{Positive alarm sequence operation PAS
- UL 864 9th edition
- automatic sequence
- manually delayed for investigation}
{PAS Phases
- 1 Acknowledge
- 15 second delay to acknowledge the alarm event in order to prevent the alarm signals from activating automatically
- Acknowledging the alarm event starts Phase 2
- 2 Investigation
- 180 second delay must reset the control panel to prevent the alarm signals from activating automatically}
{PAS Bypass
- Two PAS smoke detectors activate
- PAS Bypass Switch Active and One PAS smoke detector activates
- NON PAS device activates
{SDU
- SWITCH & LED
- PAS Bypass - SW_PAS_BYPASS - Toggle / - PAS Bypass LED - LED_PAS_BYPASS
- PAS Acknowledge - SW_PAS_ACK - Momentary / - PAS Sequence LED - LED_PAS_SEQ
- Fast Blink - Phase 1
- Slow Blink - Phase 2
- Off - PAS inactive
- LOGICAL OUTPUT
- LOGRLY_PAS_ACK_SW_ACTIVE
- Used in Phase 1
- initiates phase 2
- Activates AND_PAS_BYPASS if 180 sec expires
- COMMAND LIST
- CMD_PAS_LVL<N>_ALARM - Actives Real Output
- CMD_NONPAS_LVL<N>_DEV - Activates Above CMD List.
- AND GROUP
- AND_PAS_LVL<N>_BYPASS - Act Num:2 - Event:Alarm
- PAS Devices + Non PAS (Double activation) + Bypass Switch
- Starts General Alarm / Floor Alarm
- AND_PAS_LVL<N>_SEQ - Act Num:1 - Event:Alarm
- PAS Devices
- Initiates phase 1
- Activates AND_PAS_BYPASS if 15 sec expires
- AND_PAS_RESET - Act Num:2 - Event:Monitor
- Enables Reset in Phase 2
- Set the Silence Inhibit option for 0 minutes (Configure > Project > Timing).
- Do not configure outputs as CommonAlarmOutput device types.
- For all PAS smoke detectors, set the Alarm Verify option and the Alt Alarm Verify option for None.
- Set the message routing options for the switches and the AND groups to the no message routing group.
- Label the PAS smoke detectors as *_LVL<N>_PAS_SMK* and the non-PAS devices as *_LVL<N>_SMK* or *_LVL<N>_PULL*
- Remember PAS will apply only to Smoke Detectors}
{=======================================================RULES===========================================================}
{#####PAS SMOKE DET#####}
[1 PAS SMK]
ALARM '*_LVL<N:1-5:2>_PAS_SMK*': { _LVL01_PAS_SMK }
ACTIVATE 'AND_PAS_LVL<N>_BYPASS', { Waits for the other PAS smoke det }
ACTIVATE 'AND_PAS_LVL<N>_SEQ'; { starts the phase 1 }
{#####NON PAS DEVICE#####}
[1 NONPAS SMK]
ALARM '*_LVL<N:1-5:2>_SMK*': { _LVL01_SMK }
ACTIVATE 'CMD_NONPAS_LVL<N>_DEV';
[2 NONPAS PULL]
ALARM '*_LVL<N:1-5:2>_PULL*':
ACTIVATE 'CMD_NONPAS_LVL<N>_DEV';
[3 NONPAS WATERFLOW]
ALARM '*_LVL<N:1-5:2>_FLOW*':
ACTIVATE 'CMD_NONPAS_LVL<N>_DEV';
[4 NONPAS CMD LIST]
ACTIVATION 'CMD_NONPAS_LVL<N:1-5:2>_DEV':
ACTIVATE 'AND_PAS_LVL<N>_BYPASS',
ACTIVATE 'AND_PAS_LVL<N>_BYPASS', { Activates twice to force an alarm }
DISABLE 'AND_PAS_LVL<N>_SEQ'; { Phase 1 sequence is disabled when a non-PAS device is alarmed }
{#####PAS ALARM#####}
[1 PAS ALARM]
ALARM 'AND_PAS_LVL<N:1-5:2>_BYPASS' : { phase 1 and 2 timers have expired or bypass }
ACTIVATE 'CMD_PAS_LVL<N>_ALARM', { Activates Outputs }
DLY 0,
-ENABLE 'CMD_PAS_LVL<N>_ALARM'; { Enables this after reset }
[2 PAS CMDLIST]
ACTIVATION 'CMD_PAS_LVL<N:1-5:2>_ALARM':
DISABLE 'CMD_PAS_LVL<N>_ALARM', { should not activate if other detectors go active }
ON '*_LVL<N>_HTR*', { Simlarly for other outputs *}
LEDOFF 'LED_PAS_SEQ', { PAS SEQ not active }
DISABLE 'SW_PAS_ACK', { Reset Required }
DISABLE 'SW_PAS_BYPASS'; { Reset Required }
{#####PAS BYPASS SWITCH#####}
[1 PAS BYPASS SWITCH]
SW 'SW_PAS_BYPASS':
ACTIVATE 'AND_PAS_*_BYPASS', { Any single det can activate the outputs }
STEADY 'LED_PAS_BYPASS',
OFF -HIGH 'LED_PAS_SEQ'; { No PAS device can activate this LED }
{#####PAS SEQUENCE#####}
[1 PAS STARTUP]
STUP:
DISABLE 'LED_PAS_ACK' ; { Acknowledge Switch is generally disabled }
[2 PAS PHASE 1 INITIATES]
ALARM 'AND_PAS_LVL<N:1-5:2>_SEQ':
ENABLE 'SW_PAS_ACK', { enable the PAS Ack switch to allow the user to acknowledge the alarm }
FAST 'LED_PAS_SEQ', { Indicate that PAS phase 1 is active }
DISABLE 'SW_PAS_BYPASS', { Disable the bypass switch to bypass PAS sequence once started }
+DLY 15, { Phase 1 timer }
ACTIVATE 'AND_PAS_LVL<N>_BYPASS'; { Activating AND will activate PAS Ouput }
[3 PAS ACKNOWLEDGE]
SW 'SW_PAS_ACK':
+ON -HIGH 'LOGRLY_PAS_ACK_SW_ACTIVE'; { starts 180 sec timer after acknowledge}
[4 PAS PHASE 2 STARTS]
RLYCFG 'LOGRLY_PAS_ACK_SW_ACTIVE':
+RESTORE 'AND_PAS_*_SEQ', { Prevents the system from going into the PAS }
ACTIVATE 'AND_PAS_RESET',
SLOW 'LED_PAS_SEQ',
+DLY 180,
ACTIVATE 'AND_PAS_*_BYPASS'; { Will activate now by just one other device }
[5 PAS RESET]
RESET:
ACTIVATE 'AND_PAS_RESET';
[6 PAS RESET]
MONITOR 'AND_PAS_RESET':
+OFF -HIGH 'LOGRLY_PAS_ACK_SW_ACTIVE';
Here is what I implemented:{===================================================DESCRIPTION=======================================================}
{10th June 2013 - Here the Normal PAS has been reworked to provide floor wise PAS.
The purpose is to provide floor wise annunciation as it would have worked in a NON PAS scenario.
The Acknowledge switch , bypass switch applies to all floors. - Shashish Ashu (UTC)}
{Positive alarm sequence operation PAS
- UL 864 9th edition
- automatic sequence
- manually delayed for investigation}
{PAS Phases
- 1 Acknowledge
- 15 second delay to acknowledge the alarm event in order to prevent the alarm signals from activating automatically
- Acknowledging the alarm event starts Phase 2
- 2 Investigation
- 180 second delay must reset the control panel to prevent the alarm signals from activating automatically}
{PAS Bypass
- Two PAS smoke detectors activate
- PAS Bypass Switch Active and One PAS smoke detector activates
- NON PAS device activates
{SDU
- SWITCH & LED
- PAS Bypass - SW_PAS_BYPASS - Toggle / - PAS Bypass LED - LED_PAS_BYPASS
- PAS Acknowledge - SW_PAS_ACK - Momentary / - PAS Sequence LED - LED_PAS_SEQ
- Fast Blink - Phase 1
- Slow Blink - Phase 2
- Off - PAS inactive
- LOGICAL OUTPUT
- LOGRLY_PAS_ACK_SW_ACTIVE
- Used in Phase 1
- initiates phase 2
- Activates AND_PAS_BYPASS if 180 sec expires
- COMMAND LIST
- CMD_PAS_LVL<N>_ALARM - Actives Real Output
- CMD_NONPAS_LVL<N>_DEV - Activates Above CMD List.
- AND GROUP
- AND_PAS_LVL<N>_BYPASS - Act Num:2 - Event:Alarm
- PAS Devices + Non PAS (Double activation) + Bypass Switch
- Starts General Alarm / Floor Alarm
- AND_PAS_LVL<N>_SEQ - Act Num:1 - Event:Alarm
- PAS Devices
- Initiates phase 1
- Activates AND_PAS_BYPASS if 15 sec expires
- AND_PAS_RESET - Act Num:2 - Event:Monitor
- Enables Reset in Phase 2
- Set the Silence Inhibit option for 0 minutes (Configure > Project > Timing).
- Do not configure outputs as CommonAlarmOutput device types.
- For all PAS smoke detectors, set the Alarm Verify option and the Alt Alarm Verify option for None.
- Set the message routing options for the switches and the AND groups to the no message routing group.
- Label the PAS smoke detectors as *_LVL<N>_PAS_SMK* and the non-PAS devices as *_LVL<N>_SMK* or *_LVL<N>_PULL*
- Remember PAS will apply only to Smoke Detectors}
{=======================================================RULES===========================================================}
{#####PAS SMOKE DET#####}
[1 PAS SMK]
ALARM '*_LVL<N:1-5:2>_PAS_SMK*': { _LVL01_PAS_SMK }
ACTIVATE 'AND_PAS_LVL<N>_BYPASS', { Waits for the other PAS smoke det }
ACTIVATE 'AND_PAS_LVL<N>_SEQ'; { starts the phase 1 }
{#####NON PAS DEVICE#####}
[1 NONPAS SMK]
ALARM '*_LVL<N:1-5:2>_SMK*': { _LVL01_SMK }
ACTIVATE 'CMD_NONPAS_LVL<N>_DEV';
[2 NONPAS PULL]
ALARM '*_LVL<N:1-5:2>_PULL*':
ACTIVATE 'CMD_NONPAS_LVL<N>_DEV';
[3 NONPAS WATERFLOW]
ALARM '*_LVL<N:1-5:2>_FLOW*':
ACTIVATE 'CMD_NONPAS_LVL<N>_DEV';
[4 NONPAS CMD LIST]
ACTIVATION 'CMD_NONPAS_LVL<N:1-5:2>_DEV':
ACTIVATE 'AND_PAS_LVL<N>_BYPASS',
ACTIVATE 'AND_PAS_LVL<N>_BYPASS', { Activates twice to force an alarm }
DISABLE 'AND_PAS_LVL<N>_SEQ'; { Phase 1 sequence is disabled when a non-PAS device is alarmed }
{#####PAS ALARM#####}
[1 PAS ALARM]
ALARM 'AND_PAS_LVL<N:1-5:2>_BYPASS' : { phase 1 and 2 timers have expired or bypass }
ACTIVATE 'CMD_PAS_LVL<N>_ALARM', { Activates Outputs }
DLY 0,
-ENABLE 'CMD_PAS_LVL<N>_ALARM'; { Enables this after reset }
[2 PAS CMDLIST]
ACTIVATION 'CMD_PAS_LVL<N:1-5:2>_ALARM':
DISABLE 'CMD_PAS_LVL<N>_ALARM', { should not activate if other detectors go active }
ON '*_LVL<N>_HTR*', { Simlarly for other outputs *}
LEDOFF 'LED_PAS_SEQ', { PAS SEQ not active }
DISABLE 'SW_PAS_ACK', { Reset Required }
DISABLE 'SW_PAS_BYPASS'; { Reset Required }
{#####PAS BYPASS SWITCH#####}
[1 PAS BYPASS SWITCH]
SW 'SW_PAS_BYPASS':
ACTIVATE 'AND_PAS_*_BYPASS', { Any single det can activate the outputs }
STEADY 'LED_PAS_BYPASS',
OFF -HIGH 'LED_PAS_SEQ'; { No PAS device can activate this LED }
{#####PAS SEQUENCE#####}
[1 PAS STARTUP]
STUP:
DISABLE 'LED_PAS_ACK' ; { Acknowledge Switch is generally disabled }
[2 PAS PHASE 1 INITIATES]
ALARM 'AND_PAS_LVL<N:1-5:2>_SEQ':
ENABLE 'SW_PAS_ACK', { enable the PAS Ack switch to allow the user to acknowledge the alarm }
FAST 'LED_PAS_SEQ', { Indicate that PAS phase 1 is active }
DISABLE 'SW_PAS_BYPASS', { Disable the bypass switch to bypass PAS sequence once started }
+DLY 15, { Phase 1 timer }
ACTIVATE 'AND_PAS_LVL<N>_BYPASS'; { Activating AND will activate PAS Ouput }
[3 PAS ACKNOWLEDGE]
SW 'SW_PAS_ACK':
+ON -HIGH 'LOGRLY_PAS_ACK_SW_ACTIVE'; { starts 180 sec timer after acknowledge}
[4 PAS PHASE 2 STARTS]
RLYCFG 'LOGRLY_PAS_ACK_SW_ACTIVE':
+RESTORE 'AND_PAS_*_SEQ', { Prevents the system from going into the PAS }
ACTIVATE 'AND_PAS_RESET',
SLOW 'LED_PAS_SEQ',
+DLY 180,
ACTIVATE 'AND_PAS_*_BYPASS'; { Will activate now by just one other device }
[5 PAS RESET]
RESET:
ACTIVATE 'AND_PAS_RESET';
[6 PAS RESET]
MONITOR 'AND_PAS_RESET':
+OFF -HIGH 'LOGRLY_PAS_ACK_SW_ACTIVE';