Heidenhain FK-Programming TNC 530i

download Heidenhain FK-Programming TNC 530i

of 83

Transcript of Heidenhain FK-Programming TNC 530i

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    1/83

    English (en)V212/2005

    NCProgramming Course

    FK Free Contouring

    iTNC 530

    TNC 4xx

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    2/83

    2003-2005 DR. JOHANNES HEIDENHAIN GmbH

    All texts, illustrations and graphics including their parts are copyrighted. They may becopied and printed out only for private, scientific and noncommercial use forinformational purposes, provided that the duplicates include the copyright notice.DR. JOHANNES HEIDENHAIN GmbH reserves the right to revoke this permission at anytime. Without the prior written permission of DR. JOHANNES HEIDENHAIN GmbH, the

    texts, illustrations and graphics may not be duplicated, saved on a server, included innewsgroups, used in online services, saved on CD-ROMs or used in printed publications.The unlawful duplication and/or circulation of the copyrighted texts, illustrations orgraphics are subject to prosecution by criminal and civil law.

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    3/83

    1

    Fundamentals

    2

    AN and PA Directional Data

    3

    Converting FK Programs

    4

    Block End Points

    5Directional and Orientation Data

    6

    Auxiliary Points

    7

    Circle Data, Circle Center Points

    8

    FK Sections in Conventional Programs

    9Tips and Tricks for FK Programming

    10

    11

    12

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    4/83

    HEIDENHAIN FK programming 1.1

    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 thereforecannot be programmed with the gray path-function keys. However, the geometricvalues given in the drawing must be complete!

    Possible information for FK programming:Known coordinates located on thecontour element or on its extension

    Known coordinates located near thecontour element

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    5/83

    HEIDENHAIN FK programming 1.2

    Fundamentals of FK Programming 2

    Directional data that is referenced toanother contour element

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

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

    N18 parallel to AB

    Motion in

    clockwisedirection

    AN (rise angle 45)

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    6/83

    HEIDENHAIN FK programming 1.3

    Requirements for FK programming 3

    The TNC needs a fixed starting point from which it can calculate the contourelements: 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 useany Q parameters in this block. For example: L X+20 Y+20 RL

    The FK programming feature can only be used to program contourelements that lie in the working plane.

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

    Enter all available data for every contour element. Even data that does notchange must be entered in every block.

    Any data not programmed is considered missing.

    http://goback/http://goback/http://goback/
  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    7/83

    HEIDENHAIN FK programming 1.4

    Initiating FK dialogs 4

    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 element, angular start

    Straight contour element, tangential start

    Curved contour element, angular start

    Curved contour element, tangential start

    Required for entry with polar coordinates

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    8/83

    HEIDENHAIN FK programming 1.5

    Interactive programming graphics: Setting/activating the graphics 5

    Select the Programming and Editing mode of operation.

    Select the main menu for screen layout.

    Left: program, right: programming graphics

    Shift the soft-key row.

    Select whether automatic tracing is switched ON or OFF.

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

    http://goback/http://goback/http://goback/
  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    9/83

    HEIDENHAIN FK programming 1.6

    Assignment: FK telephone

    Start (R0)

    http://goback/http://goback/http://goback/
  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    10/83

    HEIDENHAIN FK programming 1.7

    Solution: FK telephone

    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

    4L 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 R215 L Z+100 R0 F MAX M2

    16 END PGM TELEPHONE MM

    Start (R0)

    http://goback/http://goback/http://goback/
  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    11/83

    HEIDENHAIN FK programming 1.8

    Interactive programming graphics: Selecting possible solutions 6

    The TNC offers graphic solutionsfor the entered data.

    The user selects the correctcontour element as shown in thedrawing.

    Soft key Function

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

    Select the solution shown in the drawing.

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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    12/83

    HEIDENHAIN FK programming 1.9

    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 entereddata

    Red More data is required to calculate the contour orcontour element

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    13/83

    HEIDENHAIN FK programming 1.10

    Overview of functions 8

    1): angular or tangential

    Element Straight line withconnection Arc with connection

    Path functions Any 1 Tangential Any 1 Tangential

    Block end point / Cartesian

    +Y

    +Y

    Block end point / Polarcoordinates

    Directionaldata

    Auxiliary pointson the contour

    + P2X, P2Y + P2X, P2Y+ P3X, P3Y

    Distance fromthe contourelement to theauxiliary point

    Additionalcircular data

    + CCY..

    + CCPA.

    + +

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    14/83

    HEIDENHAIN FK programming 2.1

    Directional Data: The Difference Between AN and PA 1

    AN: Connection from starting point to end point

    PA: Connection from pole to end point

    AN only defines the slope.

    PA defines the end point.

    Extension X+ T r a v e

    r s e r a

    n g e

    T r av e r s e r a nge

    T r a v e

    r s e r a

    n g e

    Extension X+

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    15/83

    HEIDENHAIN FK programming 2.2

    Assignment: Angled workpiece

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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    16/83

    HEIDENHAIN FK programming 2.3

    Solution: Angled workpiece

    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 LEN515 L Z+100 R0 F MAX M2

    16 END PGM FK1 MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    17/83

    HEIDENHAIN FK programming 2.4

    Assignment: Flat surface on a shaft

    Depth = 10 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    18/83

    HEIDENHAIN FK programming 2.5

    Solution: Flat surface on a shaft

    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 M215 END PGM SWFK1 MM

    Depth = 10 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    19/83

    HEIDENHAIN FK programming 3.1

    Converting FK Programs 1

    Two functions are available:

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

    The control linearizes the programs and calculates the respective Q-parametervalues

    Select the program you want to convert.

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

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

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

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

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

    File name of the FK program: HEBEL.HFile name of the conversational dialog program converted by thecontrol: 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 theconverted NC blocks. The number indicates the block number of the FKprogram from which the respective conversational block was calculated.

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    20/83

    HEIDENHAIN FK programming 4.1

    Block end point / Cartesian 1

    Absolute

    The coordinates of the path end pointare based on the datum.

    Example: X+20 Y+25

    Incremental

    The path end point is based on thelast programmed position.

    Example: IX+30 IY+20

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

    with

    Relative Y coordinate changewith

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

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

    The soft keys for programming with reference blocks have anadditional in their icons:

    Example: R YWhen a referenced block is deleted, make sure to change the block inwhich the referenced block is referred to!

    NN

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    21/83

    HEIDENHAIN FK programming 4.2

    Block end point / Polar coordinates 2

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

    FPOL refers to the set datumFPOL has nothing to do with thedefinition of a circle center point

    FPOL is effective modallyThe polar coordinates of the givenposition 3 refer to FPOL2 . This, inturn, refers to datum 1 .

    Polar radius referenced to FPOLAbsolute

    Distance from FPOL

    Incremental

    Difference between the previousentry PR1 and the new positiondata 2

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

    0:Positive direction of the main axisin the working plane

    Incremental

    Angular difference between theprevious position 1 and the newposition 2 (as seen from FPOL)

    1

    2

    3

    1

    2

    1

    2

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    22/83

    HEIDENHAIN FK programming 4.3

    Block end point / Polar coordinates 3

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

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

    Program in block 10 the changes from block 6 in the polar radius and angle:IPR+25 RPR6 IPA-20 RPA6

    Relative polar radius changewith

    Relative polar angle changewith

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    23/83

    HEIDENHAIN FK programming 4.4

    Assignment: Sample part workshop drawingBlock end points/relative references

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

    Starting position

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    24/83

    HEIDENHAIN FK programming 4.5

    Solution: Sample part workshop drawingBlock end points/relative references

    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+1515 DEP LCT X+45 Y-20 R2

    16 L Z+100 R0 F MAX M2

    17 END PGM SKETCH MM

    Starting position

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    25/83

    HEIDENHAIN FK programming 5.1

    Directional Data 1

    Gradient angle of an elementAbsolute

    Referenced to thedirection of the mainaxis of the workingplane

    For circular arcs,direction of the entrytangent

    Incremental

    Inside angle between

    the previous and newdirections

    Relative (R) with block number of areference blockReference to the gradient angle in theend point of another element

    with

    Example: The inside angle betweenelement 4 and element 6 is130

    Input in block 6: IAN+130 RAN4

    Edge and chord length of an elementEdge length of astraight element

    Chord length of acircular arc

    4

    5

    3

    6

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    26/83

    HEIDENHAIN FK programming 5.2

    Orientation data 2

    Parallels, distancePAR = Parallels

    Orientation dataspecifying that theelement is locatedparallel to anotherelement.

    DP = Distancebetween parallels

    Example: Element 10

    is parallel to 5 at adistance of 10 mm

    Input in block 10:PAR5 DP10

    ContourIdentification of thebeginning of a closedcontour: +

    Identification of theend of a closedcontour:

    A: Any pointdesignated as thebeginning and end

    of the contour

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

    6

    7

    5

    84

    9

    10

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    27/83

    HEIDENHAIN FK programming 5.3

    Assignment: FK hammer

    Detail Z

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    28/83

    HEIDENHAIN FK programming 5.4

    Solution: FK hammer

    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

    Detail Z

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    29/83

    HEIDENHAIN FK programming 5.5

    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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    30/83

    HEIDENHAIN FK programming 6.1

    Auxiliary points PnX, PnY (on the elements extension) that are not to beapproached 1

    For straight linesThe programmed straight linegoes through the auxiliary points

    The auxiliary points need not beapproached

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

    It is possible to enter simply oneauxiliary point

    For circlesThe programmed circular pathgoes through the auxiliary points

    Auxiliary points must lie on thedefined circle, but need not beapproached

    Always enter auxiliary points as

    value pairs (X and Y coordinates),beginning with P1

    It is possible to enter simply oneauxiliary point

    P2X,P2Y

    P X,P YP3X,P3Y

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    31/83

    HEIDENHAIN FK programming 6.2

    Auxiliary point PDX, PDY that needs not be approached, at the distance D tothe element (or on the elements extension) 2

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

    pointAlways enter the auxiliary point asa value pair (X and Y coordinates)Perpendicular distance D from theprogrammed straight line to theauxiliary point

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

    For circles (distance point)The programmed circular pathdoes not go through the auxiliarypoint

    Always enter the auxiliary point asa value pair (X and Y coordinates)Perpendicular distance D from theprogrammed circular path to theauxiliary point

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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    32/83

    HEIDENHAIN FK programming 6.3

    Auxiliary points example 3

    Auxiliary points oncontour element

    Auxiliary points onextension of contourelementAuxiliary point offset from

    extensionAuxiliary point offset fromcontour element

    http://goback/http://goback/http://goback/
  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    33/83

    HEIDENHAIN FK programming 6.4

    Assignment: FK program without RND and with auxiliary points

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    34/83

    HEIDENHAIN FK programming 6.5

    Solution: FK program without RND and with auxiliary points

    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

    4L 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- R2015 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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    35/83

    HEIDENHAIN FK programming 7.1

    Circle data 1

    Circle radius

    Example: R18

    Absolute

    Angle for circle endpoint

    Example: CCA+145

    R and CCA refer to thecircle center point

    IncrementalAngle for circle endpoint

    ICCA refers to theprevious contour angle,and specifies thecentral angle.

    Example: ICCA+70

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    36/83

    HEIDENHAIN FK programming 7.2

    Overview of functions for circle center point 2

    Various programming possibilities:

    Cartesian coordinates

    Incremental, Cartesian coordinates, with reference block as well

    with

    with

    Polar coordinates

    Incremental, polar coordinates, withreference block as well

    with

    with

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    37/83

    HEIDENHAIN FK programming 7.3

    Circle center point with Cartesian coordinates 3

    Example blocks

    Absolute, Cartesian coordinatesValid blockwise

    Data refers to thedatum and not toFPOL

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

    Incremental, Cartesian coordinates, with reference block as wellRCCX: Block number that ICCX refers to

    incrementallywith

    RCCY: Block number that ICCY refers toincrementally

    with

    ...

    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 RCCX5ICCY-15 RCCY7

    ICCX, ICCY function like I, J in ISOprogramming

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    38/83

    HEIDENHAIN FK programming 7.4

    Circle center point with polar coordinates 4

    Example blocks

    Absolute polar coordinatesData refers to FPOL. Program FPOL first.

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

    Incremental, polar coordinates, withreference block as wellRCCPR: Block number that ICCPR refers to

    incrementallywith

    RCCPA: Block number that ICCPA refers toincrementally

    with

    ...

    5 FPOL X+10 Y+10

    6 FL PA+28 PR17

    7 FL...

    8 FCT...

    9 FL...

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

    The data must be entered in pairs.

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    39/83

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    40/83

    HEIDENHAIN FK programming 7.6

    Solution: Barbell

    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 215 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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    41/83

    HEIDENHAIN FK programming 7.7

    Assignment: Pickle as island

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    42/83

    HEIDENHAIN FK programming 7.8

    Solution: Pickle as island

    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 115 DEP LCT X-20 Y+30 R2

    16 L Z+100 R0 F MAX M2

    17 END PGM PICKLE MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    43/83

    HEIDENHAIN FK programming 7.9

    Assignment: FK3

    Depth = 20 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    44/83

    HEIDENHAIN FK programming 7.10

    Solution: FK3

    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

    Depth = 20 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    45/83

    HEIDENHAIN FK programming 8.1

    Interactive programming graphics: Creating/magnifying/reducing thegraphics 1

    Soft key Cycle

    Generate graphics

    Generate graphics blockwise

    Generate complete graphics from program beginning

    Soft key Function

    Shift the frame

    Enlarge/reduce the frame

    Select marked area

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    46/83

    HEIDENHAIN FK programming 8.2

    Assignment: FK cam

    If the first block of an FK contour is an FCT or FLT block, you must haveprogrammed at least two NC blocks with the gray path function keysbefore then. Only then can the TNC uniquely determine the approachdirection.

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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    47/83

    HEIDENHAIN FK programming 8.3

    Solution: FK cam

    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

    4L 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+3515 DEP LCT X-15 Y+35 R5

    16 L Z+100 R0 F MAX M2

    17 END PGM 288 MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    48/83

    HEIDENHAIN FK programming 8.4

    Assignment: Tooth

    Edges with FL blocks can be connected with RND.

    Depth = 10 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    49/83

    HEIDENHAIN FK programming 8.5

    Solution: Tooth

    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

    Depth = 10 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    50/83

    HEIDENHAIN FK programming 8.6

    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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    51/83

    HEIDENHAIN FK programming 8.7

    Assignment: FK4

    http://goback/http://goback/http://goback/
  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    52/83

    HEIDENHAIN FK programming 8.8

    Solution: FK4

    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-12015 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 M3025 END PGM FK4 MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    53/83

    HEIDENHAIN FK programming 8.9

    Assignment: Rotor

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    54/83

    HEIDENHAIN FK programming 8.10

    Solution: Rotor

    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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    55/83

    HEIDENHAIN FK programming 8.11

    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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    56/83

    HEIDENHAIN FK programming 8.12

    Assignment: Contour

    http://goback/http://goback/http://goback/
  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    57/83

    HEIDENHAIN FK programming 8.13

    Solution: Contour

    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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    58/83

    HEIDENHAIN FK programming 8.14

    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 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

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    59/83

    HEIDENHAIN FK programming 8.15

    Solution: Contour

    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

    56 FCT DR+ R10

    57 FCT DR- R10 CCPR+57 CCPA+135

    58 FSELECT 1

    59 FCT DR+ R10

    60 FCT DR- R49 CCX+0 CCY+0

    61 FSELECT 2

    62 FCT DR+ R10

    63 FCT DR- R10 CCPR+57 CCPA+45

    64 FSELECT 1

    65 FCT DR+ R10

    66 FCT X+49 Y+0 DR- R49 CCX+0 CCY+0

    67 FSELECT 2

    68 DEP LCT X+70 Y+0 R2

    69 CALL LBL 1 REP 3/3

    70 L Z+100 R0 F MAX M6

    71 TOOL CALL 2 Z S5000

    72 L Z+100 R0 F MAX M3

    73 C YC L DEF 2 00 DRI LL IN G

    Q200=2 Set-up clearance

    Q201=-29 Depth

    Q206=150 Feed rate for plunging

    Q202=10 Plunging depth

    Q210=0 Dwell time at top

    Q203=+0 Surface coordinate

    Q204=50 2nd set-up clearance

    Q211=0 Dwell time at depth

    Set bore holes 74 LP PR+57 PA+45 R0 F MAX M99

    75 LP PA+135 R0 F MAX M99

    76 LP PA-135 R0 F MAX M99

    77 LP PA-45 R0 F MAX M99

    78 L Z+100 R0 F MAX M2

    79 END PGM CONTOUR MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    60/83

    HEIDENHAIN FK programming 8.16

    Assignment: Maltese cross

    Enter all known data again.

    Dont change too much at once.

    If proposed solutions are marked red, ignore with END SELECT.

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    61/83

    HEIDENHAIN FK programming 8.17

    Solution: Maltese cross

    Main program 0 BEGIN PGM 275 MM

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

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

    3 TOOL CALL 8 Z S2500 R5

    4 L Z+100 R0 F MAX

    5 L Z+2 R0 F MAX M3

    6 CALL LBL 10

    7 LBL 5

    8 CYCL DEF 10.0 ROTATION

    9 CYCL DEF 10.1 IROT-90

    10 CALL LBL 10

    11 CALL LBL 5 REP 2/2

    12 CYCL DEF 10.0 ROTATION

    13 CYCL DEF 10.1 ROT+0

    14 L Z+100 R0 F MAX M2

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    62/83

    HEIDENHAIN FK programming 8.18

    Solution: Maltese cross

    SP 15 LBL 10

    16 CC X+0 Y+0

    17 LP PR+70 PA+180 R0 F1000

    18 L Z-10

    19 APPR PLCT PR+50 PA+180 R2 RL F500

    20 FPOL X+0 Y+0

    21 FC DR- R50 CCX+0 CCY+0

    22 FL AN+65 PDX+0 PDY+0 D48

    23 FSELECT 4

    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 DR+ R38 CCPR+75 CCPA+135

    25 FSELECT 2

    26 FL AN+25 PDX+0 PDY+0 D48

    27 FSELECT 1

    28 FC PR+50 PA+90 DR- R50 CCA+90

    29 DEP PLCT PR+70 PA+90 R2

    30 LBL 0

    31 END PGM 275 MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    63/83

    HEIDENHAIN FK programming 8.19

    Assignment: Clamping washer

    Correct typing errors with the NO ENT key.

    You can use the LEFT ARROW key to return to the FK dialog from the RL / RR dialog request.Continue programming even if the contour is shown in red. Only stop ifthe TNC displays an error message.

    Depth = 2 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    64/83

    HEIDENHAIN FK programming 8.20

    Solution: Clamping washer

    Complete program 0 BEGIN PGM CLAMPINGWASHER MM

    1 BLK FORM 0.1 Z X-100 Y-70 Z-10

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

    3 TOOL CALL 5 Z S3000 F500

    4 L X+0 Y+100 Z+10 R0 F500 M13

    5 L Z-5 R0 F200

    6 L Y+85 RL

    7 FC DR- R85 CCX+0 CCY+0

    8 FPOL X+0 Y+0

    9 FCT DR- R25 CCPR+60 CCPA+54

    10 FLT

    11 FCT DR- R50 CCX+0 CCY-9

    12 FLT

    13 FCT Y-7 DR- R58 CCY-7

    14 FL Y-7 LEN58 AN+0

    15 FC DR+ R25 CCX+0 CCY+0

    16 FSELECT3

    17 FLT AN+165

    18 FC X+0 Y+85 DR- R85 CCX+0 CCY+0

    19 L Y+100 R0

    20 L Z+10

    21 CC X+0 Y+0

    22 LP PR+60 PA+54

    Depth = 2 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    65/83

    HEIDENHAIN FK programming 8.21

    Solution: Clamping washer

    23 L Z-5

    24 LP PR+72 PA+54 RL

    25 CP PA+105 DR+

    26 FC PR+48 PA+105 DR+ R12 CCPR+60 CCPA+105

    27 FC PR+48 PA+54 DR- R48 CCX+0 CCY+0

    28 FCT PR+72 PA+54 DR+ R12 CCPR+60 CCPA+54

    29 CC X+0 Y+0

    30 LP PR+60 PA+54 R0

    31 L Z+100 R0 FMAX M30

    32 END PGM CLAMPINGWASHER MM

    http://goback/http://goback/http://goback/
  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    66/83

    HEIDENHAIN FK programming 8.22

    Assignment: Ellipse

    Clear the error message No NC program block permitted until FKcontour is resolved with the ARROW UP key.

    Recalculate the interactive FK graphics with GOTO 0, START SINGLE orPGM MGT.

    Reduce or enlarge details with the > soft keys, and assumethem with the WINDOW DETAIL soft key.

    Depth = 2 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    67/83

    HEIDENHAIN FK programming 8.23

    Solution: Ellipse

    Complete program 0 BEGIN PGM ELLIPSE MM

    1 BLK FORM 0.1 Z X-90 Y-60 Z-10

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

    3 TOOL CALL 5 Z S3333 F444

    4 L X-90 Y+0 Z+10 FMAX M13

    5 L Z-5 F500

    6 L X-82 RL

    7 FC DR- R32 CCX-50 CCY+0

    8 FCT DR- R100

    9 FCT DR- R32 CCX+50 CCY+0

    10 FSELECT1

    11 FCT DR- R100

    12 FCT X-82 Y+0 DR- R32 CCX-50 CCY+0

    13 FSELECT1

    14 L X-90 R0

    15 L Z+10

    16 L X+0 Y+0

    17 L Z-5

    18 L IX+25 RL

    19 CC X+0 Y+0

    20 C X+25 Y+0 DR+

    21 L IX-25 R0

    22 L Z+10

    23 L X+50

    24 L Z-5

    Depth = 2 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    68/83

    HEIDENHAIN FK programming 8.24

    Solution: Ellipse

    25 L IX+12.5 RL

    26 CC X+50 Y+0

    27 C X+62.5 DR+

    28 L IX-12.5 R0

    29 L Z+10

    30 L X-50

    31 L Z-5

    32 L IX+12.5 RL

    33 CC X-50 Y+0

    34 C X-37.5 Y+0 DR+

    35 L IX-12.5 R0

    36 L Z+100 R0 FMAX M30

    37 END PGM ELLIPSE MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    69/83

    HEIDENHAIN FK programming 8.25

    Assignment: Hook wrench

    Depth = 5 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    70/83

    HEIDENHAIN FK programming 8.26

    Solution: Hook wrench

    Complete program 0 BEGIN PGM 295 MM

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

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

    3 TOOL CALL 8 Z S4000 R5

    4 L Z+100 R0 F MAX

    5 L X-10 Y-10 R0 F MAX

    6 L Z-5 R0 F MAX M3

    7 APPR LCT X+0 Y+0 R2 RR F400

    8 FL AN+0

    9 FCT DR- R70

    10 FCT DR+ R60 CCX+105 CCY+28

    11 FSELECT 2

    12 FCT DR+ R12

    13 FCT DR+ R18 CCX+138 CCY-5

    14 FLT LEN5 AN+170

    15 FL X+134 AN-150

    16 FSELECT 1

    Depth = 5 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    71/83

    HEIDENHAIN FK programming 8.27

    Solution: Hook wrench

    17 FL LEN4 IAN-90

    18 FCT DR- R8

    19 FCT DR- R60 CCX+105

    20 FSELECT 1

    21 FCT DR- R40 CCX+100

    22 FCT Y+20 DR+ R5

    23 FSELECT 2

    24 FLT X+0 AN+180

    25 FSELECT 1

    26 L Y+0

    27 DEP LCT X-10 Y-10 R2

    28 L Z+100 R0 FMAX M2

    29 END PGM 295 MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    72/83

    HEIDENHAIN FK programming 8.28

    Assignment: Hook as a cookie cutter

    Depth = 45 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    73/83

    HEIDENHAIN FK programming 8.29

    Solution: Hook as a cookie cutter

    Main program 0 BEGIN PGM HOOK2 MM

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

    2 BLK FORM 0.2 X+120 Y+70 Z+0

    3 TOOL CALL 1 Z S5000

    4 L Z+100 R0 F MAX M3

    5 CYCL DEF 14.0 CONTOUR GEOMETRY

    6 CYCL DEF 14.1 CONTOUR LABEL 27 CYCL DEF 20.0 CONTOUR DATA ~

    Q1=-45 Milling depth

    Q2=1 Path overlap

    Q3=+1 Allowance for side

    Q4=+0 Allowance for floor

    Q5=+0 Surface coordinate

    Q6=+2 Set-up clearance

    Q7=+0 Clearance height

    Q8=0 Rounding radius

    Q9=-1 Direction

    8 CYCL DEF 2 2.0 ROU GH-O UT ~

    Q10=-10 Plunging depth

    Q11=100 Feed rate for plunging

    Q12=200 Feed rate for roughing-out

    Q18=0 Coarse-roughing tool

    Q19=150 Reciprocation feed rate

    9 CYCL CALL M13

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    74/83

    HEIDENHAIN FK programming 8.30

    Solution: Hook as a cookie cutter

    10 CYCL DEF 14.0 CONTOUR GEOMETRY

    11 CYCL DEF 14.1 CONTOUR LABEL 1/3

    12 FN 0: Q1 =-1 Depth

    13 FN 0: Q3 =+0.1 Allowance

    14 LBL 10

    15 CYCL CALL M13

    16 FN 2: Q1 = +Q1 - +1 Calculation of depth

    17 FN 1: Q3 =+Q3 + +0.1 Calculation of allowance

    18 CALL LBL 10 REP 44/44

    19 L Z+100 R0 F MAX M2

    SP Hook outside contour 20 LBL 1

    21 L X+110 Y-15 RL

    22 L X+65

    23 RND R5

    24 L Y-25

    25 FC DR+ R50 CCX+65 CCY-75

    26 FCT DR- R65

    27 FCT DR- R40 CCX+0 CCY+0

    28 FSELECT 2

    29 FLT

    30 FCT DR- R10 CCX+0 CCY+50

    31 FLT

    32 FCT DR+ R6 CCX+0 CCY+0

    33 FCT DR+ R24

    34 FCT DR+ R6 CCX+12 CCY+0

    35 FSELECT 2

    36 FCT DR- R1.5

    37 FCT DR- R36 CCX+44 CCY-10

    38 FSELECT 2

    39 FCT Y+15 DR+ R5

    40 FLT X+110 Y+15 AN+0

    41 FSELECT 1

    42 L Y-15

    43 LBL 0

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    75/83

    HEIDENHAIN FK programming 8.31

    Solution: Hook as a cookie cutter

    SP Hook inside contour 44 LBL 2

    45 L X+110 Y-15 RR

    46 L X+65

    47 RND R5

    48 L Y-25

    49 FC DR+ R50 CCX+65 CCY-75

    50 FCT DR- R65

    51 FCT DR- R40 CCX+0 CCY+0

    52 FSELECT 2

    53 FLT

    54 FCT DR- R10 CCX+0 CCY+50

    55 FLT

    56 FCT DR+ R6 CCX+0 CCY+0

    57 FCT DR+ R24

    58 FCT DR+ R6 CCX+12 CCY+0

    59 FSELECT 2

    60 FCT DR- R1.5

    61 FCT DR- R36 CCX+44 CCY-10

    62 FSELECT 2

    63 FCT Y+15 DR+ R5

    64 FLT X+110 Y+15 AN+0

    65 FSELECT 1

    66 L Y-15

    67 LBL 0

    SP Frame 68 LBL 3

    69 L X-70 Y+0 RR

    70 L Y+80

    71 L X+130

    72 L Y-70

    73 L X-70

    74 L Y+0

    75 LBL 0

    76 END PGM HOOK2 MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    76/83

    HEIDENHAIN FK programming 8.32

    Assignment: FK-SL combination

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    77/83

    HEIDENHAIN FK programming 8.33

    Solution: FK-SL combination

    Main program 0 BEGIN PGM FK-SL COMBO MM

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

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

    3 TOOL CALL 1 Z S3500

    4 CYCL DEF 14.0 CONTOUR GEOMETRY

    5 CYCL DEF 14.1 CONTOUR LABEL 1/3

    6 CYCL DEF 20.0 CONTOUR DATA ~

    Q1=-20 Milling depth

    Q2=1 Path overlap

    Q3=+0 Allowance for side

    Q4=+0 Allowance for floor

    Q5=+0 Surface coordinate

    Q6=+2 Set-up clearance

    Q7=+0 Clearance height

    Q8=0 Rounding radius

    Q9=-1 Direction

    7 CYCL DEF 2 2.0 ROU GH-O UT ~

    Q10=-5 Plunging depth

    Q11=100 Feed rate for plunging

    Q12=200 Feed rate for roughing-out

    Q18=0 Coarse-roughing tool

    Q19=150 Reciprocation feed rate

    8 CYCL CALL M139 CYCL DEF 14.0 CONTOUR GEOMETRY

    10 CYCL DEF 14.1 CONTOUR LABEL 2/3

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    78/83

    HEIDENHAIN FK programming 8.34

    Solution: FK-SL combination

    11 CYCL DEF 20.0 CONTOUR DATA ~

    Q1=-10 Milling depth

    Q2=1 Path overlap

    Q3=+0 Allowance for side

    Q4=+0 Allowance for floor

    Q5=+0 Surface coordinate

    Q6=+2 Set-up clearance

    Q7=+0 Clearance height

    Q8=0 Rounding radius

    Q9=-1 Direction

    1 2 C YC L D EF 2 2. 0 R OU GH -O UT ~

    Q10=-5 Plunging depth

    Q11=100 Feed rate for plunging

    Q12=200 Feed rate for roughing-out

    Q18=0 Coarse-roughing tool

    Q19=150 Reciprocation feed rate

    13 CYCL CALL M1314 L Z+100 R0 F MAX M2 Allowance

    SP Contour level 2 15 LBL 1

    16 CC X+0 Y+0

    17 LP PR+28 PA+0 RL

    18 FC Y-14 DR- R28 CCX+0 CCY+0

    19 FSELECT 1

    20 FL AN+180

    21 FCT X+14 DR+ R5

    22 FLT AN-90

    23 FC X+0 Y-28 DR- R28 CCX+0 CCY+0

    24 FCT X-14 DR- R28

    25 FSELECT 2

    26 FL AN+90

    27 FCT Y-14 DR+ R5

    28 FLT AN+180

    29 FC Y+14 DR- R28 CCX+0 CCY+0

    30 FSELECT 2

    31 FL AN+0

    32 FCT X-14 DR+ R5

    33 FLT AN+90

    34 FC X+14 DR- R28 CCX+0 CCY+0

    35 FSELECT 1

    36 FL AN-90

    37 FCT Y+14 DR+ R5

    38 FLT AN+0

    39 FPOL X+0 Y+0

    40 FC PR+28 PA+0 DR- R28 CCX+0

    41 LBL 0

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    79/83

    HEIDENHAIN FK programming 8.35

    Solution: FK-SL combination

    SP Contour level 1 42 LBL 2

    43 CC X+0 Y+0

    44 LP PR+16 PA-45 RL

    45 FC DR- R16 CCX+0 CCY+0

    46 FPOL X+0 Y+0

    47 FLT AN-178.292

    48 FCT DR- R4 CCPR+17.5 CCPA-135

    49 FLT AN+88.292

    50 FCT DR- R16 CCX+0 CCY+0

    51 FLT AN+1.708

    52 FCT DR- R4 CCPR+17.5 CCPA+45

    53 FLT AN-91.708

    54 FCT PR+16 PA-45 DR- R16 CCX+0 CCY+0

    55 LBL 0

    SP Rectangle level 3 56 LBL 3

    57 L X+40 Y+0 RL

    58 L Y+40

    59 RND R5

    60 L X-40

    61 RND R5

    62 L Y-40

    63 RND R5

    64 L X+40

    65 RND R5

    66 L Y+0

    67 LBL 0

    68 END PGM FK-SL COMBO MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    80/83

    HEIDENHAIN FK programming 8.36

    Assignment: Clamp

    Depth = 10 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    81/83

    HEIDENHAIN FK programming 8.37

    Solution: Clamp

    Complete program 0 BEGIN PGM CLAMP MM

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

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

    3 TOOL CALL 1 Z S3333 F500

    4 L X+0 Y-55 Z+10 R0 FMAX M13

    5 L Z-5

    6 L Y-42 RL

    7 FPOL X+0 Y+0

    8 FC PR+42 PA+150 DR- R42 CCX+0 CCY+0

    9 FC PR+48 DR- R6 CCPR+42

    10 FSELECT2

    11 FCT DR- R48

    12 FCT PR+42 PA+30 DR- R6

    13 FSELECT1

    14 FC DR- R42 CCX+0 CCY+0

    15 FCT DR+ R6

    16 FLT AN-30 PDX+0 PDY+0 D10

    17 FSELECT3

    18 FCT DR- R10 CCPR+60 CCPA-30

    19 FLT PAR16 DP20

    20 FCT DR+ R6

    21 FCT X+0 Y-42 DR- R42 CCX+0 CCY+0

    22 FSELECT2

    23 L Y-55 R0

    24 L Z+1025 LP PR+26 PA+60

    26 L Z-5

    Depth = 10 mm

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    82/83

    HEIDENHAIN FK programming 8.38

    Solution: Clamp

    27 LP PR+36 PA+60 RL

    28 CC X+0 Y+0

    29 CP PA+90 DR+

    30 RND R6

    31 LP PR+16 PA+90

    32 RND R6

    33 CP PA+30 DR-

    34 RND R6

    35 LP PR+36 PA+30

    36 RND R6

    37 CP PA+60 DR+

    38 LP PR+26 PA+60 R0

    39 L Z+10

    40 LP PR+26 PA+240

    41 L Z-5

    42 LP PR+36 PA+240 RL

    43 CP PA+270

    44 RND R6

    45 LP PR+16 PA+270

    46 RND R6

    47 CP PA+210 DR-

    48 RND R6

    49 LP PR+36 PA+210

    50 RND R6

    51 CP PA+240 DR+

    52 LP PR+26 PA+240 R0

    53 L Z+10

    54 L X+0 Y+0

    55 L Z-5

    56 L X+7.5 RL

    57 C X+7.5 Y+0 DR+

    58 L X+0 R0

    59 L Z+10

    60 L PR+60 PA-30

    61 CC

    62 L Z-5

    63 LP IPR+5 PA-30 RL

    64 CP IPA+360 DR-

    65 CC X+0 Y+0

    66 LP PR+60 PA-30 R0

    67 L Z+10

    68 L X+0 Y+0

    69 END PGM CLAMP MM

  • 8/11/2019 Heidenhain FK-Programming TNC 530i

    83/83

    Tips and Tricks for FK Programming 1

    Enter all known data again.

    Dont change too much at once.

    If proposed solutions are marked red, ignore with END SELECT.

    Correct typing errors with the NO ENT key.

    You can use the LEFT ARROW key to return to the FK dialog from the RL / RR dialog request.Continue programming even if the contour is shown in red. Do not stopuntil the TNC outputs an error message.

    Clear the error message No NC program block permitted until FKcontour is resolved with the ARROW UP. key

    Recalculate the interactive FK graphics with GOTO 0, START SINGLE orPGM MGT.

    Reduce or enlarge details with the > soft keys, and assumethem with the WINDOW DETAIL soft key.