beautypg.com

HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 552

background image


01.98

TNC 407/TNC 415/TNC 425

3 Commands

7-91

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 0 0 0

Program-stack:

1 5 0 0 0

2

>= [

3

L K1000

4

x D36

5

]

6

= O15

1

1 0

1 0 0 0 0

1 5 0 0 0

bit 31 . . .

7

0

x x x x

1

x x x x x x x

x x x x

1

x x x x x x x

Line 1:

The content of Doubleword D12 is loaded into the Word Accumulator.

Line 2:

Open parentheses: buffering of the Accumulator content in the Program Stack.

Line 3:

Loading of a Constant into the Word Accumulator.

Line 4:

The content of the Word Accumulator is multiplied by the content of Doubleword D12.

Line 5:

Close parentheses: Word Accumulator content is gated, corresponding to the
command(==[, >=[, <=[ ...) with the content of the Program Stack . The transition from
Word to Logic processing occurs in this program line. The Logic Accumulator is set or
reset, depending on the result of the comparison.

Line 6:

The result of the complete logical process is assigned to output O15.