AXY:MC-Basic:group.ISMOVING
This property indicates whether the motion profiler is active. This flag indicates the motion profiler phase.
0 – group is not moving
1 – group is at the first motion phase (reaching cruise velocity ).If cruise velocity is greater than initial velocity, it indicates that the axes are accelerating.
2 – group is at constant velocity phase (cruise)
3 – group is at the third motion phase (reaching final velocity ). If final velocity is less than cruise velocity, it indicates that the axes are decelerating.
Special modes:
- -1 – When element is a slave (gear or cam) relevant for axis only.
- -2 – In drive procedure command (homing, tuning ,...)
- -4 – Moving Frame tracking mode (the value is returned unless an incremental move is issued).
NOTE | |
The isMoving flag is actually a state variable of an internal state machine, when sample din events (or recording) it will always indicate state of the next sample. Therefore a one-sample difference between time measurements using accelecmd and ismoving can occur. See: Issue 5375 |
Syntax
?<group>.IsMoving
Availability
All versions
Type
Long
Range
-4 to 3
Scope
Configuration, Task or Terminal
Limitations
Read only
Examples
?XYTable.IsMoving