MC-Basic:PlcMotionStatusQuery
Queries variables of a PlcMotionStatus object.
Syntax
Print PlcMotionStatusQuery(<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 = PlcMotionStatusCreate Move A1 PlcMotionStatus= MotStatHanlde do sleep 100 loop until PlcMotionStatusQuery(MotStatHanlde, MOT_READY) PlcMotionStatusDestroy(MotStatHanlde)