MC-Basic:PlcMotionStatusQuery

From SoftMC-Wiki
Revision as of 14:50, 5 November 2012 by Arwiebe (talk | contribs) (Created page with "{{MC-Basic |SHORT FORM= |SYNTAX= Print MotionStatusQuery(<''handle''>, <''index''>) |AVAILABILITY= 4.10.x |DESCRIPTION= Queries variables of a MotionStatus object. |TYPE= ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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