1 creating oem cycles, 1 creating oem-cycles – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 699

9-2
TNC 407/TNC 415/TNC 425
1 Creating OEM-cycles
01.98
1 Creating OEM-cycles
OEM-cycles (customized macros) are programmed in the HEIDENHAIN dialog
as NC programs.
By using these cycles in machining programs created in the HEIDENHAIN dialog or in accordance
with DIN/ISO, repetitive machining tasks or machine-specific functions can be executed via a single
call. Execution of the OEM-cycles can be affected by parameter transfer.
Up to 32 different OEM-cycles, with a maximum of 128 different customer-specific dialog texts, can
be produced, tested and stored in the NC program memory.
In order not to tie up the NC program memory (RAM) with the OEM-cycles and dialogs, it is possible
to store this data in the PLC EPROM.
Instructions for creating OEM-cycles
OEM-cycles in the NC program memory can be called for testing by cycle 12: "Program call". It is
thus also possible to test serviceability in the "Program run/single block" mode. (With a program call,
all the Q parameters are globally effective!)
Permitted functions in OEM-cycles
– Tool definition with numerical values or Q parameters for tool length and radius (only in PLC
EPROM).
– Tool call.
– M functions apart from M02, M30, M06, without program-run stop.
– Nesting OEM-cycles:
Other OEM-cycles or standard cycles can be called in the OEM-cycles (nesting depth four levels).
– Call from main programs of OEM-cycles which are transmitted in "block mode" and are executed
simultaneously. The OEM-cycles must be stored in the control unit memory.
– Re-approach to contour after an external STOP. With an external and internal STOP, re-approach
must be via block scan (mid-program start-up) (see the "Machine Interfacing" Manual and the TNC
407/TNC 415 Operating Manual).
Functions not permitted in OEM-cycles
– M functions M02, M30, M06 with program-run stop.
– Programmed STOP block.
– Program calls with PGM-CALL.
– Definition of cycle 14 "Contour":
Cycle 14 "Contour" must be defined in the main program.
– Repetition of sections of program with CALL LBL ... REP .../...:
OEM-cycles with program-section repetitions 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).