Difference between revisions of "MC-Basic:element.PlcMotionStatus"
Line 16: | Line 16: | ||
* TORQUE | * TORQUE | ||
* CIRCLE | * CIRCLE | ||
+ | * SINEWAVE | ||
+ | |||
|TYPE= | |TYPE= |
Revision as of 14:33, 11 November 2012
Transfers a pointer to the PlcMotionStatus object used to implement PLCOpen motion commands. Used in:
- MOVE
- MOVES
- JOG
- TORQUE
- CIRCLE
- SINEWAVE
Syntax
<element>.PlcMotionStatus
Availability
4.10.x
Type
Long
Units
N/A
Default
0
Scope
Task or Terminal
Limitations
Nodal-Only
Examples
dim MOT_READY as const long = 123 dim MotStatHanlde as long MotStatHanlde = PlcMotionStatusCreate Move A1 PlcMotionStatus= MotStatHanlde do sleep 100 loop until PlcMotionStatusQuery(MotStatHanlde, MOT_READY) PlcMotionStatusDestroy(MotStatHanlde)