Sie sind auf Seite 1von 83
NC Programming Course FK Free Contouring iTNC 530 TNC 4xx English (en) V2 12/2005
NC Programming Course FK Free Contouring iTNC 530 TNC 4xx English (en) V2 12/2005

NC Programming Course

FK Free Contouring

iTNC 530 TNC 4xx

English (en)

V2

12/2005

© 2003-2005 DR. JOHANNES HEIDENHAIN GmbH

All texts, illustrations and graphics including their parts are copyrighted. They may be copied and printed out only for private, scientific and noncommercial use for informational purposes, provided that the duplicates include the copyright notice. DR. JOHANNES HEIDENHAIN GmbH reserves the right to revoke this permission at any time. Without the prior written permission of DR. JOHANNES HEIDENHAIN GmbH, the texts, illustrations and graphics may not be duplicated, saved on a server, included in newsgroups, used in online services, saved on CD-ROMs or used in printed publications. The unlawful duplication and/or circulation of the copyrighted texts, illustrations or graphics are subject to prosecution by criminal and civil law.

1

Fundamentals

2

AN and PA Directional Data

3

Converting FK Programs

4

Block End Points

5

Directional and Orientation Data

6

Auxiliary Points

7

Circle Data, Circle Center Points

8

FK Sections in Conventional Programs

9

Tips and Tricks for FK Programming

10

 

11

 

12

 

Fundamentals of FK Programming

1

FK = Freie Kontur

(German for Free Contour)

When is FK necessary? It is necessary if the workpiece drawing is not dimensioned for NC, and therefore cannot be programmed with the gray path-function keys. However, the geometric values given in the drawing must be complete!

Possible information for FK programming:

Known coordinates located on the contour element or on its extension

located on the contour element or on its extension Known coordinates located near the contour element

Known coordinates located near the contour element

contour element or on its extension Known coordinates located near the contour element HEIDENHAIN FK programming

Fundamentals of FK Programming

2

Directional data that is referenced to another contour element

Information about the course of the contour and directional data of the contour itself

N18 parallel to AB
N18 parallel to AB
Motion in clockwise direction AN (rise angle 45°)
Motion in
clockwise
direction
AN (rise angle 45°)
The TNC derives the contour from know n data and supports the dialog with the

The TNC derives the contour from known data and supports the dialog with the interactive programming graphics.

Requirements for FK programming

3

The FK programming feature can on ly be used to program contour elements that lie The FK programming feature can only be used to program contour elements that lie in the working plane.

The working plane is defined in the first BLK FORM block of the part program.

defined in the first BLK FORM block of the part program. Enter all available data fo

Enter all available data fo r every contour element. Ev en data that does not Enter all available data for every contour element. Even data that does not change must be entered in every block.

Any data not programmed is considered missing.

The TNC needs a fixed starting point from which it can calculate the contour elements:

Use the gray path function keys to program a position that contains both coordinates of the working plane before programming the FK contour. Do not use any Q parameters in this block. For example: L X+20 Y+20 RL

Initiating FK dialogs

4

Initiating FK dialogs 4  Show the soft keys for FK-dialog initiation  You must consider

Show the soft keys for FK-dialog initiation

You must consider the following:

What does my contour element look like? How does my contour element start?

The following possibilities are available:

Soft key

Meaning

Straight contour el ement, angular start

Straight contour element, angular start

Straight contour elem ent, tangential start

Straight contour element, tangential start

Curved contour element, angular start

Curved contour element, angular start

Curved contour element, tangential start

Curved contour element, tangential start

Required for entry with polar coordinates

Required for entry with polar coordinates

Interactive programming graphics: Setting/activating the graphics

5

programming graphics: Setting/activating the graphics 5 Select the Programming and Editing mode of operation.

Select the Programming and Editing mode of operation.

5 Select the Programming and Editing mode of operation. Select the main menu for screen layout.

Select the main menu for screen layout. for screen layout.

mode of operation. Select the main menu for screen layout. Left: program, right: programming graphics Shift
mode of operation. Select the main menu for screen layout. Left: program, right: programming graphics Shift

Left: program, right: programming graphics

screen layout. Left: program, right: programming graphics Shift the soft-key row. Select whether automatic tr acing
screen layout. Left: program, right: programming graphics Shift the soft-key row. Select whether automatic tr acing

Shift the soft-key row.

program, right: programming graphics Shift the soft-key row. Select whether automatic tr acing is switched ON
program, right: programming graphics Shift the soft-key row. Select whether automatic tr acing is switched ON

Select whether automatic tracing is switched ON or OFF.

Select whether automatic tr acing is switched ON or OFF. Select whether the gr aphic should
Select whether automatic tr acing is switched ON or OFF. Select whether the gr aphic should

Select whether the graphic should be shown with block numbers (SHOW) or without them (HIDE).

whether the gr aphic should be shown with block numbers (SHOW) or without them (HIDE). HEIDENHAIN

Assignment: FK telephone

Start (R0)
Start (R0)

Solution:

FK telephone

Start (R0)
Start (R0)

Complete program

0 BEGIN PGM TELEPHONE MM

 
 

1 BLK FORM 0.1 Z X+0 Y+0 Z-10

 
 

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

 
 

3 TOOL CALL 1 Z S3000

 
 

4 L Z+100 R0 F MAX M3

 
 

5 L X+50 Y+50 R0 F MAX

 
 

6 APPR LCT X+50 Y+75 R2 RL F500

Point 1

 

7 FC DR+ R25 CCX+50 CCY+50

Point 2

 

8 FCT DR- R14

Point 3

 

9 FCT DR- R88 CCX+50 CCY+0

Point 4

 

10 FSELECT 1

 
 

11 FCT DR- R14

Point 5

 

12 FCT X+50 Y+75 DR+ R25 CCX+50 CCY+50

Point 6

 

13 FSELECT 2

 
 

14 DEP LCT X+50 Y+50 R2

 
 

15 L Z+100 R0 F MAX M2

 
 

16 END PGM TELEPHONE MM

 

Interactive programming graphics: Selecting possible solutions

6

The TNC offers graphic solutions for the entered data.

The user selects the correct contour element as shown in the drawing.

the correct contour element as shown in the drawing. Soft key Function Show solutions that are
the correct contour element as shown in the drawing. Soft key Function Show solutions that are

Soft key

Function

Show solutions that are possible with the entered data (green contour elements).

Show solutions that are possible with the entered data (green contour elements).

Select the solution sh own in the drawing.

Select the solution shown in the drawing.

Enter data for other contour elem ents if SELECT SOLUTION is not chosen at this

Enter data for other contour elements if SELECT SOLUTION is not chosen at this time.

Interactive programming graphics: Selecting possible solutions

7

Color depiction of the contour elements (depends on the machine):

Color

Function

Black

Contour element is fully defined

Blue

More than one solution is possible for the entered data

Red

More data is required to calculate the contour or contour element

Overview of functions

8

Element

Straight line with connection

Arc with connection

Path functions

Any 1

Tangential

 

Any 1

Tangential

Any 1 Tangential   Any 1 Tangential Block end point   + + Y / Cartesian
Any 1 Tangential   Any 1 Tangential Block end point   + + Y / Cartesian
Any 1 Tangential   Any 1 Tangential Block end point   + + Y / Cartesian
Any 1 Tangential   Any 1 Tangential Block end point   + + Y / Cartesian

Block end point

 
Block end point   + + Y
Block end point   + + Y
Block end point   + + Y

+

Block end point   + + Y
Block end point   + + Y
+ Y

+

Y

/

Cartesian

Y

Block end point

Block end point +   +

+

Block end point +   +
Block end point +   +
Block end point +   +
 
Block end point +   +

+

Block end point +   +
Block end point +   +
Block end point +   +

/

Polar

coordinates

 
coordinates  
coordinates  
coordinates  
coordinates  
coordinates  
coordinates  

Directional

 
Directional    
Directional    
Directional    
 
Directional    
Directional    
Directional    

data

coordinates   Directional     data Auxiliary points on the contour + P2X, P2Y   +
coordinates   Directional     data Auxiliary points on the contour + P2X, P2Y   +
coordinates   Directional     data Auxiliary points on the contour + P2X, P2Y   +
coordinates   Directional     data Auxiliary points on the contour + P2X, P2Y   +
coordinates   Directional     data Auxiliary points on the contour + P2X, P2Y   +
coordinates   Directional     data Auxiliary points on the contour + P2X, P2Y   +

Auxiliary points on the contour

Auxiliary points on the contour + P2X, P2Y   + P2X, P2Y + P3X, P3Y
Auxiliary points on the contour + P2X, P2Y   + P2X, P2Y + P3X, P3Y

+ P2X, P2Y

 
Auxiliary points on the contour + P2X, P2Y   + P2X, P2Y + P3X, P3Y
Auxiliary points on the contour + P2X, P2Y   + P2X, P2Y + P3X, P3Y

+ P2X, P2Y + P3X, P3Y

Distance from the contour element to the auxiliary point

Distance from the contour element to the auxiliary point  
Distance from the contour element to the auxiliary point  
Distance from the contour element to the auxiliary point  
 
Distance from the contour element to the auxiliary point  
Distance from the contour element to the auxiliary point  
Distance from the contour element to the auxiliary point  

Additional

 
Additional      
 
Additional      
 

circular data

 
 
 
CCY +
CCY +

CCY+

+

CCPA. +
CCPA. +

CCPA.+

+

1 ): angular or tangential

Directional Data: The Difference Between AN and PA

1

AN: Connection from starting point to end point Extension X+ Traverse range
AN: Connection from starting point to end point
Extension X+
Traverse range

AN only defines the slope. only defines the slope.

PA: Connection from pole to end point Traverse range Extension X+ Traverse range
PA: Connection from pole to end point
Traverse range
Extension X+
Traverse range

PA defines the end point. defines the end point.

Assignment: Angled workpiece

Assignment: Angled workpiece Solution only possible with FK programming, otherwise the coordinates of the points must
Solution only possible with FK programming, otherwise the coordinates of the points must be calculated.

Solution only possible with FK programming, otherwise the coordinates of the points must be calculated.

Solution:

Angled workpiece

Solution: Angled workpiece Complete program 0 BEGIN PGM FK1 MM   1 BLK FORM 0.1 Z

Complete program

0 BEGIN PGM FK1 MM

 

1 BLK FORM 0.1 Z X+0 Y+0 Z-10

 

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

 

3 TOOL CALL 1 Z S3000

 

4 L Z+100 R0 F MAX M3

 

5 L X-10 Y-10 R0 F MAX

 

6 L Z-16 R0 F MAX

 

7 L X+0 Y+0 RL F5000

 

8 L Y+35

 

9 FL Y+60 AN+59

 

10 FL AN+0

 

11 FL X+60 Y+35 AN-59

 

12 L Y+0

 

13 L X+0

 

14 DEP LT LEN5

 

15 L Z+100 R0 F MAX M2

 

16 END PGM FK1 MM

Assignment: Flat surface on a shaft

Depth = 10 mm

Depth = 10 mm

Solution:

Flat surface on a shaft

Depth = 10 mm

Depth = 10 mm

Complete program

0 BEGIN PGM SWFK1 MM

 

1 BLK FORM 0.1 Z X-40 Y-40 Z-20

 

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

 

3 TOOL CALL 1 Z S3000

 

4 L Z+100 R0 F MAX M3

 

5 L X+40 Y+0 R0 F MAX

 

6 L Z-10 R0 F MAX

 

7 APPR LCT X+27.5 Y+0 R2 RL F300

 

8 FC Y+16 DR- R27.5 CCX+0 CCY+0

 

9 FL Y+16 AN+0 PDX+0 PDY+0 D16

 

10 FSELECT 2

 

11 FC X+27.5 Y+0 DR- R27.5 CCX+0 CCY+0

 

12 FSELECT 1

 

13 DEP LCT X+40 Y+0 R2

 

14 L Z+100 R0 F MAX M2

 

15 END PGM SWFK1 MM

Converting FK Programs

1

Two functions are available:

Program structure (e.g. program-section repeat) is maintained; not suitable for Q-parameter programs

The control linearizes the programs and calculates the respective Q-parameter values

 Select the program yo u want to convert.

Select the program you want to convert.

 Shift the soft-key rows until the CONVERT PROGRAM soft key appears.

Shift the soft-key rows until the CONVERT PROGRAM soft key appears.

 Select the soft-key row with fu nctions for converting programs.

Select the soft-key row with functions for converting programs.

 Convert the FK blocks of the selected program. The TNC converts all FK blocks

Convert the FK blocks of the selected program. The TNC converts all FK blocks into straight-line blocks (L) and circular-arc blocks (CC, C), and the program structure is maintained, or

 Convert the FK blocks of the selected program. The TNC converts all FK blocks

Convert the FK blocks of the selected program. The TNC converts all FK blocks into straight-line blocks (L) and circular-arc blocks (CC, C), and the TNC linearizes the program.

The name of the file created by the TN C consists of the old file

The name of the file created by the TNC consists of the old file name and the extension _nc. Example:

File name of the FK program: HEBEL.H

File name of the conversational dialog program converted by the control:HEBEL_nc.h

The resolution of the created conversational program is 0.1 µm.

The converted program includes the comment SNR and a number after the converted NC blocks. The number indicates the block number of the FK program from which the respective conversational block was calculated.

Block end point / Cartesian

1

Absolute

The coordinates of the path end point are based on the datum. the path end point are based on the datum.

Example: X+20 Y+25 X+20 Y+25

Incremental

The path end point is based on the last programmed position.

The path end point is based on the last programmed position. is based on the last programmed position.

Example: IX+30 IY+20

Example: IX+30 IY+20 IX+30 IY+20

Relative (R) with block number of a reference block Relative X coordinate change with

of a reference block Relative X coordinate change with Relative Y coordinate change with The incremental
of a reference block Relative X coordinate change with Relative Y coordinate change with The incremental
of a reference block Relative X coordinate change with Relative Y coordinate change with The incremental

Relative Y coordinate change with

X coordinate change with Relative Y coordinate change with The incremental value is not based on
X coordinate change with Relative Y coordinate change with The incremental value is not based on
X coordinate change with Relative Y coordinate change with The incremental value is not based on

The incremental value is not based on the end point of the previous block, but instead on the end point of the referenced block.

The end point of contour element 8 is based on the end point of block 6. In block 8 you program: IX+17.5 RX6 IY+7.5 RY6

of block 6. In block 8 you program: IX+17.5 RX6 IY+7.5 RY6 The soft keys for
The soft keys for programming wi th reference blocks have an additional Example: R Y

The soft keys for programming with reference blocks have an

additional

Example: R Y

N
N

in their icons:

N
N

When a referenced block is deleted, make sure to change the block in which the referenced block is referred to!

Block end point / Polar coordinates

2

Pole for positioning data in polar coordinates (PR/PA) Pole for positioning data in polar coordinates ( PR / PA Entry of FPOL in Cartesian Entry of FPOL in Cartesian coordinates for both axes in the working plane:

FPOL has nothing to do with the definition of a circle center point FPOL has nothing to do with the
FPOL has nothing to do with the definition of a circle center point definition of a circle center point

FPOL refers to the set datum

FPOL is effective modally The polar coordinates of the given position 3 refer to FPOL 2. This, in turn, refers to datum 1.

Polar radius referenced to FPOL Absolute

Distance from FPOL FPOL

Incremental

to FPOL Absolute Distance from FPOL Incremental Difference between the previous entry PR 1 and the

Difference between the previous entry PR 1 and the new position data 2 entry PR 1 and the new position data 2

Polar coordinate angle referenced to FPOL. Directional data in the sense of mathematical rotation. Absolute

0°:Positive direction of the main axis in the working plane Positive direction of the main axis in the working plane

Incremental

of the main axis in the working plane Incremental Angular differen ce between the previous position

Angular difference between the previous position 1 and the new position 2 (as seen from FPOL ce between the previous position 1 and the new position 2 (as seen from FPOL)

3 2 1
3
2
1

2 1
2
1

2 1
2 1
2
1

Block end point / Polar coordinates

3

Polar coordinates with reference block R (R = relative):

Relative polar radius change with Relative polar angle change with
Relative polar radius change
with
Relative polar angle change
with

Enter the end point of block 10 in polar coordinates relative to the end point of block 6.

Program in block 10 the changes from block 6 in the polar radius and angle:

IPR+25 RPR6 IPA-20 RPA6

Assignment: Sample part workshop drawing Block end points/relative references Starting position
Assignment: Sample part workshop drawing
Block end points/relative references
Starting position

You are only allowed to use dimensio ns explicitly given in the drawing!

You are only allowed to use dimensions explicitly given in the drawing!

Solution:

Sample part workshop drawing Block end points/relative references

Starting position
Starting position

Complete program

0 BEGIN PGM SKETCH MM

 

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

 

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

 

3 TOOL CALL 1 Z S3000

 

4 L Z+100 R0 F MAX M3

 

5 L X+45 Y-20 R0 F MAX

 

6 L Z-10 F MAX

 

7 APPR LCT X+45 Y+15 R2 RL F500

 

8 FL X+15 Y+15

 

9 FL IX-5 IY+30

 

10 FL IX-15 IY+70 RX7 RY8

 

11 FPOL X+50 Y+55

 

12 FL PR+50 PA+45

 

13 FL IPR+10 IPA-80 RPR12 RPA12

 

14 FL X+45 Y+15

 

15 DEP LCT X+45 Y-20 R2

 

16 L Z+100 R0 F MAX M2

 

17 END PGM SKETCH MM

Directional Data

1

Gradient angle of an element Absolute

Directional Data 1 Gradient angle of an element Absolute Incremental Referenced to the direction of the

Incremental

Referenced to the direction of the main axis of the working plane

For circular arcs, direction of the entry tangent

plane For circular arcs, direction of the entry tangent Inside angle between the previous and new

Inside angle between the previous and new directions the previous and new directions

Relative (R) with block number of a reference block Reference to the gradient angle in the end point of another element with

gradient angle in the end point of another element with Example: The inside angle between element
gradient angle in the end point of another element with Example: The inside angle between element
gradient angle in the end point of another element with Example: The inside angle between element

Example: The inside angle between element 4 and element 6 is

130°

Input in block 6: IAN+130 RAN4

Edge and chord length of an element Edge length of a straight element

length of an element Edge length of a straight element Chord length of a circular arc

Chord length of a circular arc circular arc

an element Edge length of a straight element Chord length of a circular arc 6 5
6 5 4 3
6
5
4
3
an element Edge length of a straight element Chord length of a circular arc 6 5

Orientation data

2

Parallels, distance PAR = Parallels

Orientation data 2 Parallels, distance PAR = Parallels Orientation data specifying that the element is located

Orientation data specifying that the element is located parallel to another element.

DP = Distance between parallels between parallels

Contour

another element. DP = Distance between parallels Contour Example: Element 10 is parallel to 5 at

Example: Element 10 is parallel to 5 at a distance of 10 mm

Input in block 10:

PAR5 DP10

Identification of the beginning of a closed contour: +

Identification of the end of a closed contour: –

A: Any point designated as the beginning and end of the contour

10 9 8 4 7 5 6
10
9
8
4
7
5
6
the beginning and end of the contour 10 9 8 4 7 5 6 The end

The end point of a contou r no longer needs to be closed by entering

The end point of a contour no longer needs to be closed by entering X and Y coordinates.

Assignment: FK hammer

Detail Z
Detail Z

Detail Z

Solution:

FK hammer

Detail Z
Detail Z

Detail Z

Complete program

0 BEGIN PGM 289 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 TOOL CALL 11 Z S4000

 

4 L Z+100 R0 F MAX

 

5 CC X+30 Y+40

 

6 LP PR+60 PA+30 R0 F MAX M3

 

7 L Z+2 R0 F MAX

 

8 L Z-5 R0 F100

 

9 APPR PLCT PR+37.5 PA+30 R5 RL F400

 

10 FL LEN10 AN-60

 

11 FL AN-150

 

12 FCT DR+ R12.5

 

13 FLT AN-100

 

14 FCT DR- R11 CCX+30 CCY+15

 

15 FLT

Solution:

FK hammer

16 FCT DR- R11 CCX+15 CCY+65

17 FLT AN-55

18 FCT DR+ R15

19 FLT AN+30

20 FPOL X+30 Y+40

21 FL PR+37.5 PA+30 LEN10 AN-60

22 DEP PLCT PR+60 PA+30 R5

23 L Z+100 R0 F MAX M2

24 END PGM 289 MM

Auxiliary points PnX, PnY (on the element’s extension) that are not to be approached

1

For straight lines The programmed straight line goes through the auxiliary points The programmed straight line goes through the auxiliary points

The auxiliary po ints need not be approached The auxiliary points need not be approached

P2X,P2Y

Always enter auxiliary points as value pairs (X and Y coordinates), beginning with P1

It is possible to enter simply one auxiliary point

For circles

The programmed ci rcular path goes through the auxiliary points The programmed circular path goes through the auxiliary points

Auxiliary points must lie on the defined circle, but need not be approached Auxiliary points must lie on the defined circle, but need not be approached

P2X,P2Y

P3X,P3Y

Always enter auxiliary points as value pairs (X and Y coordinates), beginning with P1

It is possible to enter simply one auxiliary point

 
   
 

 

   
 

 
 
 
 
 

   
 

 

 
 
 
   
   

   
 
 
 
 

 
   
 

   

                               
                               
                               
                               
                               

                               
                               

                               
                               

Auxiliary point PDX, PDY that needs not be approached, at the distance D to

the element (or on the element’s extension)

2

For straight lines (distance point) For straight lines The programmed straight line does not go through the auxiliary The programmed straight line does not go through the auxiliary

point

Always enter the auxiliary point as Always enter the auxiliary point as

a value pair (X and Y coordinates)

Perpendicular distance D from the programmed strai ght line to the auxiliary point Perpendicular distance D from the programmed straight line to the auxiliary point

from the programmed strai ght line to the auxiliary point Always enter PDX, PDY and D

Always enter PDX, PDY and D together in a program block. PDX, PDY and D together in a program block.

For circles (distance point) The programmed circular path

circles (distance point) The programmed ci rcular path does not go through the auxiliary point Always

does not go through the auxiliary

point

Always enter the auxiliary point as Always enter the auxiliary point as

a value pair (X and Y coordinates)

Perpendicular distance D from the programmed circular path to the auxiliary point Perpendicular distance D from the programmed circular path to the auxiliary point

from the programmed circular path to the auxiliary point Always enter PDX, PDY and D together

Always enter PDX, PDY and D together in a program block. PDX, PDY and D together in a program block.

Auxiliary points – example

3

Auxiliary points on contour element Auxiliary points on extension of contour element Auxiliary point offset
Auxiliary points on
contour element
Auxiliary points on
extension of contour
element
Auxiliary point offset from
extension
Auxiliary point offset from
contour element

Assignment: FK program without RND and with auxiliary points

Assignment: FK program without RND and with auxiliary points HEIDENHAIN FK programming 6.4
Assignment: FK program without RND and with auxiliary points HEIDENHAIN FK programming 6.4

Solution:

FK program without RND and with auxiliary points

Solution: FK program without RND and with auxiliary points Complete program 0 BEGIN PGM 223-FK2 MM

Complete program

0 BEGIN PGM 223-FK2 MM

Contour without RND

 

1 BLK FORM 0.1 Z X+0 Y+0 Z-40

 
 

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

 
 

3 TOOL CALL 10 Z S5000

 
 

4 L Z+100 R0 F MAX M3

 
 

5 L X-15 Y+70 R0 F MAX

 
 

6 L Z+2 R0 F MAX

 
 

7 L Z-30 R0 F2000

 
 

8 APPR LCT X+10 Y+70 R2 RL F200

 
 

9 FL AN+90

 
 

10 FCT DR- R10

 
 

11 FLT Y+90 AN+0 P1X+50 P1Y+90

 
 

12 FCT DR- R20

 
 

13 FLT AN-45 P1X+90 P1Y+50

 
 

14 FCT DR- R20

 
 

15 FLT AN-90 P1X+90 P1Y+10

 
 

16 FCT DR- R10

 
 

17 FLT AN+180 P1X+50 P1Y+10

 
 

18 FCT DR- R20

 
 

19 FLT AN+135 P1X+10 P1Y+50

 
 

20 FCT DR- R20

 
 

21 FLT X+10 Y+70 AN+90

 
 

22 DEP LCT X-15 Y+70 R2

 
 

23 L Z+100 R0 F MAX M30

 
 

24 END PGM 223-FK2 MM

 

Circle data

1

Circle data 1 Circle radius Example: R18 Absolute Angle for circle end point Incremental Example: CCA+145

Circle radius

Example: R18

Absolute

Angle for circle end point for circle end point

Incremental
Incremental

Example: CCA+145

R and CCA refer to the circle center point

Angle for circle end point

ICCA refers to the previous contour angle, and specifies the central angle.

Example: ICCA+70

refers to the previous contour angle, and specifies the central angle. Example: ICCA+70 HEIDENHAIN FK programming

Overview of functions for circle center point

2

Various programming possibilities:

Cartesian coordinates

2 Various programming possibilities: Cartesian coordinates Incremental, Cartesian coordinates, with reference block

Incremental, Cartesian coordinates, with reference block as well with

Cartesian coordinates, with reference block as well with with Polar coordinates Incremental, polar coordinates, with
Cartesian coordinates, with reference block as well with with Polar coordinates Incremental, polar coordinates, with
Cartesian coordinates, with reference block as well with with Polar coordinates Incremental, polar coordinates, with
Cartesian coordinates, with reference block as well with with Polar coordinates Incremental, polar coordinates, with

withCartesian coordinates, with reference block as well with Polar coordinates Incremental, polar coordinates, with

coordinates, with reference block as well with with Polar coordinates Incremental, polar coordinates, with

Polar coordinates

with reference block as well with with Polar coordinates Incremental, polar coordinates, with reference block as

Incremental, polar coordinates, with reference block as well with

coordinates Incremental, polar coordinates, with reference block as well with with HEIDENHAIN FK programming 7.2
coordinates Incremental, polar coordinates, with reference block as well with with HEIDENHAIN FK programming 7.2
coordinates Incremental, polar coordinates, with reference block as well with with HEIDENHAIN FK programming 7.2
coordinates Incremental, polar coordinates, with reference block as well with with HEIDENHAIN FK programming 7.2

withPolar coordinates Incremental, polar coordinates, with reference block as well with HEIDENHAIN FK programming 7.2

coordinates Incremental, polar coordinates, with reference block as well with with HEIDENHAIN FK programming 7.2
coordinates Incremental, polar coordinates, with reference block as well with with HEIDENHAIN FK programming 7.2

Circle center point with Cartesian coordinates

3

Absolute, Cartesian coordinates Valid blockwise

3 Absolute, Cartesian coordinates Valid blockwise Data refers to the datum and not to FPOL Example:
3 Absolute, Cartesian coordinates Valid blockwise Data refers to the datum and not to FPOL Example:

Data refers to the datum and not to FPOL

Example:

FC DR- R18 ICCA-270 CCX+50 CCY+50

Incremental, Cartesian coordinates, with reference block as well RCCX: Block number that ICCX refers to incrementally with

: Block number that ICCX refers to incrementally with RCCY : Block number that ICCY refers
: Block number that ICCX refers to incrementally with RCCY : Block number that ICCY refers
: Block number that ICCX refers to incrementally with RCCY : Block number that ICCY refers

RCCY: Block number that ICCY refers to incrementally with

: Block number that ICCY refers to incrementally with Example blocks 5 FL X+10 Y+10  
: Block number that ICCY refers to incrementally with Example blocks 5 FL X+10 Y+10  
: Block number that ICCY refers to incrementally with Example blocks 5 FL X+10 Y+10  

Example blocks

that ICCY refers to incrementally with Example blocks 5 FL X+10 Y+10   6 FL  

that ICCY refers to incrementally with Example blocks 5 FL X+10 Y+10   6 FL  

5 FL X+10 Y+10

 

6 FL

 

7 FL X+22 Y+40

 

8 FL

 

9 FL

 

10 FC DR- R12 CCA+0 ICCX+25 RCCX5 ICCY-15 RCCY7

ICCX, ICCY function like I, J in ISO programming

Circle center point with polar coordinates

4

Absolute polar coordinates Data refers to FPOL. Program FPOL first. Data refers to FPOL. Program FPOL first.

coordinates Data refers to FPOL. Program FPOL first. Example: FC DR- R24 CCA+145 CCPR+25 CCPA+50 Incremental,

Example:

FC DR- R24 CCA+145 CCPR+25 CCPA+50

Incremental, polar coordinates, with reference block as well RCCPR: Block number that ICCPR refers to incrementally with

: Block number that ICCPR refers to incrementally with RCCPA : Block number that ICCPA refers
: Block number that ICCPR refers to incrementally with RCCPA : Block number that ICCPA refers
: Block number that ICCPR refers to incrementally with RCCPA : Block number that ICCPA refers

RCCPA: Block number that ICCPA refers to incrementally with

: Block number that ICCPA refers to incrementally with Example blocks 5 FPOL X+10 Y+10  
: Block number that ICCPA refers to incrementally with Example blocks 5 FPOL X+10 Y+10  
: Block number that ICCPA refers to incrementally with Example blocks 5 FPOL X+10 Y+10  

Example blocks

that ICCPA refers to incrementally with Example blocks 5 FPOL X+10 Y+10   6 FL PA+28

5 FPOL X+10 Y+10

 

6 FL PA+28 PR17

 

7 FL

 

8 FCT

 

9 FL

 

10 FCT DR- R18 CCA+40 ICCPR+30 ICCPA+17 RCCPR6 RCCPA6

The data must be entered in pairs.

Assignment: Barbell

Assignment: Barbell HEIDENHAIN FK programming 7.5

Solution:

Barbell

Solution: Barbell Complete program 0 BEGIN PGM 75116 MM   1 BLK FORM 0.1 Z X+0

Complete program

0 BEGIN PGM 75116 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 TOOL DEF 1 L+0 R+4

 

4 TOOL CALL 1 Z S4000

 

5 L Z+2 R0 F MAX M3

 

6 L X+40 Y+30 R0 F2000

 

7 L Z-10 F100

 

8 L X+10 Y+30 RR F200

 

9 FPOL X+40 Y+30

 

10 FC DR- R30 CCX+40 CCY+30 F500

 

11 FL AN+60 PDX+40 PDY+30 D10

 

12 FSELECT 30

 

13 FC DR- R20 CCPR+55 CCPA+60

 

14 FSELECT 2

 

15 FL AN-120 PDX+40 PDY+30 D10

 

16 FSELECT 3

 

17 FC X+10 Y+30 DR- R30 CCX+40 CCY+30

 

18 FSELECT 2

 

19 L X+40 Y+30 R0

 

20 L Z+50 R0 F MAX M2

 

21 END PGM 75116 MM

Assignment: Pickle as island

Assignment: Pickle as island HEIDENHAIN FK programming 7.7

Solution:

Pickle as island

Solution: Pickle as island Complete program 0 BEGIN PGM PICKLE MM   1 BLK FORM 0.1

Complete program

0 BEGIN PGM PICKLE 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 TOOL CALL 1 Z S5000

 

4 L Z+100 R0 F MAX M3

 

5 L X-20 Y+30 R0 F MAX

 

6 L Z-18 R0 F MAX

 

7 APPR LCT X+5 Y+30 R2 RL F600

 

8 FC DR- R10 CCX+15 CCY+30

 

9 FCT DR- R80

 

10 FCT DR- R20 CCX+60 CCY+50

 

11 FSELECT 2

 

12 FCT DR+ R75

 

13 FCT X+5 Y+30 DR- R10 CCX+15 CCY+30

 

14 FSELECT 1

 

15 DEP LCT X-20 Y+30 R2

 

16 L Z+100 R0 F MAX M2

 

17 END PGM PICKLE MM

Assignment: FK3

Depth = 20 mm
Depth = 20 mm

Solution:

FK3

Depth = 20 mm
Depth = 20 mm

Complete program

0 BEGIN PGM FK3 MM

 

1 BLK FORM 0.1 Z X+0 Y-160 Z-20

 

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

 

3 TOOL CALL 1 Z S3000

 

4 L Z+100 R0 F MAX M3

 

5 L X+170 Y-86 F MAX

 

6 L Z-20 R0 F MAX

 

7 APPR LCT X+149 Y-86 R2 RL F500

 

8 FC DR- R65 CCX+84 CCY-86

 

9 FCT DR- R10

 

10 FPOL X+84 Y-86

 

11 FCT X+48.753 PR+65 DR+ R42 CCPR+23

 

12 FSELECT 3

 

13 FC X+149 Y-86 DR- R65 CCX+84 CCY-86

 

14 DEP LCT X+170 Y-86 R2 F600

 

15 L Z+100 R0 F MAX M2

 

16 END PGM FK3 MM

Interactive programming graphics: Creating/magnifying/reducing the graphics

1

Soft key

Cycle

Generate graphics

Generate graphics

Generate graphics blockwise

Generate graphics blockwise

Generate complete graphics from program beginning

Generate complete graphics from program beginning

Generate complete graphics from program beginning Soft key Function Shift the frame Enlarge/reduce the

Soft key

Function

Shift the frame
Shift the frame

Shift the frame

Shift the frame Enlarge/reduce the frame Select marked area
Shift the frame Enlarge/reduce the frame Select marked area
Enlarge/reduce the frame
Enlarge/reduce the frame

Enlarge/reduce the frame

Select marked area

Select marked area

Assignment: FK cam

Assignment: FK cam If the first block of an FK contour is an FCT or FLT
If the first block of an FK contour is an FCT or FLT bloc k,

If the first block of an FK contour is an FCT or FLT block, you must have programmed at least two NC blocks with the gray path function keys before then. Only then can the TNC uniquely determine the approach direction.

Do not program an FK contour immediately after an LBL command.

Solution:

FK cam

Solution: FK cam Complete program 0 BEGIN PGM 288 MM     1 BLK FORM 0.1

Complete program

0 BEGIN PGM 288 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 TOOL CALL 10 Z S4000

R7,5

 

4 L Z+100 R0 F MAX

 
 

5 L X-15 Y+35 R0 F MAX M3

 
 

6 L Z-5 R0 F MAX

 
 

7 APPR LCT X+5 Y+35 R5 RL F400

 
 

8 FC DR- R25 CCX+30 CCY+35

 
 

9 FLT

 
 

10 FCT DR- R15 CCX+50 CCY+75

 
 

11 FLT

 
 

12 FCT DR- R20 CCX+75 CCY+25

 
 

13 FLT

 
 

14 FCT X+5 Y+35 DR- R25 CCX+30 CCY+35

 
 

15 DEP LCT X-15 Y+35 R5

 
 

16 L Z+100 R0 F MAX M2

 
 

17 END PGM 288 MM

 

Assignment: Tooth

Depth = 10 mm

Depth = 10 mm

Edges with FL blocks ca n be connected with RND.

Edges with FL blocks can be connected with RND.

Solution:

Tooth

Depth = 10 mm

Depth = 10 mm

Complete program

0 BEGIN PGM TOOTH MM

 

1 BLK FORM 0.1 Z X-60 Y+0 Z-10

 

2 BLK FORM 0.2 X+10 Y+185 Z+0

 

3 TOOL CALL 1 Z S3000

 

4 L Z+100 R0 F MAX M3

 

5 L X+20 Y-20 R0 F MAX

 

6 L Z-5 R0 F MAX

 

7 L X+0 Y+0 RL F300 M13

 

8 L X-20

 

9 RND R10

 

10 FL AN+120

 

11 RND R40

 

12 FL AN+85

 

13 FPOL X-5 Y+105

 

14 FCT DR- R10 CCPR+75 CCPA+120

 

15 FLT

Solution:

Tooth

16 FCT PR+15 PA+215 DR- R15 CCX-5 CCY+105

17 FCT DR+ R14 LEN28

18 FCT X+0 Y+60 DR+

19 L Y+0

20 DEP LT LEN10

21 L Z+100 R0 F MAX M2

22 END PGM TOOTH MM

Assignment: FK4

Assignment: FK4 HEIDENHAIN FK programming 8.7

Solution:

FK4

Solution: FK4 Complete program 0 BEGIN PGM FK4 MM     1 BLK FORM 0.1 Z

Complete program

0 BEGIN PGM FK4 MM

 
 

1 BLK FORM 0.1 Z X-50 Y-50 Z-22

 

2 BLK FORM 0.2

X+50

Y+50

Z+0

 

3 TOOL CALL 1 Z S8000

 
 

4 L Z+100 R0 F MAX M3X

 
 

5 L X+70 Y+0 R0 F MAX

 
 

6 L Z+5 R0 F MAX

 

7 L Z-14 R0 F50

 

8 APPR LCT X+46 Y+0 R5 RL F200

 

9 FC DR- R6 CCX+40 CCY+0

 
 

10 FPOL X+0 Y+0

 

11 FLT PR+11 PA-60

 
 

12 RND R10

 

13 FL

 

14 FCT DR- R6 CCPR+40 CCPA-120

 
 

15 FLT PR+11 PA+180

 
 

16 RND R10

 

17 FL

 

18 FCT DR- R6 CCPR+40 CCPA+120

 
 

19 FLT PR+11 PA+60

 
 

20 RND R10

 

21 FL

 

22 FCT X+46 Y+0 DR- R6 CCPR+40 CCPA+0

 

23 DEP LCT X+70 Y+0 R5

 
 

24 L Z+100 R0 F MAX M30

 
 

25 END PGM FK4 MM

Assignment: Rotor

Assignment: Rotor HEIDENHAIN FK programming 8.9

Solution:

Rotor

Solution: Rotor Complete program 0 BEGIN PGM ROTOR MM   1 BLK FORM 0.1 Z X-40

Complete program

0 BEGIN PGM ROTOR MM

 

1 BLK FORM 0.1 Z X-40 Y-40 Z-20

 

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

 

3 TOOL CALL 1 Z S8000

 

4 L Z+100 R0 F MAX M3

 

5 L X-55 Y+0 R0 F MAX

 

6 L Z+5 R0 F MAX

 

7 L Z-18 R0 F50

 

8 APPR LCT X-35 Y+0 R5 RL F300

 

9 FC DR- R35 CCX+0 CCY+0

 

10 FPOL X+0 Y+0

 

11 FC DR+ R26.5 CCPR+49.5 CCPA+135

 

12 FC DR- R35 CCX+0 CCY+0

 

13 FSELECT 2

 

14 FC DR+ R26.5 CCPR+49.5 CCPA+45

 

15 FSELECT 1

Solution:

Rotor

16 FC DR- R35 CCX+0 CCY+0

17 FSELECT 2

18 FC DR+ R26.5 CCPR+49.5 CCPA-45

19 FSELECT 1

20 FC DR- R35 CCX+0 CCY+0

21 FSELECT 2

22 FC DR+ R26.5 CCPR+49.5 CCPA-135

23 FSELECT 1

24 FC X-35 Y+0 DR- R35 CCX+0 CCY+0

25 FSELECT 2

26 DEP LCT X-55 Y+0 R5

27 L Z+100 R0 F MAX M300

28 END PGM ROTOR MM

Assignment: Contour
Assignment: Contour
Assignment: Contour HEIDENHAIN FK programming 8.12

Solution:

Contour

Solution: Contour Complete program 0 BEGIN PGM CONTOUR MM   1 BLK FORM 0.1 Z X-60

Complete program

0 BEGIN PGM CONTOUR MM

 

1 BLK FORM 0.1 Z X-60 Y-60 Z-28

 

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

 

3 TOOL CALL 1 Z S6000

 

4 L Z+100 R0 F MAX M3

Mill circular pocket

5 CYCL DEF 5.0 CIRCULAR POCKET

 

6 CYCL DEF 5.1 SET UP

-2

 

7 CYCL DEF 5.2 DEPTH -24

 

8 CYCL DEF 5.3 PLNGNG -6 F300

 

9 CYCL DEF 5.4 RADIUS 45

 

10 CYCL DEF 5.5 F300 DR-

 

11 L X+0 Y+0 Z+2 R0 F MAX M99

Pre-rough inside of pocket

12 CYCL DEF 4.0 POCKET MILLING

 

13 CYCL DEF 4.1 SET UP

2

 

14 CYCL DEF 4.2 DEPTH -6

 

15 CYCL DEF 4.3 PLNGNG 5 F300

 

16 CYCL DEF 4.4 X50

 

17 CYCL DEF 4.5 Y60

 

18 CYCL DEF 4.6 F200 DR- RADIUS 0

 

19 L Z-22 R0 F MAX M99

Solution:

Contour

Finish inside of pocket

20

CC X-60 Y+0

 
 

21

L Z-30 R0 F500

 
 

22

APPR LCT X-30 Y+0 R2 RL F500

 
 

23

FC DR+ R90 CCX+60 CCY+0

 
 

24

RND R10

 
 

25

FC DR+ R90 CCX+0 CCY+55

 
 

26

FSELECT 2

 
 

27

RND R10

 
 

28

FC DR+ R90 CCX-60 CCY+0

 
 

29

FSELECT 2

 
 

30

RND R10

 
 

31

FC DR+ R90 CCX+0 CCY-55

 
 

32

FSELECT 2

 
 

33

RND R10

 
 

34

FC X-30 Y+0 DR+ R90 CCX+60 CCY+0

 
 

35

FSELECT 2

 
 

36

DEP LCT X+0 Y+0 R2

 
 

37

L Z+2 R0 F MAX

 

Mill outside of contour

38

LBL 1

Four infeeds

 

39

L X+70 Y+0 R0 F MAX

 
 

40

L IZ-7.7

 
 

41

APPR LCT X+49 Y+0 R1 RL F500

 
 

42

FC DR- R49 CCX+0 CCY+0

 
 

43

FCT DR+ R10

 
 

44

FPOL X+0 Y+0

 
 

45

FCT DR- R10 CCPR+57 CCPA-45

 
 

46

FSELECT 1

 
 

47

FCT DR+ R10

 
 

48

FCT DR- R49 CCX+0 CCY+0

 
 

49

FSELECT 2

 
 

50

FCT DR+ R10

 
 

51

FCT DR- R10 CCPR+57 CCPA-135

 
 

52

FSELECT 1

 
 

53

FCT DR+ R10

 
 

54

FCT DR- R49 CCX+0 CCY+0

 
 

55

FSELECT 2

 
 

39

L X+70 Y+0 R0 F MAX

 
 

40

L IZ-7.7

 
 

41

APPR LCT X+49 Y+0 R1 RL F500

 
 

42