Difference between revisions of "AXY:MC-Basic:group.ISMOVING"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
Line 11: Line 11:
 
|DESCRIPTION=
 
|DESCRIPTION=
 
This property indicates whether the motion profiler is active.
 
This property indicates whether the motion profiler is active.
 +
This flag indicates the motion profiler phase.
  
−
''                             ''       0 – group is not moving
+
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.
 
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.
−
 
−
This flag indicates the motion profiler phase.
 
  
 
2 – group is at constant velocity phase (cruise)
 
2 – group is at constant velocity phase (cruise)
Line 22: Line 21:
 
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.
 
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.
  
−
-1 - When element is a slave (gear or cam) relevant for axis only.
+
Special modes:
 +
* -1 - When element is a slave (gear or cam) relevant for axis only.
  
−
-2 - In drive procedure command (homing, tuning ,...)
+
* -2 - In drive procedure command (homing, tuning ,...)
  
−
-3 - Analog velocity or torque mode (SSSC only)
+
* <del> -3 - Analog velocity or torque mode (SSSC only)</del>
  
−
-4 – Moving Frame tracking mode
+
* -4 – Moving Frame tracking mode (the value is returned unless an incremental move is issued).
  
−
tracking procedure 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 [[Axystems:MC-Basic:axis.ACCELERATIONCOMMAND|accelecmd]] and ismoving can occur. See: {{Bugzilla|5375}}  }}
  
 
|TYPE=
 
|TYPE=
Line 57: Line 56:
 
|SEE ALSO=
 
|SEE ALSO=
  
 +
* [[Axystems:MC-Basic:axis.ISMOVING |axis.isMoving]]
  
 
}}
 
}}

Revision as of 07:46, 20 September 2011

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 ,...)
  • -3 - Analog velocity or torque mode (SSSC only)
  • -4 – Moving Frame tracking mode (the value is returned unless an incremental move is issued).


NOTE-Info.svgNOTE
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 5375Bugzilla icon.png

Syntax

?<GROUP>.IsMoving

Availability

All versions

Type

Long

Range

-4 to 3

Scope

Configuration, Task or Terminal

Limitations

Read-Only

Examples

?XYTable.IsMoving

See Also