IAI America SSEL User Manual
Page 174
152
Part 2 Programs
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 follows, “1” (binary 01) will be read
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, “3” (binary 11) will be stored
in variable 3.
The table below shows different positions and corresponding values stored in a variable.
Position Data Display in PC Software
No.
Axis 1
Axis 2
98
}
0 0 = 0 + 0 = 0
99 100.000
}
0 1 = 0 + 1 = 1
100 150.000
}
1 0 = 2 + 0 = 2
101 100.000
50.000
}
1 1 = 2 + 1 = 3