Help with Post for Tapping

Help with Post for Tapping

Anonymous
Not applicable
814 Views
12 Replies
Message 1 of 13

Help with Post for Tapping

Anonymous
Not applicable

I haven't quite decided if I like the new forum or not, it is almost overwhelming with all the products! 

 

ANYWAY.... 

 

We have an issue with our post for HSM Express for Solid Works. We originally paid a company to make our post, and in diagnosing several issues have come to figure out they did not set up our post correctly to begin with. In light of that, our owner does not want to go back to them. Can anyone give us a suggestion for who would be good to change our post? 

 

The primary change we want done is to change our tapping cycle from ipm to ipr (G95) as we frequently break taps. We believe this may be the contributing factor. 

 

added : my apologies! I of course NOW see the section for Post Processors..... still getting my bearings on the new sight, my apologies. 

0 Likes
815 Views
12 Replies
Replies (12)
Message 2 of 13

Laurens-3DTechDraw
Mentor
Mentor

For a good person to fix your post problems we would need your location.

And a changing the tapping cycle is different for almost every control/post so what machine, control and post do you have?

Laurens Wijnschenk
3DTechDraw

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


0 Likes
Message 3 of 13

Anonymous
Not applicable

Hi Laurens, 

 

Sorry, we have conversed a few times, but I was not around during the transition and lost my old account. 

 

We have a Doosan DNM 500, Fanuc, Oi I believe (would have to double check). I am located in the US. 

 

I believe you have helped me with a post issue before. Or maybe you just recommended the change.... I cannot remember. 

0 Likes
Message 4 of 13

Anonymous
Not applicable

Our current code looks like this, 

 

n55 m29 s452
n56 g84 x-0.4225 y0.125 z-0.4 r0.05 p0 f18.8

 

The problem, as several people see it, is the ipm is rounding the feed. Which may be resulting in the broken taps. 

 

S1000 M29
G95
G98 G84

 

This is all from people much smarter than me! (thank god for practical machinist) So any questions, please ask and I will see what I can figure out. 

0 Likes
Message 5 of 13

Laurens-3DTechDraw
Mentor
Mentor

Easier would be to add decimals to the feed value. But not sure if this helps your machine.

Laurens Wijnschenk
3DTechDraw

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


0 Likes
Message 6 of 13

Anonymous
Not applicable

Laurens I have looked through our post, I am not sure I see where I can change the post for decimal places. If we could move the feed decimals for tapping out to 4, 5, maybe 6 decimal places I think we would be much more successful. 

0 Likes
Message 7 of 13

Laurens-3DTechDraw
Mentor
Mentor

It uses the same settings for all the feeds it's this line:

var feedFormat = createFormat({decimals:(unit == MM ? 0 : 1), forceDecimal:true});

Change it to something like this:

var feedFormat = createFormat({decimals:6, forceDecimal:true});

Laurens Wijnschenk
3DTechDraw

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


0 Likes
Message 8 of 13

Anonymous
Not applicable
First I'd back your R factor off to R.2 a lot of machines cannot synchronize and a R.05 distance. What is the material, tap and coolant are you using.
0 Likes
Message 9 of 13

Anonymous
Not applicable

Laurens, thank you for that. We will try that. 

 

I have also started our feed height at .250

 

Charlie, 

 

The material and taps vary greatly depending on the job. We tap everything from 6061 to O1 on a daily basis. We use Guhring power taps for most of our common tap sizes with a smattering of OSG hy-pro and a couple other brands. We use Betasol 210 EX for coolant, which I usually run very rich to help with tapping. 

0 Likes
Message 10 of 13

Anonymous
Not applicable
Two things first try calculating out your feed rate closer without decimal points like for a 10-24 use 576rpm 24.0 ipm instead of 452 rpm 18.83 ipm.
It also can be your coolant I could not tap with valenite valcool brakes Taps every time. Try some tapping fluid. You do have rigid tapping right?
0 Likes
Message 11 of 13

Anonymous
Not applicable

var feedFormat = createFormat({decimals:6, forceDecimal:true}); is what I modified my code to. 

 

If I am picking up on this code correctly, I want to add this to my code 

gFeedModeModal.format(95),

for tapping in G95. 

 

My question for right now is, how do I modify the tapping to pull its feed rate from the pitch of the tap specified in solidworks/HSM?

I believe this would be set by this line of code? 

F = tool.getTappingFeedrate();

correct? 

 

Currently code looks like this: 

writeBlock(
gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format((tool.type == TOOL_TAP_LEFT_HAND) ? 74 : 84),
getCommonCycle(x, y, z, cycle.retract),
"P" + milliFormat.format(P),
feedOutput.format(F)

 

So I add the gFeedModeModal.format(95), in with the other modal formats. The feed output format would remain the same? Or will this need modified as well? 

0 Likes
Message 12 of 13

Anonymous
Not applicable

I also found this, which makes me think I could just change this to a G95. But I still need to get the feed based on pitch. 

 

//IF A TAP STRATEGY
if (hasParameter("operation:cycleType")) {
var cycleType = getParameter("operation:cycleType");
if ((cycleType == "tapping") ||
(cycleType == "right-tapping") ||
(cycleType == "left-tapping")){
writeBlock("G94");

0 Likes
Message 13 of 13

Laurens-3DTechDraw
Mentor
Mentor

If you add a G95 it won't change anything to the other code. So you need to change the feedreate as well.

Apart from that you should be certain that the post will go back to G94.(More important than you might think)

Laurens Wijnschenk
3DTechDraw

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


0 Likes