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.

Examples for the commands AND [ ], AND NOT [ ], OR [ ], OR NOT [ ], EXCLUSIVE OR [ ],<br />

EXCLUSIVE OR NOT [ ].<br />

With the use of parentheses, an instruction listing may be developed according to the following logic<br />

block diagram.<br />

M500 ο⎯<br />

M501 ο⎯<br />

I0 ο⎯⎯⎯<br />

I1 ο⎯⎯⎯<br />

OR<br />

OR<br />

AND ⎯⎯⎯⎯ο O12<br />

Initial state: Marker M500 = 0Input I0 = 0<br />

Marker M501 = 1Input I1 = 1<br />

Output O12 = ?<br />

Line Instruction Accumulator Contents Operand Contents<br />

1 L M500<br />

2 O M501<br />

3 A [<br />

4 L I0<br />

5 O I1<br />

6 ]<br />

7 = O12<br />

bit 31 7 0<br />

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

... x x x x x x 0 x x x x x x x<br />

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

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

... x x x x x x 0 x x x x x x x<br />

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

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

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

Program-stack:<br />

xxxxxxxx 1 xxxxxxx<br />

bit 15 7 0<br />

Line 1: Marker state M500 is loaded into the Logic Accumulator.<br />

Line 2: The Logic Accumulator is gated with Marker M501.<br />

Line 3: Open parentheses: the Accumulator contents are buffered on the Program Stack.<br />

Line 4: Input state I0 is loaded into the Logic Accumulator.<br />

Line 5: The Logic Accumulator is gated with Input I1.<br />

Line 6: Close parentheses: Accumulator content is gated with the content of the Program Stack,<br />

according to the command (A[, O[, NO[ ...).<br />

Line 7:<br />

Note:<br />

The result of the complete logical process is assigned to Output O12.<br />

The functional sequence is in principle the same for word execution, with the exception that the<br />

whole Accumulator is written onto the Stack.<br />

7-72 <strong>TNC</strong> <strong>360</strong> 3 Commands 8/95<br />

0<br />

1<br />

0<br />

1<br />

1

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

Saved successfully!

Ooh no, something went wrong!