Chapter 4. programming – IAI America S-SEL-E User Manual
Page 164
Page 159
Chapter 4. Programming
PCLR (Clear Position Data)
[Function]
Clears the data in the range of positions designated by Operand 1 and Operand 2 (becomes XX.XXX, not
0.00).
[Example]
PCLR
10
20
Clears data from position 10 in Operand 1 through position 20 in Operand 2.
[Function]
Reads the current coordinates of the axis designated in Operand 1 and writes it to the position designated in
Operand 2.
* This command can take in up to three decimal places.
* Please be sure that there is no error in the last digit after multiplication and division.
[Example]
PRED
11
10
Write the current coordinates of axis 1 and axis 2 designated in Operand 1 into position 10.
PRED (Read Coordinates)
E x p a n s io n
c o n d itio n
( A N D · O R )
In p u t
c o n d itio n
( I/O · F la g )
C o m m a n d
P o s t
( O u tp u t p o r t · F la g )
C o m m a n d
O p e r a n d 1
O p e r a n d 2
O p tio n a l
O p tio n a l
P C L R
P o s itio n n o .
P o s itio n n o .
E x p a n s io n
c o n d itio n
( A N D · O R )
In p u t
c o n d itio n
( I/O · F la g )
C o m m a n d
P o s t
( O u tp u t p o r t · F la g )
C o m m a n d
O p e r a n d 1
O p e r a n d 2
O p tio n a l
O p tio n a l
P R E D
A x is p a tte r n
P o s itio n n o .