beautypg.com

5 coor dinat e t ransf or mation cy cles – HEIDENHAIN TNC 406 User Manual

Page 189

background image

168

8 Programming: Cycles

8.5 Coor

dinat

e

T

ransf

or

mation Cy

cles

SCALING FACTOR cycle in a part program:

Practice example: Scaling factor

A contour section (subprogram 1) is to be executed
as originally programmed at the manually set
datum X+0/Y+0, and then referenced to position
X+60/Y+70 and executed with a scaling factor of
0.8.

0 BEGIN PGM SCALING MM

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

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

3 CYCL DEF 1.0 GENERATOR

Cycle GENERATOR (see ”Cycle 1 GENERATOR” on page 133)

4 CYCL DEF 1.1 P-TAB 100

Desired erosion table

5 CYCL DEF 1.2 MAX=7 MIN=7

Select power stage

6 TOOL DEF 1 L+0 R+3

Define the tool

7 TOOL CALL 1 Z U+0.2

Tool call

8 L Z+100 R0 F MAX M

9 CALL LBL 1

Version in original size 1

10 CYCL DEF 7.0 DATUM SHIFT

Version with scaling factor. Sequence:

11 CYCL DEF 7.1 X+60

12 CYCL DEF 7.2 Y+70

1. Datum shift 2

13 CYCL DEF 11.0 SCALING

2. Define scaling factor 3

14 CYCL DEF 11.1 SCL 0.8

15 CALL LBL 1

3. Call subprogram (scaling factor effective)

This manual is related to the following products: