Author Archives: David

Hurco Converting MM to Inches

Hurco Converting MM to Inches, they say in life it’s the little things that matter. Well it’s an interesting thought. Doesn’t bode well with the bank manager when you only have 10 quid in your account but then that’s another story.

Hurco Converting MM to Inches

Call David: 07834 858 407

for Hurco training

Anyway here is a little thing about a Hurco control that is really useful. One of the things I always teach my pupils, or victims as they are sometimes called is this.

CNC Training Centre Reviews

30 five star ratings on Google (just saying)

Always let the computer do the simple maths, us humans are basically shit at maths especially when we do it in our heads. So when the CNC Control offers to help out, let it do it.

Above I am creating a tool and it’s a 3/16 inch endmill. First of all I’m going to change to inches. I click that little button MM down the bottom there.

Yes MM that’s little beast.

Hurco Converting MM to Inches, you will now get a warning

Imagine it’s the wife and just ignore it, well say YES, you know like you always do.

Your display will now turn to inches by complete magic. Your ok this is not a F****, the control is not about to simultaneously destruct.

Everything just went to inches. So exciting, I mean really it’s no big deal but if you are used to other controls then I’m afraid it fuckin is a big deal.

Now just type in 3/16 and press ENTER

Hurco Converting MM to Inches

Guess what it came up with 0.1875 wow wow wow.

Just one other thing, Press the INCH button, and it goes back to MM.

And it’s back to MM

Hurco Converting MM to Inches

Soooo 3/16 of an inch is 4.762 mm

Hurco Converting MM to Inches, no brain power used.

Now all you old school types are saying “when I was a boy we didn’t have calculators. I say “shut the Fuck up cos now we do”

Listen folks in my school we only had one fuckin abacus and that was kept in a vault and only got it out on a bank holiday.

The point of this is that you don’t make any silly mistakes.

Use for every calculation plus, minus, divide everything.

Hurco Converting MM to Inches

If you have been offended in anyway by this article please accept my appologies as I’m in a foul mood. The dog has shit in my sandwich box again.

 

 


Writing Siemens Work Offset From Your Program

Writing Siemens Work Offset From Your Program

Siemens Work Offset

On a Fanuc control it is quite common to use G10 to write your work offsets (G54 to G59) from your program. It has many advantages the main one being that no-one gets to mess with your precious work offset once its set.

CNC Training Call David: 07834 858 407

 

CNC Training Centre Reviews

30 five star ratings on Google (Just saying)

 

If some prick comes along and changes it, you don’t have to give a flying monkey shit. Your Siemens Work Offset is safely locked away in your CNC Program.

Oh and you get to do shit like this

Well if you ever lie awake at night thinking “how is that done on a Siemens control” I’m going to give you the answer. I often had these thoughts so you are not alone.

But then one day, not long back, someone asked me outright “How’s it done” once I got over the initial embarrassment of being asked such a direct question I told em.

Well first let’s say there is no such thing as G10 on a Siemens control.

You use this $P_UIFR[1] to write your Siemens Work Offset. The 1 being G54 and 2 G55 you can take this right up to G599.

Beware you are in the adult section now, messing with system variables.

Let me say “I fuckin love Siemens controls” there you go I’ve said it.

But, and a massive but it is, you get the syntax wrong on this and all hell will break loose. Not only will your CNC Machine explode in your face but when you get home your partner will be shagging the window cleaner in the remains of your burnt down house. So beware before you press that button to write your Siemens Work Offset.

You need loads of commas just put em everywhere and you wont go wrong.

This is how it looks:

$P_UIFR[1]=CTRANS(X,100.,Y,200.,Z,300.)

This will set X100. Y100. and Z300.

Great I Can Read and Write

While we are on the subject, you can also read the work offset figures back into R values. You can then keep these and do what you want with them. Maybe sell them to a friend for profit, the choice is yours.

Siemens Work Offset

The 1 just after the square bracket is for G54 (2 would be G55) then give the axis in our case X Y and then Z

R1=$P_UIFR[1,X,TR]

R2=$P_UIFR[1,Y,TR]

R3=$P_UIFR[1,Z,TR]

The video below shows R1 R2 and R3 set to zero, after reading the program it extracts the offset figures G54 X-100. Y-200. and Z-300. and puts em in R1 R2 and R3 variables.

So there you have it setting you Siemens Work Offset.

Easy isn’t it.

You’re a big boy now playing with system variables but just remember “with great power comes great responsibility”

 

 

 



Hurco WinMax Training, Maximise Your Hurco Machines’ Potential

Hurco WinMax Training, for any busy CNC workshop, efficiency and productivity are key to profitability. With Hurco CNC machines, a big part of that advantage comes from the intuitive and powerful WinMax control system.
Over my 30 years of training people on CNC machines I have had the pleasure of working on every CNC Control.
CNC Training Centre Reviews
30 five star ratings on Google (just saying)

Call David: 07834 858 407 for Hurco Winmax Training

To be honest it’s a bit like your children you love them in their own special way even if one of them turns out to be a absolute prick.
Hurco Winmax Training
Anyway it’s the same with CNC controls, except you don’t have to pick them up at 2 in the morning from a nightclub. They are only 16 but somehow managed to get totally pissed.
If the Hurco was your child it would be the one with impecable manners and always does his homework. And when  your old, he is the one who cleans you up when you piss yourself on his new chaise lounge.
So easy to use, so intuitive and like my wife when you fuck up it’s there to save you.

Ease Of Use

While the conversational programming is known for its ease of use, unlocking its full potential requires specific, tailored training.
At The CNC Training Centre, we offer specialised, on-site Hurco WinMax training designed to get your team from drawing  to finished part faster than ever before.

The power of training on your own premises

Standard classroom training can be valuable, but for maximum impact, nothing beats learning on your own machines. Our on-site WinMax training brings a number of critical benefits:

  • Tailored to your specific needs: The training can include your actual components and programs. This means the training is immediately relevant and applicable to your daily workflow.
  • No machine downtime for travel: Eliminate the cost and inconvenience of sending your operators off-site for training. Your team remains on-site, ready to return to production as soon as the session is over.
  • Focused on your equipment: You and your team will learn on the exact Hurco machines they operate every day. This includes specific training as well as any specific features you have.
  • Team-wide knowledge transfer: Training an entire team at once ensures consistent practices and a shared understanding of the WinMax system across your whole workshop.
“Read More”

Using R Parameters Siemens Sinumerik 828 840

R Parameters Siemens, on a Siemens control you can use R parameters to control a program externally.

“What’s he on about” I hear you say.

I’ll explain.

Imagine a sub program that has no value assigned to it’s feedrate. Well you could call the feedrate R1

G1 X50. F=R1

The program says to you “ok I’ll feed at R1” it thinks for a while then says

“what’s R1 David?” (Actually it wouldn’t know my name)

So you tell it.

R1=200.
G1 X50. F=R1 

So now it’s just like you wrote

G1 X50. F200.

Now I know what you are thinking saying, “just program that in the first place you prick.”

When you use this type of programming, known by posh people like me as parametric programming, you can program a shape then give it the dimensions externally.

You would usually have the shape in some kind of subprogram.

It’s All in The Pizza

It’s like ordering a pizza. They know you want a pizza but then they need to know all the other stuff like what size and what topping.

Anyway fuck the pizzas let’s talk about R values.

The difference is you can put whatever value you want in R1.

You could then use the same program to rough and finish the part. The first time you call it you put R1=100. the second time you put R1=200.

Fanuc uses a similar thing using # (sometimes called variable).

Instead of R1=6 it has #1=6. (you get loads of variables, #1 to #100 and more)

Heidenhain uses Q values Q1 = 6.

See how Fanuc do this.

See how Heidenhain do this.

Wait There’s More

You don’t just have to use R1 there are at least 99 of these bloody things.

You can use R2 R3 or R65 it’s entirely up to you, just don’t get confused that’s all.

Then comes the clever shit. You can actually do maths with them. You could put R1= R1 – 10.

This would take 10. off the feedrate.

You can even do things like cosines and sines and stuff like that. The mind boggles.

If you have a probing system then it will almost certainly be using R parameters in the background to grab data and the get the size information you want.

(Picture of my puppy for those who’d rather be on Facebook his name s Tallywacker)

You can program a shape and replace all the dimensions with R parameters. This is when it gets fuckin awesome.

The program below uses an R parameter for the corner rads and an R parameter for the width.

The left side is the main program. The right side is the sub program called each time.

R Parameters Siemens

Here is a video of the program in action.

Siemens Training 828 840D

These methods are all tools in your programming toolbox. One day you’ll see a use for one of them and you’ll think “I remember that grumpy old bastard wrote an article on that”.

Then I hope you’ll return to this article.

Thanks for watching and reading

If you have been affected by any of the issues in this post or need CNC Counselling then contact me.

Or call us

If you want to learn to program CNC Milling Machines

Look no further Contact CNC Training Centre

 


Careers in CNC

View all current vacancies in CNC

Click here

Call David: 07834 858 407