7 – 116 HEIDENHAIN Technical Manual TNC 426, TNC 430 
7.7.27 MULTIPLICATION (X)
Syntax: x (MULTIPLY)
Operands: B, W, D, K
Action:
The TNC 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 TNC cannot execute the multiplication 
correctly, it then sets marker M4200; otherwise it resets it.
Example:
Multiply the constant and 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 = ?
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).
Logic Byte/Word Double word Constant
Processing time [s] – 3.5 to 4.3 3.2 to 3.8 3.0 to 3.8
Number of bytes – 14 10 14
Function STL Accumulator content (dec) Operand content (dec)
x xxx xxx xxx
Load the constant 
into the word 
accumulator.
L K100 100
Multiply the content 
of the word 
accumulator with 
word W6.
x W6 2000 20
Assign the result to 
double word D8.
= D8 2000 2000
Set Reset
M4200 Overflow during multiplication NC PLC