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 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)