IAI America ASEL User Manual

Page 157

Advertising
background image

Part 2 Programs

Chapter 3 Explanation of Commands

135

Part 2 Programs

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.

The current position can be obtained more quickly than when a PRED command is used.

The current position of a synchronized slave axis can also be read.

[Example]

PRDQ

2

100

Read the current position of axis 2 to variable 100.

Advertising