Function (FC): Alarm Bit with Operating Mode - v2.0
This function is used to manage each alarm bit of abstractAlarmLevel
contained in object containers for controllers that support operating modes.
_actuatorContainer└─ alarm ├─ level # USINT │ ├─ a?? # STRUCT │ ├─ triggered # UINT ← _alarmBitWithOM() updates this variable │ ├─ id # UINT │ ├─ map # Array[n] of INT │ ├─ a00_name # BOOL ← _alarmBitWithOM() updates this variable │ ├─ a01_name # BOOL ← _alarmBitWithOM() updates this variable │ ├─ ... │ └─ aNN_name # BOOL ← _alarmBitWithOM() updates this variable ...Use cases
Section titled “Use cases”- For simple alarms where each bit represents a specific alarm, such as: “Motor error” or “Movement timeout exceeded”.
Parameters
Section titled “Parameters”| Parameter | Declaration | Type | Description |
|---|---|---|---|
incoming | Input | Bool | 1=Alarm triggered |
outcoming | Input | Bool | 1=No alarm |
acknNeeded | Input | Bool | 0=Auto acknowledgment 1=Acknowledgment required |
ackn | Input | Bool | 1=Alarm acknowledgment |
alarm | InOut | Bool | 1=Alarm bit triggered |
triggered | InOut | UInt | Increments by 1 when alarm is TRUE |
r_maint | InOut | Bool | Reset maint.ready |
r_manual | InOut | Bool | Reset manual.ready |
r_semi | InOut | Bool | Reset semi.ready |
r_auto | InOut | Bool | Reset auto.ready |