You and the rest of the folks involved in making the HTOTD vids and the management at HAAS that encourages / likes / approves etc. the use of resources to make these vids deserves a big High Five from at least one gratefule customer (me LOL LOL LOL). Can't begin to tell you how much value I get out of these, both at the Day Job and my Side Hustle :) :) :) :)
Thanks! Glad we can help. If you have suggestions for new videos, you can email us at tod@haascnc.com. High-five back to you ヘ( ^o^)ノ\(^_^ ) Thanks for the comment - Mark, Haas Tip-of-the-day
Hi. I’ve been using G68 rotation in subprograms, and in those subprograms angled the machining with G91. It gets very complex, but it makes life much much easier... And, also thanks for the tip.
For those of us without that fancy-shmancy probe :) 1} Pick up a point on Y, set X=0 and Y=0 2} Move a distance along X, pick up another Y (for this example let's say we moved 30mm and picked up offset of 0.25mm) 3} Set Windows calculator to scientific mode and divide X by Y. In this case it is 0.25/30=0.0083333_ 4} Press the 'Inv' button and press the "tan¯¹". In this case it will be tan¯¹(0.0083333_)≈0.477453777 The answer you get after all this and some rounding (0.4775 in our example) is the angle of the part, so now you can use "G68 X0 Y0 R0.4775" to rotate the code around the "zero-zero" origin to match the part. Make sure to put G69 at the end of the code to cancel the rotation. It's a bit confusing, at least until you get used to it. For large batches it would be much better to indicate in your vise, though on the other hand once the G68 is set relative to the vise you can just swap parts in the vise and run that same code over and over.
A key point to make is that the G68 can only handle one plane at a time. if you called the G68 with a G17, you can't have any G18's or G19's until after the G69. (i.e. vertical lead-in/out radius moves)
While having a squared vise is ALWAYS good practice being able to do that is super helpful i could see for parts you can not easily indicate or the time to indicate ties up production. keep up the A+ work :) keeps inspiring a garage machinist like me.
Hi Mark, Great video! I have a question though: At 2:06 in the video you say X0Y0. Which X0Y0 is that? Machine origin or the current work offset (G54, G55, etc)?
Hi Dan. The XY, on the G68 line, is the point about which your program rotates - in the current Work Coordinate System. So it is in relation to your G54, G55, etc., that you mentioned. Thanks for the question, and giving me the chance to clear that up! -Mark, Haas Tips of the Day
HI Great stuff! We like very much to have X0 and Y0 in the center of the part and make the rotation from there, so it would be perfect if we could just program a value "B5" to place the XY zero and rotation in center of the part instead of one of the corners. How do we fix that?
Sure wish I could put the new control on my old iron. My old 94 VF3 still makes good parts but these new control features make me want for a new machine..Especially probing
Вячеслав, вы имеете ввиду учёт износа режущего инструмента? У них есть видео, где они вычисляют износ фрезы по диаметру круглого отверстия. Не видел других вариантов с отверстиями произвольной формы.
If I don't have a probe to do the angle calculations, can you write a subroutine that calculates the angle from a set of X,Y, coordinates obtained from using the DRO and an edge finder or do you have to do the math by hand to get the angle? and does this even save time to do by hand? would it be just as fast to dial in your vise?
I've got question: is it possible to change first point of probing? I mean this 20mm which is set as default? For example i would like to first measure point Yaxis be at 39mm from probe position and next at 50mm. Is it possible?
Nikto wazny - It’s possible, but not with this probing cycle. You can download the Renishaw Inspection plus from our website though, and it has cycles that will work the way you would like. diy.haascnc.com/user-guide#gsc.tab=0. Check out the P9843 cycle. - Mark, Haas Tip-of-the-day.
Yes I get that. But if you run 30 tools back and forth the G68/G69 has to be used a ton and I'd rather not try and automate that into my post processor.
Can you use G68 to rotate in the XZ plane so for example my part is not perfectly horizontal... I want mill a slot from X0Y0 to X10Y0 but my work offset height changes from Z0 (at X0Y0) to Z0.1 (at X10Y0)... could I use a G68 X0Z0 R0.6 ? I would like to witch to answer that one ha ha
Leo Zacharias - Yes, if we have the Macros Option, we can write the R#189 into our program, and it will use the value in #189 as our R value. Thanks for the question. - Mark, Haas Tip-of-the-day
Haas Automation, Inc. My question is can anything other than a G69 turn this function off? Or do I only need this at the beggining of the program and a G69 at the end?
Matthew - It’s always a good idea to turn G68 Rotation Off (G69) at the end of each operation, before each tool change. Some codes, Like G53, can cause alarms (on many software versions) if you try to use them within a G68 Rotation. An M30, at the end of the program, will clear the G68 state as well, but if you use G68 a lot it may be a good idea to add a G69 to your Safe Startup lines. - Mark, Haas Tip-of-the-day
Hi Mark, I have a complicated question. I am probing a pocket for my G54 work offset. Can I use the G68 code from another work offset, say G59, to set my angle and still use G54. I'm thinking like this G68 G59 X0. Y0. R#189 in the program for the G54 work offset.
Hi Bryan - If I start to change work offsets, after probing, I would rather write my #189 probed angle value to a different variable, just in case. That #189 is used every time we probe something, so it gets overwritten often. In your case I might probe the angle, and then store that angle in my own variable, say #900, so #900=#189. Later, I can use that angle with any Work Offset I’d like, using G68 X0. Y0. R#900. This is just a bit safer. I hope this helped. If you have more questions, you can reply, or shoot us an email at TOD@haascnc.com. When writing macros, it is also good to use a “/” or a G103 P1 to block lookahed (see our Macro Lookahead video). - Mark, Haas Tip-of-the-day
Colton - To pickup the angle of a line between two probed holes, we’ll the the O9834 routine from the Renishaw Inspection Plus for Haas Manual. You can download the manual from the Haas website. - Mark, Haas Tip-of-the-day www.haascnc.com/service/search-results.manual.html#keywords%3Drenishaw%26contentTypes%3DInstruction%20Manual%26popularTopics%3DMill
@@haasautomation Good old Feature to Feature.. My question is can anything other than a G69 turn this function off? Or do I only need this at the beggining of the program and a G69 at the end?
Hola soy de argentina y soy programador y operario de un haas ec500 y de un haas st-30 y me gustaria aprender mas del haas ec500. Por ejemplo como puedo cambiar automaticamente el programa cada vez q cambia el pallet y mas. Gracias por los consejos ayudan bastante. Saludoss
Leonel Acosta - Thanks for the comment. We are coming out with a redesigned EC-400 soon, so look for new videos on our Horizontal machines soon. Thanks for the suggestion - Mark, Haas Tip-of-the-day
Haas Automation, Inc. thank you very much mark and very good advice and for the translation for which we do not understand English very well. Greetings and success
Wait, did you say M19 is a paid option? What the heck? I haven't shopped for a machine in a while, but I thought that M19 was a standardized ISO code on all machines (Like how G00 is always a rapid move)
Similar to wire edm. You can eyeball your set up and and use the wire to measure a machined edge and the program will run at the measured angle. Cool stuff.
The real question is why you are still using G code that uses identifiers that nobody knows what it means unless you either study the codes or look up each one. Should be using conversational programming that tells the user what it is.
SpeedDemonExpress - Our VPS (Visual Programming System) uses text based, conversational terms for the variables, and we aren’t necessarily married to the idea of only using straight G&M codes in our programming language in the future. The Software and User Interface group are always exploring new options. For now, it keeps the code short, clean and simple, but we are always open to change. Thanks for the comment. - Mark, Haas Tip-of-the-day
Haas Automation, Inc. G code made sense back when they were using film for programming but it's an old dog now. It complicates training. Some g codes arentr universal either. We have different brands of machines at work and a code for one machines means sonething different for another machine if the command even exists at all! So instead of having for example Gxx 4000 Use Spindle Speed 4000 Everyone will know what that means.
You and the rest of the folks involved in making the HTOTD vids and the management at HAAS that encourages / likes / approves etc. the use of resources to make these vids deserves a big High Five from at least one gratefule customer (me LOL LOL LOL). Can't begin to tell you how much value I get out of these, both at the Day Job and my Side Hustle :) :) :) :)
Thanks! Glad we can help. If you have suggestions for new videos, you can email us at tod@haascnc.com. High-five back to you ヘ( ^o^)ノ\(^_^ )
Thanks for the comment - Mark, Haas Tip-of-the-day
When I stared learn english.Your's tips had become more and more interest. Tnx you guys for you suporting and engrossing video
Hi. I’ve been using G68 rotation in subprograms, and in those subprograms angled the machining with G91. It gets very complex, but it makes life much much easier... And, also thanks for the tip.
For those of us without that fancy-shmancy probe :)
1} Pick up a point on Y, set X=0 and Y=0
2} Move a distance along X, pick up another Y (for this example let's say we moved 30mm and picked up offset of 0.25mm)
3} Set Windows calculator to scientific mode and divide X by Y. In this case it is 0.25/30=0.0083333_
4} Press the 'Inv' button and press the "tan¯¹". In this case it will be tan¯¹(0.0083333_)≈0.477453777
The answer you get after all this and some rounding (0.4775 in our example) is the angle of the part, so now you can use "G68 X0 Y0 R0.4775" to rotate the code around the "zero-zero" origin to match the part. Make sure to put G69 at the end of the code to cancel the rotation.
It's a bit confusing, at least until you get used to it. For large batches it would be much better to indicate in your vise, though on the other hand once the G68 is set relative to the vise you can just swap parts in the vise and run that same code over and over.
These video clips are very useful. Thank you for posting them!
A key point to make is that the G68 can only handle one plane at a time. if you called the G68 with a G17, you can't have any G18's or G19's until after the G69. (i.e. vertical lead-in/out radius moves)
I think haas would generate an alarm but on other controls (fanuc/mitsubishi) you got to be careful because you could crash your machine
While having a squared vise is ALWAYS good practice being able to do that is super helpful i could see for parts you can not easily indicate or the time to indicate ties up production. keep up the A+ work :) keeps inspiring a garage machinist like me.
Hi Mark, Great video! I have a question though: At 2:06 in the video you say X0Y0. Which X0Y0 is that? Machine origin or the current work offset (G54, G55, etc)?
Hi Dan. The XY, on the G68 line, is the point about which your program rotates - in the current Work Coordinate System. So it is in relation to your G54, G55, etc., that you mentioned. Thanks for the question, and giving me the chance to clear that up!
-Mark, Haas Tips of the Day
Haas Automation, Inc. Makes sense. Thanks for the reply Mark.
Can you please show how polar coordinate system works using G16
Still referring back to these videos in 2024. Great stuff.
HI Great stuff!
We like very much to have X0 and Y0 in the center of the part and make the rotation from there, so it would be perfect if we could just program a value "B5" to place the XY zero and rotation in center of the part instead of one of the corners. How do we fix that?
Per Hornshøj Jensen I really wish they have answered your question... I was about to ask the same thing.
Sure wish I could put the new control on my old iron. My old 94 VF3 still makes good parts but these new control features make me want for a new machine..Especially probing
How can i probe and rotate a single axis? Corner option cant be used everytime..... ty for answer boyz
Absolutely love these Tips thanks you HAAS for sharing!!
Hello, I would like to know how you can put the corrector to wear when the milling cutter processes the theoretical contour in three coordinates.
Вячеслав, вы имеете ввиду учёт износа режущего инструмента? У них есть видео, где они вычисляют износ фрезы по диаметру круглого отверстия. Не видел других вариантов с отверстиями произвольной формы.
can you rotate the same way around XZ? for example if you need to engrave a flat piece that is angled from left to right
If the outside edge of the part is uneven or wavy, is there a way to probe the part?
Hi Mark, If I have work X0 and Y0 in the center of the part, how to use this ?
Old or new this content is ⭐️⭐️⭐️⭐️⭐️, can’t wait for :y New Machine Day in a few weeks 😂😂😂👍👍👍💪💪💪😎😎😎
I used to use this code to balance out chamfers on gear teeth. Very handy.
If I don't have a probe to do the angle calculations, can you write a subroutine that calculates the angle from a set of X,Y, coordinates obtained from using the DRO and an edge finder or do you have to do the math by hand to get the angle? and does this even save time to do by hand? would it be just as fast to dial in your vise?
I've got question: is it possible to change first point of probing? I mean this 20mm which is set as default? For example i would like to first measure point Yaxis be at 39mm from probe position and next at 50mm. Is it possible?
Nikto wazny - It’s possible, but not with this probing cycle. You can download the Renishaw Inspection plus from our website though, and it has cycles that will work the way you would like. diy.haascnc.com/user-guide#gsc.tab=0. Check out the P9843 cycle. - Mark, Haas Tip-of-the-day.
Does the NGC allow for multiple work coordinate rotation shifts? This would be gold for us.
Store the angles in variables. eg:
G54 probing
#500=#189
G55 probing
#501=#189
..
G54
G68 X0 Y0 R#500
..
G69
G55
G68 X0 Y0 R#501
etc.
Yes I get that. But if you run 30 tools back and forth the G68/G69 has to be used a ton and I'd rather not try and automate that into my post processor.
Can you use G68 to rotate in the XZ plane so for example my part is not perfectly horizontal... I want mill a slot from X0Y0 to X10Y0 but my work offset height changes from Z0 (at X0Y0) to Z0.1 (at X10Y0)... could I use a G68 X0Z0 R0.6 ? I would like to witch to answer that one ha ha
Hi Mark! simple question... Can I literally write R#189 or do I have to find the variable and write that in?
Leo Zacharias - Yes, if we have the Macros Option, we can write the R#189 into our program, and it will use the value in #189 as our R value. Thanks for the question. - Mark, Haas Tip-of-the-day
Sir can please tell me how to program pecking tap
Can this done on a 5 axis TR table? Will it turn the B axis?
Haas Automation, Inc. My question is can anything other than a G69 turn this function off? Or do I only need this at the beggining of the program and a G69 at the end?
Matthew -
It’s always a good idea to turn G68 Rotation Off (G69) at the end of each operation, before each tool change. Some codes, Like G53, can cause alarms (on many software versions) if you try to use them within a G68 Rotation. An M30, at the end of the program, will clear the G68 state as well, but if you use G68 a lot it may be a good idea to add a G69 to your Safe Startup lines. - Mark, Haas Tip-of-the-day
so do you have to pay for that software feature
Hi Mark,
I have a complicated question. I am probing a pocket for my G54 work offset. Can I use the G68 code from another work offset, say G59, to set my angle and still use G54. I'm thinking like this G68 G59 X0. Y0. R#189 in the program for the G54 work offset.
Hi Bryan -
If I start to change work offsets, after probing, I would rather write my #189 probed angle value to a different variable, just in case. That #189 is used every time we probe something, so it gets overwritten often. In your case I might probe the angle, and then store that angle in my own variable, say #900, so #900=#189. Later, I can use that angle with any Work Offset I’d like, using G68 X0. Y0. R#900. This is just a bit safer. I hope this helped. If you have more questions, you can reply, or shoot us an email at TOD@haascnc.com. When writing macros, it is also good to use a “/” or a G103 P1 to block lookahed (see our Macro Lookahead video). - Mark, Haas Tip-of-the-day
Thank you for information..
Sir,
If you explain program with drink .I hope so it will be easy to understand
!?
Trying to do this to find the angle of my part so that it offsets my program. But I’m going between two bores. Any help would be great. Thanks
Colton - To pickup the angle of a line between two probed holes, we’ll the the O9834 routine from the Renishaw Inspection Plus for Haas Manual. You can download the manual from the Haas website. - Mark, Haas Tip-of-the-day www.haascnc.com/service/search-results.manual.html#keywords%3Drenishaw%26contentTypes%3DInstruction%20Manual%26popularTopics%3DMill
@@haasautomation Good old Feature to Feature.. My question is can anything other than a G69 turn this function off? Or do I only need this at the beggining of the program and a G69 at the end?
Thank you
I am getting a Haas Alarm: 389 G17, G18, G19 ILLEGAL IN G68
Do you know how I can fix this?
Hola soy de argentina y soy programador y operario de un haas ec500 y de un haas st-30 y me gustaria aprender mas del haas ec500. Por ejemplo como puedo cambiar automaticamente el programa cada vez q cambia el pallet y mas. Gracias por los consejos ayudan bastante. Saludoss
Leonel Acosta - Thanks for the comment. We are coming out with a redesigned EC-400 soon, so look for new videos on our Horizontal machines soon. Thanks for the suggestion - Mark, Haas Tip-of-the-day
Haas Automation, Inc. thank you very much mark and very good advice and for the translation for which we do not understand English very well. Greetings and success
Sir plz describe g68 with programming
Wait, did you say M19 is a paid option? What the heck? I haven't shopped for a machine in a while, but I thought that M19 was a standardized ISO code on all machines (Like how G00 is always a rapid move)
Tks
So if you get the probe option you get this feature?
You do. Also macros.
Sir when I useg 68 code m/c will start glowing alarm saying illegal g code
You can ussualy just discard the warning
THANKS MR !
Similar to wire edm. You can eyeball your set up and and use the wire to measure a machined edge and the program will run at the measured angle. Cool stuff.
Cool video.
Thanks....
great!
The link to the probing video: ruclips.net/video/amWolMgEM-Q/видео.html
Compliment from Palermo ( Francescopa)
The best man
1991 VF-1, probably not gunna work on it ! And I can't afford the $$$$$$$$$$ for a more modern machine ..... :( Otherwise, great content !
nice
here is the tip of the day video
ruclips.net/video/amWolMgEM-Q/видео.html
It's 10 times less complicated and user friendly on sinumerik....just saying
I will not say so
You had me at G69
The real question is why you are still using G code that uses identifiers that nobody knows what it means unless you either study the codes or look up each one. Should be using conversational programming that tells the user what it is.
SpeedDemonExpress - Our VPS (Visual Programming System) uses text based, conversational terms for the variables, and we aren’t necessarily married to the idea of only using straight G&M codes in our programming language in the future. The Software and User Interface group are always exploring new options. For now, it keeps the code short, clean and simple, but we are always open to change. Thanks for the comment. - Mark, Haas Tip-of-the-day
Haas Automation, Inc. G code made sense back when they were using film for programming but it's an old dog now. It complicates training. Some g codes arentr universal either. We have different brands of machines at work and a code for one machines means sonething different for another machine if the command even exists at all! So instead of having for example
Gxx
4000
Use
Spindle Speed
4000
Everyone will know what that means.
That's a tap not a presice shank not impressed. No its amazing