ALB, ALBI – Alarms for Boolean value

Block SymbolsLicensing group: STANDARD
PIC PIC

Function Description
The ALB and ALBI blocks generate alarms or events when a Boolean input signal U changes. The men parameter selects whether the rising or falling or both edges in the input signal should be indicated. The iac output shows the current alarm (event) code.

The ALBI block is an extension of the ALB block as the alarms (events) are indicated also by Boolean output signals HA, LA and NACK. The type of edges to watch is selected by the men input signal and the alarms are acknowledged by the iACK input signal instead of parameters with the same name and meaning.

The events and alarms are differentiated by the lvl parameter in the REXYGEN system. The range 1 lvl 127 is reserved for alarms. All starts, ends and acknowledgements of the alarms are stored in the archive. On the contrary, the range 128 lvl 255 indicates events. Only the start (the time instant) of the event is stored in the archive.

Inputs

U

Logical input of the block whose changes are watched

Bool

men

Enable alarms

Long (I32)

0 ....

All alarms disabled

1 ....

Low-alarm enabled (LA) (falling edge in the input signal U)

2 ....

High-alarm enabled (HA)(rising edge in the input signal U)

3 ....

All alarms enabled

iACK

Acknowledge alarm

Byte (U8)

1 ....

Low-alarm acknowledge

2 ....

High-alarm acknowledge

3 ....

Both alarms acknowledge

Alarm is acknowledged on rising edge

Outputs

iac

Current alarm code

Long (I32)

0 ....

All alarms inactive

1 ....

Low-alarm active (LA)

2 ....

High-alarm active (HA)

256 ..

Low-alarm not acknowledged (NACK)

512 ..

High-alarm not acknowledged (NACK)

HA

High-alarm indicator

Bool

LA

Low-alarm indicator

Bool

NACK

Alarm-not-acknowledged indicator

Bool

Parameters

arc

List of archives to store the events. The format of the list is e.g. 1,3..5,8. The event will be stored in all listed archives (see the ARC block for details on archives numbering). Third-party programs (Simulink, OPC clients etc.) work with an integer number, which is a binary mask, i.e. 157 (binary 10011101) in the mentioned case.

Word (U16)

id

Identification code of the alarm in the archive. This identifier must be unique in the whole target device with the REXYGEN control system (i.e. in all archiving blocks). Disabled for id = 0.  1

Word (U16)

lvl

The level of the alarms (HA and LA) which differentiates alarms from events and defines the severity of the alarm/event   1 1

Byte (U8)

Desc

Extended description of the alarm which is displayed by the diagnostic tools of the REXYGEN system  Alarm Description

String

2020 © REX Controls s.r.o., www.rexygen.com