FB_AlarmHandler

FB_AlarmHandler 1:

The class implements a handling of pending alarms to influence the process sequence. This means, for example, that an alarm with the severity "Error" can be responded to by stopping the machine directly.

Syntax:

FUNCTION_BLOCK FB_AlarmHandler EXTENDS FB_ListenerBase2

FB_AlarmHandler 2: Properties

Name

Type

Access

Initial value

Description

AlarmCritical

BOOL

Get

FALSE

A critical alarm is present.

AlarmError

BOOL

Get

FALSE

There is an error alarm.

AlarmWarning

BOOL

Get

FALSE

There is a warning alarm.

AlarmInfo

BOOL

Get

FALSE

There is an information alarm pending.

Error

BOOL

Get

FALSE

The handler is in an error state.

FB_AlarmHandler 3: Methods

Name

Description

ClearAlarms()

Confirms and clears all pending alarms.

FB_AlarmHandler 4: Interfaces

Type

Description

I_AlarmHandler

Standard interface on FB_AlarmHandler

I_OneTaskInterface

Runtime interface for a PLC task

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.42

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.6.0)