IAI America XSEL-KE User Manual
Page 141

126
Part 4 Commands
z PTST (Check position data)
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
PTST
Axis
pattern
Position
number
CC
[Function] 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).
³´LVWUHDWHGDVYDOLGGDWD
>([DPSOH@
3767
7XUQ21RXWSXWLIWKHUHDUHQRYDOLGYDOXHVRID[HV
DQGDWSRVLWLRQ
2XWSXWZLOOWXUQ2))LIWKHSRVLWLRQGDWDLVJLYHQDV
follows:
[Example 2]
The axis pattern can be specified indirectly using a variable.
When the command in [Example 1] is rephrased based on indirect specification using a
variable:
11 (binary)
oGHFLPDO
/(7
$VVLJQWRYDULDEOH
3767
>([DPSOH@
/(7
$VVLJQWRYDULDEOH
3767
7XUQ21IODJLIWKHUHDUHQRYDOLGYDOXHVLQWKHGDWD
of axes 1 and 2 at the content of variable 1 (position
11).
)ODJZLOOWXUQ21LIWKHSRVLWLRQGDWDLVJLYHQDV
follows:
1R
$[LV
$[LV
$[LV
6SHHG
$FFHOHUDWLRQ
'HFHOHUDWLRQ
;;;;;;;
;;;
;;;;
;;;;
;;;;;;;
;;;;;;;
;;;
;;;;
;;;;