Part 4 Commands
PTST (Check position data)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Optional Optional PTST
Axis
pattern
Position
number
CC
Check if valid data is contained in the axis pattern specified in operand 1 at the position
number specified in operand 2.
The output will turn ON when all of the data specified by the axis pattern is invalid (XX.XXX).
“0” is treated as valid data.
Turn ON output 300 if there are no valid values of the
X and Y-axes at position 10.
Output 300 will turn OFF if the position data is given
as follows:
The axis pattern can be specified indirectly using a variable. When indirect variable
specification is used, [Example 1] can be rephrased as follows:
→
PTST 1011 *1 600 Turn ON flag 600 if there are no valid values in the
data of the X, Y and R-axes at the content of variable
1 (position 11).
Flag 600 will turn ON if the position data is given as
Commentaires sur ces manuels