This function allows you to check if there is an alarm in the alarm stack (32 positions).
Syntax |
i32 is_alarm_present ([i32 nAl=0] [, i32 nAx=0]) |
||||||
---|---|---|---|---|---|---|---|
nAl |
Alarm number whose presence to check (1-:-9999). (optional, default 0) |
||||||
nAx |
Axis number in alarm (1-:-32) or 0 if non-axis alarm. (optional, default 0) |
||||||
Result |
Returns:
|
||||||
Validity |
Rule, Task |
||||||
Note |
|
Example of use:
|