Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Fanuc G68.2 with rigid tapping


g huns
 Share

Recommended Posts

14 minutes ago, Ben Wood said:

Is it possible its looking for pitch instead of ipm for the feedrate?

He's in G94 so I would think not.

 

1 hour ago, g huns said:

It's a 1.

I do believe that's what it should be.

 

Doing some reading. 

The SP0740 alarm is basically stating the spindle is not stopped, or is spinning.  Could you try removing the S145 M3?

The SV0410 is basically the same thing. Check the values in parameter 1829, they should be small. I would hope they aren't 0. 

There is a chance that the SV0410 is being caused when SP0740 is tripped, due to the machine entering emergency and the brake not being engaged fast enough.

But overall these should have no bearing on why it would work with G68.2 turned off and why it wouldn't when it's on. 

Can you post code that you are sure works without G68.2 active?

  • Like 1
Link to comment
Share on other sites
11 minutes ago, huskermcdoogle said:

The SP0740 alarm is basically stating the spindle is not stopped, or is spinning.  Could you try removing the S145 M3?

I think this is a winner.

I did not notice this before, but husker is right ...

All the machines I have  that use S*** M29  will alarm out if M03 is active when

S*** M29 is called

I ran into this issue last month working up a post for a VTL/millturn with rigid tapping

  • Like 2
Link to comment
Share on other sites

I haven't directly written code to tap a hole in 3 years or longer.  So I would consider my brain rusty at best.  Thinking back, I can't remember if I did or didn't have the spindle turning before M29 and G84.  Checking back in a few now, nope, no S### M3 after the tool change.  Just the M29 S###.  By chance @g_huns your code that works doesn't start the spindle?

Link to comment
Share on other sites
1 minute ago, huskermcdoogle said:

I haven't directly written code to tap a hole in 3 years or longer.  So I would consider my brain rusty at best.  Thinking back, I can't remember if I did or didn't have the spindle turning before M29 and G84.  Checking back in a few now, nope, no S### M3 after the tool change.  Just the M29 S###.  By chance @g_huns your code that works doesn't start the spindle?

I'm confident that this cycle will run if he kills the S*** G03.

I was fighting this exact problem a month ago and removing S*** M03 from the tool change sequence fixed the problem.

We'll have to waiting a day or so to see if it works though.

It's beer:30 in ghun's neck of the woods :beer:

  • Like 2
Link to comment
Share on other sites
1 minute ago, gcode said:

I'm confident that this cycle will run if he kills the S*** G03.

I was fighting this exact problem a month ago and removing S*** M03 from the tool change sequence fixed the problem.

We'll have to waiting a day or so to see if it works though.

It's beer:30 in ghun's neck of the woods :beer:

I'm confident as well.

It's always the little things with NC Code. One wrong command, and you're gonna have a bad time.

That's why I originally got into Post Processors in the first place. I wanted to be able to control exactly what the machine is doing. This is one of those situations where just a simple little Post tweak will fix the problem, once you discover what code is really needed.

Link to comment
Share on other sites
6 hours ago, g huns said:

And our post writer says this post works for his customers running OKK and Makino horizontals.

I'd be willing to bet OKK and Makino both kill the spindle when M29 is commanded.  IIRC Makino uses M135 instead of M29, I bet M135 commands an M5 then M29 S#### either through ladder, macro, or executable, along with some other worth while status checks before letting things proceed.  OKK is probably similar.

  • Like 1
Link to comment
Share on other sites
43 minutes ago, gcode said:

It's beer:30 in ghun's neck of the woods :beer:

Ghuns left the building at 2:30 eastern. He is several beers deep into celebrating Murrica's birthday. He is unable to answer any of your questions.:lol:

I'll dig up a non TWP program with rigid tapping and see how it is posted on Thursday.

Thanks for all the suggestions.

  • Haha 1
Link to comment
Share on other sites
1 hour ago, Leon82 said:

should there be g95 instead of g94 to rigit tap?

You can use either, for g94 you have to calculate a feed that matches the spindle speed, for g95 you can just put the pitch in the feed, and run the spindle at whatever speed you want.  I always used G95/Pitch, I won a lunch bet over it once with a previous boss.  He always calculated out a spindle speed that would yield an even number feed without much rounding.  But the challenge with that is it limits you to a few speeds...  Anyway, he swore up and down our Mori's couldn't rigid tap using pitch for the feed...  They do it just fine.  Much more flexibility to find the right surface speed for the tap to run.

Link to comment
Share on other sites
20 hours ago, gcode said:

I think this is a winner.

I did not notice this before, but husker is right ...

All the machines I have  that use S*** M29  will alarm out if M03 is active when

S*** M29 is called

I ran into this issue last month working up a post for a VTL/millturn with rigid tapping

In which case it must be a parameter issue?

Here's code that I ran on Robos, Chevaliers, Feelers, and a Quaser machine. All machines acted the same way (31i, 0iMC, 0iMD, 0IMF, 16iM).

They'd toolchange, spin up to 1000 rpm, rapid to 10(mm) with the spindle running at 1000, rapid to 5(mm R-Plane), where it would pause at 0 RPM, then synch to the Z starting the spindle (1000rpm) and feeding in from the 5mm to the Z- value, then rotate back out upto the 5mm and next hole.

 

N0602T6M6

M1

( M3 ROLLTAP - BRIGHT FINISH )

( A90 G55 M3 ROLLTAP )

 

G55A90.( A90 G55 M3 ROLLTAP )

G55G0G17G40G49G69G80G90X4.22Y17.75S1000M3

T1M8

G43Z10.H6

M29S1000

G84G98Z-7.R5.Q0.F500.

G80Z10.M9

G28Z10.M19

G49

Link to comment
Share on other sites
4 minutes ago, Newbeeee™ said:

In which case it must be a parameter issue?

I can't argue with that, the problem being, only Yoda knows which parameter it is.

The MTB sure doesn't know.

If it works, eliminating M3 at the tool change is a very simple fix. 

We bought a JOBS Ever7 a several years ago.

JOBS assured us that a Fanuc 31i control would be no problem.

Nothing could have been further from the truth

It took nearly 3 years to get the machine running to it's full potential.

I got so I dreaded a visit from the techs, as some obscure parameter tweak would wipe out

6 months of post development  

  • Sad 1
Link to comment
Share on other sites

Here is a known 'good' program with rigid tapping and no TWP...

G90 G80 G40 G49
G91 G30 Z0.
G90
M906T154
S145 M3
T154
G56
G0 B0. 
X-2.045 Y-5. 
G43 Z3.H 154
M8
(AUTO_DRL - M12 TAP)
G94
M29 S145
G84 G98 X-2.045 Y-5. Z-.70003 R.19997F10.0000
Y5. R.19997
G80
M9
M19
G91 G30 Z0.
G90
G91 G30 X0 Y0
G90
M30
%

The S145 M3 after the tool change causes no problems.

But I also noticed we do NOT have a G17 thrown into the first line which I could see causing problems in a TWP program.

And according to the book, G84 is a tapping cycle and G84.2 is a rigid tapping cycle.

I almost NEVER program this kind of stuff for these machines, so I'm a little oblivious to the problems we are having. But for some reason, I'm the guy who has to figure them out.:rolleyes:

A couple of other tidbits; we had two operators recently leave for greener pastures. Since they left, the kid running the Enshus has been a tap breaking fool. I chalked that up to inexperience. But I also recently changed a parameter that was effecting our drilling cycles. Drills were starting to move in Z before the spindle arrived at the programmed speed. Parameter 3708, bit #0 was changed from 0 to a 1. Not sure if that's causing us trouble with breaking taps.

The kid should be out of work tomorrow and I should have time to play around and see what's going on.

Link to comment
Share on other sites
On ‎03‎/‎07‎/‎2018 at 8:11 PM, g huns said:

 

I'm glad someone understands it. I feel like a total dumbarse every time I try to make any sense out of it.:wacko:

 

http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0ahUKEwi__r321YjcAhUCUhQKHaoNCeoQFgg3MAI&url=http%3A%2F%2Fheim.ifi.uio.no%2Fmatsh%2Finf4500%2Fcnc%2Ffanuc.pdf&usg=AOvVaw2hlEFS3eR5UgQ0JvjLCXgZ

 

+1 :hrhr:

But the above may be of some help too. I don't think it will help your current problem, but it looks a rather well put together document.

For a change...

:cheers:

Link to comment
Share on other sites
  • 1 month later...
On 7/3/2018 at 4:22 PM, gcode said:

I'm confident that this cycle will run if he kills the S*** G03...

 

On 7/3/2018 at 4:26 PM, Colin Gilchrist said:

I'm confident as well...

No such luck.

Finally got back to this. We found some weird, unrelated post issues that had to be worked out. And we had ZERO actual work to do in these machines. Which you'd think would be a great time to test things. But instead the operators just go home.:rolleyes:

Our rigid tap works with the M03 SXXX before the M29 SXXX as long as we're not using G68.2. But just for fun we removed it and tried with G68.2, still hates it.

As somebody recommended, stuck a G17 in for S&Gs, also no dice.

On 7/3/2018 at 3:47 PM, huskermcdoogle said:

...Check the values in parameter 1829, they should be small. I would hope they aren't 0...

Here you go...

Ss3Bith.jpg

Link to comment
Share on other sites
3 minutes ago, g huns said:

No such luck.

Interesting.

4 minutes ago, g huns said:
On 7/3/2018 at 2:47 PM, huskermcdoogle said:

...Check the values in parameter 1829, they should be small. I would hope they aren't 0...

Here you go...

Well they aren't zero, so in theory that shouldn't be the cause.

I think someone at Enshu USA needs to get a hold of whoever is in charge of the controls department at Enshu Japan, they should be able to get this solved in about 30 minutes tops.  I think that if it was back channeled this way it would get resolved quickly, worst case they use their contacts at Fanuc Japan to get a deeper answer.  They may need a full control SRAM backup to look into it though.

  • Like 1
Link to comment
Share on other sites

G90 G80 G40 G49
G91 G30 Z0.
G90
M906T154
S145 M3
T154
G56
G0 B0. 
X-2.045 Y-5. 
G43 Z3.H 154
M8
(AUTO_DRL - M12 TAP)
G94 <<<<<  G95
M29 S145
G84 G98 X-2.045 Y-5. Z-.70003 R.19997 F10.0000   change to pitch
Y5. R.19997
G80
M9
M19
G91 G30 Z0.
G90
G91 G30 X0 Y0
G90
M30
%

 

I would try these edits next

Link to comment
Share on other sites
1 minute ago, gcode said:

I would try these edits next...

But I don't wanna use pitch.:no

I recently had a visit from a couple big shots from Enshu Japan. I sent another email to their US support guys and cc'd the Japanese bosses. See if that gets me some traction.:lol:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...