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

From SoftMC-Wiki
Jump to: navigation, search
Line 54: Line 54:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:PlcMotionStatusCreate|PlcMotionStatusCreate]]
+
* [[MC-Basic:PlcMotionStatusCreate|PlcMotionStatusCreate]]
 
* [[Axystems:MC-Basic:PlcMotionStatusDestroy|PlcMotionStatusDestroy]]
 
* [[Axystems:MC-Basic:PlcMotionStatusDestroy|PlcMotionStatusDestroy]]
 
* [[Axystems:MC-Basic:PlcMotionStatusQuery|PlcMotionStatusQuery]]
 
* [[Axystems:MC-Basic:PlcMotionStatusQuery|PlcMotionStatusQuery]]

Revision as of 08:39, 22 May 2014

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

  • MOVE
  • MOVES
  • JOG
  • TORQUE
  • CIRCLE
  • SINEWAVE

Syntax

<element>.PlcMotionStatus

Availability

4.10.x

Type

Long

Units

N/A

Default

0

Scope

Task or Terminal

Limitations

Nodal-Only

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