Difference between revisions of "AXY:MC-Basic:axis.ISMOVING"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= ?''<axis>''.IsMoving |AVAILABILITY= All versions |DESCRIPTION= This flag indicates the state of the motion profiler. -1 – element is a sla…') |
m (1 revision) |
(No difference)
| |
Revision as of 16:10, 13 December 2010
This flag indicates the state of the motion profiler.
-1 – element is a slave (gear or cam) unless an incremental move is issued, in which instance the following values are valid:
0 – element is not moving.
1 – element is at the first motion phase (reaching cruise velocity ).If cruise velocity is greater than initial velocity, it indicates that the axis is accelerating.
2 – element is at the second motion phase, constant velocity.
3 – element is at the third motion phase (reaching final velocity ). If final velocity is less than cruise velocity, it indicates that the axis is decelerating.
-1 - When element is a slave (gear or cam.
-2 - In drive procedure command (homing, tuning ,...)
In case of geared element this values is returned unless an incremental move is issued.
Syntax
?<axis>.IsMoving
Availability
All versions
Type
Long
Range
-1 to 3
Scope
Configuration, Task or Terminal
Limitations
Read-Only
Examples
While a1.ismoving >0 ‘wait for profiler to finish
End While