HEIDENHAIN TNC 306 Technical Manual User Manual
Page 319
![background image](https://www.manualsdir.com/files/815307/content/doc319.png)
3/2000
TNC 416/TNC 406/TNC 306
Commands
7-29
Word execution with the LOAD NOT command
Operands: B, W, D, K
Operation:
The complement of the contents of the addressed Operand (B, W, D) or Constant (K) is loaded into
the Word Accumulator. In addition, the Accumulator is filled, if necessary, according to the sign bit.
In contrast to logic execution a word gating chain must always start with a load command. It is not
possible to use a gating command.
Example:
The complement of Byte B6 and Byte B5 is to be gated with AND and the result assigned to Byte
B8.
Initial state:
Byte B5 = 2A (hex)
Byte B6 = B6 (hex)
Byte B8 = ?
Line Instruction
Accumulator contents
Operand contents
Bit
31 . . . 15
7
0
7 0
... x x x x x x x x x x x x x x x x x x
1
LN B6
... 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1
10110110
2
A B5
... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
00101010
3
= B8
... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
00001000
Line 1: The inverted contents of Byte B6 are loaded into the Word Accumulator.
Line 2:
The contents of the Word Accumulator and Byte B5 are gated with AND.
Line 3:
The gating result is assigned to Byte B8.