Difference between revisions of "MC-Basic:PlcMotionStatusQuery"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{MC-Basic |SHORT FORM= |SYNTAX= Print MotionStatusQuery(<''handle''>, <''index''>) |AVAILABILITY= 4.10.x |DESCRIPTION= Queries variables of a MotionStatus object. |TYPE= ...")
 
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:MotionStatusDestroy|MotionStatusDestroy]]
 
* [[AXY:MC-Basic:MotionStatusDestroy|MotionStatusDestroy]]

Revision as of 09:02, 8 November 2012

Queries variables of a MotionStatus object.

Syntax

Print MotionStatusQuery(<handle>, <index>)

Availability

4.10.x

Type

Long

Range

  • index: 1 ..

Scope

Task or Terminal

Limitations

  • Read-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