Heidenhain TNC620

Heidenhain TNC620

m.van.hameren
Advocate Advocate
3,605 Views
11 Replies
Message 1 of 12

Heidenhain TNC620

m.van.hameren
Advocate
Advocate

Hi there,

 

Nice to have a forum like this.

I'm new to Autodesk Fusion 360 cam and have my doubts about the Heidenhain generic postprocessor.

I'm familiair with cam, used HyperMill imbedded in SolidWorks for my previous machine, an old Deckel FP4nc with Dialog 3.

Recently we switched to a new machine with Heidenhain TNC620 and I need a good working postprocessor with it.

 

Anyone here got experience with this combination and can help me out?

 

Thanx in advance, Mark.

0 Likes
3,606 Views
11 Replies
Replies (11)
Message 2 of 12

Laurens-3DTechDraw
Mentor
Mentor

Pretty sure the generic Heidenhain should be good.

What is it you are worried about?

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes
Message 3 of 12

m.van.hameren
Advocate
Advocate

Thanx for your reply Laurens,

 

A very simple contour, 4 passes in Z-axis.

Just look what happens in line 9 and line 13, nobody approaches Z=0 (top of stock) with Fmax, that's just rediculous!!

In line 15 it moves X and Y axis to the entrancepoint while Z=0??? and in line 16 it moves Z axis to +15 again.

 

Don't think it's very logical....but perhaps I'm missing something overhere.

 

Thanx for your time and efford,

 

Mark.

 

 0 BEGIN PGM plank qfix MM
1 BLK FORM 0.1 Z X-250 Y+0 Z-8.5
2 BLK FORM 0.2 X+150 Y+260 Z+0
3 ; -------------------------------------
4 ; Tools
5 ; #2 D=10 - ZMIN=-8.5 - ZMAX=+15 - flat end mill
6 ; -------------------------------------
7 ;
8 M9
9 L Z+0 R0 FMAX M91
10 * - 2D Contour2
11 M5
12 TOOL CALL 2 Z S1600
13 L Z+0 R0 FMAX M91
14 M3
15 L X-191 Y+268 R0 FMAX
16 L Z+15 R0 FMAX
17 M8
18 CYCL DEF 32.0 TOLERANCE
19 CYCL DEF 32.1
20 L Z+5 FMAX
21 L Z+3.125 F4610
22 L Z-1.125
23 CC Y+267 Z-1.125
24 CP IPA-90 DR-
25 L Y+266 Z-2.125
26 CC X-190 Y+266
27 CP IPA+90 DR+
28 CC X-190 Y+200
29 CP IPA-90 DR-
30 CC X-80 Y+200
31 CP IPA+90 DR+
32 L X+0 Y+155
33 CC X+0 Y+0
34 CP IPA-90 DR-
35 CC X+156 Y+0
36 CP IPA+90 DR+
37 L X+157 Y-1
38 CC X+157 Z-1.125
39 CP IPA-90 DR-
40 L X+158 Z+5 FMAX
41 L X-191 Y+268 FMAX
42 L Z+1 F4610
43 L Z-3.25
44 CC Y+267 Z-3.25
45 CP IPA-90 DR-
46 L Y+266 Z-4.25
47 CC X-190 Y+266
48 CP IPA+90 DR+
49 CC X-190 Y+200
50 CP IPA-90 DR-
51 CC X-80 Y+200
52 CP IPA+90 DR+
53 L X+0 Y+155
54 CC X+0 Y+0
55 CP IPA-90 DR-
56 CC X+156 Y+0
57 CP IPA+90 DR+
58 L X+157 Y-1
59 CC X+157 Z-3.25
60 CP IPA-90 DR-
61 L X+158 Z+5 FMAX
62 L X-191 Y+268 FMAX
63 L Z-1.125 F4610
64 L Z-5.375
65 CC Y+267 Z-5.375
66 CP IPA-90 DR-
67 L Y+266 Z-6.375
68 CC X-190 Y+266
69 CP IPA+90 DR+
70 CC X-190 Y+200
71 CP IPA-90 DR-
72 CC X-80 Y+200
73 CP IPA+90 DR+
74 L X+0 Y+155
75 CC X+0 Y+0
76 CP IPA-90 DR-
77 CC X+156 Y+0
78 CP IPA+90 DR+
79 L X+157 Y-1
80 CC X+157 Z-5.375
81 CP IPA-90 DR-
82 L X+158 Z+5 FMAX
83 L X-191 Y+268 FMAX
84 L Z-3.25 F4610
85 L Z-7.5
86 CC Y+267 Z-7.5
87 CP IPA-90 DR-
88 L Y+266 Z-8.5
89 CC X-190 Y+266
90 CP IPA+90 DR+
91 CC X-190 Y+200
92 CP IPA-90 DR-
93 CC X-80 Y+200
94 CP IPA+90 DR+
95 L X+0 Y+155
96 CC X+0 Y+0
97 CP IPA-90 DR-
98 CC X+156 Y+0
99 CP IPA+90 DR+
100 L X+157 Y-1
101 CC X+157 Z-7.5
102 CP IPA-90 DR-
103 L X+158 Z+15 FMAX
104 M9
105 M5
106 L Z+0 R0 FMAX M91
107 M30
108 END PGM plank qfix MM

0 Likes
Message 4 of 12

AchimN
Community Manager
Community Manager

You missed the M91 at the end of the line, so that line:

 

L Z+0 R0 FMAX M91

 

will move the Z-axis to the very upper limit in machine coordinates.



Achim.N
Principal Technology Consultant
Message 5 of 12

Laurens-3DTechDraw
Mentor
Mentor

Hi Mark,

 

That is in M91. (Machine Zero coordinates.)

Usually this in the top of your Z-axis. In case the machine builder was an ass and put it at the bottom of the Z-axis you will probably have to use M91, which can be set on the control.

I attached a part of the manual.

 

So actually those moves are for extra safety, since they are done with the Z-axis on their maximum.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


Message 6 of 12

m.van.hameren
Advocate
Advocate

Again thanks for reply,

 

That might be, I can't find M91 in my list of m-codes.......and the machine does nothing with it, it just goes on crash course.

 

Mark.

0 Likes
Message 7 of 12

Laurens-3DTechDraw
Mentor
Mentor

You sure you have a TNC620 and M91 does nothing?

I mean it could go to the machine's zero point. And you could place that anywhere in the machine's workspace in theory. 

But it should always have an effect putting M91 in the line.

 

What machine are you trying this on?

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes
Message 8 of 12

m.van.hameren
Advocate
Advocate

Abene VHF 320,

 

Have to check it, but my zeropoint in Z-axis is the top of my stock, so yes it goes there with FMax.

But that is not what you want offcourse...

0 Likes
Message 9 of 12

Laurens-3DTechDraw
Mentor
Mentor

Do you have any example programs?

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes
Message 10 of 12

m.van.hameren
Advocate
Advocate

EDIT: Found some more M code's now in the Heidenhain manual. I only checked the Abene short manual....

 

 

0 BEGIN PGM NASA MM
1 BLK FORM 0.1 Z X-82.5 Y-82.5 Z-30
2 BLK FORM 0.2 X+82.5 Y+82.5 Z+0.5
3 TOOL CALL 1 Z S2500
4 L Z+50 R0 FMAX M13
5 CYCL DEF 256 RECHTHOEKIGE TAP ~
Q218=+150 ;LENGTE 1E ZIJKANT ~
Q424=+151 ;MAAT 1 ONBEW. WRKST. ~
Q219=+150 ;LENGTE 2E ZIJKANT ~
Q425=+151 ;MAAT 2 ONBEW. WRKST. ~
Q220=+0.1 ;HOEKRADIUS ~
Q368=+0 ;OVERMAAT ZIJKANT ~
Q224=+0 ;ROTATIEPOSITIE ~
Q367=+0 ;TAPPOSITIE ~
Q207= FZ+0.08 ;AANZET FREZEN ~
Q351=+1 ;FREESWIJZE ~
Q201=-15 ;DIEPTE ~
Q202=+15 ;DIEPTEVERPLAATSING ~
Q206=+3000 ;AANZET DIEPTEVERPL. ~
Q200=+2 ;VEILIGHEIDSAFSTAND ~
Q203=+0 ;COORD. OPPERVLAK ~
Q204=+20 ;2E VEILIGHEIDSAFST. ~
Q370=+1 ;BAANOVERLAPPING ~
Q437=+0 ;BENADERINGSPOSITIE
6 L X+0 Y+0 R0 FMAX M99
7 CYCL DEF 256 RECHTHOEKIGE TAP ~
Q218=+106.066 ;LENGTE 1E ZIJKANT ~
Q424=+107.066 ;MAAT 1 ONBEW. WRKST. ~
Q219=+106.066 ;LENGTE 2E ZIJKANT ~
Q425=+107.066 ;MAAT 2 ONBEW. WRKST. ~
Q220=+0.1 ;HOEKRADIUS ~
Q368=+0 ;OVERMAAT ZIJKANT ~
Q224=+45 ;ROTATIEPOSITIE ~
Q367=+0 ;TAPPOSITIE ~
Q207= FZ+0.08 ;AANZET FREZEN ~
Q351=+1 ;FREESWIJZE ~
Q201=-10 ;DIEPTE ~
Q202=+10 ;DIEPTEVERPLAATSING ~
Q206=+3000 ;AANZET DIEPTEVERPL. ~
Q200=+2 ;VEILIGHEIDSAFSTAND ~
Q203=+0 ;COORD. OPPERVLAK ~
Q204=+20 ;2E VEILIGHEIDSAFST. ~
Q370=+1 ;BAANOVERLAPPING ~
Q437=+0 ;BENADERINGSPOSITIE
8 L X+0 Y+0 R0 FMAX M99
9 CC X+0 Y+0
10 LP PR+100 PA+30 R0 FMAX
11 L Z-10.8 R0 FMAX
12 LP PR+100 PA+60 R0 FZ0.1
13 L Z+20 R0 FMAX
14 LP PR+100 PA+120 R0 FMAX
15 L Z-10.8 R0 FMAX
16 LP PR+100 PA+150 R0 FZ0.1
17 L Z+20 R0 FMAX
18 LP PR+100 PA+210 R0 FMAX
19 L Z-10.8 R0 FMAX
20 LP PR+100 PA+240 R0 FZ0.1
21 L Z+20 R0 FMAX
22 LP PR+100 PA+300 R0 FMAX
23 L Z-10.8 R0 FMAX
24 LP PR+100 PA+330 R0 FZ0.1
25 L Z+20 R0 FMAX
26 CYCL DEF 257 RONDE TAP ~
Q223=+106.066 ;DIAMETER EINDPRODUCT ~
Q222=+107.066 ;DIAMETER RUWDEEL ~
Q368=+0 ;OVERMAAT ZIJKANT ~
Q207= FZ+0.08 ;AANZET FREZEN ~
Q351=+1 ;FREESWIJZE ~
Q201=-5 ;DIEPTE ~
Q202=+5 ;DIEPTEVERPLAATSING ~
Q206=+3000 ;AANZET DIEPTEVERPL. ~
Q200=+2 ;VEILIGHEIDSAFSTAND ~
Q203=+0 ;COORD. OPPERVLAK ~
Q204=+20 ;2E VEILIGHEIDSAFST. ~
Q370=+1 ;BAANOVERLAPPING ~
Q376=-1 ;STARTHOEK
27 L X+0 Y+0 R0 FMAX M99
28 CYCL DEF 208 BOORFREZEN ~
Q200=+2 ;VEILIGHEIDSAFSTAND ~
Q201=-15 ;DIEPTE ~
Q206= FZ+0.1 ;AANZET DIEPTEVERPL. ~
Q334=+2 ;DIEPTEVERPLAATSING ~
Q203=+0 ;COORD. OPPERVLAK ~
Q204=+20 ;2E VEILIGHEIDSAFST. ~
Q335=+24.8 ;NOMINALE DIAMETER ~
Q342=+20 ;VOORBOOR DIAMETER ~
Q351=+1 ;FREESWIJZE
29 L X+0 Y+0 R0 FMAX M99
30 CYCL DEF 221 MODEL OP LIJN ~
Q225=+55 ;STARTPUNT 1E AS ~
Q226=+55 ;STARTPUNT 2E AS ~
Q237=-110 ;AFSTAND 1e AS ~
Q238=-110 ;AFSTAND 2e AS ~
Q242=+2 ;AANTAL KOLOMMEN ~
Q243=+2 ;AANTAL REGELS ~
Q224=+0 ;ROTATIEPOSITIE ~
Q200=+2 ;VEILIGHEIDSAFSTAND ~
Q203=-10 ;COORD. OPPERVLAK ~
Q204=+20 ;2E VEILIGHEIDSAFST. ~
Q301=+1 ;VERPL.VEILIGH.HOOGTE
31 L Z+150 R0 FMAX
32 END PGM NASA MM

0 Likes
Message 11 of 12

Anonymous
Not applicable

Same situation is with Heidenhein 415b.

Line with M91 is not correct, than i use L Z+15 R0 FMAX (on example), and works perfect.

 

0 Likes
Message 12 of 12

Anonymous
Not applicable

That line is a safety move to the Machine z 0 

 

I'm using the custom heidenhain post on our iTNC540, since our machines 0 is in the top of our machine the line is fine (for M91).

For our iTNC425 I had to modify the line so it went to Z-1 because the machines z0 for M91 is beyond the limit switch.

 

I don't really understand why it does not work for you..  unless the machine 0 is somewhere in a weird spot.

 

What happens when you manually run the L Z0 R0 FMAX M91? Where is it going?

You also have an option in the post to use M92 instead of the M91.

Maybe check where the Z0 M92 is..  and if that is a safe spot use that one.