Word Execution With The Load Not Command - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

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:
Line Instruction
Bit
1
LN B6
2
A B5
3
= B8
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.
01.98
TNC 407/TNC 415/TNC 425
Byte B5 = 2A (hex)
Byte B6 = B6 (hex)
Byte B8 = ?
Accumulator Contents
31 . . . 15
... x x x x x x x x x x x x x x x x x x
... 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1
... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
... 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
3 Commands
7
0
Operand Contents
7
0
10110110
00101010
00001000
7-39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents

Save PDF