IAI America XSEL-KX User Manual
Page 135
Advertising

119
Part 4 Commands
PRDQ (Read current axis position (1 axis direct))
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1
Operand 2
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
[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: