Difference between revisions of "MC-Basic:PlcMotionStatusCreate"
Line 46: | Line 46: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[Axystems:MC-Basic:element.PlcMotionStatus|element.PlcMotionStatus]] |
* [[AXY:MC-Basic:PlcMotionStatusDestroy|PlcMotionStatusDestroy]] | * [[AXY:MC-Basic:PlcMotionStatusDestroy|PlcMotionStatusDestroy]] | ||
* [[AXY:MC-Basic:PlcMotionStatusQuery|PlcMotionStatusQuery]] | * [[AXY:MC-Basic:PlcMotionStatusQuery|PlcMotionStatusQuery]] |
Revision as of 15:22, 8 October 2013
Creates a new PlcMotionStatus object and returns a pointer in memory to it.
Syntax
<handle> = PlcMotionStatusCreate
Availability
4.10.x
Type
Long
Scope
Task or Terminal
Examples
dim MotStatHanlde as long MotStatHanlde = PlcMotionStatusCreate Move A1 100 PlcMotionStatus= MotStatHanlde while A1.isMoving sleep 100 Print PlcMotionStatusQuery(MotStatHanlde, 1) end while PlcMotionStatusDestroy(MotStatHanlde)