User cycles in nc programs, Calls in a heidenhain dialog program, 5 user cycles in nc programs – HEIDENHAIN TNC 306 Technical Manual User Manual
Page 466: 1 calls in a heidenhain dialog program

3/97
TNC 406/TNC 306
5 User cycles in NC programs
9-11
5 User cycles in NC programs
User cycles in the NC program memory or PLC EPROM are defined and called in HEIDENHAIN
dialog programs.
5.1 Calls in a HEIDENHAIN dialog program
User cycles are defined as standard cycles in the HEIDENHAIN dialog program (see "Dialog
Programming" in the TNC 306 User's Manual).
The dialog for cycle definition is initiated with the "CYCL DEF" key. Select the desired cycle either by
paging using the vertical arrow keys or by "GOTO" and entering the cycle number (e.g. 68). Confirm
your entry with the "ENT" key.
The individual parameters are input via the numerical keyboard. Confirm your entries with "ENT".
In the case of a "DEF-active" user cycle, the cycle is effective immediately upon being defined. Once
defined, a "CALL-active" user cycle can be called and hence activated either via "CYCL CALL" or
M99.
Example:
0
BEGIN PGM 1000 MM
1
TOOL DEF 1 L+0 R+2
Tool definition
2
TOOL CALL 1 Z U 0.1
Tool call
3
CYCL DEF 1.0 GENERATOR
Definition and call of the generator
4
CYCL DEF 1.1 P–TAB 1
with corresponding eroding
5
CYCL DEF 1.2 MAX = 25 MIN = 1
parameters
6
L Z+2 R0 FMAX
Approach safety clearance
7
CYCL DEF 68.0 BOLT CIRCLE
Definition of cycle 68 "Bolt hole circle"
8
CYCL DEF 68.1 Q1=+8 Q2=+40 Q3=+60
9
CYCL DEF 68.2 Q4=+50 Q5=–2 Q6=–20
10 CYCL CALL
Call cycle
11 END PGM 1000 MM