Difference between revisions of "MC-Basic:PlcMotionStatusDestroy"

From SoftMC-Wiki
Jump to: navigation, search
Line 47: Line 47:
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[Axystems:MC-Basic:element.PlcMotionStatus|element.PlcMotionStatus]]
 
* [[Axystems:MC-Basic:element.PlcMotionStatus|element.PlcMotionStatus]]
* [[AXY:MC-Basic:PlcMotionStatusCreate|PlcMotionStatusCreate]]
+
* [[Axystems:MC-Basic:PlcMotionStatusCreate|PlcMotionStatusCreate]]
 
* [[AXY:MC-Basic:PlcMotionStatusQuery|PlcMotionStatusQuery]]
 
* [[AXY:MC-Basic:PlcMotionStatusQuery|PlcMotionStatusQuery]]
  

Revision as of 15:24, 8 October 2013

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)

See Also