Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1690

Hide thumbs Also See for MANUALplus 620:

Advertisement

8.15.24 ADDITION (+)
1690
Syntax:
+ (PLUS)
Operands:
B, W, D, K
Action:
The control 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
= ?
Function
Load the constant into the
word accumulator.
Add the content of the
word accumulator and
word W6.
Assign the result to
double word D8.
STL
Accumulator
content
L
10000
K10000
+ W6
10200
= D8
10200
HEIDENHAIN Technical Manual MANUALplus 620
Operand content
200
10200

Advertisement

loading