EasyManua.ls Logo

HEIDENHAIN TNC 426 PB - Page 938

HEIDENHAIN TNC 426 PB
1135 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
December 2001 Commands 7 89
Word processing
with the LOAD NOT
command
Syntax: LN (LOAD NOT)
Operands: B, W, D, K
Action:
Load the complement of the addressed operand, or of a constant, into the
word accumulator. If necessary, the accumulator is supplemented with the
correct algebraic sign. In contrast to logical operations, you must always begin
a sequence of word gating operations with an L command. You cannot replace
the L command with a logical gating instruction.
Example:
Gate the complement of byte B6 and byte B5 with AND, and assign the result
to byte B8.
Initial state:
Byte B5 = 2A (hex)
Byte B6 = B6 (hex)
Byte B8 = ?
Function STL Accumulator contents [bit] Operand contents [bit]
31..15 ..................... 7 ................. 0 7 ............. 0
Invert byte 6, and
load into the word
accumulator.
LN B6 0 ..... 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 10110110
Gate the contents of
word accumulator
and byte B5 with
AND.
A B5 0 ..... 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 00101010
Assign the gating
result to byte B8.
= B8 0 ..... 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 00001000

Table of Contents

Other manuals for HEIDENHAIN TNC 426 PB

Related product manuals