IAI America XSEL-S User Manual
Page 112
Chapter 3 Programs
104
z
XPCR (extension motion control board axis position data delete)
Command, declaration
Extension
condition
(LD, A, O, AB, OB)
Input condition
(I/O/flag)
Command,
declaration
Operand 1
Operand 2
Output part
operation type
(output/flag)
E
N, Cnd
Cmnd
Operand1
Operand2
Pst
Optional
Optional
XPCR
Axis No.
Variable No.
CP
[Function]
Delete position data of extension motion control board axis No. specified in operand 1 using 2
consecutive variables from variable No. specified in operand 2. The deleted data becomes
empty.
Variable No.
Setting
n
Start position No.
n + 1
End position No.
[Example 1] LET
200
10
Assign 10 to variable 200.
LET
201
20
Assign 20 to variable 201.
XPCR
1
200
Delete position No. 10-20 of axis 1.
z
XPCP (extension motion control board axis position data copy)
Command, declaration
Extension
condition
(LD, A, O, AB, OB)
Input condition
(I/O/flag)
Command,
declaration
Operand 1
Operand 2
Output part
operation type
(output/flag)
E
N, Cnd
Cmnd
Operand1
Operand2
Pst
Optional
Optional
XPCP
Axis No.
Variable No.
CP
[Function]
Copy position data of extension motion control board axis No. specified in operand 1 using
consecutive 2 variables from variable No. specified in operand 2.
Variable No.
Setting
n
Copy destination position No.
n + 1
Copy origin position No.
[Example 1] LET
200
20
Assign 20 to variable 200.
LET
201
10
Assign 10 to variable 201.
XPCP
1
200
Copy data of position No. 10 of axis 1 to No. 20.