Multiplication (X) - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.8.26 MULTIPLICATION (X)

July 2013
x (MULTIPLY)
Syntax:
B, W, D, K
Operands:
Action:
The iTNC extends the operand to the width of the accumulator (32 bits) and
then multiplies the content of the operand with the content of the word
accumulator. The result of the operation is stored in the word accumulator
where you can process it further. If the iTNC cannot execute the multiplication
correctly, it then sets marker M4200, otherwise it resets it.
Example:
Multiply the constant by the number saved in word W6, then assign the result
to double word D8.
Initial state:
Constant
= 100 (dec)
Word
W6
= 20 (dec)
Double word D8
= ?
Function
Load the constant into the
word accumulator.
Multiply the content of
the word accumulator by
word W6.
Assign the result to
double word D8.
M4200
Overflow during multiplication
9.8 Command Set
STL
Accumulator
content
L K100
100
x W6
2000
= D8
2000
Operand content
20
2000
Set
Reset
NC
PLC
1789

Advertisement

Table of Contents
loading

Table of Contents