beautypg.com

IAI America PSEL User Manual

Page 148

background image




138

Part 2 Programs


 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.
The cleared data is no longer stored, which is different from storage of “0.000.” The position
data table shows “X.XXX” on the teaching pendant or the poison data display becomes blank
in the PC software.


[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).