Heidenhain Post doesn't work

Having problems with or questions about SheetCam? Post them here.
quarkq
Posts: 18
Joined: Wed Jun 23, 2021 4:51 pm
Location: Poland

Heidenhain Post doesn't work

Post by quarkq »

Hi i have problem with Heidenhain TNC410 conversational post Not work propely.

New one:
To be ok need change +to- and -to+ just on plunge arc 12 and one arc after 14.
7 L Z+10.000 FMAX
8 L X-0.000 Y-3.459 FMAX M03
9 L Z+0.200 FMAX
10 L Z+0.000 F300
11 CC X-25.000 Y-25.000
12 CP IPA-1.620 Z-0.250 DR+
13 CC X-25.000 Y-25.000
14 C X-0.000 Y-3.459 DR- R0 F500
15 CC X-25.000 Y-25.000
16 C X-3.459 Y+0.000 DR+ R0
17 CC X-25.000 Y+25.000
18 C X+0.000 Y+3.459 DR+ R0
19 CC X+25.000 Y+25.000
20 C X+3.459 Y+0.000 DR+ R0
21 CC X+25.000 Y-25.000


Original:
7 L Z+10.000 FMAX
8 L X+0.000 Y-3.459 FMAX M03
9 L Z+0.200 FMAX
10 L Z+0.000 F300
11 CC X+25.000 Y-25.000
12 CP IPA+1.620 DR- (need be "Z move as well "
13 CC X+25.000 Y-25.000
14 C X+0.000 Y-3.459 Z-0.250 DR+ R0 F500 ( Impossible to move three axis on arc, I move that „Z to line 12.
15 CC X+25.000 Y-25.000
16 C X+3.459 Y+0.000 DR- R0
17 CC X+25.000 Y+25.000
18 C X+0.000 Y+3.459 DR- R0
19 CC X-25.000 Y+25.000
20 C X-3.459 Y+0.000 DR- R0

I have no idea how to change that.

Pawel
Attachments
Heidenhain TNC410 conversational.scpost.txt
(7.47 KiB) Downloaded 163 times
User avatar
Les Newell
Site Admin
Posts: 3665
Joined: Thu May 11, 2006 8:12 pm

Re: Heidenhain Post doesn't work

Post by Les Newell »

could you send me the job file (File->save job) used to create that code. If you don't still have it, set up a simailar job then post process and send me both the g-code and the job file.
quarkq
Posts: 18
Joined: Wed Jun 23, 2021 4:51 pm
Location: Poland

Re: Heidenhain Post doesn't work

Post by quarkq »

Screen from Machine with heidenhain
Attachments
Untitled.job
(6.94 KiB) Downloaded 149 times
Untitled.h.txt
(6.08 KiB) Downloaded 128 times
IMG_20210624_170640.jpg
IMG_20210624_170640.jpg (674.94 KiB) Viewed 7592 times
quarkq
Posts: 18
Joined: Wed Jun 23, 2021 4:51 pm
Location: Poland

Re: Heidenhain Post doesn't work

Post by quarkq »

I have test again and again and:

CP IPA-1.620 Z-0.250 DR+

CP IPA has to be the same sign as DR every time

I checked this on Heidenhain Book as well
User avatar
Les Newell
Site Admin
Posts: 3665
Joined: Thu May 11, 2006 8:12 pm

Re: Heidenhain Post doesn't work

Post by Les Newell »

I think I found the issue. The IPA angle is the wrong way around. Give this version a try.
Attachments
Heidenhain TNC410 conversational.scpost
(7.47 KiB) Downloaded 158 times
quarkq
Posts: 18
Joined: Wed Jun 23, 2021 4:51 pm
Location: Poland

Re: Heidenhain Post doesn't work

Post by quarkq »

It is much better.
Next problem is when i change Ramp Angle. Look at the pictures.
When put 3,4,6,8,9 angle machine leaves material.
When put 2,5,7 angle is ok.
Attachments
Untitled.job
(6.93 KiB) Downloaded 140 times
3,4,6,8,9angle.jpg
3,4,6,8,9angle.jpg (743.11 KiB) Viewed 7520 times
2,5,7angle.jpg
2,5,7angle.jpg (680.02 KiB) Viewed 7520 times
User avatar
Les Newell
Site Admin
Posts: 3665
Joined: Thu May 11, 2006 8:12 pm

Re: Heidenhain Post doesn't work

Post by Les Newell »

Is it leaving material on both passes or just the last one?
quarkq
Posts: 18
Joined: Wed Jun 23, 2021 4:51 pm
Location: Poland

Re: Heidenhain Post doesn't work

Post by quarkq »

Last one.

It is strange because when i change tool to 8mm then ramp to 4 next to 5 degree. Path is ok.
User avatar
Les Newell
Site Admin
Posts: 3665
Joined: Thu May 11, 2006 8:12 pm

Re: Heidenhain Post doesn't work

Post by Les Newell »

I can't see anything obviously wrong but give this version a try. It only uses 'CP' type arcs.
Attachments
Heidenhain TNC410 conversational test.scpost
(7.47 KiB) Downloaded 147 times
quarkq
Posts: 18
Joined: Wed Jun 23, 2021 4:51 pm
Location: Poland

Re: Heidenhain Post doesn't work

Post by quarkq »

nice path but circle diameters are diferent. All level done.
Attachments
IMG_20210702_193309.jpg
IMG_20210702_193309.jpg (745.6 KiB) Viewed 7508 times
IMG_20210702_193254.jpg
IMG_20210702_193254.jpg (587.24 KiB) Viewed 7508 times
User avatar
Les Newell
Site Admin
Posts: 3665
Joined: Thu May 11, 2006 8:12 pm

Re: Heidenhain Post doesn't work

Post by Les Newell »

I'm not sure what is going on here. Does changing the ramp angle have any effect?
quarkq
Posts: 18
Joined: Wed Jun 23, 2021 4:51 pm
Location: Poland

Re: Heidenhain Post doesn't work

Post by quarkq »

The angle Doesn't mater. All circle is diferent.
Size of this circlres depends from step over percent, when change the size is change as well.
Last edited by quarkq on Mon Jul 05, 2021 1:38 pm, edited 1 time in total.
quarkq
Posts: 18
Joined: Wed Jun 23, 2021 4:51 pm
Location: Poland

Re: Heidenhain Post doesn't work

Post by quarkq »

Previous post was ok but, why on 2,5,7 ramp angle path is ok.
on 3,4,6,8,9 angle was problem with path.
quarkq
Posts: 18
Joined: Wed Jun 23, 2021 4:51 pm
Location: Poland

Re: Heidenhain Post doesn't work

Post by quarkq »

Hi Les,
I think i found the reason of the problem.
Heidenhain work to microns. The start of the circle after plunge CP IPA+.... Z-..... DR+, the last circle "C X+..... Y-.... DR+ R0 F1500" have to be exacly the same point.
On some shape the Post calculate 0.002mm mistake. The last circle is about 0.002 mm long. Machine not go around.
Could You look to this calculation.
I attach two tnc programs:
1. code is ok
2. code not do circle on last pass

Is it possible to round calculations to maybye 0.005 mm
Attachments
2.h
(1.93 KiB) Downloaded 135 times
1.h
(3.57 KiB) Downloaded 148 times
User avatar
Les Newell
Site Admin
Posts: 3665
Joined: Thu May 11, 2006 8:12 pm

Re: Heidenhain Post doesn't work

Post by Les Newell »

Ah, that explains a lot. In SheetCam go to Options->machine->post processor and click on 'Edit post'. On line 19 you should see this:

Code: Select all

      numFormat = "+0.000"
change it to:

Code: Select all

      numFormat = "+0.0000"
Post Reply