ALN, ALNI – Alarms for numerical value

Block SymbolsLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio u iac ALN Qt SVG Document Exported by REXYGEN Studio u men hys hh h l ll tout iACK iac E HHA HA LA LLA NACK ALNI

Function Description
Blocks ALN and ALNI are intended for generating two-level alarms or events when the numerical value of input u exceeds (undershoots) one of the alarm limits. iac output indicates alarm (event) status. The men parameter (or input) specifies which of the boundaries are monitored. You can choose between the following limits:

  • LA - low-alarm
  • HA - high-alarm
  • LLA - second low-alarm
  • HHA - second high-alarm

and their combinations.

The ALNI block is an extension of the ALN block. The blocks differ only in that most of the inputs of the ALNI block are parameters of the ALN block. The ALN block does not have the HHA, HA, LA, LLA and NACK outputs.

Individual limit values can be set by the parameters (inputs) l, h, ll and hh. The hys value determines the alarm hysteresis. The outputs HHA, HA, LA, LLA and NACK indicate whether the alarm is active/unacknowledged.

Events and alarms are distinguished in the REXYGEN system using the lvl parameter. The list of archives for writing is specified by the arc parameter, e.g. 1,3..5,8. The event identification code in the archive id must be unique in the entire target device with the REXYGEN control system. For more information about these parameters see the introduction of Chapter 10. Positive values of the iac output codes can be added, e.g. the value 514 means that the upper alarm is unacknowledged. However, not all combinations make sense.

Note 1: The input (parameter) iACK is set back to 0 immediately by the block algorithm. The functionality is similar to the parameter BSTATE of the block MP.

Note2: The parameter Desc can include formatting characters (multilingual texts, associated variables). Formatting rules are described in the ALARMS block.

This block does not propagate the signal quality. More information can be found in the 1.4 section.

Input

u

Analog input of the block

Double (F64)

men

Enable alarms (mask)  15

Long (I32)

0 ....

All alarms disabled

1 ....

Low-alarm (LA) enabled

2 ....

High-alarm (HA) enabled

3 ....

LA and HA enabled

4 ....

Second low-alarm (LLA) enabled

5 ....

LA and LLA enabled

6 ....

HA and LLA enabled

7 ....

LA, HA and LLA enabled

8 ....

Second high-alarm (HHA) enabled

9 ....

LA and HHA enabled

10 ...

HA and HHA enabled

11 ...

LA, HA and HHA enabled

12 ...

LLA and HHA enabled

13 ...

LA, LLA and HHA enabled

14 ...

HA, LLA and HHA enabled

15 ...

All alarms enabled

hys

Alarm hysteresis   1e-10  1e+10

Double (F64)

hh

The second high-alarm limit

Double (F64)

h

High-alarm limit

Double (F64)

l

Low-alarm limit

Double (F64)

ll

The second low-alarm limit

Double (F64)

tout

Alarm activation delay time [s]   0.0

Double (F64)

iACK

Alarm acknowledge (mask)

Byte (U8)

1 ....

Low-alarm (LA) acknowledge

2 ....

High-alarm (HA) acknowledge

4 ....

Second low-alarm acknowledge (LLA)

8 ....

Second high-alarm acknowledge (HHA)

Parameter

acls

Alarm class (data type)  8

Byte (U8)

1 ....

Bool

2 ....

Byte (U8)

3 ....

Short (I16)

4 ....

Long (I32)

5 ....

Word (U16)

6 ....

DWord (U32)

7 ....

Float (F32)

8 ....

Double (F64)

10 ...

Large (I64)

arc

List of archives to write the events to

Word (U16)

id

Unique archive item ID  1

Word (U16)

lvl1

Level of low and high alarms   1 1

Byte (U8)

lvl2

Level of the second low and high alarms   1 10

Byte (U8)

group

Group to which the alarm belongs   0  9.22337E+18

Large (I64)

Desc

Alarm description string  Alarm Description

String

Output

iac

Current alarm code

Long (I32)

0 ....

Signal within limits

1 ....

Low-alarm active (LA)

2 ....

High-alarm active (HA)

4 ....

Second low-alarm active (LLA)

8 ....

Second high-alarm (HHA) active

256 ..

Low-alarm (LA) not acknowledged (NACK)

512 ..

High-alarm (HA) not acknowledged (NACK)

1024 .

Second low-alarm (LLA) not acknowledged (NACK)

2048 .

Second high-alarm (HHA) not acknowledged (NACK)

-1 ...

Invalid alarm limits

E

Error indicator

Bool

off ..

No error

on ...

An error occurred

HHA

The second high-alarm indicator

Bool

HA

High-alarm indicator

Bool

LA

Low-alarm indicator

Bool

LLA

The second low-alarm indicator

Bool

NACK

Not-acknowledged-alarm indicator

Bool

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