IAI America XSEL-KE User Manual
Page 145
![background image](/manuals/350328/145/background.png)
130
Part 4 Commands
z PAXS (Read axis pattern)
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
PAXS
Variable
number
Position
number
CP
[Function] Store the axis pattern at the position specified in operand 2 to the variable specified in
operand 1.
[Example 1]
PAXS
1
99
Read the axis pattern at position 99 to variable 1.
If the position is given as follo
ZV³´ELQDU\ZLOOEHUHDG
to variable 1.
[Example 2]
LET
1
3
Assign 3 to variable 1.
LET
2
101
Assign 101 to variable 2.
PAXS
*1
*2
Read the axis pattern at the content of variable 2 (position
101) to the content of variable 1 (variable 3).
If the point is given as follows
³´ELQDU\ZLOOEHVWRUHG
in variable 3.
The table below shows different positions and corresponding values stored in a variable.
Axis 1
Axis 2
98 XX.XXX
XX.XXX
0 0 = 0 + 0 = 0
99 100.XXX
XX.XXX
0 1 = 0 + 1 = 1
100 XX.XXX
150.000
1 0 = 2 + 0 = 2
101 100.000
50.000
1 1 = 2 + 1 = 3