beautypg.com

IAI America XSEL-S User Manual

Page 115

background image

5. Program Creating

109

X-SEL

ż: Valid

z

RPTQ (Write RC axis current-limiting value data

during push-motion operation)

RC position

data mode

RC

×: Invalid

(Note 1)

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

RPTQ

RC axis

number

Position

number

CP

Note 1 If the command is executed, an RC position data use method error (439) will occur.

[Function]

Write the value of variable 199 as the current-limiting value during push-motion operation [%]

for the position data specified by operand 2.

[Example 1] LET

199

50

Assign “50” to variable 199.

RPTQ

1

2

Write the current-limiting value in variable 199, or “50” %, to

RC position No.2 of axis 1.

Position data of axis 1

No.

Pos

Vel

Acc

Push

Inp

0

5.00

300

0.3

0

0.10

1

380.00

300

0.3

0

0.10

2

200.00

300

0.3

50

0.10

Variable 199

50

[Example 2] LET

199

50

Assign “50” to variable 199.

LET

1

2

Assign “2” to variable 1.

LET

2

3

Assign “3” to variable 2.

RPTQ

*1

*2

Write the current-limiting value in variable 199, or “50” %, to

the RC position number corresponding to the content “3” of

variable 2 of the axis specified by the content “2” of variable 1.

This manual is related to the following products: