EasyManua.ls Logo

HEIDENHAIN TNC 430 PA/M - Addition (+)

HEIDENHAIN TNC 430 PA/M
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...
7 114 HEIDENHAIN Technical Manual TNC 426, TNC 430
7.7.25 ADDITION (+)
Syntax: + (PLUS)
Operands: B, W, D, K
Action:
The TNC extends the operand to the width of the accumulator (32 bits) and
then adds the content of the operand to the content of the word accumulator.
The result of the operation is stored in the word accumulator where you can
process it further.
Example:
Add the constant and the number saved in word W6, then assign the result to
double word D8.
Initial state:
Constant = 10 000 (dec)
Word W6 = 200 (dec)
Double word D8 = ?
To improve clarity, the contents of the accumulator and operand are shown in
decimal notation. The ten-digit accumulator results from the greatest possible
accumulator content (2 147 483 647).
Function STL Accumulator content (dec) Operand content (dec)
x xxx xxx xxx
Load the constant
into the word
accumulator.
L
K10000
10 000
Add the content of
the word
accumulator and
word W6.
+ W6 10 200 200
Assign the result to
double word D8.
= D8 10 200 10 200

Table of Contents

Related product manuals