Validity: Rule, Task
This variable contains the axis mask under major alarm (bits 0÷15 of am (1-32)).
Syntax |
I32 ax_in_alarm |
---|---|
Attributes |
Bit-accessible. Read only |
The axis is in alarm if the corresponding bit is set to 1.
NOTE: To determine whether the axis is in alarm, RTE checks if at least one bit, among the major alarms (bits 0÷15) of the corresponding am is in one.
Example
; if bit 31 (corresponding to axis 32) ; of the variable ax_in_alarm is equal to 1 ; then in sr(1) will be stored the string ; "axis 32 is in alarm" _if(ax_in_alarm.31) sr(1) = "axis 32 is in alarm" |