G & M Code: Programming Lathe Canned Cycles | Vlog #77

  Рет қаралды 87,472

TITANS of CNC MACHINING

TITANS of CNC MACHINING

Күн бұрын

Пікірлер: 80
@Tito112309
@Tito112309 5 жыл бұрын
Finally More lathe videos please !! Thanks for this !!!
@cncnmore4505
@cncnmore4505 5 жыл бұрын
Titan your badass brother!!!! I was at the G and M code phase when I started watching your videos and they inspired me to just dive into programming ..thank you sir for all that you do to educate people and thank you for your role in keeping manufacturing jobs on our soil!!!!have a blessed day to all reading this is
@joelovitt2900
@joelovitt2900 3 жыл бұрын
I know I'm 2 yrs late but awesome video. I run an ST 30 and ST 35. I'm new in this field and finding that learning the code and the machines is very challenging. I'm 44 and never went to school for CNC machines or programming. Most days are good except when I have to hunt for job programs or make a new program from using commands from different job cycles. Lol the kid that trains me makes it look easy. When I lived in Michigan I ran a Homag CNC milling machine. It was for cutting sheets of plywood, particle board, melamine or laminated table tops used as furniture. It was a new machine when shipped to our facility and when I finally learned it (about 6 months later) I wanted to become the best (3 years later). However this machine didn't use G&M codes the way Haas does. Point is that when the Homag clicked for me I fell in love with it. I know I will master this machine. You pointed out line for line. The P Q codes always stumps me. 101 and 102 as well. Thank you.
@DLS_MFG
@DLS_MFG Жыл бұрын
I know it’s been a year but to clarify the P and Q and 101 / 102 question. Any line of code can have a N number to identify it. Some programmers put every single line as a n number, starting from N1 and counting up. Some programmer only use a N number at tool changes or other useful points. It’s just a way to identify a line of code. You can’t use the same number twice in a program and it’s best to keep them in order. These types of canned cycles need to know where the first and last line of code is. If you start the cycle at n500 the P in the canned cycle should be “P500”. Same idea for the Q value.
@PrrWow
@PrrWow 5 жыл бұрын
Great video Tyson! I’m the lathe guy at my work. The feed rate in the body of the canned cycle is used by a G70 if you use one. I’ve found that you don’t actually need to put it in cycle at all. You can put it with your G70 line when you use one.
@peeeoii2738
@peeeoii2738 9 ай бұрын
X (minor) z (threads length) k(thread height in radial minor-major/2 = THR) d depth of cut (K/ square root of passes wanting to take= Depth) F (feed rate which is equal to pitch so 1/TPI) rpm is not apart of the g76 line of code but is suggested to got 125-150IPM x TPI
@NoriDavis
@NoriDavis 4 жыл бұрын
Threading canned cycles are a little more tricky. That would make a great video!
@MrUnited85
@MrUnited85 5 жыл бұрын
Awesome video tyson, very clear and very informative. Pops will be proud... BOOM
@mohamadshamia7057
@mohamadshamia7057 5 жыл бұрын
I thank you for this clarification
@Gaming_Biker
@Gaming_Biker Жыл бұрын
This is pretty much exactly what they're teaching us at my Tech School. Really the only difference is how you're going home. My instructors teach " G28 U0. W0.; ". However, I really like splitting it up to have U & W on separate lines w/ U coming first to avoid ramming the turret into the tail-stock/B-axis spindle. :)
@thedude5869
@thedude5869 11 ай бұрын
Great video, small tip, put your mo8 on your tool/offset line to ensure the coolant is flowing fully when the tool reaches the part
@briandennington1984
@briandennington1984 5 жыл бұрын
Love canned cycles...we used them all the time at my old shop
@landonjacobs8392
@landonjacobs8392 2 жыл бұрын
Thanks titan for teaching me g code it really helps me I decided to just start learning it so if my friends at school need help when setting up a machine I can help them or the teacher can help them.
@paul5683
@paul5683 Ай бұрын
Because we had limited file space on our Fanuc OTA running clausing colchester cnc. One simple facing program. One simple turning program and one simple boring program. Changing starting points depths of cut and geometry was enough to do most of our on machine programming.
@kisspeteristvan
@kisspeteristvan 5 жыл бұрын
On a sinumerik , you automatically have canned cycles , but you can make custom cycles with R variables (on a lathe i know , it had 169 or 199 R variables) . You can almost write a "C+" program for the cycle , let's say a rigid keyway broaching .
@Zivon23
@Zivon23 5 жыл бұрын
Extremely Helpful, Tyson, Thanks for doing this video.
@benkenny3220
@benkenny3220 5 жыл бұрын
I wish you guys did the rocket and taught G & M Code for the lathes, like you did for the Mill and 1M part. Good video, thanks.
@TITANSofCNC
@TITANSofCNC 5 жыл бұрын
There is a ton of videos for the Rocket. Will produce more G & M Code videos. Search G & M Code on my channel for lots of videos
@SirRootes
@SirRootes 5 жыл бұрын
Finally, LATHE VIDS! Thanks for the video Tyson. One thing I learnt was I am glad I work on Mazaks! Don't get me wrong I started out on G-code with no canned cycles! But working with Mazaks for the last 10 years, I have been spoilt. lol.
@raider1628
@raider1628 5 жыл бұрын
Awesome video Tyson!! would love to see your process for cutting jaws in lathe. How you get the id and od diameters to start programming.
@themotofix5705
@themotofix5705 4 жыл бұрын
You're really great at explaining things thoroughly. Keep it up!
@caseyjohnson8427
@caseyjohnson8427 Жыл бұрын
I’ve also found that using a type 2 cycle helps with notching on roughing inserts
@frankr608
@frankr608 5 жыл бұрын
dang ! thanks for laying it down at the control!
@justinepperson4905
@justinepperson4905 5 жыл бұрын
As as safety precaution and general rule not to crash a lathe, we always program with a G90 on the work offset line G90 G54, G90 G55, etc. Why did you not use a G90 in the work offset line to make sure you weren't accidently in G91 just in case you forgot to run the program visually in graphics? Love the videos fellas
@alexroman197
@alexroman197 5 жыл бұрын
I could be mistaken but the G90 code is mainly for the Mills.
@justinepperson4905
@justinepperson4905 5 жыл бұрын
@@alexroman197 Thank you for the comment and for correcting me. I have a great deal of more time on mills compared to lathes. In reviewing all of my referencing notes, you are correct. I'm very much out of practice and only run a Mazak laser currently. I miss programming everyday. Thank you though.
@MummifiedInBarbedWir
@MummifiedInBarbedWir 5 жыл бұрын
@@justinepperson4905 to add on that X and Y for absolute, U and W for incremental. You can see he is using U and W with the homing G28 code.
@ilikethisusername2415
@ilikethisusername2415 4 жыл бұрын
G90 is the default on lathes. No one ever uses G91 in lathes. G91 is only really used with mills to send the spindle home.
@offuttjr
@offuttjr 3 жыл бұрын
Great video , thanks
@adrian.estrada
@adrian.estrada 5 жыл бұрын
love this type of knowledge Tyson!
@anthonyjones657
@anthonyjones657 5 жыл бұрын
Tyson's of cnc BOOM! I like that!😂
@redhousetn73
@redhousetn73 5 жыл бұрын
Nice. I need more lathe, I am 100% mill hand. This is awesome. There is an ST35Y at work no one knows anything about. I want to get it going.
@173roberto
@173roberto 5 жыл бұрын
I never understood how to use the G54 in the lathe. My G54 is allways at home coordinates. More lathe videos would be amazing.
@steinarne79
@steinarne79 5 жыл бұрын
Keep it up! Awesome presentation!
@jaysundaprophet6832
@jaysundaprophet6832 3 жыл бұрын
G72 is canned in the z and 71 is x. Learned all this about 12 years ago
@tachdriver1
@tachdriver1 4 жыл бұрын
if i would run a shaft with a follow rest that opens and closes with an m code would i be able to use a haas canned cycle? we have romis at my shop that we have to write every line by hand. Looking at buying haas. would the m code also be repeated using the canned cycle? Thanks for your time.
@mariocortes1337
@mariocortes1337 3 жыл бұрын
Very educated video thanks a lot!
@CynHicks
@CynHicks 5 жыл бұрын
I tremble a bit at the thought that soon A.I. may actually do this bit of U.I. programming. The possibilities are scary but awesome. The idea of A.I. supplying the framework (source) coding is just wow. Giving the machine an "eye" could be a huge mistake I guess.
@jaysundaprophet6832
@jaysundaprophet6832 3 жыл бұрын
You don't have to run a finish pass in the same program block you can put G70 in separate block
@frankcruz1751
@frankcruz1751 2 жыл бұрын
Great videos Tyson. I am currently working on Mills but my boss wants me to learn Lathe and be more familiar with it. Where can I take beginners lathe classes online? I just would like to know more about tips and tricks of it. I understand the controls and how to operate the machine but having trouble understanding canned cycles. Can you refer me to where I can take online classes please?
@carlosmorales5482
@carlosmorales5482 5 жыл бұрын
Thanks for the tips. I'm learning how to use a st20y so it's really helpful.
@impactodelsurenterprise2440
@impactodelsurenterprise2440 3 жыл бұрын
I'm torn between outputting cam in canned cycle vs geometry. They both have their pros and cons and I can never decide which is best.
@krisdougherty2080
@krisdougherty2080 3 жыл бұрын
You should show people the different types of canned cycles there's type 1 and type 2 canned cycles(I'm sure you know) also people if you touch off to the face of the part and wanting to take off 1" off make sure and minus 1" on your work offset if not you'll just be cutting air or program G00 Z0.1 G01 Z-1.
@scottkinkead6324
@scottkinkead6324 3 жыл бұрын
If your so worried about saveing time put your z&x and turn on violent on all on the same line
@scottkinkead6324
@scottkinkead6324 3 жыл бұрын
Coolant not violent , dam phone
@joelovitt2900
@joelovitt2900 3 жыл бұрын
4 fingers is code for 3 lines... Got it.
@patelharsh8372
@patelharsh8372 2 жыл бұрын
Hello, I have some confusion about turning cycle when Tyson explained about turning down 1.5 to 1 inch dia.He left .01 in U for finishing.In N106 line why he went to X1.0 .Just confused if it should be X 1.01 or not?
@frankc6012
@frankc6012 2 жыл бұрын
Been using canned cycles for years.
@hemligagosta6554
@hemligagosta6554 5 жыл бұрын
if i understand it correctly, the paths of the canned cycles that are used in the roughing passes, is really meant to describe the paths that an eventual finish pass is supposed to go. what i don't understand in this description is the m30 after every part, since m30 sends you home in the program. do you toggle your way back to the start of the next part every time, or how does it work? or do you copy the part into a new program when needed?
@ilikethisusername2415
@ilikethisusername2415 4 жыл бұрын
M30 does not send you home. M30 ends the program. The reason he put M30 after every operation is because it's an example program which he copies and pastes from. So if he only needs the roughing portion, he copies that to a new program and runs it. M30 is already there so the program will stop when it's done.
@jepkeklinge3778
@jepkeklinge3778 5 жыл бұрын
Nice video Can you make a video about vqc on the lathe as well?
@davemcclue6226
@davemcclue6226 5 жыл бұрын
Hi Tyson. On your i/d program I see you are starting at X1.5, doesn’t that have to be less than your 1st X diameter in the cycle. Just asking i’m Quite new to this.
@Sam-sl1uy
@Sam-sl1uy 5 жыл бұрын
No it was a o/d program
@Raymond-tn8hp
@Raymond-tn8hp 5 жыл бұрын
Could you do a beginner lathe g-code
@bebyaguilar3226
@bebyaguilar3226 4 жыл бұрын
Can you make a program that it shows how to cut a collet with 2 step and pie jaws from the beginning thanks
@jeevandasan886
@jeevandasan886 5 жыл бұрын
Any idea how to set the tool height offset with a small piece of paper
@Mik3_S
@Mik3_S 4 ай бұрын
Can a G96 go in a G71 cycle?
@alexgregg2466
@alexgregg2466 5 жыл бұрын
So you don't have to put a retract value in the can cycle line
@JarppaGuru
@JarppaGuru 2 ай бұрын
10:12 its not going to be 0.025 it depend on tool radius. 0.8radius it will be small. 1.2 radius there will no chamber. formula cadcam not want you know (1- tan(a/2))*radius = will be how much in z you need make cut bigger. i call it cutter comp xD
@davidbarnakii99
@davidbarnakii99 5 жыл бұрын
Tyson, your canned cycles do not have to go all in one direction. If you added a z value to your first line of code inside the cycle, you are telling the control you are doing a type 2 cycle and not a type one. Haas has a video about type 1 and type two g71 cycles.
@davidbarnakii99
@davidbarnakii99 3 жыл бұрын
@Yeah Right I agree not every control can take a type 2 cycle. But he's on a haas, not another control.
@monkeymojo073
@monkeymojo073 3 жыл бұрын
Does anyone know how to copy from 'MDI' and paste to program? Is it possible?
@redleg1013
@redleg1013 5 жыл бұрын
Never got to learn the cnc lathe in school beyond theory... so much of what you said was lost on me...
@vernontan2099
@vernontan2099 5 жыл бұрын
You say people this?
@alializadeh8195
@alializadeh8195 2 жыл бұрын
Thanx
@abdulsamadbc0802
@abdulsamadbc0802 3 жыл бұрын
please send fanuc program of hex making on cnc 2 axis lathe machine
@johnroberts1768
@johnroberts1768 3 жыл бұрын
Can’t be done if you don’t have a c axis with live tooling
@muthukumar3724
@muthukumar3724 Жыл бұрын
@anddysierraalvarez8216
@anddysierraalvarez8216 3 жыл бұрын
G28 U0. And G28 W0. Is bad for cicle time. Is better G53
@ganapathyperumal3648
@ganapathyperumal3648 2 жыл бұрын
Hi
@chandrasinghsawadchandrasi5715
@chandrasinghsawadchandrasi5715 4 жыл бұрын
V9comfrom porgram
@MF175mp
@MF175mp 3 жыл бұрын
Boom and then just kiss it
@richardbooth3213
@richardbooth3213 5 жыл бұрын
That is not a trick it’s a canned cycle ffs
@ExMachinaEngineering
@ExMachinaEngineering 5 жыл бұрын
I think they meant the trick is to keep it as an auxiliary program with all the safety code and comments you need and just change a few numbers to get to what you want.
@JarppaGuru
@JarppaGuru 2 ай бұрын
1:05 yes line from drawing. we not need cadcam
@JarppaGuru
@JarppaGuru 2 ай бұрын
12:02 all that changing. could be one liner makro call.
@J0K3R4Y0U
@J0K3R4Y0U 5 жыл бұрын
Hi. Did you realy nead G50 when you use G96 (G96 is fix S speed)? When you use G95 for VC you need G50 to limit the max. speed.
@CNCGuy
@CNCGuy 5 жыл бұрын
G96 is Constant surface speed, G97 is Constant RPM. You need Rpm Cap if you use a G96 S... M3 code.
@ilikethisusername2415
@ilikethisusername2415 4 жыл бұрын
G96 is not fixed spindle speed. G97 is fixed spindle speed.
G & M Code: CNC Lathe Programming by Hand  - Vlog #91
19:39
TITANS of CNC MACHINING
Рет қаралды 125 М.
G & M Code - Advanced Manual Programming Trick - TITANS of CNC Vlog #51
16:12
TITANS of CNC MACHINING
Рет қаралды 231 М.
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 99 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 12 МЛН
A REAL Look Inside TITANS of CNC
16:14
Practical Machinist
Рет қаралды 101 М.
Introduction to Canned Cycles
7:44
Practical Machinist
Рет қаралды 24 М.
Secret Art of MACRO PROGRAMMING on a CNC Machine | G-Code Genius
12:03
TITANS of CNC MACHINING
Рет қаралды 115 М.
Solving the CHATTER problem for the home workshop
16:50
LukeR
Рет қаралды 164 М.
Get ANY Customer You Want With This Strategy | Vlog #64
18:00
TITANS of CNC MACHINING
Рет қаралды 70 М.
Okuma Lathe Programming Guide - Turning Cycles
1:00:38
Hartwig
Рет қаралды 25 М.
Programming Chamfers and Radius
6:13
Charles Raybold
Рет қаралды 11 М.
Building a CNC Lathe (Full Video)
37:47
Action BOX
Рет қаралды 252 М.