Difference between revisions of "MC-Basic:PlcMotionStatusDestroy"
Line 12: | Line 12: | ||
|TYPE= | |TYPE= | ||
− | Long | + | <''handle''>: Long |
|RANGE= | |RANGE= |
Revision as of 08:16, 14 November 2012
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)