Great tip! G28 is good when in handle jog mode w/ the door closed to send Z home and Y to the front. I usually hit "Z" then G28 button. Then hit "Y" then G28 button. First time I used G28 in a program it scared the shit outta me. My typical mill programs end with: G53 G00 G49 Z0. M05 G53 Y0. G54 X3. M30 This sends Z home, Y home (to front), X to middle of part, part is centered directly in front of door.
Subtitle: Hello, and welcome to this haas tip of the day. Now, in every one of our mill programs, at some point, we'll be sending our tools, or our machine table, home. We might do this at the end of our program or sometimes even before a tool change. Understanding exactly how our G53 codes work can really make the life of our operators easier. Now, misunderstandig how these codes work; However, can add a lot of cycle time to our programs. Or, even cause us some unwanted surprises. (Upbeat music) Well, let's jump right in and take a look at our G53 and G28 commands. As operators and programmers, we need understanding how both of these codes work to send our tool or table, back to our home positions. Now these codes behave slightly differently on a lathe. So, we've split up this tip into two versions: a mill version, and a lathe version. So be sure to check out the lathe version of this video. Right now , I am at machine zero. This is our home position. Now why do we call it our home position? Well, because that's where our home switches are. Each morning, when you come in and you press power up restart, each axis moves until precision home switches are triggered. Now this is typically the back-right corner or travel on haas mills. Our machine Zero is a useful reference position because it never changes. No matter what tool or work offsets we've entered home is always home. If at the end of our programs we want to move our Z up and out of the way and position our vice in front of the door for our operator, we can do that. Now to do this safely, we'll want to move these axes one at a time. Z first and then the X and Y. Now, right off the bat, we're going show you how to use the G53 method. I've got the program loaded up right here. In our program we've called up tool 1: T1 M06 and then we do our machining. So the machining's all done. G53 G00 G90 Z0 hats send our Z all the way position. Now that the tool is out of the way, we're going to command a G53 G00 G90 Y0 X-20. I knew I wanted to position to the table to G53 Y0 X-20 because I jogged the table where I wanted it and then looked at my machine position screen and recorded the values. Our machine position is our G53, always. Now, G53 is ouy non-modal machine coordinate selection. Non modal. This means that the G53 only affects the lines of code that it is called out on. So if we want to make a move based on the machine position, we need to call ou that G53 on each and every line. Now as soon as we pass that G53 line, the machine is going to return to whatever work coordinate system we happen to have been in. G54, in our case. Now, I call out o G00 and a G90 on each of my G53 lines. But, I just do this for clarity, and for safety. So that's pretty much it for G53. It is really straight forward. Really easy to use to send you tool or your table back to the home position. I do have one more thing I'd like to say about G53 that some of you might find useful. On some of pur machine models like UMC oy our GR Gantry Router Machines we actually have a little bit of extra space above our G53 Z0 locations. Now this can be really useful On a UMC Machine, you might have 2 1/2 inches of travel above G53 Z0, allowing us to command a G53 G0 Z2.5. Likewise, on a GR Gantry Router Machine, we might have four inches of extra travel above that tool change location. If you aren't sure what the maximum G53 Z position is that you can reach with your particular machine, just jog all the way to the top of your Z travel and look at your machine position. You can reach on your particular machine. If G53 XYZ is like driving straight home after work, then using a G28 XYZ is like stopping off for milk on your way home. Now, I'm serious. While G53 and G28 both get you to your home position eventually, then they do it in very different ways. When you command one or more axes home with a G28, the machine's not going to move directly to those home positions. It's going to move to the X,Y or Z locations in the current work coordinate system first, on it's way to home. So check this out. I've got a block loaded up here and my zero is in the front-left corner. if from within a program I were to command a G28 X0 Y0 Z0, my tool is going move, rapid, right to this top-left corner. Because that's my G54 XY0. After it's done that, it will then rapid to the home position. So again, we do not use a G28 command in G90 absolute mode. That's the wrong way to use it. G90 G28 G00 Z0 - (Don´t do this) G91 G28 G00 Z0 - (Good) G53 G00 G90 Z0 - (Best) If you were to command that from MBI, you'd probably crash your machine. We want to only use a G28 in G91 incremental mode. Now this is a really misunderstood concept and one of the reasons we usually push people toward the G53 method. If you use the G28 method with a G91, be sure to put the machine back in G90 Absolute Mode when you are done. Now, just because we can send our tool back to the Z Home position before a tool change doesn't mean that we should do this. Take a look at this program. It's fairly typical, we see it all the time. But it wastes a lot of cycle time. The program turns off the coolant. Then moves the tool to Machine Z0. Then it stops the spindle before performing aa tool change. At the end of the program, it does the same thing and then moves the table forward for the operator. This program is wasting time with each line. A better way to program this would be to remove these lines of code altogether. With these commands gone, the control is going to automatically and simultaneoously turn off the coolant, move to the tool change position and stop the spindle. If does these things all at the same time instead of waiting for each line to be completed. So we move those M5s, M9s and those zero-return moves before a too changes, you'll save yourself a lot of time. We give out this tip so often because it's so helpful in saving cycle time. Well that's it for this Haas tip of the day. Be sure to subcribe to the haas RUclips channel for more tips. And don't forget to stop and pick up your milk on the way home.
Got an older Mori Seiki sl250 mc recently and just started playing with it. First time using live tooling and sub spindle. Could have used this tip earlier after damn near running the sub spindle into the collet chuck. Needless to say G53 will be a permanent fixture around here now.
You can use absolute positions with a g28, but the positions are merely an in intermediate reference before returning to origin (home). On a sub spindle Mori that doesn't have the g330 zero return macro, you could use a large intermediate point to reference return the sub and trigger the zero indicator so you can use your sub presetter. G28B10. Usually won't get you into any trouble. (That's if your transfer position is set to your main spindle part location) sl250 is more than likely a Fanuc 18 (msc501), so you can modify parameter 1241 to be center stroke in Z and use g30 to return the machine to second zero point, but g53 is easier and a little cleaner.
Hi, at the end of video mark said to eliminate all unnecessary code and i done and remove z zero position and all but, still when i make tool change my bed goes to right coner for safe tool change and this take lots of time waste in production. Please help me to get rid of this problem i've haas vf4-I machine
This video doesn't actually explain why g53 is better than g91g28. The real truth is that they accomplish the same thing in the same amount of time. Except I believe g28 also does some extra things so if anything its better.
So, if G53 is non-modal, how do you cancel work fixture offsets? My experience in other controls is that G53 cancels any current work fixture offset and programmed XYZ values are now applied in the machine coordinate system continuously until either G92 or G54/G55 etc. are commanded once again.
Matthew - Yes, the G53 will temporarily cancel both Work and Tool Offsets - on the G53 line only, before going back to the current work/tool offset. For more information, download the latest manual from the www.haascnc.com website. There’ s some good information under G53. - Mark, Haas Tip-of-the-day
Is it possible to do a video on tips for multi work offset programming in machining multiples of the same part? As in, I have two vices and want to run the same part in both vises within the same cycle, but I want to do so by running each tool on each part before switching to the next tool so as to save tool change time. I know I copy and splice my programs together for different offsets and create one huge program; or I can use sub programming and designate a new offset for each subprogram for each tool I believe. But does HAAS have any shortcuts for doing this process that are easier?
just use G54 for one part, and G55 for another and so on. then just double up on the canned cycles with one being G54 and the other being G55. works for me.. Make sure to be high enough with your tool when moving from part to part.
Yessir. Thats what I was thinking with copying the program and changing everything to another work offset (G55) then just splicing it back into the original G54 program. Which would essentially be the doubling up of canned cycles and alternating the G54 and G55's for example. Def gotta watch the tool height between, don't want to break anything haha. Thank you!.
Ian - That’s a great topic, we’ve put it on the list. Your comment did an excellent job of describing the options. A video could help explain the formatting for running those multiple parts. Thanks for the comment. - Mark, Haas Tip-of-the-day
This would really be a great topic as it's very useful when running multiple parts but can even be quite challenging in CAM program. I wish there was more videos about taking a closer look at some part and then working thru the strategy how to machine it fast multiple parts with the same setup. Keep up the good work Mark!
This is how I do it on a Haas mill; T1 M6 G90 G0 G54 X-.5 Y.5 M3 S10000 G43 H1 Z.1 M8 M97 P1 /G55 M97 P1 G0 Z.1 M9 T2 M6 M1 T2 M6 G90 G0 G54 X-.5 Y.5 M3 S10000 G43 H2 Z.1 M8 M97 P2 /M97 G55 P2 G0 Z.1 M9 T1 M6 G53 X-10. Y0 M30 N1 X-.5 Y0. G1 Z-.5 F50. G41 D1 Y0 X1. Y-1. XO Y.5 G40 X-.5 G0 Z.1 M99 N2 X-.5 Y0 G1 Z-.025 F50. X1. Y-1. XO Y.5 GO Z.1 M99 This will cut a one inch square feature .5 inch deep with a .025 inch deep chamfer where tool 1 is a .5 inch end mill, and tool 2 is a 45 degrees chamfer tool. Use block delete to run just G54, turn block delete off to run both positions (or as many positions you are running and the control will allow). This also works with as many tools required for the parts you are machining. Adjust rapid Z moves as necessary for safety according to your set up. Think of everything above M30 as your directory part of the program, and everything below M30 as your tool path programs. It’s also easy to convert a single part program with multiple tools using the great Haas editing tools. Just copy and paste the entire program, and edit the top above M30 as I have, and delete the unnecessary and add the necessary below the M30 as I have. Also I use the tool number as the N number(line) to keep it easy to follow. It may seem complicated but after using this method for over 25 years you become quick at it. I can edit a 20 tool program in just a few minutes. Hope this helps someone out there! Also I generally add a .01 radius on the corners but I typed this on my phone and it doesn’t matter what you are machining, just the format for the example.
I know you guys have a video of Index-on-the-fly but it doesn't explain how to use it. How does it work? Do I need more clearance? When does it decouple the turret? Also, Every once and a while someone in my shop bumps the probe on the lathe and changes it's offset. What's the easiest way to recalibrate a probe?
Chad - That’s a great topic. We’ll put it on the list. For now, here are my notes on G200. Enjoy. - Mark, Haas Tip-of-the-day. Oh, and send me an email at TOD@haascnc.com and we’ll get your probe squared away. The G200 Index on the Fly code does speed things up, but it also gets a little scary. Make sure you proof the program well, at 5% rapid, and be very cautious if you are starting from the middle of the program. Normally, your tool change line consists of a few lines of code, like: G53 G00 X0. (BRING TURRET TO SAFE X TC POS) G53 G00 Z-10. (BRING TURRET TO SAFE Z TC POS) T202 The example in the book (download the Haas Lathe Manual) changes this code to: G200 T202 U.5 W.5 X8. Z2. If T101 had just finished turning the O.D. of the part, you don't need to go back to a safe tool change position, when using a G200. Instead (as in the example) the moment the G200 line is called the turret will: 1) Unclamp, right where it is at 2) Move incrementally in the X and Z axes by the values stated in U and W (U.5 W.5) 3) It will complete the tool change at this position 4) Using the current tool and work offsets, it will rapid this new tool to the XZ position called out on that G200 line (X8. Z2.) This all happens very quickly, and nearly all at the same time, so try it out a few times, away from the chuck. When the turret unclamps, it will move towards the spindle a tiny amount (perhaps .1-.2"), so you do not want the tool directly up against your jaws or collet when the G200 is commanded. Because the U and W moves are incremental distances from where the tool is presently, if you hand jog away and start your program in a new position, the turret will move up and to the right of that new position. In other words, if you manually jogged back within .5" of your tailstock, and then commanded "G200 T202 U.5 W1. X1. Z1.", the turret would hit your tailstock - moving an incremental W1. (1" to right of where it is at). For this reason, you may want to setup your Setting 93 and 94, Tailstock Restricted Zone. Information on this can be found in the manual. - Mark, Haas Tip-of-the-day
Haas Automation, Inc. Mark, you are fantastic at replying. I read through the comments just to find your replies lol. This is very helpful. Keep up the fantastic work. Im gonna copy and paste this into notepad and save it for future reference. Thanks! P.S.- Looking forward to those videos on different probing routines that you've mentioned. And can't wait to see if you do more advanced videos on Macro programming, I enjoy the way you teach. - Jacob S.
Near the end of the video, it wasn't explained WHY we could eliminate M5;M9; code when going to a tool change command. I'm really new to G-code programming, but have still had many months of writing every move drilled into my brain.
I'm a little new to the CNC programming on haas machines I just took straining course on it and I'm getting into doing programming for things with my dad in his jobs machine shop room. I have a question about this video would you have to cancel CSS if you had it on for the g53 to work
Wolf Playz - If you mean Constant Surface Speed, on a lathe, a G53 G00 will work in that case too. We have a video on G53 for lathes that we will release in the next couple of weeks. A G53 G00 G90 move will work in all cases, even with G234 Tool Center Point Control (TCPC) or G254 Dynamic Work Offsets (DWO) active on your mill. If I misunderstood your question, let us know. You can always email us at TOD@haascnc.com also. Thanks for the question. For programming at your dads’ place, be sure to jump right into a CAM system as well, it will be time well spent. - Mark, Haas Tip-of-the-day
At times in the past, I've had a value in G53 on the offset page, as a sort of work shift. Leaving the original offset (G54, G55, G56 etc.) where it belongs and moving the G53 offset the amount needed for a 'work shift' almost like wear in the tool offset, but not really, lol. (hopefully this makes sense, if you know what I'm doing it will). That said, would this affect the usage of G53 you've described here? Also, I'm failing to see the time savings in using G53 Z0 v. G91 G28 Z0;G90. esp of it essentially does the same thing ... I'm open minded of course (have to be anymore in the ever-changing world of Machining) but have done it this way for around 15 years, with close to 30 in the trade. How much cycle time are we saving, exactly, with say 10 operations in a program, or 10 tool changes? Thanks.
Semper Skeptical You deserve a reply, but I will say thank you until I have time to think about what youve said and consider it all, ie"take it all in" lolol. Thanks for taking the time, I'll get back to you soon...
Hi Mark I'm new to CNC machine though I have used machine with three axes talking about condinates I know direction x,y,z but the are of G code and m code it's where strange to me. I'm really interested in picking up a job in this regard. please sir any help Johnson from Nigeria thanks.
Johnson Ola - I am encouraged by your email. You are watching videos on machining, and networking to find a job in this field. We don’t have a dealer in Nigeria yet (Morocco, South Africa..), so I don’t have a name to give you. My advice is to continue to learn CNC programming on the internet, and search (internet) for a job in Nigeria that will allow you to be around CNC machines while you learn. Thanks for the comment. - Mark, Haas Tip-of-the-day
seriously g53 saves a lot of time on milling operations (by alignment with g28)? maybe for a few seconds per hour of work! Running M9 and M5 is very fast! G53 makes sense to use only on lathes mashine! Imho
Colin B dog legging isn't unique to a Haas. Most CNC's do it. there's a parameter to force high feed mode on rapid, but then your overall cycle times will be slower. you should have toolsets to handle these scenarios in your CAM system.
I typically end a mill program with: G53 X-xx. Y0. Z0. A0. T1 M06; 30; %; The machine will go home, then start the tool change. Putting XZYA all in the same line can be hazardous, so be careful!!
Yup. G28 is origin return WITH INTERMEDIATE POINT. When you put G91 G28 Z0, you're not saying "go home incrementally", you're saying "go home but use the current incremental position as the intermediate"
Another great Tip of the day! Thank you Mark! When build has a Maschine like this: ruclips.net/video/7t5kdS2fK5U/видео.html i realy need a 5 axis horizontal Mill!
Костя Худобин - It’s our goal to have these videos translated into Russian, Dutch, French, German, Italian, Portuguese, and Spanish. We’ll get this one up soon. For now you can use the RUclips Auto Translate CC option, Settings>Subtitles>Auto Translate>Russian. Thanks for the comment. - Mark, Haas Tip-of-the-day
Haas Automation, Inc. не работает этот переводчик как положено . В настройках стоит русский язык , а при включении стоит английский ,причем в скобках написано "создано автоматически" . И что делать ?
yeah, but if that's what you're trying to do, I'd propose there's at least two other alternate ways to do it that don't involve invoking an ancient code.
@@ydna all g code is "ancient". Find me a code that trips the home indicator that isn't g28 because on most fanuc based machines, g28 triggers the home confirmation, nothing else will
I say ancient because G28 was specifically created to save space on punch cards by allowing retract moves in the same string. In doing so it increases the risk of problems drastically for those that aren't familiar, compared to codes like G53 that perform the same function but in a direct way. I wish they'd take it out of the controller and prevent people from crashing my machines
@@ydna but again, g53 is only machine position, it doesn't trip the home flags on a Fanuc or some other controls. It shows up as a home indicator on as haas mill, but it's just one of those legacy things that will always be around. One thing they could do is eliminate the intermediate point and make it optional, but fanuc just came out with the ELSE conditional of an if statement with the 30 model B. I think both of us will be dead and buried before they do anything to address the intermediate point of a g28 move
Great tip! G28 is good when in handle jog mode w/ the door closed to send Z home and Y to the front. I usually hit "Z" then G28 button. Then hit "Y" then G28 button. First time I used G28 in a program it scared the shit outta me. My typical mill programs end with:
G53 G00 G49 Z0. M05
G53 Y0.
G54 X3.
M30
This sends Z home, Y home (to front), X to middle of part, part is centered directly in front of door.
Subtitle:
Hello, and welcome to this haas tip of the day.
Now, in every one of our mill programs, at some point, we'll be sending our tools,
or our machine table, home.
We might do this at the end of our program or sometimes even before a tool change.
Understanding exactly how our G53 codes work can really make the life of our operators easier.
Now, misunderstandig how these codes work; However, can add a lot of cycle time to our programs.
Or, even cause us some unwanted surprises.
(Upbeat music)
Well, let's jump right in and take a look at our G53 and G28 commands.
As operators and programmers, we need understanding how both of these codes work to send our tool or table, back to our home positions.
Now these codes behave slightly differently on a lathe.
So, we've split up this tip into two versions: a mill version, and a lathe version.
So be sure to check out the lathe version of this video.
Right now , I am at machine zero.
This is our home position.
Now why do we call it our home position?
Well, because that's where our home switches are.
Each morning, when you come in and you press power up restart, each axis moves until precision home switches are triggered.
Now this is typically the back-right corner or travel on haas mills.
Our machine Zero is a useful reference position because it never changes.
No matter what tool or work offsets we've entered home is always home.
If at the end of our programs we want to move our Z up and out of the way and position our vice in front of the door for our operator, we can do that.
Now to do this safely, we'll want to move these axes one at a time.
Z first and then the X and Y.
Now, right off the bat, we're going show you how to use the G53 method.
I've got the program loaded up right here.
In our program we've called up tool 1: T1 M06 and then we do our machining.
So the machining's all done.
G53 G00 G90 Z0 hats send our Z all the way position.
Now that the tool is out of the way, we're going to command a G53 G00 G90 Y0 X-20.
I knew I wanted to position to the table to G53 Y0 X-20 because I jogged the table where I wanted it and then looked at my machine position screen and recorded the values.
Our machine position is our G53, always.
Now, G53 is ouy non-modal machine coordinate selection.
Non modal. This means that the G53 only affects the lines of code that it is called out on.
So if we want to make a move based on the machine position, we need to call ou that G53 on each and every line.
Now as soon as we pass that G53 line, the machine is going to return to whatever work coordinate system we happen to have been in.
G54, in our case.
Now, I call out o G00 and a G90 on each of my G53 lines.
But, I just do this for clarity, and for safety.
So that's pretty much it for G53.
It is really straight forward. Really easy to use to send you tool or your table back to the home position.
I do have one more thing I'd like to say about G53 that some of you might find useful.
On some of pur machine models like UMC oy our GR Gantry Router Machines we actually have a little bit of extra space above our G53 Z0 locations.
Now this can be really useful On a UMC Machine, you might have 2 1/2 inches of travel above G53 Z0, allowing us to command a G53 G0 Z2.5.
Likewise, on a GR Gantry Router Machine, we might have four inches of extra travel above that tool change location.
If you aren't sure what the maximum G53 Z position is that you can reach with your particular machine, just jog all the way to the top of your Z travel and look at your machine position.
You can reach on your particular machine.
If G53 XYZ is like driving straight home after work, then using a G28 XYZ is like stopping off for milk on your way home.
Now, I'm serious.
While G53 and G28 both get you to your home position eventually, then they do it in very different ways.
When you command one or more axes home with a G28, the machine's not going to move directly to those home positions.
It's going to move to the X,Y or Z locations in the current work coordinate system first, on it's way to home.
So check this out.
I've got a block loaded up here and my zero is in the front-left corner.
if from within a program I were to command a G28 X0 Y0 Z0, my tool is going move, rapid, right to this top-left corner.
Because that's my G54 XY0.
After it's done that, it will then rapid to the home position.
So again, we do not use a G28 command in G90 absolute mode.
That's the wrong way to use it.
G90 G28 G00 Z0 - (Don´t do this)
G91 G28 G00 Z0 - (Good)
G53 G00 G90 Z0 - (Best)
If you were to command that from MBI, you'd probably crash your machine.
We want to only use a G28 in G91 incremental mode.
Now this is a really misunderstood concept and one of the reasons we usually push people toward the G53 method.
If you use the G28 method with a G91, be sure to put the machine back in G90 Absolute Mode when you are done.
Now, just because we can send our tool back to the Z Home position before a tool change doesn't mean that we should do this.
Take a look at this program.
It's fairly typical, we see it all the time.
But it wastes a lot of cycle time.
The program turns off the coolant.
Then moves the tool to Machine Z0.
Then it stops the spindle before performing aa tool change.
At the end of the program, it does the same thing and then moves the table forward for the operator.
This program is wasting time with each line.
A better way to program this would be to remove these lines of code altogether.
With these commands gone, the control is going to automatically and simultaneoously turn off the coolant, move to the tool change position and stop the spindle.
If does these things all at the same time instead of waiting for each line to be completed.
So we move those M5s, M9s and those zero-return moves before a too changes, you'll save yourself a lot of time.
We give out this tip so often because it's so helpful in saving cycle time.
Well that's it for this Haas tip of the day.
Be sure to subcribe to the haas RUclips channel for more tips.
And don't forget to stop and pick up your milk on the way home.
Thanks for this video! I was thinking about this the other day as I was doing a program on my CAM and this will be very helpful!! Time is money...
Got an older Mori Seiki sl250 mc recently and just started playing with it. First time using live tooling and sub spindle. Could have used this tip earlier after damn near running the sub spindle into the collet chuck. Needless to say G53 will be a permanent fixture around here now.
You can use absolute positions with a g28, but the positions are merely an in intermediate reference before returning to origin (home). On a sub spindle Mori that doesn't have the g330 zero return macro, you could use a large intermediate point to reference return the sub and trigger the zero indicator so you can use your sub presetter. G28B10. Usually won't get you into any trouble. (That's if your transfer position is set to your main spindle part location)
sl250 is more than likely a Fanuc 18 (msc501), so you can modify parameter 1241 to be center stroke in Z and use g30 to return the machine to second zero point, but g53 is easier and a little cleaner.
I understand all that thank God and to you God bless you!
Hi, at the end of video mark said to eliminate all unnecessary code and i done and remove z zero position and all but, still when i make tool change my bed goes to right coner for safe tool change and this take lots of time waste in production. Please help me to get rid of this problem i've haas vf4-I machine
This video doesn't actually explain why g53 is better than g91g28. The real truth is that they accomplish the same thing in the same amount of time. Except I believe g28 also does some extra things so if anything its better.
So, if G53 is non-modal, how do you cancel work fixture offsets?
My experience in other controls is that G53 cancels any current work fixture offset and programmed XYZ values are now applied in the machine coordinate system continuously until either G92 or G54/G55 etc. are commanded once again.
Matthew - Yes, the G53 will temporarily cancel both Work and Tool Offsets - on the G53 line only, before going back to the current work/tool offset. For more information, download the latest manual from the www.haascnc.com website. There’ s some good information under G53. - Mark, Haas Tip-of-the-day
Is it possible to do a video on tips for multi work offset programming in machining multiples of the same part? As in, I have two vices and want to run the same part in both vises within the same cycle, but I want to do so by running each tool on each part before switching to the next tool so as to save tool change time. I know I copy and splice my programs together for different offsets and create one huge program; or I can use sub programming and designate a new offset for each subprogram for each tool I believe. But does HAAS have any shortcuts for doing this process that are easier?
just use G54 for one part, and G55 for another and so on. then just double up on the canned cycles with one being G54 and the other being G55. works for me.. Make sure to be high enough with your tool when moving from part to part.
Yessir. Thats what I was thinking with copying the program and changing everything to another work offset (G55) then just splicing it back into the original G54 program. Which would essentially be the doubling up of canned cycles and alternating the G54 and G55's for example. Def gotta watch the tool height between, don't want to break anything haha. Thank you!.
Ian - That’s a great topic, we’ve put it on the list. Your comment did an excellent job of describing the options. A video could help explain the formatting for running those multiple parts. Thanks for the comment. - Mark, Haas Tip-of-the-day
This would really be a great topic as it's very useful when running multiple parts but can even be quite challenging in CAM program. I wish there was more videos about taking a closer look at some part and then working thru the strategy how to machine it fast multiple parts with the same setup. Keep up the good work Mark!
This is how I do it on a Haas mill;
T1 M6
G90 G0 G54 X-.5 Y.5 M3 S10000
G43 H1 Z.1 M8
M97 P1
/G55 M97 P1
G0 Z.1 M9
T2 M6
M1
T2 M6
G90 G0 G54 X-.5 Y.5 M3 S10000
G43 H2 Z.1 M8
M97 P2
/M97 G55 P2
G0 Z.1 M9
T1 M6
G53 X-10. Y0
M30
N1
X-.5 Y0.
G1 Z-.5 F50.
G41 D1 Y0
X1.
Y-1.
XO
Y.5
G40 X-.5
G0 Z.1
M99
N2
X-.5 Y0
G1 Z-.025 F50.
X1.
Y-1.
XO
Y.5
GO Z.1
M99
This will cut a one inch square feature .5 inch deep with a .025 inch deep chamfer where tool 1 is a .5 inch end mill, and tool 2 is a 45 degrees chamfer tool. Use block delete to run just G54, turn block delete off to run both positions (or as many positions you are running and the control will allow). This also works with as many tools required for the parts you are machining. Adjust rapid Z moves as necessary for safety according to your set up.
Think of everything above M30 as your directory part of the program, and everything below M30 as your tool path programs.
It’s also easy to convert a single part program with multiple tools using the great Haas editing tools.
Just copy and paste the entire program, and edit the top above M30 as I have, and delete the unnecessary and add the necessary below the M30 as I have.
Also I use the tool number as the N number(line) to keep it easy to follow.
It may seem complicated but after using this method for over 25 years you become quick at it. I can edit a 20 tool program in just a few minutes.
Hope this helps someone out there!
Also I generally add a .01 radius on the corners but I typed this on my phone and it doesn’t matter what you are machining, just the format for the example.
I know you guys have a video of Index-on-the-fly but it doesn't explain how to use it. How does it work? Do I need more clearance? When does it decouple the turret? Also, Every once and a while someone in my shop bumps the probe on the lathe and changes it's offset. What's the easiest way to recalibrate a probe?
Chad - That’s a great topic. We’ll put it on the list. For now, here are my notes on G200. Enjoy. - Mark, Haas Tip-of-the-day. Oh, and send me an email at TOD@haascnc.com and we’ll get your probe squared away.
The G200 Index on the Fly code does speed things up, but it also gets a little scary. Make sure you proof the program well, at 5% rapid, and be very cautious if you are starting from the middle of the program.
Normally, your tool change line consists of a few lines of code, like:
G53 G00 X0. (BRING TURRET TO SAFE X TC POS)
G53 G00 Z-10. (BRING TURRET TO SAFE Z TC POS)
T202
The example in the book (download the Haas Lathe Manual) changes this code to:
G200 T202 U.5 W.5 X8. Z2.
If T101 had just finished turning the O.D. of the part, you don't need to go back to a safe tool change position, when using a G200. Instead (as in the example) the moment the G200 line is called the turret will:
1) Unclamp, right where it is at
2) Move incrementally in the X and Z axes by the values stated in U and W (U.5 W.5)
3) It will complete the tool change at this position
4) Using the current tool and work offsets, it will rapid this new tool to the XZ position called out on that G200 line (X8. Z2.)
This all happens very quickly, and nearly all at the same time, so try it out a few times, away from the chuck.
When the turret unclamps, it will move towards the spindle a tiny amount (perhaps .1-.2"), so you do not want the tool directly up against your jaws or collet when the G200 is commanded.
Because the U and W moves are incremental distances from where the tool is presently, if you hand jog away and start your program in a new position, the turret will move up and to the right of that new position. In other words, if you manually jogged back within .5" of your tailstock, and then commanded "G200 T202 U.5 W1. X1. Z1.", the turret would hit your tailstock - moving an incremental W1. (1" to right of where it is at). For this reason, you may want to setup your Setting 93 and 94, Tailstock Restricted Zone. Information on this can be found in the manual. - Mark, Haas Tip-of-the-day
Haas Automation, Inc. Mark, you are fantastic at replying. I read through the comments just to find your replies lol. This is very helpful. Keep up the fantastic work. Im gonna copy and paste this into notepad and save it for future reference. Thanks! P.S.- Looking forward to those videos on different probing routines that you've mentioned. And can't wait to see if you do more advanced videos on Macro programming, I enjoy the way you teach. - Jacob S.
The videos you make are awesome.
Near the end of the video, it wasn't explained WHY we could eliminate M5;M9; code when going to a tool change command. I'm really new to G-code programming, but have still had many months of writing every move drilled into my brain.
Think it's because the haas machines automatically turn off coolant when changing tools so you can save time not calling that out.
So how do you get the Fusion/Haas post processor to put the G00 G90 into the G53 command?
Man I remember the first time I saw you wearing a hat, I was like who's that guy, anyway thanks for that tips I like watching your videos.
I'm a little new to the CNC programming on haas machines I just took straining course on it and I'm getting into doing programming for things with my dad in his jobs machine shop room. I have a question about this video would you have to cancel CSS if you had it on for the g53 to work
Wolf Playz - If you mean Constant Surface Speed, on a lathe, a G53 G00 will work in that case too. We have a video on G53 for lathes that we will release in the next couple of weeks. A G53 G00 G90 move will work in all cases, even with G234 Tool Center Point Control (TCPC) or G254 Dynamic Work Offsets (DWO) active on your mill. If I misunderstood your question, let us know. You can always email us at TOD@haascnc.com also. Thanks for the question. For programming at your dads’ place, be sure to jump right into a CAM system as well, it will be time well spent. - Mark, Haas Tip-of-the-day
Haas Automation, Inc. thank you you answered my question.
Thanks! More of these on basic operations. Would be great if you had like basic beginner start up procedure/operations series.
Este vernier de mi mamá se
When using this method my machine doesnt turn off the coolant and spindle until it arrives home home? any suggestions? Am i missing something obvious?
buenas noches --mi pregunta es para activar el 4 y 5 eje necesito un sofware o una licencia ..ya se tiene el tr 150 gracias x la respuesta saludos
At times in the past, I've had a value in G53 on the offset page, as a sort of work shift. Leaving the original offset (G54, G55, G56 etc.) where it belongs and moving the G53 offset the amount needed for a 'work shift' almost like wear in the tool offset, but not really, lol. (hopefully this makes sense, if you know what I'm doing it will). That said, would this affect the usage of G53 you've described here?
Also, I'm failing to see the time savings in using G53 Z0 v. G91 G28 Z0;G90. esp of it essentially does the same thing ... I'm open minded of course (have to be anymore in the ever-changing world of Machining) but have done it this way for around 15 years, with close to 30 in the trade.
How much cycle time are we saving, exactly, with say 10 operations in a program, or 10 tool changes? Thanks.
Semper Skeptical You deserve a reply, but I will say thank you until I have time to think about what youve said and consider it all, ie"take it all in" lolol. Thanks for taking the time, I'll get back to you soon...
Hi Mark I'm new to CNC machine though I have used machine with three axes talking about condinates I know direction x,y,z but the are of G code and m code it's where strange to me. I'm really interested in picking up a job in this regard. please sir any help Johnson from Nigeria thanks.
Johnson Ola - I am encouraged by your email. You are watching videos on machining, and networking to find a job in this field. We don’t have a dealer in Nigeria yet (Morocco, South Africa..), so I don’t have a name to give you. My advice is to continue to learn CNC programming on the internet, and search (internet) for a job in Nigeria that will allow you to be around CNC machines while you learn. Thanks for the comment. - Mark, Haas Tip-of-the-day
i usually do g53 g49 y0 z0(if nothing's in the way:D)
G49 G28 Z0? Does it work?
very well explained!!!
I usually love the videos but 05:29 does not explain a thing and just leaves me puzzled.
hi man. please help me.
How to set the reference point in a five-axis table_table machine? Axes x, y, z, a, b
You would set the offsets like you would for a 3-axis. One axis at a time and match the offset that you set in your CAM system.
Haas Automation, Inc.
tanks for the reply. Even z axis? It is not necessary that this axis in the center of gravity axis A is zero
seriously g53 saves a lot of time on milling operations (by alignment with g28)? maybe for a few seconds per hour of work! Running M9 and M5 is very fast!
G53 makes sense to use only on lathes mashine! Imho
Thanks Mark.
Yes helpful.
how about a tip of the day on why a 2017 haas vf2ss doglegs during rapids.....
Colin B dog legging isn't unique to a Haas. Most CNC's do it. there's a parameter to force high feed mode on rapid, but then your overall cycle times will be slower. you should have toolsets to handle these scenarios in your CAM system.
...MARC - we need you on EMO Exhibition in September 2017 in Hannover / Germany !!!:):)
Steffen - I hope to see you there! EMO is always a terrific show. - Mark, Haas Tip-of-the-day.
... i will find you on the HAAS booth !!:):)
I typically end a mill program with:
G53 X-xx. Y0. Z0. A0. T1 M06;
30;
%;
The machine will go home, then start the tool change. Putting XZYA all in the same line can be hazardous, so be careful!!
is that milk or coolant? 😀
Milkant
Epatitis
Here is how I end programs.
G0 Z100.
X-50.
G91 G0 Y0.
M30
But in the beginning of every tool i put G90.
This video should come with a warning.. Changing workplanes can be dangerous. Be safe with it and check your numbers.
👍👍👍
0:30 you better back off before you get smacked off
G28 is a widely misunderstood command! The amount of people I've met in industry n that don't understand that G28 is actually 2 moves in one command
@Eversteijn that's usually how people find out
Yup. G28 is origin return WITH INTERMEDIATE POINT. When you put G91 G28 Z0, you're not saying "go home incrementally", you're saying "go home but use the current incremental position as the intermediate"
M140 MB MAX F9999. ore Z0 FMAX M91. i hate G code xD
Heidenhain 🙄
G29 Z0. is a fun accident
Another great Tip of the day! Thank you Mark!
When build has a Maschine like this: ruclips.net/video/7t5kdS2fK5U/видео.html
i realy need a 5 axis horizontal Mill!
А на русский перевести никак ? Неужели у вас нет сотрудников знающих русский язык ?
Костя Худобин - It’s our goal to have these videos translated into Russian, Dutch, French, German, Italian, Portuguese, and Spanish. We’ll get this one up soon. For now you can use the RUclips Auto Translate CC option, Settings>Subtitles>Auto Translate>Russian. Thanks for the comment. - Mark, Haas Tip-of-the-day
Haas Automation, Inc. не работает этот переводчик как положено . В настройках стоит русский язык , а при включении стоит английский ,причем в скобках написано "создано автоматически" . И что делать ?
Great tip, except of drinking cow's liquid!
G28: useless.
G28 confirms origin position, g53 does not
yeah, but if that's what you're trying to do, I'd propose there's at least two other alternate ways to do it that don't involve invoking an ancient code.
@@ydna all g code is "ancient". Find me a code that trips the home indicator that isn't g28 because on most fanuc based machines, g28 triggers the home confirmation, nothing else will
I say ancient because G28 was specifically created to save space on punch cards by allowing retract moves in the same string. In doing so it increases the risk of problems drastically for those that aren't familiar, compared to codes like G53 that perform the same function but in a direct way. I wish they'd take it out of the controller and prevent people from crashing my machines
@@ydna but again, g53 is only machine position, it doesn't trip the home flags on a Fanuc or some other controls. It shows up as a home indicator on as haas mill, but it's just one of those legacy things that will always be around. One thing they could do is eliminate the intermediate point and make it optional, but fanuc just came out with the ELSE conditional of an if statement with the 30 model B. I think both of us will be dead and buried before they do anything to address the intermediate point of a g28 move
G28 should be forbidden
How stupid to pronounce Z as G.