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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Examples for the commands PS, PL, PSL, PSW, PLL, PLW<br />

The Module 15 is to be called at a specific point in the program. After the return into the main<br />

program, the original Accumulator content is again required for further program run.<br />

Accumulator contents prior to the Call Module: 1A 44 3E 18<br />

Line Instruction Accumulator Contents<br />

49<br />

.<br />

.<br />

.<br />

50 PSW<br />

52 CM 15<br />

54 PLW<br />

55 .<br />

.<br />

.<br />

1 A 4 4 3 E 1 8<br />

1 A 4 4 3 E 1 8 8<br />

1 A 4 4 3 E 1 8<br />

Data stack:<br />

1 A 4 4<br />

3 E 1 8<br />

Line 50: Save the Word Accumulator onto the Data Stack.<br />

Line 52: Subprogram 15 is called up.<br />

Line 54: The original Accumulator contents are transferred back from the Data Stack and<br />

is available for further program run.<br />

Note:<br />

The sequence for stack operations is the same for all commands. Only the data width varies.<br />

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

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

Saved successfully!

Ooh no, something went wrong!