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:

Clearance in linking param NOT Working


Rstewart
 Share

Recommended Posts

No point in beating a dead horse, but this is simply not true.

 

 

Drill two or more holes, it uses the clearance plane value after G80, like it should.

 

Drill one hole, it doesn't use the clearance plane. And if you are on the wrong side of a rotary device its crash time.

 

How is that not a bug?

Link to comment
Share on other sites

Well you guys have provided ZERO data to support this is not a bug, which is just ignorant. Just saying "it's not a bug", does not mean its not a bug. Both of you thought that G99 or G80 returns to the initial plane, it doesn't as a G code control standard, you are both wrong.

 

Mastercam does recognize how G98 and G99 actually work, this is from the Mastercam X6 training manual:

 

post-40824-0-94554100-1416599411_thumb.jpg

 

post-40824-0-57555400-1416599394_thumb.jpg

 

Aside from Mastercam explaining that in the manual, how do you explain Mastercam outputing the clearance plain on all hole counts over 1?

Link to comment
Share on other sites

load this file in a Fanuc controlled machine .. or a Hass

tell me where the Z is when it rapids to X4.0

for bonus points change the G98 to G99 and try it again

 

With G98, every machine I've ever run would be a Z3.0

 

I believe the spindle will be at Z3. with the G99 test as well

 

 

G00 G17 G20 G40 G80 G90
T1
M06
N1 (TOOL #1 = 1/2 X 120 DEGREE SPOT DRILL)
(SPOT DRILL .700" DIA 4 PLCS)
G00 G17 G90 G54 X0. Y0. S1000 M03
G43 H1 Z3.
G98 G81 X0. Y0. Z-.2 R.1 F3.
X1. Y0.
X2. Y0.
X3. Y0.
G80
X4.0
M05
G91 G28 Z0.
G28 Y0.
G90
M30
%

  • Like 1
Link to comment
Share on other sites

If you're drilling with G98, the drill cycle should end at the Z position it was in when it started the drill cycle. In Rstewarts original code snippet - that means the tool should have come back to Z3. before indexing. It shouldn't need an extra Z3. call.

 

 

Actually, now that I think of it, G99 works the same way. It returns back to the Z position it was in when the canned cycle was called. Whether he used G98 or G99, the machine should have been back at Z3 before the index.

Link to comment
Share on other sites

Well you guys have provided ZERO data to support this is not a bug, which is just ignorant. Just saying "it's not a bug", does not mean its not a bug. Both of you thought that G99 or G80 returns to the initial plane, it doesn't as a G code control standard, you are both wrong.

 

 

G99 will return to the initial plane after drilling the last hole.

 

 

 

Aside from Mastercam explaining that in the manual, how do you explain Mastercam outputing the clearance plain on all hole counts over 1?

 

I use MPMaster and it's the same whether one hole or two holes.

 

 

 

(PROGRAM   - TEST.NC)

(DATE      - NOV-21-2014)

(TIME      - 12:30 PM)

(T44  - .173 DRILL 8-32STI   - H44  - D44  - D0.1730")

G0G17G20G40G80G90

G91G28Z0.

N1T44M06(.173 DRILL 8-32STI)

(MAX - Z8.3625)

(MIN - Z-2.8925)

M08

G0G17G90G57M42B270000X1.5653Y18.0753S7000M03

G43H44Z8.3625

G94

G98G82Z-2.8925R-1.8005P1.F21.

G80

G91G28Z0.

G0G90G54B0X4.1575Y6.1

G43H44Z8.3625

G98G82Z2.28R3.372P1.F21.

G80

M09

M05

G91G28Z0.

G90

M30

 

 

 

(PROGRAM   - TEST1.NC)

(DATE      - NOV-21-2014)

(TIME      - 12:31 PM)

(T44  - .173 DRILL 8-32STI   - H44  - D44  - D0.1730")

G0G17G20G40G80G90

G91G28Z0.

N1T44M06(.173 DRILL 8-32STI)

(MAX - Z8.3625)

(MIN - Z-2.8925)

M08

G0G17G90G57M42B270000X1.5653Y18.0753S7000M03

G43H44Z8.3625

G94

G98G82Z-2.8925R-1.8005P1.F21.

X-1.4347Y18.0747

G80

G91G28Z0.

G0G90G54B0X4.1575Y6.1

G43H44Z8.3625

G98G82Z2.28R3.372P1.F21.

G80

M09

M05

G91G28Z0.

G90

M30

 

 

Link to comment
Share on other sites

load this file in a Fanuc controlled machine .. or a Hass

tell me where the Z is when it rapids to X4.0

for bonus points change the G98 to G99 and try it again

 

With G98, every machine I've ever run would be a Z3.0

 

I believe the spindle will be at Z3. with the G99 test as well

 

 

G00 G17 G20 G40 G80 G90

T1

M06

N1 (TOOL #1 = 1/2 X 120 DEGREE SPOT DRILL)

(SPOT DRILL .700" DIA 4 PLCS)

G00 G17 G90 G54 X0. Y0. S1000 M03

G43 H1 Z3.

G98 G81 X0. Y0. Z-.2 R.1 F3.

X1. Y0.

X2. Y0.

X3. Y0.

G80

X4.0

M05

G91 G28 Z0.

G28 Y0.

G90

M30

%

 

I agree G98 should retract to the initial plane. G99 by definition shouldn't.

 

If you're drilling with G98, the drill cycle should end at the Z position it was in when it started the drill cycle. In Rstewarts original code snippet - that means the tool should have come back to Z3. before indexing. It shouldn't need an extra Z3. call.

 

 

Actually, now that I think of it, G99 works the same way. It returns back to the Z position it was in when the canned cycle was called. Whether he used G98 or G99, the machine should have been back at Z3 before the index.

 

In total agreement on the first half. I'm surprised he isn't getting a retract to the initial plane with G98.

 

As for the G99 part, is that how it works on your Mazaks? Do you have a Fanuc controlled machine that does this?

 

Its not a bug because the people who write the posts understand that G80 returns to the initial plane. The code your getting is whats intended.

 

So why do they use the initial plane after G80 if you are drilling more then 1 hole?

 

G99 will return to the initial plane after drilling the last hole.

 

 

 

I use MPMaster and it's the same whether one hole or two holes.

 

 

(PROGRAM   - TEST.NC)

(DATE      - NOV-21-2014)

(TIME      - 12:30 PM)

(T44  - .173 DRILL 8-32STI   - H44  - D44  - D0.1730")

G0G17G20G40G80G90

G91G28Z0.

N1T44M06(.173 DRILL 8-32STI)

(MAX - Z8.3625)

(MIN - Z-2.8925)

M08

G0G17G90G57M42B270000X1.5653Y18.0753S7000M03

G43H44Z8.3625

G94

G98G82Z-2.8925R-1.8005P1.F21.

G80

G91G28Z0.

G0G90G54B0X4.1575Y6.1

G43H44Z8.3625

G98G82Z2.28R3.372P1.F21.

G80

M09

M05

G91G28Z0.

G90

M30

 

 

 

(PROGRAM   - TEST1.NC)

(DATE      - NOV-21-2014)

(TIME      - 12:31 PM)

(T44  - .173 DRILL 8-32STI   - H44  - D44  - D0.1730")

G0G17G20G40G80G90

G91G28Z0.

N1T44M06(.173 DRILL 8-32STI)

(MAX - Z8.3625)

(MIN - Z-2.8925)

M08

G0G17G90G57M42B270000X1.5653Y18.0753S7000M03

G43H44Z8.3625

G94

G98G82Z-2.8925R-1.8005P1.F21.

X-1.4347Y18.0747

G80

G91G28Z0.

G0G90G54B0X4.1575Y6.1

G43H44Z8.3625

G98G82Z2.28R3.372P1.F21.

G80

M09

M05

G91G28Z0.

G90

M30

 

 

 

Your example is using G98, the problem I am talking about is with G99. I don't see any reason for the post to output the clearance value for G98.

 

My Mpmaster post did this when I used these linking parameters:

 

post-40824-0-36038300-1416603482_thumb.jpg

 

Drill one hole:

post-40824-0-14890600-1416603542_thumb.jpg

 

Drill two holes(now uses clearance value):

post-40824-0-15167800-1416603522_thumb.jpg

Link to comment
Share on other sites

I have never seen a Fanuc that didn't go back to the reference height at the G80

 

If it is in G98 mode that is what will happen. You can set G98 or G99 to be default if not specified via parameter if you wish.

 

I did some more digging around, doesn't look like Haas or Mazak work any different than Fanuc or Yasnac when it comes to G99 G98.

 

Here is some more evidence for you guys:

 

post-40824-0-62392400-1416610673_thumb.jpg

 

post-40824-0-01078000-1416610700_thumb.jpg

 

post-40824-0-96269200-1416610719_thumb.jpg

 

post-40824-0-42807000-1416610733_thumb.jpg

 

post-40824-0-40397600-1416610750_thumb.jpg

Link to comment
Share on other sites

Sticky you have been shown a way to ensure your post does exactly what you are after. Yet you keep going after what? What point are you trying to prove here? You are the greatest G80 expert in the world and sorry for whatever reason it created issues for you, but in my 15+ years of using Mastercam I have never nor have any of my customers ever run into the issues you have. Does not make it right, just means I have not been through the issue you are caring on about. Buy verification software and know nothing will happen at the machine if not make the changes to the post like Colin so gracious showed everyone how and let it rest.

 

I am called the biggest pain. :unworthy: :unworthy:

Link to comment
Share on other sites

Sticky you have been shown a way to ensure your post does exactly what you are after. Yet you keep going after what? What point are you trying to prove here? You are the greatest G80 expert in the world and sorry for whatever reason it created issues for you, but in my 15+ years of using Mastercam I have never nor have any of my customers ever run into the issues you have. Does not make it right, just means I have not been through the issue you are caring on about. Buy verification software and know nothing will happen at the machine if not make the changes to the post like Colin so gracious showed everyone how and let it rest.

 

I am called the biggest pain. :unworthy: :unworthy:

 

All I am after is trying to get Mastercam to do what it says it is going to do.

 

Is that so unreasonable?

 

This is a bug that can cause a severe crash, what is wrong with wanting to address that?

 

I am planning on getting verification software, but I have to save up some pennies, I can't afford to just bust out 20k any time of the day to go get verification software. I do agree that verification software is a great tool to have.

 

But that doesn't change the simple fact that this bug could be fixed, and then MC would do what it is leading you to believe its going to do.

Link to comment
Share on other sites

All I am after is trying to get Mastercam to do what it says it is going to do.

 

Is that so unreasonable?

 

My take - I can understand you looking into how the cycle works/should work. That's good in my books.

But have you implemented Colin's suggestions in your post - if not that's bad imo? :D

The post is only a translator from internal nci - our post is littered with non-standard things to get it to output how we want it. Cancel codes at every tool etc so we can re-start anywhere with no issues etc etc.

That's the beauty of mcam - it's so customisable you can get exactly what you want.

And we've never been bit by this either - using mcam at different levels in different ways since the tale end of V8, with 4ax work now the norm for the last 4+ years.

:cheers:

Link to comment
Share on other sites

I think it is clear that the intended purpose of the "clearance plane" is to be a safe plane to START and FINISH the tool path. When it uses the start, but not the finish, you can run the risk of wrecking your tooling, fixtures, parts and machine BUT IF YOU MOD YOUR POST AS COLIN EXPLAINED, ALL IS GOOD MKAY :hrhr:

Link to comment
Share on other sites

All I am after is trying to get Mastercam to do what it says it is going to do.

 

Is that so unreasonable?

 

This is a bug that can cause a severe crash, what is wrong with wanting to address that?

 

I am planning on getting verification software, but I have to save up some pennies, I can't afford to just bust out 20k any time of the day to go get verification software. I do agree that verification software is a great tool to have.

 

But that doesn't change the simple fact that this bug could be fixed, and then MC would do what it is leading you to believe its going to do.

Well I can tell by the lack of a response here that you are not getting anywhere with CNC. Again you have a problem many others are not and have not run into. What is your bug number? What have the official responses been from CNC? Go over in the official forum and keep making topic after topic to get your point across. You have been given a process to correct it. That is about all we can do to help you remember we are trying help not be against you. This is a community of users we have nothing to gain making it hard on you, but again if we have not had that problem hard for us say it is a bug so how about cutting us some slack?

Link to comment
Share on other sites

My take - I can understand you looking into how the cycle works/should work. That's good in my books.

But have you implemented Colin's suggestions in your post - if not that's bad imo? :D

The post is only a translator from internal nci - our post is littered with non-standard things to get it to output how we want it. Cancel codes at every tool etc so we can re-start anywhere with no issues etc etc.

That's the beauty of mcam - it's so customisable you can get exactly what you want.

And we've never been bit by this either - using mcam at different levels in different ways since the tale end of V8, with 4ax work now the norm for the last 4+ years.

:cheers:

 

Yes I have implemented Colin's fix in my post. And that is awesome that we took the time to make such a detailed fix for everyone. I do really appreciate that.

 

What I don't understand why some of you don't seem to think it is a problem that "clearance" only works in G99 if you have more then one hole.

 

I'm not the only person that has this problem, I didn't even start this thread. There are several other threads about this on Emc.

 

It's starting to feel like I am arguing with Micro. I can post up all the facts in the world and its still met with LALALALALALALAALALALALALALLALALALALALAA its not a big everything works fineLALALALALALALALLAALALALALLALAA

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...