Word Execution With The Assign Command - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

Word execution with the ASSIGN command

Operands: B, W, D
Operation:
ASSIGN in conjunction with the Word-Operands (B, W, D) copies the contents of the Word
Accumulator to the addressed operand. In contrast to bit processing, the = command can also be
used within a word gating chain. The command can be used several times in succession (see
example).
Example:
A Constant (K) and the contents of Byte B5 should be gated with AND and the result assigned to
Byte B8 and Byte B10.
Initial state:
Line Instruction
Bit
1
L K+54
2
A B5
3
= B8
4
= B10
5
= B10
Line 1: The Constant is loaded into the Word Accumulator.
Line 2: The contents of the Word Accumulator is stored in B8
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.
Line 4: The gating result is assigned to Byte B10.
7-44
TNC 407/TNC 415/TNC 425
Byte
B5 = 2A
Constant
54 = 36
Byte
B8 = ?
Byte
B10 = ?
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 0 1 1 0 1 1 0
... 0 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 0 1 0 0 0 1 0
... 0 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 1 0 0 0 0
3 Commands
(hex)
(hex)
7
0
Operand Contents
7
0
00101010
00100010
00100010
01010000
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents