HEIDENHAIN TNC 426 PB/M Technical Manual page 982

Table of Contents

Advertisement

Function
Load the double
word D12 into the
word accumulator.
Opening
parenthesis: Buffer
the accumulator
content onto the
program stack.
Load the constant
into the word
accumulator.
Multiply the content
of the word
accumulator with
double word W36.
Closing parenthesis:
Gate the
accumulator content
with the program
stack (==[, >=[ ...); if
condition not
fulfilled, set logic
accumulator to 0.
Assign the result to
output O15.
December 2001
Example:
Multiply a constant with double word D36, compare the result with double
word D12, and assign the result to output O15.
Initial state:
Constant
= 1000 (dec)
Double word D12
= 15000 (dec)
Double word D36
= 10 (dec)
Output
O15
= ?
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).
STL
Accumulator contents (dec or [bit])
L D12
== [
L K1000
x D36
31..15 ..................... 7 .................. 0
]
x ..... x x x x x x x x 0 x x x x x x x
= O15
x ..... x x x x x x x x 0 x x x x x x x
Commands
x
x x x
x x x
x x x
1 5
0 0 0
1 5
0 0 0
1
0 0 0
1 0
0 0 0
Operand content
(dec or [bits])
1 5 0 0 0
0
7 – 133
1 0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents