Command Sequence Without Parentheses; Command Sequence With Parentheses - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

Command sequence without parentheses:

Line Instruction
x
1
L D12
2
+ K1000
3
/ D36
4
= D100

Command sequence with parentheses:

Line
Instruction
x
1
L D12
2
+ [
3
L K1000
4
/ D36
5
]
6
= D100
Line 1: The content of Doubleword 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 Doubleword 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 Doubleword D100.
01.98
TNC 407/TNC 415/TNC 425
Accumulator Content
x x x
x x x
1 5
1 6
Accumulator Contents
x x x
x x x
x x x
1 5
0 0 0
1 5
0 0 0
1
0 0 0
1 5
0 1 0
1 5
0 1 0
3 Commands
x x x
0 0 0
0 0 0
1 6 0
1 6 0
Operand Contents
1 0
Program-stack:
Operand Content
1 5
0 0 0
1 0 0
1 0 0
1 5
0 0 0
1 0 0
1 5
0 1 0
1 5
0 0 0
7-87

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents