beautypg.com

Calling oem cycles, Calls in a heidenhain dialogue program, 3 calling oem cycles – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 560: 1 calls in a heidenhain dialogue program

background image


9-8

TNC 360

3 Calling OEM Cycles

8/95

3 Calling OEM Cycles

OEM cycles in the NC program memory or PLC EPROM can be defined, called and executed both in
HEIDENHAIN dialogue programs and in ISO programs.

3.1 Calls in a HEIDENHAIN dialogue program

In the HEIDENHAIN dialogue program, OEM cycles are defined as standard cycles (see "Dialogue
Programming" in the TNC 360 User's Manual).

The dialogue 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 numeric 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