IAI America XSEL-S User Manual
Page 114
Chapter 3 Programs
106
z
XPVL (extension motion control board axis speed data write)
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
XPVL
Axis No.
Position No.
CP
[Function]
Write the speed [mm/s] of position No. specified in operand 2 of extension motion control
board axis No. specified in operand 1 to variable 199 (valid until 2 decimal places).
[Example 1] LET
199
100
Assign 100 to variable 199.
XPVL
2
3
Write speed 100 mm/s of variable 199 to position No.3 of axis
2.
[Example 2] LET
199
100
Assign 100 to variable 199.
LET
1
2
Assign 2 to variable 1.
LET
2
3
Assign 3 to variable 2.
XPVL
*1
*2
Write speed 100 mm/s of variable 199 to position No. 3
(content of variable 2) of axis 2 (content of variable 1).
z
XPAC (extension motion control board axis acceleration data write)
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
XPAC
Axis No.
Position No.
CP
[Function]
Write value the content of variable 199 to acceleration [G] of position No. specified in operand
2 of extension motion control board axis No. specified in operand 1 (valid until 2 decimal
places).
[Example 1] LET
199
0.3
Assign 0.3 to variable 199.
XPAC
2
3
Write acceleration 0.3 G of variable 199 in position No. of axis
2.
[Example 2] LET
199
0.3
Assign 0.3 to variable 199.
LET
1
2
Assign 2 to variable 1.
LET
2
3
Assign 3 to variable 2.
XPAC
*1
*2
Write acceleration 0.3G of variable 199 in position No. 3
(content of variable 2) of axis 2 (content of variable 1).