90
Pilot TNC 426 1/97 NC-Software 280 462 xx 280 463 xx

titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

  • Upload
    lenhu

  • View
    225

  • Download
    0

Embed Size (px)

Citation preview

Page 1: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

Pilot

TNC 426

1/97

NC-Software

280 462 xx

280 463 xx

Page 2: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse
Page 3: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3

Co

nte

nts

The Pilot

�������������������� ����� � ������������������������������������������������������ ����� ���!����������������"����������������� ����� ����������� #�����������������$���%��&��� ������������'� �������(� ���������������)

* ����+,�� �� �������-�� ����#�.�#�./#�.�0* 1(���������� ��� ����� * �������� ���� ��� �* 2����� ����������* ��� � ����������

����������3� ������������������� ��������������������������� ���������)

��������� ���

4��� )��� ����������������������������5

������������������������ ������3�����������3�������������� �3�� ���������������������������5

����������$���%��&��� �'���������'� �������������� ������������������������������

����������������������� ������ ������������'���������� �'� ����'���� ��3���)

Con t ro l NC Software Number

����������#����������� �67�����7.����������8#�����������8 �67���2�7.

������������ ��

Contents

!������� � ������������������������������������������������������������������� 4

��������������������������� ������������������������������������� 1 3�����!����� ������������������������������������������������������������������ 1 8!9�!�������������� ����� ����������������������������������������� 2 5

+�3��� ����������� ����+�����:������ ������������������� 3 34��;� �'������ �� ��������������������������������������������������������� 3 6��� � ��� �� ������������������������������������������������������������������� 3 9��;���#�+����#����+ ��� ������������������������������������������������� 4 6������������ ������������������������������������������������������������������� 5 5+,��� �� �������������������������������������������������������������������������� 5 7&� �������&� � ��������������������������������������������������������������� 6 4������������������������� �� ����������������������������������� 6 7+���� ��� �� ������������������������������������������������������������������� 7 3

�� ���<� �2��+������ ������������������������������������������������������� 7 5

=����������+���������� ��� ������������������������������������������� 8 1

�+>� ��� ����� ������������������������������������������������������������� 8 4

&��� ������!������& ���������������������������������������������� 8 8

Page 4: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4

Fu

nd

ame

nta

lsFundamentals

Programs / Fi les

������������ ���� ��������������

�������������� ���������������������������� ��� ��� !�� ����� ���� ����� �������"���������#

�$%&!'( $

File name File type

��� ���� ������# �������������� ���)�����������

Creating a New Part Program����������� �����*� ��"� �������������� ������&���������"�� ��������" ���� ����*����������� ��������������� ���� ���+����� �����,'�� �����������������+-./,��������� ��#

&����������� ������ �&������� ����������������� ��#�������������0��1����2��� �����&������� �������������!0�� ��#�������������0��1����2��� �����

PGMMGT

File type

. H

. I

. T

. D

. P

. P N T

. A

Files in the TNC

Programs3� ��$&�'&�$!��������3� ����4������

Tables ��3����3�'�����3�5������3�5 ���

Texts ��3�!������ ���

1 BLK FORM 0.1 Z X+0 Y+0 Z-502 BLK FORM 0.2 X+100 Y+100 Z+0

Page 5: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5

Fu

nd

ame

nta

ls

��������������������� ������������������������������������������

Choosing the Screen Layout

������������ �����������6(7�

��"�������*��������� ����������������*��

Mode of operation Screen contents

5� � ��

5� � ��������������������� ���

5�����

5������������������������ ���

5�����

5�������������5�������������������� ���

5������������������������ ���

5�������������8���� ������� ���

8���� ��

��������������� ������

���������� ������������� ����

������������������������ ��������

�� ������� �������������������

�������������� ���

Page 6: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6

Fu

nd

ame

nta

ls

�������������������������� �� ����������

Mode of operation Screen contents

5�����

5�������������5�������������������� ���

5�������������5������ �������� ������� ���

��������������������

Page 7: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7

Fu

nd

ame

nta

ls

Incremental Cartesian Coordinates���� ���� ��������������������������������������� � ��������� ��������9��� by����� ������������� �����

Absolute Cartesian Coordinates���� ���� ����������������������������������� ��������9��� to��������������� �����

Programmable axes in an NC block. ������� �# : ��;������+���� ��������� ����������,� ��������� �# ( � ���������� �����������

: � ����������" ����*����<=>4%/��8�5.!�&

Page 8: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8

Fu

nd

ame

nta

lsCircle Center and Pole: CC����� ������������+��,�������������������������� ����������9�������" ����������������� ����+���������(<, ���� �������������� ��������������������� �����

��� ��������� �������� ����� �����?

!����������*��� ���� ������������������ ����"�*�����������������"��� ��������

!�� �����������*��� ���� ������������������ ����"�*��������������������������������� � ��������"��� ���

Angle Reference Axis!������@������������������ �����������5!������������������ �%4��@���������������������������������������� �

Working plane Ref. axis and 0° direction

0A1 01A2 12A0 2

������������������ �������� ���������������� ����

Page 9: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

9

Fu

nd

ame

nta

ls

Polar Coordinates' ���� ��� ��������� ������������������������������+��, !��� � �� ������"�� ��������� ���� ����*

3 5������ ������� ���5%�B�' ��������������� � �������������3 5������ �����������5!�B�!������������������������������� ���

�������� ����� ������@�5%

Incremental dimensions������������ ���� ��� ��������� ����������������������������������������� � �

Programming polar coordinates

Defining ToolsTool data&9��*���� ���� �������*����������������"����<����(;6���� �*�������� ���������������*����������

Entering tool data1�����������������������+�������.������ ���%,

3 �������������+��������*��5�������44. �,�

3 " �� ������������������ ���44.�'&��������+�����*,

��������������������� �

5���������5���*!��"������� ����������

Page 10: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 0

Fu

nd

ame

nta

ls

������������� ��������

�44.��C�-&%�44.�.&�8�$�.�44.�%!'�C��%

5����������������������� ��� ���������∆.�������D�����#∆.EF#�������� �����������������D�����∆.GF#�������� ������������������D�����

> ������������������*����������������������������������������������������������

Calling the tool data�44.��C�-&%�������>4%/��8��5��'.&�!0��#������ ��5��'.&��5&&'���44.�.&�8�$�4H&%��2&�'.�+� � �������������"���,�44.�%!'�C��4H&%��2&�'%�+� � �������������"���,

3 TOOL DEF 6 L+7.5 R+34 TOOL CALL 6 Z S2000 DL+1 DR+0.55 L Z+100 R0 FMAX6 L X-10 Y-10 R0 FMAX M6

Tool change3 -�"������������ � ��"�����9 ������������������

�� � �I3 ���� ���� ������ �������� �� ���� ����*�������� �#

�:#�����" ���6#�����������" ��

3 ������� �������� �� ����9��� D���������� ����������� ��JK== ===K��I

Page 11: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 1

Fu

nd

ame

nta

ls

�S���� ���E�����

Tool Compensation������������������������������.������ ���%������������ ������ � ��

Length compensationBeginning �� ������#

����9������ �������� ������ �

End �� ������#�����������������" ��������������.BF

Radius compensationBeginning� �� ������#

����9������ ������"�� ���������" ���%%���%.

End� �� ������#&����� �������� � � ��������" ���%F

>�� ��� without radius compensation� +� � � � �� ��,#����9������" ���%F

Page 12: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 2

Fu

nd

ame

nta

lsDatum Setting Without a 3D Touch Probe'�� ������������ ���*�������������� ����*��������� �����������"���� � ��������"��� ���#

���������D������" �����"���� ��������������!�C!.�45&%!��4���&.&��%4����$!�'>$&&.������������������������������ ����������� ��" ������������������ ������������������������������������ ������"�� ���������" ������������������������ � �����������������

Datum Setting with a 3D Touch Probe�������������� �����������������������"�*�������������� ���������$&�'&�$!���:'����������

�������" ������������� ���������9 ���*������!�C!.�45&%!L��4�����&.&��%4����$!�'>$&&.������������ �#

-�� ������ �

'��������� ��� ������� �

'��������� �������������

'��������� ��������� �����������

Page 13: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 3

Co

nto

ur

Ap

pro

ach

an

d

De

par

ture

Contour Approach and Departure

Starting point PS�

������������������� ���������������������� ��������������

�����������

Auxiliary point PH

�������������������� ������������ �� ���������������

��������������������������������������������������������

��������������������������������������

First contour point PA and last contour point PE��������� ������������

�������������������������� ������ �!���� "�

�������� ���������������������������������

End point PN�

������������������� ������������������������#$�� �������!

��� "�����

��������� ����������� ��������%�

Path Functions for Approach and Departure�������������"����������������������� ���&

'������������������������ ���� ���

'������������������ ��������� ����������

��� ������� �������������� ���� ���

'����������������������������� ���� ������ ������������������

( ���������������� ������������������������� "�( #$����� "�������������� �������������%�

Page 14: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 4

Co

nto

ur

Ap

pro

ach

an

d

De

par

ture

Approaching on a Straight Line Perpendicular tothe First Contour Element

�))�#*���$'������������� �������������

#���� ��+$�� �����!���������

����

$������������+$��,�%��#*-'��).�$�'��*)����/�+

Approaching on a Straight Line withTangential Connection

�))�#*���$'������������� �������������

#���� ��+$�� �����!���������

����

$������������+$��,�%�))+���#*-'��).�$�'��*)����/�+

7 L X+40 Y+10 R0 FMAX M38 APPR LT X+20 Y+20 LEN 15 RR F1009 L X+35 Y+35

7 L X+40 Y+10 R0 FMAX M38 APPR LN X+10 Y+20 LEN 15 RR F1009 L X+20 Y+35

Page 15: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 5

Co

nto

ur

Ap

pro

ach

an

d

De

par

ture

Approaching Tangentially on an Arcand a Straight Line

�))�#*���$'������������� �������������

��#*-'��$��������������,�%�))+���#*-'��).�$�'��*)����/�+

Approaching Tangentially on an Arc

�))�#*���$'������������� �������������

��#*-'��$��������������,�%�*��+$��$��$����0+$� ���!$����������,�%�))+���#*-'��).�$�'��*)�����/�+

7 L X+40 Y+10 R0 FMAX M38 APPR CT X+10 Y+20 CCA 180 R10 RR F1009 L X+20 Y+35

7 L X+40 Y+10 R0 FMAX M38 APPR LCT X+10 Y+20 R10 RR F1009 L X+20 Y+35

Page 16: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 6

Co

nto

ur

Ap

pro

ach

an

d

De

par

ture

Departing on a Straight LinePerpendicular to the Last Contour Element

#���� ��+$�� �����!������������

�$������������+$��,�%

Departing Tangentially on a Straight Line

#���� ��+$�� �����!������������

�$������������+$��,�%

23 L X+30 Y+35 RR F10024 L Y+20 RR F10025 DEP LT LEN 12.5 F100 M2

23 L X+30 Y+35 RR F10024 L Y+20 RR F10025 DEP LN LEN+20 F100 M2

Page 17: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 7

Co

nto

ur

Ap

pro

ach

an

d

De

par

ture

Departing Tangentially on an Arc

��#*-'��$��������������,�%�*��+$��$��$����0+$� ���!

Departing on an Arc Tangentially Connectingthe Contour and a Straight Line

�))�#*���$'�����������������

��#*-'��$��������������,�%

23 L X+30 Y+35 RR F10024 L Y+20 RR F1025 DEP CT CCA 180 R+8 F100 M2

23 L X+30 Y+35 RR F10024 L Y+20 RR F10025 DEP LCT X+10 Y+12 R8 F100 M2

Page 18: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 8

Pat

h

Fu

nct

ion

s Path Functions for Positioning Blocks

�������������� ��������������

Programming the Direction of Traverse���������������������������������������������������������������������������������������������������������������������������������

Entering the Target Positions ������������������ �������������!��������������������������"��������� ����������������������������������� ���� ����������������������������������� �����

Entries in the Positioning Block#��������������������� �����������������������������$% ������������% !�������������������������������������������&��������������'% �������������������(�)(�*% +��������+% �����������������������

,�����������-��������������������������.������������������������������������� ������������������������������������/

Path functions

Straight line

Chamfer ������� ����������������

Corner rounding

Circle center �� pole forpolar coordinates

Circular path �����0�����������������!!

Circular path withknown radius

Circular path withtangential connection ������������������

���� 19

���� 20

���� 22

���� 21

���� 21

���� 23

���� 20

Page 19: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

1 9

Pat

h

Fu

nct

ion

s

1�������������������$

Straight Line!22�345# 6������������������������������� 22)��#347��!2��65�# 425���(�)(�*+663��# 6�+�4�!6))#5627��+75! 425��

1����!�����������������$

7 L X+10 Y+40 RL F200 M38 L IX+20 IY-159 L X+60 IY-10

12 CC X+45 Y+2513 LP PR+30 PA+0 RR F300 M314 LP PA+6015 LP IPA+6016 LP PA+180

% 8�����������������������������!!� ���������������������������������/

% ���������������!!���������!�����������������/% ��������!!������������������������������������������/

Page 20: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 0

Pat

h

Fu

nct

ion

s

Corner Rounding ��� ���������������������������-�����������������������������.��������� ��9���������������������

�#347���������������������+663��# 6�+��������������������

Inserting a Chamfer Between Two Straight Lines!:#�+6���436�)65; :

7 L X+0 Y+30 RL F300 M38 L X+40 IY+59 CHF 1210 L IX+5 Y+0

% 8�����������������������������!:+� ����/% �������������������� ������������������!:+� �������� ��������/

% #������������������� ����������������������������������������/

5 L X+10 Y+40 RL F300 M36 L X+40 Y+257 RND R5 F1008 L X+10 Y+5

#���������������� ����������������������������������������/

Page 21: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 1

Pat

h

Fu

nct

ion

sCircular Path Around the Circle Center CC!22�345# 6�����������������������!!

!22�345# 6���������������������34�6! 425�2+��2 # 425�3�

!����!���� ��������������������������������������� �����

1����!�����������������$

1�������������������$

5 CC X+25 Y+256 L X+45 Y+25 RR F200 M37 C X+45 Y+25 DR+

18 CC X+25 Y+2519 LP PR+20 PA+0 RR F250 M320 CP PA+180 DR+

% 3���������������!!� ������������������������������/% ���������������!!���������!�����������������/% ��������!!������������������������������������������/% ������������������� �������������������������������������������&�#'/

Page 22: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 2

Pat

h

Fu

nct

ion

s

������1�����2 ������3�����4

10 L X+40 Y+40 RL F200 M3 Arc starting point11 CR X+70 Y+40 R-20 DR- Arc 3 or

11 CR X+70 Y+40 R-20 DR+ Arc 4

Circular Path with Known Radius (CR)!22�345# 6����������������������#347���4������������������<1�=�>?*���������������4������������������<1�@�>?*����������������34�6! 425�2+��2 # 425�3�

10 L X+40 Y+40 RL F200 M3 Arc starting point11 CR X+70 Y+40 R+20 DR- Arc 1 or

11 CR X+70 Y+40 R+20 DR+ Arc 2

Page 23: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 3

Pat

h

Fu

nct

ion

sCircular Path CT with Tangential Connection!22�345# 6����������������������#347��!2��65�# 425���(�)(�*+663��# 6�+�4�!6))#5627��+75! 425��

1����!�����������������$

1�������������������$

5 L X+0 Y+25 RL F250 M36 L X+25 Y+307 CT X+45 Y+208 L Y+0

12 CC X+40 Y+3513 L X+0 Y+35 RL F250 M314 LP PR+25 PA+12015 CTP PR+30 PA+3016 L Y+0

% 3���������������!!� ������������������������������/% ���������������!!���������!�����������������/% ��������!!������������������������������������������/

Page 24: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 4

Pat

h

Fu

nct

ion

s Helix (Only in Polar Coordinates)Calculations (upward milling direction)���������������$ � A �����������������B������������������

������������ ����������$ � A ��������-������������������4����������������$ 4�# A ������������������-�CD*E���������$ �# A #���������������������B���������

������������ ���������$ < A ��������-�&������������������B������

�����������������������'

Shape of helix

Internal thread 1������������� 3�������� ����������

�����.��� <B 3�B �))���.��� <B 3�" �������.��� <" 3�" ��)���.��� <" 3�B �)

External thread

�����.��� <B 3�B ��)���.��� <B 3�" �)�����.��� <" 3�" �))���.��� <" 3�B ��

M6 x 1 mm thread with 5 revolutions:12 CC X+40 Y+2513 L Z+0 F100 M314 LP PR+3 PA+270 RL15 CP IPA-1800 IZ+5 DR- RL F50

Page 25: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 5

FK

F

ree

C

on

tou

r P

rog

ram

min

gFK Free Contour Programming

�������������� ���������������������������������������

��������������������������������������������������� �������������������������������������������������������!��������������������"�������������� �"�#�"��������������������������!"�����������������������������������$�

Possible data on a contour element:% ���������������������������������% &�'����"�����������������������������% &�'����"������������������������������% &�����������������������������������% (�������������)����*�+������������% (������������������������������������

To use FK programming properly:% &������������������������������������� ��������$% ,�����������!���������������������������$% ������������������!����������������������!��� �#�������������������!������"���������!������"�����������������������������������$

������������������ �������������������

Page 26: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 6

FK

F

ree

C

on

tou

r P

rog

ram

min

g

Standard colors of the interactive graphics

����"�����������������������

��������"������������������������������!����������!������������

���������������������������������!���������������

����������������������!�����

Working with the Interactive Graphics

������������-�.-/&�0������������"���1

�����������������������������������������"�����������������$����������"���������������"������������������������#�����������2��������� �"�����������3

����������������!������������

�����������������"����������������������������

�����������������!��4��������������������

����������"������"�������'����������!���

Page 27: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 7

FK

F

ree

C

on

tou

r P

rog

ram

min

gInitiating the FK Dialog

������������������������������������������

���������������������������������������

��������������������

������� �������

End Point Coordinates X, Y or PA, PR

�������������������5����6

��������������������������������78

���������� �����

7 FPOL X+20 Y+308 FL IX+10 Y+20 RR F1009 FCT PR+15 IPA+30 DR+ R15

Page 28: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 8

FK

F

ree

C

on

tou

r P

rog

ram

min

g Circle Center (CC) in an FC/ FCT block

���������������������������������������

����������������������������������������������������78

���������� �����

Auxiliary Points... P1, P2, P3 on a contour

�����������������3 ������9��'����"������������������3 ������:��'����"�������

... next to a contour

�������������������'����"�������

��������������������

10 FC CCX+20 CCY+15 DR+ R1511 FPOL X+20 Y+15...13 FC DR+ R15 CCPR+35 CCPA+40

13 FC DR- R10 P1X+42.929 P1Y+60.07114 FLT AN-70 PDX+50 PDY+53 D10

Page 29: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

2 9

FK

F

ree

C

on

tou

r P

rog

ram

min

gDirection and Length of the Contour ElementData on a straight line

-����������������������������

8����������������������

Data on a circular path

-�����������������������"�������

8�������������������

27 FLT X+25 LEN 12.5 AN+35 RL F20028 FC DR+ R6 LEN 10 AN-4529 FCT DR- R15 LEN 15

Identifying a closed contour

;��������3 �8�(.,��3 �8�(�

12 L X+5 Y+35 RL F500 M313 FC DR- R15 CLSD+ CCX+20 CCY+35...17 FCT DR- R+15 CLSD-

Page 30: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 0

FK

F

ree

C

on

tou

r P

rog

ram

min

g Values Relative to Block N:Entering Coordinates

������������������������������!��� �<

���������������������������!��� �<

% /��������������!��������������������"1% ����������!��������������������������1

12 FPOL X+10 Y+1013 FL PR+20 PA+2014 FL AN+4515 FCT IX+20 DR- R20 CCA+90 RX 1316 FL IPR+35 PA+0 RPR 13

Page 31: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 1

FK

F

ree

C

on

tou

r P

rog

ram

min

g

Values Relative to Block N:Direction and Distance of the Contour Element

-�����������

���������������������������������������������������"���������������

(�������������������������

&��"��������������������������������"1

17 FL LEN 20 AN+1518 FL AN+10519 FL LEN 12.5 PAR 17 DP 12.520 FSELECT 221 FL LEN 20 IAN+9522 FL IAN+220 RAN 18

Page 32: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 2

FK

F

ree

C

on

tou

r P

rog

ram

min

g Values Relative to Block N:Circle Center CC

�����������������������������������������������!��� �<

�����������������������������������������������!��� �<

&��"������������������������������������1

12 FL X+10 Y+10 RL13 FL ...14 FL X+18 Y+3515 FL ...16 FL ...17 FC DR- R10 CCA+0 ICCX+20 ICCY-15

RCCX12 RCCY14

Page 33: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 3

Su

bp

rog

ram

sSubprograms and Program SectionRepeats

������������ �������������������������������������������������������������������� �������������������������� � �

Working with Subprograms

1 �����������������������������������������������������

2 ��������������������� ��������������������������������� ���� �

3 ��������������������

!�"���� �������������������������������������������������� � #$%&�

' ���������� ������������()*����������+,)+��-��.' /������������������ .

�����S���������R�������� ���

Working with Program Section Repeats

1 ���������������������������������������������������������������()*%0%�

2 ��������������������������������� �����������()*%0%��������� �������������������� ����� ������()*�

3 ���������������������������������������������

����������1���������������������������������������������������������� �������.

Page 34: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 4

Su

bp

rog

ram

s Subprogram Nesting:A Subprogram within a Subprogram

1 ����������������������������������������������������������

2 ������������������������������ �����������������������%�

3 ����������%������������� �

4 ������������������� ������������� �

5 ��������������������

' ����������������������������.' ��������������������� ����������2��� �������3���4��.

S���������R�������� ����

Page 35: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 5

Su

bp

rog

ram

sAny Program as a Subprogram

1 ����������������������������������������������������*5$���

2 ��������� ������������������������������ �

3 ��������������������������

���� called����������������� ������$%����$6 .

�S���������R�������� ���

Page 36: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 6

Wo

rkin

g

wit

h

Cyc

les Working with Cycles

��������������� ���������������������������������������������������� �������������������������������������������������������������������������������� �����

� ������ ������������������������������������������������������ ���������������������������������� � !

� �������������������������� ��������������"#$�%������������������ �������������!

#������

Drilling Cycles

& $#�'��( $����)*+,, "-�..��( $����/,+,& -#01��( $����/&+,+ 23-��( $����/++,) 4��5#-60.�"-�..��( $����/)

+ �0$$��( $����//&7 -�(�"��0$$��( $����/8&9 �%-#0"��4����( $����/8

Pockets, Studs, and Slots

/ $3�'#��1�..��( $����/:+&+ $3�'#��;���6%��( $����/7+&) 6�4"�;���6%��( $����/9

8 ��-�4.0-�$3�'#��1�..��( $����/*+&/ ��-�4.0-�$3�'#��;���6%��( $����8,+&8 ��-�4.0-�6�4"�;���6%��( $����8&

) 6.3��1�..��( $����8++&, 6.3��<��%�-#��$��$.4�(# $����8)+&& ��-�4.0-�6.3� $����8/

Point Patterns

++, ��-�4.0-�$0��#-� $����88++& .��#0-�$0��#-� $����8:

SL Cycles

&/ �3��34-�(#31#�-= $����89+, �3��34-�"0�0 $����8*+& $�.3��"-�..��( $����:,++ -34(%>34� $����:,+) ;.33-�;���6%��( $����:&+/ 6�"#�;���6%��( $����:&+8 �3��34-��-0�� $����:++7 �=.��"#-�64-;0�# $����:)

6 CYCL DEF 1.0 PECKING7 CYCL DEF 1.1 SET UP 28 CYCL DEF 1.2 DEPTH -159 CYCL DEF 1.3 PECKG 10...

;���������������������������?�������������������������������

Defining cycles6������������������� ���@

6����������� ���������

6����������� ���

���������������� ��

Page 37: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 7

Wo

rkin

g

wit

h

Cyc

lesMultipass Milling

), ���������������� $����:/+), 14.��$066�1�..��( $����:8+)& -4.#"�64-;0�# $����::

Cycles for Coordinate Transformations

7 "0�41�6%�;� $����:79 1�--3-��10(# $����:9

&, -3�0��3� $����:*&* <3-'��(�$.0�# $����7,&& 6�0.��(�;0��3- $����7&+: 0A�6>6$#��;���6�0.��( $����7+

Special Cycles

* "<#..���1# $����7)&+ $(1��0.. $����7)&) 3-�#��#"�6$��".#�6�3$ $����7/

Page 38: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 8

Wo

rkin

g

wit

h

Cyc

les Graphic Support During Cycle Programming

0�� �������������������������������������� ������������������������>�����������������������������

Calling a Cycle�������������� ������������������������������� �����������@� � ���������������������������������� "<#..���1#�� ���� ����6.�� ������3��34-�(#31#�-=������3��34-�"0�0� $�������������

0���������� �������������������������� �������������������� �=�.��0..@�������������������� � 1**@�������������������� � 19*@������������������������B������������������������������������C

Page 39: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

3 9

Dri

llin

g

Cyc

lesDrilling Cycles

PECKING (1)������������ ��������������������������������A��������������������� !��"#$%� &�'$#()����*#" �� $� &+$ $%�$"� &�&$�,��B���������������C�-������.���������������������

�"� &���������������������/# #� & !�$#�0* �� $� &�������������1� &� $$���#����� &�! �#�&$���!�$!�)�*!/2

6 CYCL DEF 1.0 PECKING7 CYCL DEF 1.1 SET UP +28 CYCL DEF 1.2 DEPTH -159 CYCL DEF 1.3 PECKG +7.510 CYCL DEF 1.4 DWELL 111 CYCL DEF 1.5 F8012 L Z+100 R0 FMAX M613 L X+30 Y+20 FMAX M314 L Z+2 FMAX M9915 L X+80 Y+50 FMAX M9916 L Z+100 FMAX M2

Page 40: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 0

Dri

llin

g

Cyc

les DRILLING (200)

������������ ������344��������������������������5344������6���� !��+ '!�'$#()����*#" �� !��+$ $%�$"�&$��534�������������������������5347���������������5343�-������.����������53�4�������������������53483��������������������5349

�&����� * $% �� ����)#�)$�� �$!�� &� $$���!� &� $$�� :��2��"� &���������/# #� & !�$#�0* �� $� &��������������1� &� $$���#���� $� &��������!�$!�)�*!/2

11 CYCL DEF 200 DRILLING Q200 = 2 Q201 = -15 Q206 = 250 Q202 = 5 Q210 = 0 Q203 = +0 Q204 = 10012 L Z+100 R0 FMAX M613 L X+30 Y+20 FMAX M314 CYCL CALL15 L X+80 Y+50 FMAX M9916 L Z+100 FMAX M2

Page 41: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 1

Dri

llin

g

Cyc

lesREAMING (201)

������������ ������34�����.��������������������5344������6���� !��+ '!�'$#()����*#" �� !��+$ $%�$"�&$��534�������������������������5347�-������.������������53������������������������534;�������������������53483��������������������5349

�&����� * $% �� ����)#�)$�� �$!�� &� $$���!� &� $$�� :��2

11 CYCL DEF 201 REAMING Q200 = 2 Q201 = -15 Q206 = 100 Q211 = 0.5 Q208 = 250 Q203 = +0 Q204 = 10012 L Z+100 R0 FMAX M613 L X+30 Y+20 FMAX M314 CYCL CALL15 L X+80 Y+50 FMAX M9916 L Z+100 FMAX M2

Page 42: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 2

Dri

llin

g

Cyc

les

11 CYCL DEF 202 BORING Q200 = 2 Q201 = -15 Q206 = 100 Q211 = 0.5 Q208 = 250 Q203 = +0 Q204 = 100 Q214 = 112 L Z+100 R0 FMAX M613 L X+30 Y+20 FMAX M314 CYCL CALL15 L X+80 Y+50 FMAX M9916 L Z+100 FMAX M2

BORING (202)

� !/#�$"��$�����$!<��&$$�� ����!/ /�!/���#� �$!� & %$=�� &� $$�� ' ��"#$%� &�' ���$"� &�&$�2

������������ ������343�>����������������������5344������6���� !��+ '!�'$#()����*#" �� !��+$ $%�$"�&$��534�������������������������5347�-������.������������53������������������������534;�������������������53483��������������������5349��������������������4?�?3?8?9,� �+$ $%�$"�&$���53�9

�&����� * $% �� ����)#�)$�� �$!�� &� $$���!� &� $$�� :��2

Page 43: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 3

Dri

llin

g

Cyc

lesUNIVERSAL DRILLING (203)

������������ ������348����@������������������������������5344������6���� !��+ '!�'$#()����*#" �� !��+$ $%�$"�&$��534�������������������������5347���������������5343�-������.����������53�4�������������������53483��������������������5349�����.���� " #� �&�)�(�!/��) &��53�3������>�����6��*%+#�$"��&�)�+# (��+"$#�# # � �$!��53�8.��2����������������"� ������.����& ��+!�! #��534A�-������.������������53������������������������534;

�&����� * $% �� ����)#�)$�� �$!�� &� $$���!� &� $$�� :��2��"� &���������/# #� & !�$#�0* �� $� &��������������1� &� $$���#���� $� &��������!�$!�)�*!/2

Page 44: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 4

Dri

llin

g

Cyc

les TAPPING with Floating Tap Holder (2)

�!�# � &�"�$ �!/� )�&$��#������������ ������3�������������������������A������������������ &# ���!/ &�B���� !��+ '!� &'$#()����*#" �� !�� &�!��$"� &� &# �,��B�-������.������������ �= �*�+ '!�4� !��42A���$!��,������������B�)�!����)���:� &# ��)� �&��

�$#� ))�!/�#�/& �& !�� &# ��1� � * � &��)�!���'� &�.81"$#��" �& !�� &# ���*��.9<

25 CYCL DEF 2.0 TAPPING26 CYCL DEF 2.1 SET UP 327 CYCL DEF 2.2 DEPTH -2028 CYCL DEF 2.3 DWELL 0.429 CYCL DEF 2.4 F10030 L Z+100 R0 FMAX M631 L X+50 Y+20 FMAX M332 L Z+3 FMAX M99

Page 45: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 5

Dri

llin

g

Cyc

lesRIGID TAPPING (17)

C . �&�!� !������%*� �+�)#) #��+�� &�% �&�!� $$�+*���#� $�)#"$#%�#�/��� ))�!/<

C �!�#�/��� ))�!/1� &��)�!����)�������!�&#$!�D��'� &� & $$�� :���"��# <

������������ �������E�������������������������������A������������������ !��+ '!�'$#()����*#" �� !��!�$"� &# �,��B�������C�&� �/+# �����/!�� #%�!�� &���#� �$!�$"� &� &# ��C ��/& �& !�� &# ���FC �" �& !�� &# ���6

THREAD CUTTING (18)C �&�% �&�!� !������%*� �+�)#) #��+�� &�% �&�! $$��+*���#�"$#���������������<

C �&��)�!����)�������!�&#$!�D��'� &� &� $$�� :���"�# <

������������ �������;������������������������� !��+ '!�'$#()����*#" �� !��!��$" &# �,�� B�������C�&� �/+# �����/!�C ��/& �& !�� &# ���FC �" �& !�� &# ���6

Page 46: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 6

Po

cke

ts,

Stu

ds,

an

d

Slo

ts

12 CYCL DEF 4.0 POCKET MILLING13 CYCL DEF 4.1 SET UP214 CYCL DEF 4.2 DEPTH-1015 CYCL DEF 4.3 PECKG4 F8016 CYCL DEF 4.4 X8017 CYCL DEF 4.5 Y4018 CYCL DEF 4.6 F100 DR+ RADIUS 1019 L Z+100 R0 FMAX M620 L X+60 Y+35 FMAX M321 L Z+2 FMAX M99

Pockets, Studs, and SlotsPOCKET MILLING (4)

���������������� ������ ��� ������������������������� ���������� � ������ ��� �

��� ���� ���������������� ������ �!��"������ �����#� ����������$������������ ��� ���!����� ������ �!�%���� ���$��� ������� � ������� ������!� ���� ��#� ����� �&� �� ��������� ������� ���� R0'%'(�)*+,���� ��������-�'.*��/�((�01�*��2-�'(*3430'*,�A/�((�01�)*-�5���� ���#� ������ �,�B-*'.�01�)*-�5,�C+**)�43�*�+�4�-*'.�01+�4�����)*�(*01�5����� ���#� ������ 6�������� �� ��#�� ������"����#� ��&�����������,�D�*'�0)���)*�(*01�5��&�� ���#����� 6��������&�������� �!�,�E+**)�43�*4��3���0�'(�'.7��*,�)48'��� ���������&� ��/9,�)4:2���� ���������&� ��/9,�)484�20)�01��++�43)�2��4��������#�� ������ ������

Page 47: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 7

Po

cke

ts,

Stu

ds,

an

d

Slo

ts

POCKET FINISHING (212)'%'(�)*+,���� �'����;�;�-�'.*��+�0��5�01�*��2-�'(*3430'*,�<;==)*-�5�8�)�� ���� &��&��������#������� � ����#����,<;=�+**)�43�*�+�4�-(201�01,�<;=�-*'.�01�)*-�5,�<;=;+**)�43�*�+�4�/�((�01,�<;=>�24+3'*��'��4)�03�*,�<;=9;0)��*��2-�'(*3430'*,�<;=�'*0�*4��0�����3?��,�<;��'*0�*4��0�;0)�3?��,�<;�>+�4�����)*�(*01�5,�<;�@�*'�0)���)*�(*01�5,�<;�A'�40*4�43)�2�,�<;;=3((�730'*��0�����3?�,�<;;�

����0'��� ��� ������������� ����� �� ������� �� �����"���������� �&����������$��#� ��)*-�5������ � ����������� �� ��-*'.�01)*-�56� �� ���������� �� ��)*-�5������������$

Page 48: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 8

Po

cke

ts,

Stu

ds,

an

d

Slo

tsSTUD FINISHING (213)'%'(�)*+,���� �'����;�9���2)�+�0��5�01�*��2-�'(*3430'*,�<;==)*-�5�8�)�� ���� &��&��������#������� � ����#����,<;=�+**)�43�*�+�4�-(201�01,�<;=�-*'.�01�)*-�5,�<;=;+**)�43�*�+�4�/�((�01,�<;=>�24+3'*��'��4)�03�*,�<;=9;0)��*��2-�'(*3430'*,�<;=�'*0�*4��0�����3?��,�<;��'*0�*4��0�;0)�3?��,�<;�>+�4�����)*�(*01�5,�<;�@�*'�0)���)*�(*01�5,�<;�A'�40*4�43)�2�,�<;;=3((�730'*��0�����3?�,�<;;�

����0'��� ��� ������������� ����� �� ������� �� �����"���������� �&����������$��#� ��)*-�5������ � ����������� �� ��-*'.�01)*-�56� �� ���������� �� ��)*-�5������������$

Page 49: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

4 9

Po

cke

ts,

Stu

ds,

an

d

Slo

ts

CIRCULAR POCKET MILLING (5)���������������� ������ ��� ������������������������� ���������� ����� ��� �

��� ������� � ������� ������!� ���� ��#� ����� �&� �� ��������� ������� ���� R0'%'(�)*+,���� ������B�*��2-�'(*3430'*,�A/�((�01�)*-�5���� ���#� ������ �,�B-*'.�01�)*-�5,�C+**)�43�*�+�4�-*'.�01'�4'(*�43)�2��4���������#� ������ �+**)�43�*4��3���0�'(�'.7��*,�)48'��� ���������&� ��/9,�)4:2���� ���������&� ��/9,�)48

17 CYCL DEF 5.0 CIRCULAR POCKET18 CYCL DEF 5.1 SET UP 219 CYCL DEF 5.2 DEPTH -1220 CYCL DEF 5.3 PECKG 6 F8021 CYCL DEF 5.4 RADIUS 3522 CYCL DEF 5.5 F100 DR+23 L Z+100 R0 FMAX M624 L X+60 Y+50 FMAX M325 L Z+2 FMAX M99

Page 50: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 0

Po

cke

ts,

Stu

ds,

an

d

Slo

tsCIRCULAR POCKET FINISHING (214)'%'(�)*+,���� �'����;���'�4'2(34�-�'.*��+�0��5�01�*��2-�'(*3430'*,�<;==)*-�5�8�)�� ���� &��&��������#������� � ����#����,<;=�+**)�43�*�+�4�-(201�01,�<;=�-*'.�01�)*-�5,�<;=;+**)�43�*�+�4�/�((�01,�<;=>�24+3'*��'��4)�03�*,�<;=9;0)��*��2-�'(*3430'*,�<;=�'*0�*4��0�����3?��,�<;��'*0�*4��0�;0)�3?��,�<;�>7�4.-�*'*�C(30.�)�3$,�<;;;+�0��5*)�-34��)�3$,�<;;9

����0'��� ��� ������������� ����� �� ������� �� �����"���������� �&����������$��#� ��)*-�5������ � ����������� �� ��-*'.�01)*-�56� �� ���������� �� ��)*-�5������������$

Page 51: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 1

Po

cke

ts,

Stu

ds,

an

d

Slo

ts

CIRCULAR STUD FINISHING (215)'%'(�)*+,���� �'����;�B�'�4'2(34���2)�+�0��5�01�*��2-�'(*3430'*,�<;==)*-�5�8�)�� ���� &��&��������#������� � ����#����,<;=�+**)�43�*�+�4�-(201�01,�<;=�-*'.�01�)*-�5,�<;=;+**)�43�*�+�4�/�((�01,�<;=>�24+3'*��'��4)�03�*,�<;=9;0)��*��2-�'(*3430'*,�<;=�'*0�*4��0�����3?��,�<;��'*0�*4��0�;0)�3?��,�<;�>7�4.-�*'*�C(30.�)�3$,�<;;;+�0��5*)�-34��)�3$,�<;;9

����0'��� ��� ������������� ����� �� ������� �� �����"���������� �&����������$��#� ��)*-�5������ � ����������� �� ��-*'.�01)*-�56� �� ���������� �� ��)*-�5������������$

Page 52: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 2

Po

cke

ts,

Stu

ds,

an

d

Slo

tsSLOT MILLING (3)

D ���������������� ������ ��� ������������������������� ���������� � ��� � �������� �

D ����� ����� ���� � ������� ���� ����� �&�� ��������� �������#� ����� �&�� ��

��� ������� � ������� ������!� ��������� ��#� ����� �����##� � �� �� ����������&� �� ����������������� ����� �R0'%'(�)*+,���� ������9��(���/�((�01�3+*�%�'(*3430'*,�A/�((�01�)*-�5���� ���#� ����� �,�B-*'.�01�)*-�5,�C+**)�43�*�+�4�-*'.�01�� �!��!���� ��#�����������+�4�����)*�(*01�5�E����� ���#� ����� �,�D������ ���������� ����� ��#�� ��� ������� ����*'�0)���)*�(*01�5�E��&�� ���#� ����� �,�E+**)�43�*��#����������

10 TOOL DEF 1 L+0 R+611 TOOL CALL 1 Z S150012 CYCL DEF 3.0 SLOT MILLING13 CYCL DEF 3.1 SET UP 214 CYCL DEF 3.2 DEPTH -1515 CYCL DEF 3.3 PECKG 5 F8016 CYCL DEF 3.4 X5017 CYCL DEF 3.5 Y1518 CYCL DEF 3.6 F12019 L Z+100 R0 FMAX M620 L X+16 Y+25 R0 FMAX M321 L Z+2 M99

Page 53: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 3

Po

cke

ts,

Stu

ds,

an

d

Slo

ts

SLOT WITH RECIPROCATING PLUNGE-CUT (210)����� ����� ���� � �������� ���� ��&�� ���#� ���� 6�������������� ������� ����

'%'(�)*+,���� �'����;�=��(���4*'�-$�-(01�*��2-�'(*3430'*,�<;==)*-�5�8�)�� ���� &��&��������#������� � ����#����,<;=�+**)�43�*�+�4�/�((�01,�<;=>-*'.�01�)*-�5,�<;=;/3'5�0�01��-*43���0��=F�F;��8�=�G�������������#��������6��G�������������6�;�G�#�������������,�<;�B�24+3'*��'��4)�03�*,�<;=9;0)��*��2-�'(*3430'*,�<;=�'*0�*4��0�����3?��,�<;��'*0�*4��0�;0)�3?��,�<;�>+�4�����)*�(*01�5,�<;�@�*'�0)���)*�(*01�5,�<;�A301(*��+�4��3���0������� ��&� �� ����� ����� � ��,�<;;�

����0'��� ��� ������������� ����� �� ������� �� �����"���������� �&����������$�)������������� �� ������������ ��������� �� �� �������� ��������#� ���� ���� &�� �������#� ����� $�-��� ����������� �#����������$

Page 54: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 4

Po

cke

ts,

Stu

ds,

an

d

Slo

tsCIRCULAR SLOT with reciprocating plunge (211)

����� ����� ���� � �������� ���� ��&�� ���#� ���� 6�������������� ������� ����

'%'(�)*+,���� �'����;���'�4'2(34��(���*��2-�'(*3430'*,�<;==)*-�5�8�)�� ���� &��&��������#������� � ����#����,<;=�+**)�43�*�+�4�/�((�01,�<;=>-*'.�01�)*-�5,�<;=;/3'5�0�01��-*43���0��=F�F;��8�=�G�������������#��������6��G�������������6�;�G�#�������������,�<;�B�24+3'*��'��4)�03�*,�<;=9;0)��*��2-�'(*3430'*,�<;=�'*0�*4��0�����3?��,�<;��'*0�*4��0�;0)�3?��,�<;�>-��'5�'�4'(*�)�3$,�<;���*'�0)���)*�(*01�5,�<;�A��34��01�301(*��#� ����� ,�<;�B3012(34�(*01�5��#� ����� ,�<;�@

����0'��� ��� ������������� ����� �� ������� �� �����"���������� �&����������$�)������������� �� ������������ ��������� �� �� �������� ��������#� ����������� ���� &�� �������#� ����� $-��� ������������ �#����������$

Page 55: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 5

Po

int

Pat

tern

sPoint Patterns

CIRCULAR PATTERN (220)������������ ���������������������������������������������������������������������������������������������������������������� ��������������������������������������������������������������!����������������������������������������"������!������������������

# �����������������������$%�&&� $'�$(()$* ���+,-.)&$.$ $-./

# ���������*+ -(* $�*�����*��%� 0��*% �)&$.)�&$1)�����/# ����������*.�2��-(2$.)�3$ 0�����%��4��4�"4��4� 4���4���4����4����4���"4����4���"4����4���

# �.��-(2$.)�����%4� 0���!������������4������������������*.)�������!�������������*5�*�3*�% *6.�&5-(���������/

�0�����*+ -(* $�*����,5!,-%$ $-.%� 0� --��$.� 0� --��*1$%�*.)�$.� 03-56$.7�,�*.8

Page 56: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 6

Po

int

Pat

tern

s LINEAR PATTERN (221)������������ ���������������������������������������������� ��������������������������������������������"����������������������"9��:;����������:���������:;���������������"�������������������������!����������������������������������������"������!������������������

# ������������������������$%�&&� $'�$(()$* ���+,-.)&$.$ $-./

# ���������*+ -(* $�*�����*��%� 0��*% �)&$.)�&$1)�����/# �����������*.�2��-(2$.)�3$ 0�����%��4��4�"4��4� 4���4���4����4����4���"4����4���"4����4���

# �.��-(2$.)�����%4� 0���!������������4������������������*.)�������!�������������*5�*�3*�% *6.�&5-(���������/

�0�����*+ -(* $�*����,5!,-%$ $-.%� 0� --��$.� 0� --��*1$%�*.)�$.� 03-56$.7�,�*.8

Page 57: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 7

SL

C

ycle

sSL Cycles

General Information������������������� �������� ��������������������������������������������������������������������������������

�������������������������������������

���� ������ ��������������!�� ���������"# $���pocket ��������������������������������!�����

island� ��� ��� ����������������%# ���� approach ��� departure� �� ���� �� infeed in the

tool axis cannot ��� �������� ��� ��� ������%# &��������������������'������(�')*�)+,�-&).&�,/����������������������%# ��������������������������������������������������������%�0��1����������2�������������������!�����1����!����������������������������

���������������������3�')*�)+,��,04*������������������%

.������������������������������������������������ ��������������������������������������������������%

Page 58: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 8

SL

C

ycle

s CONTOUR GEOMETRY (14)4��'������(�')*�)+,�-&).&�,/������������������������������ �������������������������������������������������

'/'��5&$"��������'������(�')*�)+,�-&).&�,/�06&��*+.6&,��$),�')*�)+,"�����������06&�������������������������������� �����������������������������7��������������������

'������(�')*�)+,�-&).&�,/���������������������������������������%

�A�����B���������� � C�����D� �������

4 CYCL DEF 14.0 CONTOUR GEOM5 CYCL DEF 14.1 CONTOUR LABEL 1/2/3...36 L Z+200 R0 FMAX M237 LBL138 L X+0 Y+10 RR39 L X+20 Y+1040 CC X+50 Y+50...45 LBL046 LBL2...58 LBL0

Page 59: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

5 9

SL

C

ycle

sCONTOUR DATA (20)'������8�')*�)+,�50�0������������������������������������������������(�

'/'��5&$"��������'������8�')*�)+,�50�0.4��4*-�5&9�:�;�"5����������� ����������������������������<����������90�:�)=&,�09�$0'�),�;�";��1�����������>���������������0��) 0*'&�$),��45&�;?"$������������ ����������� �������������������������0��) 0*'&�$),�$�)),�;("$������������ ���������������������� ),@94&'&��+,$0'&�')),54*0�&��;3"'��������������� ���������������������������������������<���������&�+9�'�&0,0*'&�;A"5��������������������������� �������������<����������'�&0,0*'&�:&4-:��;B":�������� ���������������������������� �������� �������<�������,)+*54*-�,054+��;2",���������������������������������������54,&'�4)*�)$�,)�0�4)*�;C"# '���� ��� ;C�> D�# '����������� ��� ;C�> E�

'������8�')*�)+,�50�0���������������������������������������%

Page 60: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 0

SL

C

ycle

s PILOT DRILLING (21)

'/'��5&$"��������'��������94�)��5,4��4*-9&'@4*-�5&9�:�;�8<����������$&&5�,0�&�$),�9&'@4*-�;��,)+-:�.4���;�?"�*������������������������

ROUGH-OUT (22)��������������������������������������������������������

'/'��5&$"��������'��������,)+-:7)+�9&'@4*-�5&9�:�;�8<����������$&&5�,0�&�$),�9&'@4*-�;��$&&5�,0�&�$),�.4��4*-�;��')0,�&�,)+-:4*-��))��*+.6&,�;�2$&&5�,0�&�$),�,&'49,)'0�4)*�;�C

Page 61: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 1

SL

C

ycle

sFLOOR FINISHING (23)5��������������!�������������������������������������������������������������������������������0��) 0*'&�$),�$�)),�

'/'��5&$"��������'������?�$�)),�$4*4�:4*-$&&5�,0�&�$),�9&'@4*-�;��$&&5�,0�&�$),�.4��4*-�;��

SIDE FINISHING (24)$��������������������������������������

'/'��5&$"��������'������(��45&�$4*4�:4*-54,&'�4)*�)$�,)�0�4)*F�'�)'@ 4�&�>�D��;C"# '���� ��� ;C�>�D�# '���������� ��� ;C�>�E�9&'@4*-�5&9�:�;�8<����������$&&5�,0�&�$),�9&'@4*-�;��$&&5�,0�&�$),�.4��4*-�;��$4*4�:4*-�0��) 0*'&�$),��45&�;�("��0��� ������������������������������

# �����������;�(�E�����������������������������������������������;?��'������8��E������������������%# '���'��������,)+-:7)+���������������'������(%

Page 62: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 2

SL

C

ycle

s CONTOUR TRAIN (25)��������������������������������������������������������������������������������������������

'/'��5&$"��������'������3�')*�)+,��,04*.4��4*-�5&9�:�;�<����������0��) 0*'&�$),��45&�;?"$������������ ����������� ���������� ),@94&'&��+,$0'&�')),54*0�&��;3"'������������������������� ������������<��������'�&0,0*'&�:&4-:��;B":�������� ���������������������������� �������� �������<��������9&'@4*-�5&9�:�;�8<����������$&&5�,0�&�$),�9&'@4*-�;��$&&5�,0�&�$),�.4��4*-�;��'�4.6�),�+97'+��F�+97'+��>�D��;�3# '������������" ;�3�>�E�# +�7�����������" ;�3�>�D�# 0���������������������������"�;�3�>�8

# '������(�')*�)+,����������������������������# 0������������������������������2���������������

Page 63: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 3

SL

C

ycle

sCYLINDER SURFACE (27)

������������G�����������7��������������4�)��A(��%

'������B�'/�4*5&,��+,$0'&���������������������������������������������� ��1��!���������������������*'�����������������������������������

5����������������������������������������'������(�')*�)+,-&).&�,/'/'��5&$"��������'������B�'/�4*5&,��+,$0'&.4��4*-�5&9�:�;�$4*4�:4*-�0��) 0*'&�$),��45&�;?"�&��������������������� 7�����&�����;?H8���;?I8��&�7+9�'�&0,0*'&�F�;A"�5��������������������������� �������9&'@4*-�5&9�:�;�8$&&5�,0�&�$),�9&'@4*-�;��$&&5�,0�&�$),�.4��4*-�;��'/�4*5&,�,054+��;�A"�,�������������������54.&*�4)*��/9&F�5&->8�..J4*':>��;�B"�/���������������������������������������������������������

���������������*'����������������������'/�4*5&,�+,$0'&��������������������������������%

# ���� ��������������������������������������������������%# ���������1�����������������������������1�����������������%# '������(�')*�)+,�-&).&�,/��������������������������%# 0������������������������������2��������������%

��������������������

Page 64: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 4

Mu

ltip

ass

Mill

ing Multipass Milling

RUN DIGITIZED DATA (30)

��������������� ������������������ �������������

������� !�����������"#�$%&���'���(����)�)*'+�&)+�� �$���'���(����)�)+�&,�*��&��$)&'�+)-,�*��&��$)&'�����%*����)$)&��!�A*��.�&'���*�/!�C ����$)��� �$�*��.�&'!�D ����$)��!�B+������)&��%�� %&����&�+

7 CYCL DEF 30.0 RUN DIGITIZED DATA8 CYCL DEF 30.1 PROGRAM19 CYCL DEF 30.2 X+0 Y+0 Z-3510 CYCL DEF 30.3 X+250 Y+125 Z+1511 CYCL DEF 30.4 SET UP 212 CYCL DEF 30.5 PECKG 5 F12513 CYCL DEF 30.6 F350 M112 T0.01 A+10

A

C X

Z

D

Page 65: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 5

Mu

ltip

ass

Mill

ingMULTIPASS MILLING (230)

0�����������0����0�1�����&���0����0�������00� ��0� ��� ���� ������� ���2��0����03����3����� ������20� ��0�1�3����������405��2��� �� ��������������00�� 6��,*��0����0������00���������� �4 ���� ���������0�� �203��0�����0��4�������405����0�3�6���,

������� !�����������7"#�+%���*)���+����&'��)$��&'�*��&���&�����)-��!�8779��)$��&'�*��&���&�7&��)-��!�877���)$��&'�*��&���&�"$��)-��!�877: �$����������&'�/!�87�;����&���������&'�/!�87�<&%+=�$�� ��%��!�87�# ����$)��� �$�*�%&'�&'!�87#� ����$)��� �$�+����&'!�87#:���*�>�$� ����$)��!�87#<����%*����)$)&��!�87##

Page 66: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 6

Mu

ltip

ass

Mill

ing RULED SURFACE (231)

�� ���2�30���������� ���0����0�1�����&���0����0�������00� ������� ���2��0����?�0�����@1�3����������405��2��� �� �������������00�� 6��,

������� !�����������7"��$%�����%$ )����)$��&'�*��&���&�����)-��!�8779��)$��&'�*��&���&�7&��)-��!�877���)$��&'�*��&���&�"$��)-��!�877:7&��*��&���&�����)-��!�877;7&��*��&���&�7&��)-��!�877<7&��*��&���&�"$��)-��!�87"#"$��*��&���&�����)-��!�87"�"$��*��&���&�7&��)-��!�87"7"$��*��&���&�"$��)-��!�87""��/�*��&���&�����)-��!�87"���/�*��&���&�7&��)-��!�87"9��/�*��&���&�"$��)-��!�87"�&%+=�$�� ��%��!�87�# ����$)��� �$�+����&'!�87#:

Page 67: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 7

Cyc

les

for

Coo

rdin

ate

Tran

sfo

rmat

ion

sCycles for Coordinate Transformation

������������ ������ ������ �������� ��������

� ������� ����� � ������������ ���� ����� ��!!"!����#$� !������%� �������� �& ����� '( !"����")� ������������������� � ����� '* +"!,�)#�-.�)$� $ ��/���������� ����� '' ���.�)#

������������ ������ ������ �����������0���� ����� ��� �� ���������������������� ��1������/� ���� ���������������� ���� ������/��1�� ����0�������� ����������������� ��� ���� ���1

DATUM SHIFT (7)�2�.��$�3���������������������������$ ���������� ����������� �4������������ ����������������������������������1

���� �����������������3�!�5� ����������������� ��� �4��������� ���0�����(1

9 CALL LBL1 �����������������/��10 CYCL DEF 7.0 DATUM SHIFT11 CYCL DEF 7.1 X+6012 CYCL DEF 7.2 Y+4013 CALL LBL1 �����������������/��

+�� ����� � /��� ������ �6�������������������������/��������������������� ������ �7

Page 68: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 8

Cyc

les

for

Coo

rdin

ate

Tran

sfo

rmat

ion

s MIRROR IMAGE (8)

�2�.��$�3�������������� ���!!"!����#$$ ���������!!"!����#$��8��3�$�����86�26�����

�����������������/�6��5� ����������������� ��� �4����)"�$)�1

15 CALL LBL116 CYCL DEF 7.0 DATUM SHIFT17 CYCL DEF 7.1 X+6018 CYCL DEF 7.2 Y+4019 CYCL DEF 8.0 MIRROR IMAGE20 CYCL DEF 8.1 Y21 CALL LBL1

� ��������9����� ���������7� ������������4�������������/� ���� ���%� �������9������ �����/���.:.'&7

Page 69: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

6 9

Cyc

les

for

Coo

rdin

ate

Tran

sfo

rmat

ion

s

12 CALL LBL113 CYCL DEF 7.0 DATUM SHIFT14 CYCL DEF 7.1 X+6015 CYCL DEF 7.2 Y+4016 CYCL DEF 10.0 ROTATION17 CYCL DEF 10.1 ROT+3518 CALL LBL1

Rotation (10)

�2�.��$�3��������������'(�!"����")$ �������!"����")��)#.$3� � ����� /��;<=(>���?<=(>� !���� ����9������������� �� /��

Working plane Reference axis and 0° direction

8@2 82@A 2A@8 A

���������!"����")6��5� �������������4������������ �� /���(1

Page 70: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 0

Cyc

les

for

Coo

rdin

ate

Tran

sfo

rmat

ion

s WORKING PLANE (19)������'*�+"!,�)#�-.�)$������������� � /������ ��4������4�0��������� �@������ /������1

�����������!�������������� ���������9���%����0� �������� &-���� ����������9����������������� /���4����� �.5���B�2�.��$�3��������������'*�+"!,�)#�-.�)$$ �������!"��!2��8����)���)#.$

����0�������� ���� 3��0�����������9��-/�������� ���������������� ��4��� ��������

���� ��������+"!,�)#�-.�)$������6��5� ����������������� ��� 4������(>�� /��1

��������� ��� ���)�����������������������+"!,�)#-.�)$������������������� �����������7

4 TOOL CALL 1 Z S25005 L Z+350 R0 FMAX6 L B+10 C+90 R0 FMAX7 CYCL DEF 19.0 WORKING PLANE8 CYCL DEF 19.1 B+10 C+909 L Z+200 R0 F100010 L X-50 Y-50 R0

Page 71: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 1

Cyc

les

for

Coo

rdin

ate

Tran

sfo

rmat

ion

sSCALING (11)

�2�.��$�3��������������''����.�)#$ ������������ /�����"!�%��.&3� � ����� /��(1((((('���**1******3������������� ���111���.�C�'��� ��/������� ���111���.�D�'

���� �����������.�)#6��5� ����������������� ��� �4������.'1

11 CALL LBL112 CYCL DEF 7.0 DATUM SHIFT13 CYCL DEF 7.1 X+6014 CYCL DEF 7.2 Y+4015 CYCL DEF 11.0 SCALING16 CYCL DEF 11.1 SCL 0.7517 CALL LBL1

���.�)#��� �����������0��� �����4B� /���� �� ����� ������������ ��9���%���� �� /� ������ �����������E'(&7

Page 72: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 2

Cyc

les

for

Coo

rdin

ate

Tran

sfo

rmat

ion

s AXIS-SPECIFIC SCALING (26)

�2�.��$�3��������������F(��8��5�-$�1����.�)#�8���� ������"!3���� �����9���� �����������9�� �� /�������� /�� ������� �� ��$)�$!-"�)���""!�1�"��$8�$)��")3��� ����������9�� �� ��������

���� ���������8��5�-$�1����.�)#6��5� ����������������� ��� ����/ � /����������'�����������������9��1

��� �����9������� /���� �������������������9�� ������������������������������� /�����7

25 CALL LBL126 CYCL DEF 26.0 AXIS-SPEC. SCALING27 CYCL DEF 26.1 X 1.4 Y 0.6 CCX+15 CCY+2028 CALL LBL1

Page 73: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 3

Sp

eci

al-C

ycle

sSpecial Cycles

DWELL TIME (9)�������������� �� ����������������������� ���������������������

������������������ ����!���������������������������������"����#"���

PGM CALL (12)

������������������ ����$%�&'���(�������������������������������� ���) ���������

� ����$%�&'���(�������*�����������*������� +�,

48 CYCL DEF 9.0 DWELL TIME49 CYCL DEF 9.1 DWELL 0.5

7 CYCL DEF 12.0 PGM CALL8 CYCL DEF 12.1 LOT319 L X+37.5 Y-12 R0 FMAX M99

Page 74: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 4

Sp

eci

al-C

ycle

s

12 CYCL DEF 13.0 ORIENTATION13 CYCL DEF 13.1 ANGLE 90

Spindle ORIENTATION

������������������ ����$-�#.��"�(��#"����������#.��"�(��#"�("'�����������������������������������/ ���������)��0 ��������1 �����������2����-3241 ������������� ���2�$4

��������� ����) ����$!

������ �������"������*���������������� ����#.��"�(��#"�* ������� ��������*� ����,

Page 75: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 5

Dig

itiz

ingDigitizing 3D Surfaces

������������������ ���������������������������������������������� �����

������������ ������������������������������������������������ ����� ���������� ������������������� ���� !"#$�%�!&�'$

���� !"#$�(%�!&�'$� )���������������������������� ���� !"#$�(*�+$&�)$!� )����������,��������,��� ���� !"#$�(-��"��".!�/0�$1� )���������� ���������������� ���� !"#$�(2�/0�$

�������������������������������������������������� ���������3��������������������������������������45�6���7�������������������������������&5�#����3

� )������������������������������������������������������������������������������,��

� )������������������������������3�����������������,������������ �����������

Selecting digitizing cycles

��������,��,��������� ���������� �����

1���������������������8���5���

�����'"�"������������������ ����

Page 76: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 6

Dig

itiz

ing Digitizing Cycle RANGE (5)

)���������������������������������".��� !"#$��1������������%�!&�'$ '+��&+$��"!�)0'0�07$)�)&�&��$������������������������������������������������������� ����������3���� !"#$�&401��$���������������������� ��������+0�3� "0���!&�'$+&43� "0���!&�'$�/$&!&��$��$0'���������������������������� ���������������������������� �������7

5 TCH PROBE 5.0 RANGE6 TCH PROBE 5.1 PGM NAME: DIGI17 TCH PROBE 5.2 Z X+0 Y+0 Z+08 TCH PROBE 5.3 X+100 Y+100 Z+209 TCH PROBE 5.4 HEIGHT: +100

Page 77: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 7

Dig

itiz

ingDigitizing Cycle RANGE (15)

)���������������������������������".��� !"#$��1������������(%�!&�'$ '+��&+$��"!�)0'0�07$)�)&�&��$������������������������������������������������������� ����������3���� !"#$�&401��$���������������������� �������� '+��&+$��"!�!&�'$�)&�&���������������������������������������������������+0�� "0������� !"#$�&401���������� ��������������� ������������+&4� "0������� !"#$�&401����������� �������������� ��������������/$&!&��$��$0'���������������������������� ���������������������������� �������7

5 TCH PROBE 15.0 RANGE6 TCH PROBE 15.1 PGM DIGIT.: DATA7 TCH PROBE 15.2 Z PGM RANGE: TAB18 TCH PROBE 15.3 MIN:+0 MAX:+35 HEIGHT:+125

Page 78: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 8

Dig

itiz

ing

������ ��� � ���� �������������������� � ������ �����

Digitizing Cycle MEANDER (16)������(*�+$&�)$!��������������������9)����� ���������������back-and-forth line movements3

)�����������%�!&�'$����(%�!&�'$�".��� !"#$��1������������(*�+$&�)$!/0�$�)0!$��0"�������������������������������,���������������������,����������� ������������������� ������1�&��0�'�&�'/$��)������������� ������������,�����������,���������������������/0�$�)0!$��0"��$$)�!&�$����+���� �������������������+0�3��$$)�!&�$����������������������������������+0�3�/0�$�1 &�0�'��+��� �����������,��������������������������������������� ������/0�$�1 &�0�'��+��3����������,����������������������������+&43� !"#$� "0���0��$!:&/�"/$!&��$�:&/.$����������� ���������������������������������������������������������������������������������������������������������������������"/$!&��$�:&/.$3�$$)�!&�$�!$).��0"��&��$)'$1��)���������������� ������������������ ���������������������������������������

� ���� /0�$� 1 &�0�'� ��+&43� !"#$� "0��� 0��$!:&/�����������;<����

� 1�����/0�$�)0!$��0"�������������������� ������������������������� �������

7 TCH PROBE 16.0 MEANDER8 TCH PROBE 16.1 DIRECTN X ANGLE: +09 TCH PROBE 16.2 F1500 FMIN 500 MIN.L.SPAC:0.2

L.SPAC:0.5 PP.INT:0.5 TOL:0.1 DIST 0.5

Page 79: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

7 9

Dig

itiz

ing

������ ��� � ���� �������������������� � ������ �����

Digitizing Cycle CONTOUR LINES (17)������(-��"��".!�/0�$1���������� ��������������9)�� �����level by level3

)�����������%�!&�'$����(%�!&�'$�".��� !"#$��1������������(-��"��".!�/0�$1�0+$�/0+0���0�������� ������������������������������������ ������������������ �����������������������5�������������������������������3�0���� ����������������������5������<31�&!�0�'� "0������������������������������������&401�&�)�)0!$��0"��"��& !"&����������������������������������������������������������������1�&!�0�'� !"#$�&401�&�)�)0!$��0"�����������������������������������������������������������������$$)�!&�$����+���� �������������������+0�3��$$)�!&�$����������������������������������+0�3�/0�$�1 &�0�'��+��� �����������,����������������������������������������� ������/0�$�1 &�0�'�&�)�)0!$��0"���+���� �����������,���������������������� �����+&43� !"#$� "0���0��$!:&/�"/$!&��$�:&/.$����������� ���������������������������������������������������������������������������������������������������������������������"/$!&��$�:&/.$3�$$)�!&�$�!$).��0"��&��$)'$1��)���������������� ������������������ ���������������������������������������

���� /0�$� 1 &�0�'� ��+&43� !"#$� "0��� 0��$!:&/�����������;<����

10 TCH PROBE 17.0 CONTOUR LINES11 TCH PROBE 17.1 TIME: 200 X+50 Y+012 TCH PROBE 17.2 ORDER Y+/X+13 TCH PROBE 17.3 F1000 FMIN 400 MIN.L.SPAC:0.2 L.SPAC:0.5 PP.INT:0.5 TOL:0.1 DIST 0.5

Page 80: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 0

Dig

itiz

ing Digitizing Cycle LINE (18)

������ (2� /0�$� ��� ���� ��������� �� 9)� � ������ �� lines in one direction30�������,�����������������������������������������3

)�����������%�!&�'$����(%�!&�'$�".��� !"#$��1������������(2�/0�$/0�$�)0!$��0"�������������������������������������31�&��0�'�&�'/$��)������������� ������������,�����������,���������������������/0�$�)0!$��0"��$0'����"!��$$)�!&�$�!$).��0"������������������������������������������������������������������������������������������,���������������������������3�$$)�!&�$����+���� �������������������+0�3��$$)�!&�$����������������������������������+0�3�/0�$�1 &�0�'��+��� �����������,��������������������������������������� ������/0�$�1 &�0�'�&�)�)0!$��0"���+���� �����������,���������������������+&43� !"#$� "0��� 0��$!:&/�"/$!&��$�:&/.$����������� ���������������������������������������������������������������������������������������������������������������������"/$!&��$�:&/.$3�$$)�!&�$�!$).��0"��&��$)'$1��)���������������� ������������������ ���������������������������������������

���� /0�$�1 &�0�'� ��+&43� !"#$� "0��� 0��$!:&/�����������;<����

10 TCH PROBE 18.0 LINE11 TCH PROBE 18.1 DIRECTN X ANGLE:+0 HEIGHT:+12512 TCH PROBE 18.2 F1000 FMIN 400 MIN.L.SPAC:0.2 L.SPAC:0.5 PP.INT:0.5 TOL:0.1 DIST 0.5

Page 81: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 1

Gra

ph

ics

and

S

tatu

s D

isp

lays

Graphics and Status Displays

������������� �����������������

Defining the Workpiece in the Graphic Window����������������������������� !����������������������"� �#��������������� �"�������������$

%�������� �"�����������&������������������� ����������&��������������'��������� !�� �����(�!)*�� ��!+,�-�)*�

��������" ������������� �������.�� ���� �������� ��� �$

Interactive Programming Graphics

����������-�!/� +-0)%������� �������1

����*%��� ��� ���������"����� �� ����������������� �����"������������������ ���2

+���������������� ����� ���� ���������� �

!� �������������������� �����

�� ������ ������#���������3���'"��

Page 82: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 2

Gra

ph

ics

and

S

tatu

s D

isp

lays

Test Graphics and Program Run Graphics

����������� +-0)%�����-�!/� +-0)%������� �������1

) �����4��� 5*�� ������������ �����������*%��� ������������������������ ���������$���������" �������������������#���3���#�������'��2

-�� �#�"

-��6���� � ��������� ��

7��#�"

Page 83: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 3

Gra

ph

ics

and

S

tatu

s D

isp

lays

Status Displays

����������-�!/��+�5�����-��)�)�*/��+�5������� ������1

) �������������� ���������" ��"� ������"������������������� ��"�� ������� ��

8 ���������� 8 ���������8 +��#��!��� ��� �

�������������� ������� ����#���3���#�������'�������������� �� ����� ���" ��"2

-������� �������

���������� �

���������

%���� ������� �������� �

�������������� �

Page 84: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 4

ISO

P

rog

ram

min

g

*) Effective blockwise

ISO Programming

Programming Tool Movements with CartesianCoord inates

G 0 0 Linear motion in rapid traverseG 0 1 Linear motionG 0 2 Circular motion, clockwiseG 0 3 Circular motion, counterclockwiseG 0 5 Circular motion without directional dataG 0 6 Circular movement with tangential contour connectionG07* Paraxial positioning block

Programming Tool Movements with PolarCoord inates

G 1 0 Linear motion in rapid traverseG 1 1 Linear motionG 1 2 Circular motion, clockwiseG 1 3 Circular motion, counterclockwiseG 1 5 Circular motion without directional dataG 1 6 Circular movement with tangential contour

connection

Standard Fixed Cycles

G 8 3 PeckingG 8 4 TappingG 8 5 Rigid tappingG 8 6 Thread cuttingG 7 4 Slot millingG 7 5 Rectangular pocket milling, clockwise

machining directionG 7 6 Rectangular pocket milling, counterclockwise

machining directionG 7 7 Circular pocket milling, clockwise machining

directionG 7 8 Circular pocket milling, counterclockwise

machining direction

SL Cycles, Group I

G 3 7 List of contour subprogramsG 5 6 Pilot drillingG 5 7 Rough-outG 5 8 Contour milling, clockwiseG 5 9 Contour milling, counterclockwise

Page 85: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 5

ISO

P

rog

ram

min

g

*) Effective blockwise

SL Cycles, Group II

G 3 7 List of contour subprogramsG 1 2 0 Contour dataG 1 2 1 Pilot drillingG 1 2 2 Rough-outG 1 2 3 Floor finishingG 1 2 4 Side finishingG 1 2 5 Contour trainG 1 2 7 Cylinder surface

Coordinate Transformations

G 5 3 Datum shift from datum tablesG 5 4 Entering datum shift directlyG 2 8 Mirror imageG 7 3 Rotating the coordinate systemG 7 2 Scaling factor: enlarging/reducing contoursG 8 0 Working plane

Special Cycles

G04* Dwell timeG 3 6 Oriented spindle stopG 3 9 Designating a program as a cycleG79* Cycle call

Defining the Working Plane

G 1 7 X/Y working plane, tool axis ZG 1 8 Z/X working plane, tool axis YG 1 9 Y/Z working plane, tool axis XG 2 0 Fourth axis is tool axis

Chamfer, Rounding, Approach/Departure

G24* Chamfer with side length RG25* Corner rounding with radius RG26* Tangential contour approach on an arc with radius RG27* Tangential contour departure on an arc with radius R

Tool Definition

G99* Tool definition in the program with length L andradius R

Tool Radius Compensation

G 4 0 No radius compensationG 4 1 Radius compensation to the left of the contourG 4 2 Radius compensation to the right of the contourG 4 3 Paraxial radius compensation: the path is

lengthenedG 4 4 Paraxial radius compensation: the path is

shortened

Page 86: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 6

ISO

P

rog

ram

min

g

*) Effective blockwise

Dimensional Data

G 9 0 Absolute dimensionsG 9 1 Incremental (chain) dimensions

Unit of Measure (at Beginning of Program)

G 7 0 InchesG 7 1 Millimeters

Blank Form Definition for Graphics

G 3 0 Setting the working plane, MIN point coordinatesG 3 1 Dimensional data (with G90, G91),

coordinates of the MAX point

Other G functions

G 2 9 Define last nominal position value as poleG 3 8 Stopping the program runG51* Calling the next tool (only with central tool file)G55* Automatic measurement with the 3D touch probeG98* Setting a label number

Q Parameter Functions

D 0 0 Assign a value directlyD 0 1 Calculate and assign the sum of two valuesD 0 2 Calculate and assign the difference of two valuesD 0 3 Calculate and assign the product of two valuesD 0 4 Calculate and assign the quotient of two valuesD 0 5 Calculate and assign the root from a valueD 0 6 Calculate and assign the sine of an angle in

degreesD 0 7 Calculate and assign the cosine of an angle in

degreesD 0 8 Calculate and assign the square root of the sum of

two squares (Pythagorean theorem)D 1 3 Find and assign an angle from the arc tangent of

two sides or from the sine and cosine of an angleD 0 9 If equal, jump to the given labelD 1 0 If not equal, jump to the given labelD 1 1 If greater than, jump to the given labelD 1 2 If less than, jump to the given labelD 1 4 Output text to screenD 1 5 Output text or parameter contents through the

data interfaceD 1 9 Transfer numerical values or Q parameters

to the PLCD68 - Call the user cyclesD 9 9

Page 87: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 7

ISO

P

rog

ram

min

gAddresses

% Program beginningA Swivelling axis around XB Swivelling axis around YC Rotary axis around ZD Define Q-parameter functionsE Tolerance for rounding arc with M112F Feed rate in mm/min in positioning blocksF Dwell time in seconds with G04F Scaling factor with G72G G functions (see list of G functions)H Polar coordinate angleH Angle of rotation with G73I X coordinate of the circle center or poleJ Y coordinate of the circle center or poleK Z coordinate of the circle center or poleL Label number with G98L Jump to a label numberL Tool length with G99M Miscellaneous functionN Block numberP Cycle parameter for fixed cyclesP Value or Q parameter with Q parameter

definitionsQ Variable Q parameter

R Polar coordinate radius with G10/G11/G12/G13/G15/G16/

R Circle radius with G02/G03/G05R Corner radius with G25/G26/G27R Chamfer length with G24R Tool radius with G99S Spindle speed in rpmS Angle for spindle orientation with G36T Tool number with G99T Tool callT Call next tool with G51U Parallel axis to XV Parallel axis to YW Parallel axis to ZX X axisY Y axisZ Z axis* Character for end of block

Page 88: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 8

Mis

cella

ne

ou

s F

un

ctio

ns

M 9 5 ReservedM 9 6 ReservedM 9 7 Machine small contour stepsM 9 8 Suspend tool path compensationM 9 9 Cycle call, effective blockwiseM101 Automatic tool change after tool lifetime expiresM102 Reset M101M103 Reduce the feed rate during plunging to factor FM105 Machine with first kV factorM106 Machine with second kV factorM107 See User's ManualM108 Reset M107M109 Constant contouring speed of tool cutting edge

on arcs (increasing and decreasing the feed rate)M110 Constant contouring speed of tool cutting edge

on arcs (only decreasing the feed rate)M111 Reset M109/M110M112 Insert a rounding arc between two lines,

with tolerance and limit angleM113 Reset M112M114 See User's ManualM115 Reset M114M116 Feed rate for rotary axes in mm/minM118 Superimpose handwheel positioning during

program run

Miscellaneous Functions MM 0 0 Stop program run/Stop spindle/Coolant offM 0 2 Stop program run/Stop spindle/Coolant off

Jump back to block 1/Clear status display(depending on machine parameters)

M 0 3 Spindle on clockwiseM 0 4 Spindle on counterclockwiseM 0 5 Stop spindleM 0 6 Tool change/Stop program run (depending on

machine parameters) Stop spindleM 0 8 Coolant onM 0 9 Coolant offM 1 3 Spindle on clockwise/Coolant onM 1 4 Spindle on counterclockwise/Coolant onM 3 0 Same function as M02M 8 9 Vacant miscellaneous function or

Cycle call, modally effective (depending onmachine parameters)

M 9 0 Constant contour speed at corners(effective only in lag mode)

M 9 1 Within the positioning block: Coordinates arereferenced to the machine datum

M 9 2 Within the positioning block: The coordinates arereferenced to a position defined by the machinetool builder

M 9 3 ReservedM 9 4 Reduce rotary axis display to a value below 360°

Page 89: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

8 9

Mis

cella

ne

ou

s F

un

ctio

ns

*) Only with conversational programming

M120* LOOK AHEAD: Calculate the radius-compensatedtool path ahead of time

M124* Ignore points when calculating the rounding arcwith M112

M126 Permit zero crossover on 360° rotary axesM127 Cancel M126M200* Miscellaneous function

for laser cutting machinesM204* See User's Manual

....

Page 90: titel - HEIDENHAINcontent.heidenhain.de/doku/tnc_guide/pdf_files/TNC400/280462-xx/lotse/... · Path Functions Path Functions for Positioning Blocks Programming the Direction of Traverse

������������ ��� ��������������� ��������������������������������������� ���������������� ����������������� �!"��#�$����������

����� ��!�"�##$�� � �������������������� �!"����%�&�$����������

%��"�� �&�"�"���" � �������������������� �!"����%�&��'���())���$����������

�'�"�##$�� � �������������������� �!"����%�&��&��())���$����������

'�#�$&���� �& � �������������������� �!"����%�&��&�)*'$����������

()'�#�$&���� �& � �����������������+�� �!"����%�&��)!&$����������

)������$���$!" � �����,������+������� �!"����%�&����#$����������

***��� +���� ��+�

294 582-21 · SW01 · 1/97 · Bi · Printed in Germany · Subject to change without notice