beautypg.com

IAI America XSEL-S User Manual

Page 111

background image

5. Program Creating

105

X-SEL

ż: Valid

z

RPRQ (Read current RC axis position [direct reading

of 1 axis])

RC position

data mode

RC

ż: Valid

Command, declaration

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command,

declaration Operand 1

Operand 2

Output operation

type (output, flag)

Free

Free

RPDQ

RC axis

number

Variable

number

CP

[Function]

Read the current position of the RC axis into the variable specified by operand 2.

With this command, the current position can be acquired more quickly than when the RPRD

command is used.

[Example]

RPDQ

2

100

Read the current position of axis 2 into variable No.100.

This manual is related to the following products: