IAI America XSEL-KX User Manual
Page 133
![background image](/manuals/350295/133/background.png)
117
Part 4 Commands
PCPY (Copy position data)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1
Operand 2
Optional
Optional
PCPY
Position
number
Position
number
CP
[Function] Copy the position data specified in operand 2 to the position number specified in operand 1.
[Example 1]
PCPY
20
10
Copy the data of position No. 10 to position No. 20.
[Example 2]
LET
1
20
Assign 20 to variable 1.
LET
2
10
Assign 10 to variable 2.
PCPY
*1
*2
Copy the data of the content of variable 2 (position 10) to the
content of variable 1 (position 20).
This manual is related to the following products: