Difference between revisions of "MC-Basic:element.MOTIONSTATUS"

From SoftMC-Wiki
Jump to: navigation, search
(motionStatus propery)
 
m
Line 13: Line 13:
  
 
Accstatus = (Ax.motionstatus shr 8) band 0b1111  
 
Accstatus = (Ax.motionstatus shr 8) band 0b1111  
   0 - element acceleration is increasing
+
   -0 - element acceleration is increasing
   1 - element in accleration satruration phase
+
   -1 - element in accleration satruration phase
   2 - accleration "decrease"
+
   -2 - accleration "decrease"
   3 - zero accleration
+
   -3 - zero accleration
   4 - Trapez Linear acceleration "increase"
+
   -4 - Trapez Linear acceleration "increase"
   5 - Trapez accleration satruration
+
   -5 - Trapez accleration satruration
   6 - Trapez accleration "decrease"
+
   -6 - Trapez accleration "decrease"
   7 - Trapez zero accleration  
+
   -7 - Trapez zero accleration  
  
  

Revision as of 09:39, 13 July 2011

This flag indicates the state of the acceleration.

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

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

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