CNC Macro Programming Course

Category : Macro

 CNC Macro Programming Course

Duration:          2 days.
Date:                  See Dates
Times:               Start 9.30am Finish 4.00pm
Location:          Barwell Leicestershire England

Includes lunch, coffee and tea, oh and biscuits too.

£600 for two days

CNC Macro Programming Training Courses

If you want to learn how to use

  • Macro CNC Programming Fanuc
  • Macro CNC Programming Haas
  • Macro CNC Programming Mazak

Most ISO type controls that have Macro use a very similar system.

This course covers Lathes and Machining Centres with on-machine practical examples .

Follow the link to learn some more about Macro.

Heidenhain Q parameter programming is very similar to Macro CNC Programming for Haas and Fanuc.

Once you have grasped the concept of parametric programming you will find Heidenhain Q parameter programming easy to figure out.

Siemens uses R parameters instead of #


Haas, Fanuc or similar controls (ISO Mazak).

CNC Macro Programming Course   fanuc cnc custom macrosCNC Macro Programming Course

Make sure you have the Macro option on your control, its a real disappointment when you get all excited about this only to find you don’t have the option. Remember if you have a touch probe you will almost definitely have Macro installed on your machine.

Go into MDI key in #100=10. or something similar. Press cycle start.

If you have it you will get no alarm.

Good news is you can buy the option, it don’t come cheap so sit the boss down and make him a cup of tea before you ask.


CNC Macro Training Course

What Use Will it Be?

This is where CNC Programming gets really exciting, welcome to the turbo charged world of Macro Programming for Haas and Fanuc type controls. There is so much exciting shit you can do with this I really don’t know where to start.

Write your own canned cycle

Yes you can create your own fanuc cnc custom macros.

Yes you always dreamed of having your own personal G code, you can’t call it like Bill’s G code or something but you may have G271 or something which is personal to you.

Say you wanted a drilling cycle that changed speed half way down a hole or some daft thing well now you can do it.

Make A Set of Similar Parts

Imagine you had a bunch of parts that were similar, maybe the same holes but in different positions or a similar shape maybe.

Create fanuc cnc custom macros to make families of parts.

fanuc cnc custom macros

You could write a parametric (Macro) program that would be completely adjustable and would make them all instead of having to keep writing similar programs.

You can build these programs and add to them as you get better and better and your ideas flood in.

I always say to students to start simple and build on your experience. Just using Macro in it’s simplest form will inspire you to go on to do greater things.

Interrogate Your CNC Machine

You can get almost any information you want from the machine.

  • Spindle Speed
  • Position
  • Datum
  • Tool Length
  • What tool is in the spindle
  • Put the machine into an alarm state when things go wrong like wrong data is input
  • And loads more

You can even modify this information and send it back.

Do Calculations

  • Simple trigonometry
  • Calculate feeds and speeds
  • Simple maths
  • Input formula and get answers

I’m getting really excited just telling you this. It means you can add all sorts of functionality to your machine that you didn’t have before.


What Skills Will I Learn

  • Basic use of variables
  • Creating simple Macro programs
  • How system variables work
  • How to write probing Macros
  • Creating your own G Codes
  • Create alarms to make sure your Macro users behave
  • Practical use of Macro
  • Creative use of Macro
  • and more, loads more

Other Macro Information

Macro Training

Macro

More**Free**Macro**Stuff

Haas spindle warm up.

Mazak Spindle warm up.

Contact me if you are interested in Classroom Training 07834 858 407

Don’t forget to watch my Tutorial Videos on YouTube

Edgecam call 07834 858 407

We offer training on all types of CNC Machines and controls check em out.

Services offered at CNC Training Centre

Classroom programmer training.

Onsite CNC Machine Training.

CNC Programming and Training on all controls and machines.

Mazak Training Fanuc Training

Don’t forget we offer training on all types of Mazak Machines and all Fanuc Controls 6m to 31i Oi old to young.


Haas Macro Programming An Introduction

Category : Haas Macro

Haas Macro Programming

Haas Macro Programming

CNC Macro Programming Training Courses

Duration:          2 days.
Date:                  Click for Dates
Times:               Start 9.30am Finish 4.00pm
Location:          Barwell Leicestershire England UK

£600 for the two days

Apply Now

Call David on 07834 858 407

 

If you can’t wait here are a couple of free macros……..

Oh and you could come to us for a macro training course.

Haas spindle warm up.

Mazak Spindle warm up.

 

Please contact me if you require:

  • CNC programming training.
  • Want to learn CNC programming.
  • Fanuc control training.
  • Yasnac programming training.
  • Any type of CNC course.
  • Fanuc training courses
  • CNC lathe training
  • CNC Vertical Machining Centre training

Contact: 07834 858 407

Services offered at CNC Training Centre

Edgecam training.

Classroom programmer training.

Onsite CNC Machine Training.

CNC Programming and Training on all controls and machines.

Mazak Training Fanuc Training

Don’t forget we offer training on all types of Mazak Machines and all Fanuc Controls 6m to 31i Oi old to young.


How to use G50 on a CNC lathe

CNC Turning Basics G50 Speed Clamp

How to use G50 on a CNC lathe

How to use G50 on a CNC lathe

How to use G50 on a CNC lathe.

G50 in a turning program is a speed clamp. The machine accelerates up to the speed you set (G50 S2000) and will not go any faster.

Now before I get arrested by the “Correct Word and Grammar Police” I know it’s not actually a clamp. The truth is it’s just what everybody calls it, so get off my fuckin case.

Black dog his name is Boris

Anyway if I start to call it something else all my CNC mates (and I do have some) will be confused.

Just check me out on LinkedIn. Anyway as I was saying my mates wouldn’t know what the fuck I was on about.

You must program a G50 before each tool and at the beginning of the program for safety reasons which I will explain later.

It’s Modal

G50 is a modal G code (it stays active). If you have a program where you do not want to clamp the speed you must still put the G50 at the beginning of the program (set the clamp to the machines maximum RPM).

Otherwise it may pick up the G50 from the last program and you may not get the RPM you want. It can have the effect of slowing down production because the speed is being restricted and you didn’t realize.

Don’t use someone else’s G50 get your own.

You wouldn’t wear someone else’s dirty pants. (Americans call underpants underwear I think)

 

These are mine (sorry I din’t get time to wash them).

Modal G code explanation here.

Now Here Is Something You May Not Know

Historically G50 was used to set the machine datum. This still works so do not put any X or Z figures on this line. You will get some weird shit happening if you do. Oh and you will probably trash your 100 grand machine.

Anyway how to use G50 on a CNC lathe

G50 S2000 (SPEED CLAMP 2000 RPM)

Some G code systems, or depending on parameters, may use G92 instead of G50. This is not very common but it works exactly the same way.

On a Fanuc control they are called A type and B type G codes and depends on machine tool builder. Most of the G codes remain the same but proceed with caution.

It is particularly useful when you are facing a part using G96 (constant surface speed). When the tool reaches the centre of the part the machine will be running at maximum RPM. This could be very dangerous on large or out of balance components. When you set a G50 speed clamp, once the machine reaches the clamped speed it will go no further.

Here is a tutorial video about G96 and G97

RULES

  1. Use a G50 at every tool-change
  2. Use a G50 at the beginning of a program (even if you think it’s not needed)
  3. G50 S2000 (Only G50 and speed on one line, nothing else)
  4. There is no rule 4
  5. Never eat yellow snow.

Toshiba VTL CNC

This is a Toshiba VTL (Vertical Turning Lathe).

If you want to buy one or fix one go to Leader CNC

Now imagine this revolving too fast you would soon need their services oh and a good trauma team.

More CNC Turning Help (G70 and G71)

Please contact me if you require:

  • CNC programming training.
  • Want to learn CNC programming.
  • Fanuc control training.
  • Yasnac programming training.
  • Any type of CNC course.
  • Fanuc training courses
  • CNC lathe training
  • CNC Vertical Machining Centre training

Services offered at CNC Training Centre

Edgecam Training.

Classroom programmer training.

Onsite CNC Machine Training.

CNC Training on all controls and machines.

Mazak Training Fanuc Training

Don’t forget we offer training on all types of Mazak Machines and all Fanuc Controls 6m to 31i Oi old to young.


Reset To G54 Fanuc Parameter 1201

Category : Fanuc Parameters

Messing With Parameters Can Be Fatal!!!!!

Reset To G54 Fanuc Parameter, altering this parameter will make the control reset back to G54.

If you find it annoying that your control keeps jumping back to G54 when you press reset change this parameter to a 1.

To change parameters you need to go to the setting screen in MDI.

First of all take a deep breath and prepare yourself.

Now put a 1 in the parameter write box.

Reset To G54 Fanuc Parameter 1201

How annoying is it when you press reset on your Fanuc control and suddenly it dumps the work offset. You know your in G55 and it jumps back to G54.

I reminds me of my teenage years when girls used to hit the reset button on me. I didn’t default to G54 or anything just got really pissed off.

One particularly ungrateful girl dumped me after I had spent nearly an hour trying to explain to her about the system variables on a Fanuc Control. I even offered to lend her the Fanuc Manual.

This parameter is quite difficult to find. Now I know I often go on about me not being very bright but it really is true. I often say to customers I’m the one who just reads all the boring shit in the manuals that you can’t be bothered with and that’s really all I do.

It’s actually true although,0000000000000000000000000000000000000000 I do like to think that I have a good way of explaining things in “layman’s terms” as they call it, profanities included.

(sorry the cat sat on my keyboard again)

 

This is my cat she is called Hagnes, that’s not a typo. Her name was Agnes but as she is an upper class cat I added an H because posh people add H to a lot of words.

They often say words wrong like they say “help” when they mean “elp” it’s no wonder we don’t know what the fuck they are on about.

This is all really hypocritical from the guy who fuckin hates it when people put gratuitous crap on Linkedin that belongs on TikTok or Facebook. I mean do I really care if you had two eggs for your fuckin breakfast or one.

Anyway she did stand on my fuckin keyboard.

 

The parameter, the parameter oh yes…..

The reason not many people adjust this parameter is because it’s kind of hidden. That means it’s down to people like me who sit reading Fanuc Parameter Manuals when all other adult men are playing Candy Crush or Cyberpunk 2077.

This Is It Folks (1201 bit 7)

Reset To G54 Fanuc Parameter

This is the Explanation.

Extract from an ancient Fanuc manual dating back to biblical times.

Reset To G54 Fanuc Parameter
Parameter 1201 bit 6

Always read the small print.

Must admit I didn’t read the little note above until I changed this parameter for one of my victims the other day. It didn’t work. Just altered the one below and Bingo.

This Parameter will Need Changing TooReset To G54 Fanuc Parameter

Phew I need a lie down after that.

This parameter is complicated because it’s all about G code groups. Every G code is in a group it is not something you need to worry too much about until you get on to more advanced Macro Programming.

If you think of it as G codes that you couldn’t have in the same block like G0 G1 G2 and G3.

You can only have one or the other. I mean you couldn’t G0 and G1 together that would be stupid telling the machine to rapid and feed at the same time.

Well…… these are in the same group it’s group 1 actually.

This parameter will reset whatever G code is active in group 14.

Group 14 just happens to be G54 G55 G56 G57 G58 and G59 (your work offsets).

As they are all in the same group (14) only one can be active.

So all it means is when you press reset if the machine was in G55 G56 G57 G58 or G59 it would always default back to G54

Now you know how to reset to G54 by altering a Parameter.

So 1 means don’t reset to G54 and 0 means reset to G54

Here is More Total Confusion

Parameter are listed like this

 

Reset To G54 Fanuc Parameter
Parameter bits

I’ve written the bit number below because it can be a bit confusing. There are 8 bits beginning with bit zero. The first one is not bit 1 it’s actually bit zero.

So what’s confusing?

Well for one thing they work from right to left.

The other thing is they start at number zero not number one.

It’s all because they are binary numbers without these you and I would still be winding handles and drinking out of our hands and living in caves.

I’m not gonna go there by the way.

Just One Thing

Oh just one other thing before you go off and cripple your machine forever.

Do yourself a favour take a picture of the screen before you change your parameter.

Make a screen shot if you can.

If you ain’t got a camera then you must have a piece of paper so write it down.

(Oh and get a fuckin camera, you dinosaur, they are very useful you can take pictures of your arse and send them to your mates)

Even better back everything up, on our machine that is.

Thanks

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

If you want to learn to programme CNC Milling Machines

Look no further Contact CNC Training Centre


Reset #100-#149 Fanuc Parameters 6001

Category : Fanuc Parameters

If you write macro program you will probably know that 500 series variables stay in the machine even when you switch it off.

Unfortunately the 100 series variables don’t stay around. This parameter when changed means these little blighters will retain their values even if you turn off the machine.


Careers in CNC

View all current vacancies in CNC

Click here

Call David: 07834 858 407