Difference between revisions of "MC-Basic:element.PlcMotionStatus"
Line 3: | Line 3: | ||
|SYNTAX= | |SYNTAX= | ||
− | <element>. | + | <element>.PlcMotionStatus |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 9: | Line 9: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | Transfers a pointer to the | + | Transfers a pointer to the PlcMotionStatus object used to implement PLCOpen motion commands. |
Used in: | Used in: | ||
* MOVE | * MOVE | ||
Line 40: | Line 40: | ||
dim MotStatHanlde as long | dim MotStatHanlde as long | ||
− | MotStatHanlde = | + | MotStatHanlde = PlcMotionStatusCreate |
− | Move A1 | + | Move A1 PlcMotionStatus= MotStatHanlde |
do | do | ||
sleep 100 | sleep 100 | ||
− | loop until | + | loop until PlcMotionStatusQuery(MotStatHanlde, MOT_READY) |
− | + | PlcMotionStatusDestroy(MotStatHanlde) | |
</pre> | </pre> | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[AXY:MC-Basic:PlcMotionStatusCreate| | + | * [[AXY:MC-Basic:PlcMotionStatusCreate|PlcMotionStatusCreate]] |
− | * [[AXY:MC-Basic:PlcMotionStatusDestroy| | + | * [[AXY:MC-Basic:PlcMotionStatusDestroy|PlcMotionStatusDestroy]] |
− | * [[AXY:MC-Basic:PlcMotionStatusQuery| | + | * [[AXY:MC-Basic:PlcMotionStatusQuery|PlcMotionStatusQuery]] |
}} | }} | ||
[[Category:Axystems:PLC]] | [[Category:Axystems:PLC]] |
Revision as of 09:05, 8 November 2012
Transfers a pointer to the PlcMotionStatus object used to implement PLCOpen motion commands. Used in:
- MOVE
- MOVES
- JOG
- TORQUE
- CIRCLE
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)