beautypg.com

Creating user cycles, 1 creating user cycles – HEIDENHAIN TNC 306 Technical Manual User Manual

Page 457

background image


9-2

TNC 406/TNC 306

1 Creating user cycles

3/97

1 Creating user cycles

User cycles (customized macros) are programmed in the HEIDENHAIN dialog format as NC
programs.

These cycles can be used in machining programs for executing repetitive machining tasks or
machine-specific functions with a single call in part programs written in HEIDENHAIN dialog format.
Execution of user cycles can be influenced by parameter transfer.

Up to 32 different user cycles can be produced, tested and stored in the NC program memory.

In order not to tie up the NC program memory (RAM) with the user cycles and dialogs, this data can
be stored in the PLC EPROM together with a maximum of 100 different customer-specific dialog
texts.

Instructions for creating user cycles

User cycles in the NC program memory can be called for testing by cycle 12: "Program call". It is
thus also possible to test functional capability in the "Program run/single block" mode. (With a
program call, all Q parameters are globally effective.)

Functions permitted in user cycles

– Tool call.
– M functions apart from M02, M30, M06 without program stop.
– Nesting user cycles:

Other user cycles or standard cycles can be called from within a user cycle (nesting depth up to
four levels).

– Call of HEIDENHAIN dialog programs from within user cycles. The called programs are not

displayed.

Functions not permitted in user cycles

– M functions M02, M30, M06 with program stop.
– Programmed STOP block.
– Program calls with PGM-CALL.
– Program section repeats with CALL LBL ... REP .../...:

User cycles with program section repeats stored in PLC EPROM cannot be executed. However,
program-section repeats can also be programmed via the Q parameter function (IF ... GOTO LBL
...) (see the "Bolt hole circle" example).

This manual is related to the following products: