MC-Basic:PlcMotionStatusDestroy
Destroys a MotionStatus object and frees its memory.
Syntax
MotionStatusDestroy(<handle>)
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)