IAI America XSEL-QX User Manual

Page 206

Advertising
background image

182

Part 4 Commands

z PRDQ (Read current axis position (1 axis direct))

Command, declaration

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command,
declaration

Operand 1

Operand 2

Output

(Output, flag)

Optional Optional

PRDQ

Axis

number

Variable

number

CP

[Function] Read the current position of the axis number specified in operand 1 to the variable specified

in operand 2.
Axis No. 1: X-axis, Axis No. 2: Y-axis, Axis No. 3: Z-axis, Axis No. 4: R-axis, Axis Nos. 5, 6:
Additional linear movement axes

[Example]

PRDQ

2

100

Read the current position of the Y-axis (axis 2) to
variable 100.

Advertising
This manual is related to the following products: