beautypg.com

IAI America SSEL User Manual

Page 166

background image

144

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.
When data is cleared, the field no longer contains data, which is different from the value of
0.000. The position data display on the teaching pendant changes to X.XXX while position
data fields in the PC software become 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).