IAI America ASEL User Manual

Page 154

Advertising
background image

Part 2 Programs

Chapter 3 Explanation of Commands

132

Part 2 Programs

z

PCLR (Clear position data)

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

PCLR

Position

number

Position

number

CP

[Function] Clear the position data from the one specified in operand 1 through the other specified in

operand 2.

Once the data has been deleted, the position data field no longer contains any data; it does

not store a value of “0.000.” The position data field on the teaching pendant shows “X.XXX,”

while the position data field in the PC software becomes blank.

[Example 1]

PCLR

10

20

Clear the data from position Nos. 10 through 20.

[Example 2]

LET

1

10

Assign 10 to variable 1.

LET

2

20

Assign 20 to variable 2.

PCLR

*1

*2

Clear the data of the content of variable 1 (position 10)

through the content of variable 2 (position 20).

Advertising