MC-Basic:element.MOTIONSTATUS

From SoftMC-Wiki
Revision as of 13:48, 14 July 2011 by EranKo (talk | contribs) (try)
Jump to: navigation, search

This flag indicates whether the actual axis position is within the specified settling range. The settling range is defined by the PESETTLE property and is further qualified by the TIMESETTLE and TIMESETTLEMAX properties. When the motion profiler has completed, the absolute value of the position error (Position - Actual Position) is compared to the PESETTLE property. When the result is less than or equal to this property, for a time given by TIMESETTLE, the ISSETTLED flag is set. The TIMESETTLEMAX property sets a limit on the time to settle from the time the profiler has completed.
       0 = Not In position
       1 = In position

This flag indicates the state of the acceleration.

Accstatus = (Ax.motionstatus shr 8) band 0b1111

 -0 - element acceleration is increasing
 -1 - element in acceleration satruration phase
 -2 - acceleration decrease
 -3 - zero acceleration
 -4 - Trapez Linear acceleration is increasing
 -5 - Trapez acceleration satruration
 -6 - Trapez acceleration decreasing
 -7 - Trapez zero acceleration

Syntax

none

Availability

All versions

Type

Long

Range

TBD

Scope

Configuration, Task or Terminal

Limitations

Read-Only

Examples

?(Ax.motionstatus shr 8) band 0b1111

See Also