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

From SoftMC-Wiki
Jump to: navigation, search
(try)
(try)
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<br/>
       1 = In position
+
       1 = In position<br/>
       2 = acceleration decrease
+
       2 = acceleration decrease<br/>
       3 = zero acceleration
+
       3 = zero acceleration<br/>
       4 = Trapez Linear acceleration is increasing
+
       4 = Trapez Linear acceleration is increasing<br/>
       5 = Trapez acceleration satruration
+
       5 = Trapez acceleration satruration<br/>
       6 = Trapez acceleration decreasing
+
       6 = Trapez acceleration decreasing<br/>
       7 = Trapez zero acceleration
+
       7 = Trapez zero acceleration<br/>
  
  

Revision as of 13:58, 14 July 2011

This flag indicates the state of the acceleration.
Accstatus = (Ax.motionstatus shr 8) band 0b1111

       0 = element acceleration is increasing

      1 = In position
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