And Not (An) - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.7.20 AND NOT (AN)

Logic processing
with the AND NOT
command
Function
Load the operand
content into the logic
accumulator.
Gate the content of
logic accumulator
and input I5 with
AND NOT.
Assign the gating
result to output O2.
7 – 104
Syntax:
AN (AND NOT)
Operands:
M, I, O, T, C
Action:
n
At the beginning of a logic sequence, this command functions like an LN
command, i.e., the logical state of the operand is loaded into the logic
accumulator. However, you should always begin a sequence of logical
gating operations with a load command (see L, LN, L–).
n
Within a logic sequence, gate the content of the logic accumulator and the
logical state of the operand with AND NOT. The TNC saves the result of the
operation in the logic accumulator.
Example:
Gate the inputs I4 and I5 with AND NOT, and assign the result to output O2.
Initial state:
Input
I4
= 1
Input
I5
= 1
Output
O2
= ?
STL
Accumulator contents [bit]
31..15 ..................... 7 ................. 0
L I4
x ..... x x x x x x x x 1 x x x x x x x
AN I5
x ..... x x x x x x x x 0 x x x x x x x
= O2
x ..... x x x x x x x x 0 x x x x x x x
HEIDENHAIN Technical Manual TNC 426, TNC 430
Operand contents [bit]
1
1
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents