Difference between revisions of "AXY:MC-Basic:group.ISMOVING"
m |
|||
Line 31: | Line 31: | ||
− | {{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 [[ | + | {{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 [[MC-Basic:axis.ACCELERATIONCOMMAND|accelecmd]] and ismoving can occur. <br/> |
<!-- See: {{Bugzilla|5375}} --> }} | <!-- See: {{Bugzilla|5375}} --> }} | ||
Revision as of 08:43, 22 May 2014
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. |
Syntax
?<group>.IsMoving
Availability
All versions
Type
Long
Range
-4 to 3
Scope
Configuration, Task or Terminal
Limitations
Read only
Examples
?XYTable.IsMoving