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

From SoftMC-Wiki
Jump to: navigation, search
(added: see also=axis.MOTIONSTATUS)
(added MOTIONSTATUS to SEE ALSO)
Line 55: Line 55:
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[Axystems:MC-Basic:axis.ISSETTLED|axis.ISSETTLED]]
 
* [[Axystems:MC-Basic:axis.ISSETTLED|axis.ISSETTLED]]
* [[Axystems:MC-Basic:axis.ISSETTLED|axis.MOTIONSTATUS]]
+
* [[Axystems:MC-Basic:axis.MOTIONSTATUS|axis.MOTIONSTATUS]]
  
  
 
}}
 
}}

Revision as of 07:17, 13 July 2011

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

See Also