BAC_Uni_SmokeDetc_001
Functional description
The template BAC_Uni_SmokeDetc_001 is used to control and monitor a duct smoke detector.
It consists of two binary input objects for pollution and smoke alarm and one binary output object for resetting the duct smoke detector.
The BACnet property MinimumOntime of the BO object is set to a default value for the acknowledgment of the duct smoke detector. The acknowledgment pulse is extended by this time setting.
Interface
Plant diagram
Block diagram
VAR_OUTPUT
bAlm : BOOL;
bAlm: this output indicates that the smoke detector has been triggered.
VAR CONSTANT
PLT_NUM : BYTE := 1;
PLT_NUM: all alarms and events of all plant components within a controller are included in a global alarm and event list. The assignment of events and alarms to a plant is defined by the assignment of a PLT_NUM plant number.
The recording and processing of an alarm from an aggregate or a device takes place within the templates by means of the alarm function block FB_BA_Alarm.
The evaluation of the alarms of a plant, e.g. for the generation of a collective message or for plant shutdown in case of relevant faults, takes place within the template BAC_PltAlm_01 by means of the function block FB_BA_AlarmPlt.
The evaluation of different plant events within the templates of a plant, takes place within the template BAC_PltComnMsg_01 by means of the function block FB_BA_ComnMsg.
Important! The assignment and evaluation of the alarms and events of a plant can only be done correctly if all templates of a plant have the same plant number!
The plant number can be assigned in the Project Builder in the parameter menu for the templates or via a column in the Excel import.
Program description
Instance | Type | optional | Task | ||
---|---|---|---|---|---|
Dirty |
| BI object dirty smoke detector | |||
AlmDirty |
| The function block AlmDirty detects the dirty smoke detector event. | |||
Alarm |
| BI object smoke detector alarm | |||
AlmAlarm |
| The function block AlmAlarm detects the smoke detector alarm event. | |||
BO |
| BO object for the acknowledge pulse of the duct smoke detector. | |||
|
|
| Priority: | Enable | Value |
PRIO_PROGRAM (15) | TRUE | The system acknowledge pulse is passed through to the BO object via the alarm logging AlmAlarm. |
IO linking
Variables for linking with the terminals
Parameter | Type | optional | Process image |
|
---|---|---|---|---|
BI_SmokeDetector_Dirty | BOOL |
| Input | Digital input – smoke detector – message – dirty |
BI_SmokeDetector_Alarm | BOOL |
| Input | Digital input – smoke detector – message – alarm |
BO_SmokeDetector_Reset | BOOL |
| Output | Digital output – smoke detector – switching command – acknowledge on/off |
Version history
Version number | Comments |
---|---|
1.0.0.1 | First release |