G & M Code - Advanced Manual Programming Trick - TITANS of CNC Vlog #51

preview_player
Показать описание
CNC Machining - Titan teaches you how to hand program an advanced 3D tool path using subs and incremental techniques.

___
___

FREE CNC Machining Academy. Join the Revolution:

Follow us on Instagram:

Like us on Facebook:

Join the conversation on our Facebook Group:

Connect with us on LinkedIn:

Follow our CEO, Titan Gilroy:
___
___

THANK YOU to our Partners who make this content possible:

#cnc #machining #programming

MB01YOR4V3EVDL0
Рекомендации по теме
Комментарии
Автор

Study that G and M code as much as possible. While it runs, watch what it does, the moves it makes. Google the codes you want to know. Learn what they do. Print a cheat sheet out. It's what separates the operators from the machinists. Thanks Titan!

fraxz
Автор

Titan I have a similar story to yours. I’m from flint mi. Got a 8th grade education. Got locked up for 2 years. That was over 30yrs ago. Got into machining from a guy in AA. The trade changed my life. Your doing a great job. Keep up the great work.

o.s.dfishing
Автор

I learned the trade doing manual work but I can say that in this day and age expert CNC programming is a must, and crucial to being a must have employee in just about any shop. I understood your program as you explained it. Good stuff Titan. I am becoming a big fan. If I was 20 years younger I would be knocking on your door everyday until you let me in.

CalvinEdmonson
Автор

Not too shabby! At the risk of being a troll, I need to point out that you're confusing the terminology "sub program" and "sub routine". You correctly identify the requirements for M98 sub programming, but you're also calling the M97 callout as a sub program, where that is actually a sub routine. By correctly identifying the sub structure, it is much easier to understand whether the additional code should reside within the source program or externally.
Keep up the good stuff!

pocketcharleywithgosiger
Автор

Nice tip, I am gonna try that one tomorrow. Gotta make some sort of rake tooth gadget. But I do prefer the g53 to the 91/28 bit, being on a Haas mill....

UPDATE: I left the initial comment over a year ago. I use this constantly now. Not only the incremental stuff but the sub routines. I never use the G54 in front of the M97. I recently made a BUNCH of closer tooling for my company for pressing the internal bore rings on the composite material for making automotive head gaskets. We don't have a cnc lathe (a small import lathe the owner of the company bought years ago to polish crankshafts with lol) so I had to get creative on how it was done. Closer tooling fits on a small press with a "toolholder" with a 1" bore you stick the shaft into and lock it down with a set screw. The closer was designed to close a 3.56" bore ring. Shaft was 1.75" long. I was using a 2" sq shoulder face mill on a 4140 billet sized 4" x 4" x 2.5". X & Y was picked up dead center of the billet.

G0 G90 G54 X0. Y3.5
...
G01 Z-0.05 F100.
M97 P1 L34
....

N1
G01 Y2.5 F60.;
G02 X0. Y2.5 I0. J-2.5;
GO1 Y1.5
G02 X0. Y1.5 I0. J-1.5
G01 Y3.5
G01 G91 Z-0.05
G90
M99

The cut took about 15-20 minutes to remove a TON of material. Spinning the cutter at 1250 rpm left a very, very good finish. Done on a Haas TM1, circa 2006.

redhousetn
Автор

I know nothing about CNC etc but since I started engineering and even before I always had the question of ''How do the people make all those complex shapes and how do they program all these robots ?'' But I have to say that I hugely appreciate and respect people who work in manufacturing and make things come to life and often having pressure from the designers etc.. You are a true Professional Sir !

thomasshelby
Автор

The real beauty of M97 is all your sub-routines stay with the Main Program when you write them back to where ever you save/archive your programs!!!

rayballard
Автор

When you get good at doing simple L repeat sub-routines, you can start experimenting with conditional statements and let the control calculate how many times to repeat the sub-routine. For example, you can use a WHILE [#3 LT #30] execute a sub-routine or a sub-program. The control will repeat the sub-routine as long as variable #3 (my Z depth variable) is less than #30 (my finish Z level). This format works with Haas and Fanuc controls that have macros enabled. It's been several years since I've written macros, but I have used them to automate thread milling and pocketing with tapered walls. WARNING!!! this is high level programming and like Titan said, you can really crash your machine badly if you don't dry run you new sub-routine very carefully!!!

rayballard
Автор

You can add to that another sub with a ball endmill. This sub would have ZX motion with minimal Y stepover and smooth the surface. Boom..!

Odietmb
Автор

Great video Titan. I would love to see more videos of you interacting with the controls and showing us more tips . Thank you for your knowledge. It is very much appreciated.

davidcornwell
Автор

Titan! Awesome video! I program 2 Mitsubishi CNCs. Your style of keeping the code clean is exactly like I do. I'm obsessed with this style of coding. Also I work making parts, not molds, and never can use CAM for this type of machining.
Thank you very much. Cheers from Argentina. Thumbs up for Titan!

luismaryland
Автор

I use M97 and M98 to Create menus out of my codes. For Example making 1-2-3 blocks, i used M98 on a Fanuc machine to jump to each individual side to drill and tap my holes and because all of my codes were at the top and the line after each M98 was an M01 so i could stop the program and select whichever side i liked! I love Programming like this and here is an example of what i mean.

(Side 1)
/M98 P1;
/M01;
;
(Side 2)
/M98 P2;
/M01;
;
/G91 G28 Z0.;
/M30;

Second set of end codes at the bottom so if i tun on block skip i skip my menu and run the program like normal for less experienced machinists. Hope you guys find this interesting!

harrisonhartley
Автор

its so hot to see technical industry stuff in an entertaining way, love it

Mapriex
Автор

Boom! This was awesome! Keep this type of content coming. It like visiting a friends shop on lunch and picking up a new trick.

timmallard
Автор

Used to do stuff like this decades ago (before all the cool CAM systems). Nice to see people still do this kind of stuff. Thanks!!

kewldan
Автор

Titan, I am building a custom machine for CNC machining glass for a customer. I was teaching this technique to one of their techs just this past weekend, thanks for posting, now they can watch it over and over and practice

CAD
Автор

Thank you for this video and others like it! As a relatively new machinist, I have been breaking away from some of the slow conventional methods I have seen and been taught thus far. Your content gives me inspiration that I apply at work; I recently received a large pay increase as a direct result of me cutting cycle time drastically by applying high-speed techniques. My eyes are being opened and I am seeing how much these tools can really take! My finishes are even improving as well since I am having more consistent tool pressure with a good chipload and less vibration and better heat dissipation. Fortunately, the more experienced machinists I work with have been very kind to me in their acceptance of my way of doing things. Worrying about stepping on toes seems like a sure way to limit my potential though, so thanks again!

smeardanglers
Автор

I teach some CNC at a high school, lucky enough to have a HAAS. I am no pro, but I love it. I learn alot from your videos .THANKS! My students don't know why I say BOOM so much :')

johnwilbers
Автор

I run two fanuc turning centers with live tooling. I adapted a helix milling and flats milling macros into gcodes. I also do custom macros on the fly for repeating features at different angles. Lot of the older guys did not like this at first, but it made things so much easier to program.

danielinfalt
Автор

It's good you show this! We use this kind of programming very often, saves a lot of time and I find it very easy to do with HEIDENHAIN. I really love the fact you're teaching this, and now I know a thing or two about 'normal' gcode too! Keep up the good work and greetings from the Netherlands!

dirkjanvanvliet