HEIDENHAIN TNC 426 PB/M Technical Manual page 936

Table of Contents

Advertisement

Word processing
with the LOAD
command
Function
STL
Load the constant
L K+54 0 ..... 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 0
into the word
accumulator.
Gate the contents
A B5
of word
accumulator and
byte B5 with AND.
Assign the gating
= B8
result to byte B8.
December 2001
Syntax:
L (LOAD)
Operands:
B, W, D, K
Action:
Load the value 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 a constant and byte B5 with AND, and assign the result to byte B8.
Initial state:
Constant
54
= 36 (hex)
Byte
B5
= 2A (hex)
Output
B8
= ?
Accumulator contents [bit]
31..15 ....................
0 ..... 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0
0 ..... 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0
Commands
Operand contents [bit]
7 ................. 0
7 .............
0
0 0 1 0 1 0 1 0
0 0 1 0 0 0 1 0
7 – 87

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