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

Sdílet
Vložit
  • čas přidán 20. 08. 2024

Komentáře • 76

  • @Tito112309
    @Tito112309 Před 5 lety +26

    Finally More lathe videos please !! Thanks for this !!!

  • @joelovitt2900
    @joelovitt2900 Před 2 lety +1

    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 Před rokem

      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.

  • @cncnmore4505
    @cncnmore4505 Před 5 lety +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

  • @PrrWow
    @PrrWow Před 5 lety +6

    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 Před 5 měsíci

      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 Před 3 lety +7

    Threading canned cycles are a little more tricky. That would make a great video!

  • @MrUnited85
    @MrUnited85 Před 5 lety +11

    Awesome video tyson, very clear and very informative.
    Pops will be proud... BOOM

  • @thedude5869
    @thedude5869 Před 7 měsíci

    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

  • @Gaming_Biker
    @Gaming_Biker Před 10 měsíci

    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. :)

  • @landonjacobs8392
    @landonjacobs8392 Před rokem

    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.

  • @benkenny3220
    @benkenny3220 Před 5 lety +4

    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  Před 5 lety +2

      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

  • @briandennington1984
    @briandennington1984 Před 5 lety +1

    Love canned cycles...we used them all the time at my old shop

  • @Zivon23
    @Zivon23 Před 5 lety +2

    Extremely Helpful, Tyson, Thanks for doing this video.

  • @themotofix5705
    @themotofix5705 Před 3 lety

    You're really great at explaining things thoroughly. Keep it up!

  • @justinepperson4905
    @justinepperson4905 Před 5 lety +2

    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 Před 5 lety

      I could be mistaken but the G90 code is mainly for the Mills.

    • @justinepperson4905
      @justinepperson4905 Před 5 lety

      @@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 Před 5 lety

      @@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 Před 4 lety

      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.

  • @raider1628
    @raider1628 Před 5 lety +2

    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.

  • @SirRootes
    @SirRootes Před 5 lety

    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.

  • @kisspeteristvan
    @kisspeteristvan Před 5 lety +1

    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 .

  • @caseyjohnson8427
    @caseyjohnson8427 Před rokem

    I’ve also found that using a type 2 cycle helps with notching on roughing inserts

  • @frankr608
    @frankr608 Před 5 lety +1

    dang ! thanks for laying it down at the control!

  • @scottkinkead6324
    @scottkinkead6324 Před 2 lety

    If your so worried about saveing time put your z&x and turn on violent on all on the same line

  • @173roberto
    @173roberto Před 5 lety

    I never understood how to use the G54 in the lathe. My G54 is allways at home coordinates. More lathe videos would be amazing.

  • @redhousetn73
    @redhousetn73 Před 5 lety

    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.

  • @jaysundaprophet6832
    @jaysundaprophet6832 Před 3 lety

    G72 is canned in the z and 71 is x. Learned all this about 12 years ago

  • @adrian.estrada
    @adrian.estrada Před 5 lety +1

    love this type of knowledge Tyson!

  • @joelovitt2900
    @joelovitt2900 Před 2 lety

    4 fingers is code for 3 lines... Got it.

  • @carlosmorales5482
    @carlosmorales5482 Před 5 lety

    Thanks for the tips. I'm learning how to use a st20y so it's really helpful.

  • @offuttjr
    @offuttjr Před 2 lety +1

    Great video , thanks

  • @CynHicks
    @CynHicks Před 5 lety

    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.

  • @steinarne79
    @steinarne79 Před 5 lety +1

    Keep it up! Awesome presentation!

  • @frankc6012
    @frankc6012 Před rokem

    Been using canned cycles for years.

  • @anthonyjones657
    @anthonyjones657 Před 5 lety +1

    Tyson's of cnc BOOM! I like that!😂

  • @jaysundaprophet6832
    @jaysundaprophet6832 Před 3 lety

    You don't have to run a finish pass in the same program block you can put G70 in separate block

  • @alializadeh8195
    @alializadeh8195 Před 2 lety

    Thanx

  • @krisdougherty2080
    @krisdougherty2080 Před 3 lety

    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.

  • @impactodelsurenterprise2440

    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.

  • @mariocortes1337
    @mariocortes1337 Před 3 lety

    Very educated video thanks a lot!

  • @frankcruz1751
    @frankcruz1751 Před 2 lety

    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?

  • @bebyaguilar3226
    @bebyaguilar3226 Před 3 lety

    Can you make a program that it shows how to cut a collet with 2 step and pie jaws from the beginning thanks

  • @Raymond-tn8hp
    @Raymond-tn8hp Před 5 lety +1

    Could you do a beginner lathe g-code

  • @jepkeklinge3778
    @jepkeklinge3778 Před 5 lety

    Nice video
    Can you make a video about vqc on the lathe as well?

  • @patelharsh8372
    @patelharsh8372 Před 2 lety

    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?

  • @tachdriver1
    @tachdriver1 Před 4 lety

    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.

  • @monkeymojo073
    @monkeymojo073 Před 2 lety

    Does anyone know how to copy from 'MDI' and paste to program? Is it possible?

  • @hemligagosta6554
    @hemligagosta6554 Před 5 lety +1

    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 Před 4 lety

      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.

  • @alexgregg2466
    @alexgregg2466 Před 5 lety

    So you don't have to put a retract value in the can cycle line

  • @jeevandasan886
    @jeevandasan886 Před 5 lety

    Any idea how to set the tool height offset with a small piece of paper

  • @MiguelSanchez-te3sk
    @MiguelSanchez-te3sk Před měsícem

    Can a G96 go in a G71 cycle?

  • @muthukumar3724
    @muthukumar3724 Před rokem

  • @redleg1013
    @redleg1013 Před 5 lety +1

    Never got to learn the cnc lathe in school beyond theory... so much of what you said was lost on me...

  • @davidbarnakii99
    @davidbarnakii99 Před 5 lety

    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 Před 3 lety

      @Yeah Right I agree not every control can take a type 2 cycle. But he's on a haas, not another control.

  • @davemcclue6226
    @davemcclue6226 Před 5 lety

    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.

  • @J0K3R4Y0U
    @J0K3R4Y0U Před 5 lety

    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 Před 5 lety

      G96 is Constant surface speed, G97 is Constant RPM. You need Rpm Cap if you use a G96 S... M3 code.

    • @ilikethisusername2415
      @ilikethisusername2415 Před 4 lety

      G96 is not fixed spindle speed. G97 is fixed spindle speed.

  • @dickgoesinya4773
    @dickgoesinya4773 Před rokem +1

    What is the point in using U and W vs X and Z on a G 28 line?

  • @abdulsamadbc0802
    @abdulsamadbc0802 Před 3 lety

    please send fanuc program of hex making on cnc 2 axis lathe machine

    • @johnroberts1768
      @johnroberts1768 Před 2 lety

      Can’t be done if you don’t have a c axis with live tooling

  • @anddysierraalvarez8216

    G28 U0. And G28 W0. Is bad for cicle time. Is better G53

  • @ganapathyperumal3648
    @ganapathyperumal3648 Před 2 lety

    Hi

  • @chandrasinghsawadchandrasi5715

    V9comfrom porgram

  • @MF175mp
    @MF175mp Před 2 lety

    Boom and then just kiss it

  • @richardbooth3213
    @richardbooth3213 Před 5 lety

    That is not a trick it’s a canned cycle ffs

    • @ExMachinaEngineering
      @ExMachinaEngineering Před 5 lety

      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.