This function allows you to check if there is an alarm in the alarm stack (32 locations) by also specifying the value of one or more USV parameters.
Syntax |
bool is_alarm_par_present_us (i32 nAl, i32 nAx, u32 parMask [, string s1=0] [, string s2=0] [, string s3=0]) |
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
nAl |
Alarm number whose presence to check (0 or 1-:-9999) |
||||||||||||||||||
nAx |
Axis number in alarm (1-:-32) or 0 if non-axis alarm |
||||||||||||||||||
parMask |
Mask to indicate which parameters are affected:
|
||||||||||||||||||
s1 |
User string to be used as the first parameter of the alarm. (optional, default 0) |
||||||||||||||||||
s2 |
User string to be used as the second parameter of the alarm. (optional, default 0) |
||||||||||||||||||
s3 |
User string to be used as the third parameter of the alarm. (optional, default 0) |
||||||||||||||||||
Result |
Returns:
|
||||||||||||||||||
Validity |
Rule, Task |
||||||||||||||||||
System Requirements |
From RTE 34.30.0 |
||||||||||||||||||
Note |
|
Example usage:
|