User Manual
7. Description of the commands
7−88
Festo P.BE−S PC200−EN en 0901d
#TN
Test single−bit operand for 0−signal
permitted in operating modes: Start/Stop
Nn #TN<Operand> <Record number>
<Operand> Fn
Flag with number Fn n = 0 ... 63
Fn
Axis status flag
1)
n = 64 ... 127
In.n
Permitted inputs: all existing inputs n.n = 0.0 ... 13.15
Qn.n
Permitted outputs: all existing outputs n.n = 0.0 ... 13.15
<Record
b
n
Record number n = 0 ... 999
number>
Rn
Record number saved in register Rn n = 0 ... 99
Effect A branch is made to the specified NC record if the single−bit operand supplies a
0−signal. Otherwise the following NC record will be processed.
Permitted operands are all single−bit operands. See also chapter 7.2.
Example
N030 #TNI0.0 30
;Wait until I0.0 supplies a 0−signal
Remark See also under Test register"
1)
This syntax is only available as from operating system version 4.63. It is not supported by the
control panel.
Axis status flag Flag number of the axis
Name
Meaning
X Y Z U
REF Reference set 64 65 66 67
MC Motion Complete 72 73 74 75
TOL Axis in the tolerance
window
80 81 82 83
MOV The axis moves 84 85 86 87