Difference between revisions of "AXY:MC-Basic:axis.ISMOVING"
(added: see also=axis.MOTIONSTATUS) |
m (Itay moved page MC-Basic:axis.ISMOVING to AXY:MC-Basic:axis.ISMOVING) |
||
| (27 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| + | __NOINDEX__ | ||
| + | <!-- {{Languages|MC-Basic:axis.ISMOVING}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
| − | |||
|SYNTAX= | |SYNTAX= | ||
| − | ?'' | + | ?<''axis''>.IsMoving |
|AVAILABILITY= | |AVAILABILITY= | ||
| Line 10: | Line 11: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
| + | |||
This flag indicates the state of the motion profiler. | This flag indicates the state of the motion profiler. | ||
| − | -1 | + | -1 = Element is a slave (gear or cam) unless an incremental move is issued, in which case the following values are valid: |
| − | + | <br> | |
| − | 0 | + | 0 = Element is not moving. |
| − | + | <br> | |
| − | 1 | + | 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. |
| − | + | <br> | |
| − | 2 | + | 2 = Element is at the second motion phase, constant velocity. |
| − | + | <br> | |
| − | 3 | + | 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. |
| − | + | In case of geared element this value is returned unless an incremental move is issued.<br> | |
| + | For a geared element, this value is returned unless an incremental move is issued. | ||
| − | |||
| − | + | {{Note| The IsMoving flag is actually a state variable of an internal state machine. When sampling (or recording) digital input events, it will always indicate the 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}} --> <!--}} | ||
| − | + | |TYPE= | |
| − | |TYPE= | ||
Long | Long | ||
| − | |RANGE= | + | |RANGE= |
-1 to 3 | -1 to 3 | ||
| − | |UNITS= | + | |UNITS= |
| + | |DEFAULT= | ||
| − | | | + | |SCOPE=Configuration, Task or Terminal |
| − | + | |LIMITATIONS= | |
| − | + | Read only | |
| − | |||
| − | |||
| − | |LIMITATIONS= | ||
| − | Read | ||
|EXAMPLE= | |EXAMPLE= | ||
| − | While a1. | + | While a1.IsMoving >0 <br> |
| − | |||
End While | End While | ||
| + | :::waits for profiler to finish | ||
|SEE ALSO= | |SEE ALSO= | ||
| − | * [[ | + | * [[MC-Basic:axis.ISSETTLED|axis.ISSETTLED]] |
| − | * [[ | + | * [[MC-Basic:axis.MOTIONSTATUS|axis.MOTIONSTATUS]] |
}} | }} | ||
| + | --> | ||
Latest revision as of 14:14, 13 August 2017