Difference between revisions of "MC-Basic:PlcMotionStatusDestroy"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{MC-Basic |SHORT FORM= |SYNTAX= MotionStatusDestroy(<''handle''>) |AVAILABILITY= 4.10.x |DESCRIPTION= Destroys a MotionStatus object and frees its memory. |TYPE= Long |R...")
 
Line 46: Line 46:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[AXY:MC-Basic:element.MotionStatus|element.MotionStatus]]
+
* [[AXY:MC-Basic:element.PlcMotionStatus|element.MotionStatus]]
 
* [[AXY:MC-Basic:MotionStatusCreate|MotionStatusCreate]]
 
* [[AXY:MC-Basic:MotionStatusCreate|MotionStatusCreate]]
 
* [[AXY:MC-Basic:MotionStatusQuery|MotionStatusQuery]]
 
* [[AXY:MC-Basic:MotionStatusQuery|MotionStatusQuery]]

Revision as of 09:02, 8 November 2012

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)

See Also