Difference between revisions of "MC-Basic:PlcMotionStatusCreate"
m (Arwiebe moved page AXY:MC-Basic:MotionStatusCreate to AXY:MC-Basic:PlcMotionStatusCreate) |
|||
Line 47: | Line 47: | ||
|SEE ALSO= | |SEE ALSO= | ||
* [[AXY:MC-Basic:element.PlcMotionStatus|element.MotionStatus]] | * [[AXY:MC-Basic:element.PlcMotionStatus|element.MotionStatus]] | ||
− | * [[AXY:MC-Basic: | + | * [[AXY:MC-Basic:PlcMotionStatusDestroy|MotionStatusDestroy]] |
* [[AXY:MC-Basic:MotionStatusQuery|MotionStatusQuery]] | * [[AXY:MC-Basic:MotionStatusQuery|MotionStatusQuery]] | ||
Revision as of 09:03, 8 November 2012
Creates a new MotionStatus object and returns a pointer in memory to it.
Syntax
<handle> = MotionStatusCreate
Availability
4.10.x
Type
Long
Scope
Task or Terminal
Examples
dim MOT_READY as const long = 123 dim MotStatHanlde as long MotStatHanlde = MotionStatusCreate Move A1 MotionStatus= MotStatHanlde do sleep 100 loop until MotionStatusQuery(MotStatHanlde, MOT_READY) MotionStatusDestroy(MotStatHanlde)