beautypg.com

5 oem-cycles in nc programs, 1 calls in a heidenhain dialog program – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 707

background image


9-10

TNC 407/TNC 415/TNC 425

5 OEM-cycles in NC programs

01.98

5 OEM-cycles in NC programs

OEM-cycles in the NC program memory or PLC EPROM can be defined, called and executed both in
HEIDENHAIN dialog programs and also in DIN/ISO programs.

5.1 Calls in a HEIDENHAIN dialog program

In the HEIDENHAIN dialog program, OEM-cycles are defined as standard cycles (see "Dialog
Programming" in the TNC 407/TNC 415 Operating Manual).

The dialog for cycle definition is initiated with the "CYCL DEF" key. The desired cycle is selected
either by skimming through the pages using the vertical arrow keys or by "GOTO" and input of the
cycle number (e.g. 68). The cycle is entered with the "ENT" key.

The individual parameters are input via the digital keyboard and entered with "ENT".

In the case of a "DEF-active" OEM-cycle, the cycle is effective immediately after definition. Once
defined, a "CALL-active" OEM-cycle can be called and hence activated either via "CYCL CALL" or
M99.

Example:

0

BEGIN PGM 1000 MM

1

BLK FORM 0.1 Z X+0 Y+0 Z–20

Definition of blank

2

BLK FORM 0.2 X+100 Y+100 Z+0

For test/program-run graphics

3

TOOL DEF 1 L+0 R+2

Tool definition

4

TOOL CALL 1 Z S1000

Tool call

5

L Z+2 R0 FMAX M3

Approach safety clearance

6

CYCL DEF 68.0 Bolt hole circle

Definition of cycle 68 "Bolt hole circle"

7

CYCL DEF 68.1 Q1=+8 Q2=+40 Q3=+60

8

CYCL DEF 68.2 Q4=+50 Q5=–2 Q6=–20

9

CYCL DEF 68.3 Q7=+100

10 CYCL CALL

Call cycle

11 END PGM 1000 MM