Difference between revisions of "MC-Basic:element.PlcMotionStatus"

From SoftMC-Wiki
Jump to: navigation, search
Line 54: Line 54:
 
* [[AXY:MC-Basic:PlcMotionStatusCreate|MotionStatusCreate]]
 
* [[AXY:MC-Basic:PlcMotionStatusCreate|MotionStatusCreate]]
 
* [[AXY:MC-Basic:PlcMotionStatusDestroy|MotionStatusDestroy]]
 
* [[AXY:MC-Basic:PlcMotionStatusDestroy|MotionStatusDestroy]]
* [[AXY:MC-Basic:MotionStatusQuery|MotionStatusQuery]]
+
* [[AXY:MC-Basic:PlcMotionStatusQuery|MotionStatusQuery]]
 
}}
 
}}
  
 
[[Category:Axystems:PLC]]
 
[[Category:Axystems:PLC]]

Revision as of 09:03, 8 November 2012

Transfers a pointer to the MotionStatus object used to implement PLCOpen motion commands. Used in:

  • MOVE
  • MOVES
  • JOG
  • TORQUE
  • CIRCLE

Syntax

<element>.MotionStatus

Availability

4.10.x

Type

Long

Units

N/A

Default

0

Scope

Task or Terminal

Limitations

Nodal-Only

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