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:

Why do T, H and D values keep changing? 2020


Jobnt
 Share

Recommended Posts

Tried the search, it just hangs for several minutes and doesn't do anything, sorry if this has been covered.

Not sure what's causing this. There's literally no pattern. 

T1 H1 D1

T2 H3 D3

T3 H15 D15

T4 H5 D5

T5 H22 D22

T6 H5 D5

Are there any bugs associated with this or is anyone else having this issue?

Link to comment
Share on other sites

As Ron Said, it's probably this:

image.png.5da7f576ec27321a351ad694ac9d4fce.png

I have that set up on my Robodrill for example, where it's old enough that it doesn't understand a diameter offset for tool #5.  I have to use offset #5 for the length, so I have the Diameter offset set to 100 so it will give me 105. 

Also, make sure that nothing changed about using head numbers.

  • Like 2
Link to comment
Share on other sites
1 hour ago, Colin Gilchrist said:

Global Formulas to the rescue!

tlngno$ = t$

tloffno$ = t$

 

Add these formulas, near the top of the Post, starting in the First Column, and you'll never have a H/D number that doesn't match the Tool Number. 

Nice, easy, clean fix. 

28 minutes ago, Aaron Eberhard said:

As Ron Said, it's probably this:

image.png.5da7f576ec27321a351ad694ac9d4fce.png

I have that set up on my Robodrill for example, where it's old enough that it doesn't understand a diameter offset for tool #5.  I have to use offset #5 for the length, so I have the Diameter offset set to 100 so it will give me 105. 

Also, make sure that nothing changed about using head numbers.

I have my CD set up to use From Tool. This does make it easier to fix them using the tool manager instead of doing each operation but doesn't keep them the same. If I change it to Add to Tool and set both to zero will that force them to align in the tool manager?

 

Is there a way to do this with a script? Iterate through the tools and align H and D?

Link to comment
Share on other sites

 

 

2 hours ago, Jobnt said:

Tried the search, it just hangs for several minutes and doesn't do anything, sorry if this has been covered.

Not sure what's causing this. There's literally no pattern. 

T1 H1 D1

T2 H3 D3

T3 H15 D15

T4 H5 D5

T5 H22 D22

T6 H5 D5

Are there any bugs associated with this or is anyone else having this issue?

I'm trying a process to make it easier on the operators to hold dimensions on an extrusion that has crazy tolerances.

It's somewhat similar what's above but I'm doing it on purpose.

KITAMURA HX800iLTGA 709-801-604.docx

  • Like 1
Link to comment
Share on other sites
4 minutes ago, Tim Johnson said:

 

 

I'm trying a process to make it easier on the operators to hold dimensions on an extrusion that has crazy tolerances.

It's somewhat similar what's above but I'm doing it on purpose.

KITAMURA HX800iLTGA 709-801-604.docx 45.72 kB · 0 downloads

Back in the day we used different H and D values to do very much the same thing. It's much easier to let the operator make the change via an offset than to re-program or edit the program.

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

Back in the day we used different H and D values to do very much the same thing. It's much easier to let the operator make the change via an offset than to re-program or edit the program.

I'm hoping it will help them. They're currently running a similar prototype part and are having a bad time with it and the programmer has been sick for the last couple days.

  • Like 1
Link to comment
Share on other sites
16 hours ago, Jobnt said:

Nice, easy, clean fix. 

In my opinion, it's not a fix....the fix is to get your control def squared away

I appreciate what Colin is offering but at the end of the day it simply covers for the programmers bad habits and is a crutch. I prefer to teach my 'grammers to work in a properly thought out and constructed work process flow.

JM2C YMMV

 

 

  • Like 4
Link to comment
Share on other sites
59 minutes ago, JParis said:

In my opinion, it's not a fix....the fix is to get your control def squared away

I appreciate what Colin is offering but at the end of the day it simply covers for the programmers bad habits and is a crutch. I prefer to teach my 'grammers to work in a properly thought out and constructed work process flow.

JM2C YMMV

 

 

Butttt....back in the day (X6/7ish?) wasn't there a bug where the occasional THD error was thrown even when the Mach/Control Defs were correct?

Which is when Colin suggested this?

  • Thanks 1
Link to comment
Share on other sites
6 minutes ago, Newbeeee™ said:

Butttt....back in the day (X6/7ish?) wasn't there a bug where the occasional THD error was thrown even when the Mach/Control Defs were correct?

Which is when Colin suggested this?

Honestly, I couldn't even guess at this point...I cannot say there was, I cannot say there wasn't...all I can say is I don't remember one of that type causing me any problems.

  • Like 1
Link to comment
Share on other sites
1 hour ago, JParis said:

the fix is to get your control def squared away

Unless there's something besides what was mentioned above (i.e. the CD being wrong, mine is not) then it seems there isn't a "fix".

Hence why I asked this: 

17 hours ago, Jobnt said:

Is there a way to do this with a script? Iterate through the tools and align H and D?

The thing is, these T, H and D values match when I start the program. Somewhere down the road they lose their xxxx and I have no idea why or what's causing it.

Link to comment
Share on other sites
1 hour ago, Jobnt said:

The thing is, these T, H and D values match when I start the program. Somewhere down the road they lose their xxxx and I have no idea why or what's causing it.

Not quite what you're looking for, but this is what I added into my post a while back.

pofsnumchk   #Check if T# equal H# / D#	
	  if t$ <> tlngno$, result = mprint(shofsnumwarn + " - T" + no2str(t$))
	  if t$ <> tloffno$, result = mprint(sdofsnumwarn + " - T" + no2str(t$))

 

If there are H / D numbers that don't match the T number the post throws a warning.

If you do need offset numbers to be different than the tool number, you can ignore the warning and still get good code.

  • Like 2
Link to comment
Share on other sites
11 minutes ago, Jake L said:

Not quite what you're looking for

Ideally I'd like the H and D values inside Mastercam to stay the same and quit randomly changing.

The post fix is a fix, but it does not solve the problem because my setup sheets are based on the NCI file not the posted file and will post the errant code.

A script to iterate through all the tools and change the H and D values to match the T would be the second best solution. 

Link to comment
Share on other sites
21 minutes ago, Jobnt said:

Ideally I'd like the H and D values inside Mastercam to stay the same and quit randomly changing.

This is what I experienced.......randomly changing although my control definition was set correctly. This was happening back in X7 and I have experienced it in MC2019, MC2020. 

 

 

  • Like 2
Link to comment
Share on other sites

Ah, okay, that's a different problem and changing the CD wouldn't be it.

I've never had a tool change T/H/D on me unexpectedly..    I know that you can change the H or D offset # in toolpaths > Tool page without it throwing up a warning and it's only saved with that toolpath:

image.png.13884e281fedc29b8cb1b602c8c4251d.png

I've accidentally filled out the wrong field due to fat fingering when using tab to move between fields?

If you can catch in the act, I'd send a file over to QC to see if there's anything logged against it.

Link to comment
Share on other sites

I always have "Add to tool" selected and it's set to 0 since the advent of the MD/CD. That said, I've also forced my H/D to be T in the post from time to time just in case. I can't recall ever having that problem where random H's and D's pop up. It's probably a work flow issue that creates that problem. 

 

On another note, I've had Tool Offset C (4 column; H/HW, D/R/DW/RW) on just about every machine I've spent time on since the mid-1990's. 

:coffee:

Link to comment
Share on other sites
3 hours ago, Aaron Eberhard said:

I've accidentally filled out the wrong field due to fat fingering when using tab to move between fields?

I have had it with the tools set to be numbered sequentially (for a Haas umbrella tool changer) and the tool number goes to say T1 and the H and D go to 0. Once I go into edit tool and type 1 into the T number it changes the D and H accordingly. But without doing this manually it sometimes puts in other numbers.

Not sure of the culprit.

  • Like 1
Link to comment
Share on other sites
6 hours ago, Jobnt said:

The thing is, these T, H and D values match when I start the program. Somewhere down the road they lose their xxxx and I have no idea why or what's causing it.

Honestly, X+ every day and twice on Sundays!

1x click to check THD, G54/55etc status, Coolant, etc - it's a fantastic double check. Because it's the hot job when someone is on your back that always bite, and we all know whose fault the bang will be....

Capture.JPG

  • Thanks 1
  • Like 1
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...