06.08.2013 Views

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example:<br />

Initial state: Constant = 1000 (decimal)<br />

Doubleword D12 = 15000 (decimal)<br />

Doubleword D36 = 10 (decimal)<br />

Output O15 = ?<br />

The Accumulator contents and operand contents are shown in decimal notation. The ten-position<br />

Accumulator thus permits the maximum possible Accumulator content of 2 147 483 647.<br />

The Accumulator is again represented in binary notation after program line 5, as the transition to<br />

logic execution occurs here.<br />

Line Instruction Accumulator Contents Operand Contents<br />

1 L D12<br />

2 >= [<br />

3 L K1000<br />

4 x D36<br />

5 ]<br />

x x x x x x x x x x<br />

1 5 0 0 0<br />

1 5 0 0 0<br />

1 0 0 0<br />

1 0 0 0 0<br />

bit 31 . . . 7 0<br />

x x x x 1 x x x x x x x<br />

6 = O15 x x x x 1 x x x x x x x<br />

1<br />

Program-stack:<br />

1 5 0 0 0<br />

1 5 0 0 0<br />

Line 1: The content of Doubleword D12 is loaded into the Word Accumulator.<br />

Line 2: Open parentheses: buffering of the Accumulator content in the Program Stack.<br />

Line 3: Loading of a Constant into the Word Accumulator.<br />

Line 4: The content of the Word Accumulator is multiplied by the content of Doubleword D12.<br />

Line 5: Close parentheses: Word Accumulator content is gated, corresponding to the<br />

command(==[, >=[,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!