Validity: Rule, Task
This variable contains the mask of powered axes.
If axes CAN, the status is SWITCHED ON (status_word 0x3) or OPERATION ENABLED (status_word 0x7).
If non-fieldbus axes the status can be powered with presence or absence of the enable signal.
Syntax |
I32 powered_ax |
---|---|
Attributes |
Read only. Bit-accessible |
Example
; axesInPower will contain the mask of powered axes axesInPower = powered_ax |
Example
; if axis 1 is powered in the string register sr(1) ; the string "axis 1 is in power" will be stored if(powered_ax.0) sr(1) = "axis 1 is in power" endif |