Difference between revisions of "MC-Basic:element.MOTIONSTATUS"
m |
|||
Line 10: | Line 10: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
+ | This read-only property queries a status of an element. The element status is returned every SERCOS communication cycle and comprises 32 bits: | ||
+ | |||
This flag indicates the state of the acceleration. | This flag indicates the state of the acceleration. | ||
Accstatus = (Ax.motionstatus shr 8) band 0b1111 | Accstatus = (Ax.motionstatus shr 8) band 0b1111 |
Revision as of 05:55, 17 July 2011
This read-only property queries a status of an element. The element status is returned every SERCOS communication cycle and comprises 32 bits:
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