HEIDENHAIN TNC 306 Technical Manual User Manual
Page 365
![background image](https://www.manualsdir.com/files/815307/content/doc365.png)
3/2000
TNC 416/TNC 406/TNC 306
Commands
7-75
Command sequence without parentheses:
Line Instruction
Accumulator content
Operand content
x
x x x
x x x
x x x
1
L D12
1 5
0 0 0
1 5 0 0 0
2
+ K1000
1 6
0 0 0
3
/ D36
1 6 0
1 0 0
4
= D100
1 6 0
1 0 0
Commend sequence with parentheses:
Line
Instruction
Accumulator Contents
Operand Contents
1
L D12
x x x x x x x x x x
1 5 0 0 0
1 5 0 0 0
1 5 0 0 0
1 0 0 0
1 0
1 5 0 1 0
Program-stack:
1 5 0 0 0
2
+ [
3
L K1000
4
/ D36
5
]
6
= D100
1 5 0 1 0
1 5 0 1 0
1 0 0
Line 1:
The content of Double word D12 is loaded into the Word Accumulator.
Line 2:
Open parentheses: buffer the Accumulator content in the Program Stack.
Line 3:
A constant is loaded into the Word Accumulator.
Line 4:
The content of the Word Accumulator is divided by the content of Double word D12.
Line 5:
Close parentheses: Accumulator content is gated, corresponding to the command (+[, -[, x[
...) with the content of the Program Stack.
Line 6:
The result of the complete logical process is assigned to Double word D100.