MC-Basic:PlcMotionStatusDestroy
Revision as of 15:25, 8 October 2013 by Miborich (talk | contribs) (Miborich moved page AXY:MC-Basic:PlcMotionStatusDestroy to Axystems:MC-Basic:PlcMotionStatusDestroy)
Destroys a PlcMotionStatus object and frees its memory.
Syntax
PlcMotionStatusDestroy(<handle>)
Availability
4.10.x
Type
<handle>: 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)