Validity: Rule, Task
This variable provides information about the type of alarms in the stack.
Syntax |
I32 al_pres |
---|---|
Attributes |
Bit-accessible. Read-only |
The meaning of the bits is as follows:
Bit |
Hexadecimal value |
Description |
---|---|---|
BIT 0 |
0x1 |
Major axis alarm |
BIT 1 |
0x2 |
Minor axis alarm |
BIT 2 |
0x4 |
Axis warning |
BIT 4 |
0x10 |
General major alarm |
BIT 5 |
0x20 |
General minor alarm |
BIT 6 |
0x40 |
General warning |
NOTE: The al_pres bits do not handle alarms excluded from AM handling.
Examples
; if bit 0 of al_pres is equal to 1 ; then in sr(1) will be stored ; "A major alarm of axis is present" _if(al_pres r_and 1) sr(1) = "A major alarm of axis is present" |