BAC_PltComnMsg_01

Functional description

The template BAC_PltComnMsg_01 collects all event messages of the BACnet objects within a plant. For display of these messages at the management and control level (OWS) or at a local operator display, the main messages are linked with a BV object.

Interface

BAC_PltComnMsg_01 1:

Plant

BAC_PltComnMsg_01 2:

Block diagram 01

BAC_PltComnMsg_01 3:

Block diagram 02

BAC_PltComnMsg_01 4:

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

Task

ComnMsg

FB_BA_ComnMsg

The ComnMsg function block collects event messages from the BACnet objects of a plant.
To display these collective messages, some information of the ComnMsg function block is linked to a BV object.

The transfer of the messages from the BACnet objects to the message function block ComnMsg is done by means of a one-dimensional array of the structure ST_BA_ComMsg.
Each plant reserves an element of this array via the plant number. The array for collecting the messages from the BACnet objects within a controller
is declared globally in the folder Global_Variables_General.

It is important that the message collector FB_BA_ComnMsg and the BACnet objects within the templates of a plant are set to the same plant number!

VAR CONSTANT
PLT_NUM : BYTE := 1; (*Anlagennummer//Plant Number*)
END_VAR

The plant number can be set in the project builder in the parameter menu of the templates or by a column within the Excel import.

InAlm

FB_BACnetBVDisplay

Collective message of the status flag of the BACnet objects

Flt

FB_BACnetBVDisplay

Collective message the BACnet Fault objects

ManCtrlSw

FB_BACnetBVDisplay

Collective message manual override of one of the BACnet objects is on Prio 8

ManCtrlSwi

FB_BACnetBVDisplay

Local mechanical priority operation is enabled at one of the BACnet output objects

OoServ

FB_BACnetBVDisplay

One of the BACnet objects in the plant is OutOfService

Err

FB_BACnetBVDisplay

One of the BACnet objects is faulty, e.g. ADS error

Version history

Version number

Comments

1.0.1

First release