CNC LATHE PROGRAMMING LESSON 5 WRITE A TOOLPATH USING G0 - G1 - G2 AND G3 MOVES

Sdílet
Vložit
  • čas přidán 11. 09. 2024
  • This video shows you how to use G-codes to write a tool path on a CNC lathe using linear moves, clockwise arcs and counterclockwise arcs
    Are you looking to learn more?
    Visit my website:
    www.masteryour...

Komentáře • 74

  • @jrodatz
    @jrodatz Před rokem +3

    It is so hard to find a video thet goes over the gcode so well and clear. Appreciate your work!

  • @dalesmth1
    @dalesmth1 Před 2 lety +2

    Thanks Tom.
    I’m currently trying to learn G&M code for an LC-50 Okuma.
    Today I learned the importance of a G1 code in Z. I’m lucky I had protected the part by +0.020.

  • @h0mbsk
    @h0mbsk Před 4 lety +1

    great video. very helpful for beginner machinists that aren't quite understanding interpolation movement.

  • @Ms.Charles
    @Ms.Charles Před 4 lety +4

    Thank you. This will surely help with my exams.

  • @TrungTran-hm4ol
    @TrungTran-hm4ol Před 3 lety

    this is easy to understand for a new guy like me. Thank you so much for the video

  • @chuchastf2
    @chuchastf2 Před 3 lety +3

    mi profesor me dejo esto, hos dejo la trastricion en español
    00:02
    hola y bienvenido de nuevo a la lección 5 de
    00:05
    Programación de torno CNC en esta lección
    00:08
    discutiremos los códigos 4G utilizados para
    00:11
    escribir trayectorias de herramientas para tornos CNC
    00:14
    vamos a empezar con el Gio usado para
    00:17
    posicionamiento rápido, entonces el g1 utilizado para
    00:21
    La interpolación lineal también se conoce como
    00:24
    la línea recta mueve el g2 en el sentido de las agujas del reloj
    00:27
    arcos y el g3 en sentido antihorario
    00:30
    arcos, así que echemos un vistazo y veamos cómo
    00:33
    eso esta terminado
    00:35
    bien y para este ejercicio estamos
    00:37
    vamos a discutir el código g utilizado
    00:40
    para hacer el pase final de esta parte el
    00:44
    El código g es una combinación de G o g1 g2 y
    00:49
    g3 se mueve y vamos a repasar
    00:51
    paso a paso qué información es
    00:54
    necesario para completar cada movimiento, así que vamos a
    00:57
    Eche un vistazo rápido y vea lo que
    00:59
    la trayectoria se verá como cuando
    01:00
    hemos terminado de escribir el código que puede
    01:03
    mira es una combinación de línea recta
    01:05
    mueve arcos en el sentido de las agujas del reloj y
    01:07
    arcos en sentido contrario a las agujas del reloj, así que vamos
    01:10
    rebobinar eso y pasar por esto
    01:14
    programe una línea a la vez y discuta
    01:17
    los detalles bien para que estemos posicionados
    01:21
    justo en línea con nuestra primera pieza de
    01:23
    geometría y llegamos a ese punto con una
    01:27
    movimiento rápido, por lo que estamos usando un g0 para envolver
    01:31
    a las X 250 milésimas y Z 100
    01:36
    miles delante de la parte en línea
    01:39
    con nuestra primera pieza de geometría que
    01:41
    es la parte inferior del radio 250 ahora estoy
    01:46
    voy a esconder los sólidos aquí, así que
    01:50
    podemos ver las dimensiones mientras discutimos
    01:53
    el código está bien, así que lo primero
    01:56
    lo que vamos a hacer es después de envolvernos
    01:59
    nuestra posición de inicio es hacer una recta
    02:01
    la línea se mueve donde está la punta al principio
    02:04
    punto de la parte inferior de este radio de 250
    02:07
    bien, así que vamos a balancearnos
    02:10
    el radio hasta estos 750 mil
    02:14
    diámetro así que si restamos 250 veces 2
    02:19
    terminamos con X 250,000, así que ahí es donde
    02:24
    estamos sentados en la parte inferior de la
    02:26
    el radio está bien, así que el primer movimiento somos
    02:28
    va a hacer está justo en contra
    02:31
    que es una línea recta mover G 1 a Z 0
    02:36
    que es el frente de la pieza y de
    02:39
    Por supuesto, la primera vez que llamamos a un lineal
    02:41
    movimiento vamos a tener que activar el
    02:45
    tasa de alimentación, así que vamos a hacer esto
    02:47
    a una velocidad de avance de 7.000 por revolución
    02:50
    bien, así que lo primero que vamos a hacer
    02:52
    hacer es oscilar este radio y eso es
    02:55
    va a ser un arco en sentido antihorario desde
    02:58
    X 250 hasta este diámetro 750 y cuando
    03:03
    hemos terminado o al final de eso
    03:06
    el radio estará sentado en Z menos 0.2 50
    03:11
    X 750 para que puedas ver que esa es esta línea
    03:15
    aquí mismo vamos a hacer un g3
    03:17
    arco en sentido antihorario con un punto final de
    03:21
    X punto 750 Z menos 250 y en cualquier momento
    03:27
    tener un g2 o g3 necesita tener un
    03:29
    valor del radio en esa línea y en este
    03:33
    caso de que sea el radio 250, así que
    03:37
    vamos a completar ese movimiento es tan ahora
    03:40
    vamos a tener que ir directamente a
    03:42
    el punto de inicio del siguiente radio que
    03:45
    dices tu radio de 125 así que esto
    03:48
    dimensión aquí la una pulgada 125
    03:51
    vamos a tener que detenernos en 125
    03:55
    milésimas
    03:56
    al comienzo de ese radio, así que estamos
    03:59
    va a hacer un movimiento en línea recta g1z -
    04:03
    1 pulgada, así que completemos ese movimiento ahora
    04:07
    estamos comenzando nuestro G - arco en el sentido de las agujas del reloj
    04:11
    y al final comenzamos en
    04:13
    750 y X en el punto final del radio
    04:17
    ser 125 por 2 entonces 250 más 2750 el final
    04:23
    el punto estará en X 1 pulgada y luego
    04:27
    estar en la Z menos 1 pulgada 125 y otra vez
    04:32
    en una línea con un g2 o g3 tenemos que
    04:36
    termínelo con un valor de radio para que sea
    04:39
    un radio de 125, así que completemos ese movimiento
    04:42
    y luego vamos a la G 1 estamos
    04:46
    vas a tener que hacer una linea recta
    04:48
    muévete hasta el punto de inicio de este 60
    04:52
    radio de milésimas y en ese punto
    04:54
    estaremos sentados en X 1 pulgada 130 así que
    04:59
    hay ese pequeño movimiento en línea recta
    05:00
    ahora vamos a hacer un giro en sentido antihorario
    05:03
    arco y formando ese radio de 60.000
    05:09
    eso es un g3 al final de eso
    05:12
    El radio estará sentado en este X 1 pulgada
    05:14
    250 de diámetro y vamos a sumar 60
    05:19
    mil estudiantes en una pulgada 125 así que
    05:22
    eso es Z menos 1 pulgada 185 y por supuesto
    05:27
    tiene un radio de 60 milésimas, así que
    05:30
    Completa ese movimiento, entonces vamos a
    05:33
    hacer una línea recta pasar a la siguiente
    05:36
    punto de tangencia que es Z menos 1 pulgada
    05:41
    750 para que tome este diámetro de 2 pulgadas
    05:45
    tenemos un radio de 250, así que retrocedemos hasta 50
    05:48
    de 2 pulgadas para que sea G 1 z menos 1
    05:52
    pulgada 750 así que completemos ese movimiento todo
    05:57
    ahora mismo tenemos que hacer un giro en el sentido de las agujas del reloj
    06:00
    arco para terminar este radio de modo que sea el
    06:03
    G 2 y nuevamente 250 por 2 es 500 más
    06:09
    la 1 pulgada 250 el punto final en X de
    06:13
    ese radio va a estar en
    06:14
    una pulgada 750 y puedes ver que será
    06:18
    justo contra esta pared aquí mientras

  • @venkateshk1455
    @venkateshk1455 Před rokem

    Thank you it's a great lerning I get from this video 👍

  • @jamesromano6045
    @jamesromano6045 Před 7 lety +2

    I wish my teacher was this good great vid

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

    million dollar wishes for you

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

    thanks a lot sir, you are the best.

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

    Thankyou sir. It helped very much for understanding the CNC programing

  • @ducluong8482
    @ducluong8482 Před rokem

    Amazing video, Thank you so much,

  • @gilbertodiazcastro8871

    Great video with better explanation than my current college teacher. I would ask you, if you could use a different cursor; I'm visually impaired and following the extra thin cross is a real challenge especially when in the code area with the dark background.

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

    Wich cnc lathe simulator do you recommend me? im ussing mach3 but it doesnt show the radius properly

  • @bhagwansingh3474
    @bhagwansingh3474 Před 6 lety

    Very good AAP log bhut accha Kam karte ho.

  • @Evad138
    @Evad138 Před 7 lety +2

    great video. what software are you using?

  • @JustLarry106
    @JustLarry106 Před 2 měsíci

    Are you in Texas still I would love to have you in my class

  • @umargul5644
    @umargul5644 Před 4 lety

    Great job, thanks

  • @jessewales4233
    @jessewales4233 Před 6 lety

    Your the man 🏆🏆🏆

  • @laineluvmusic
    @laineluvmusic Před 7 lety

    Hi ya, I have a question that I hope you can help me with. I run a YouJi vtl and I was doing a job and had a problem :/ I finishing a face of a 55inch brake disc and had to rerun the face from dia 38inch (I have four 2.500 holes so an interrupted cut) 63surface finish from 55'-38' and 125 surface finish from 38'-16.800'.
    (Note my dimensional number are approx)
    In the program, it has a liner move g1 to x16.800 on a Z depth -7.000 then a g3 x16.188
    z-6.890 r.250 then it goes up on an angle with another quarter inch radius to meet the hub. BUT!!!! when i came back to fix and rerun the face at that 38inch dia I manual moved to that position and ran the program from their and when i got to the line with the g3 it started to go back to the direction it came and into the part!! :(
    I hope you can help as this has put a really big dent in my confidence I really take pride in my work.
    Regards James

  • @alializadeh8195
    @alializadeh8195 Před 2 lety

    Thanx

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

    🙏🙏🙏🙏🙏

  • @pamelamondal2491
    @pamelamondal2491 Před 3 lety

    Very good

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

    hello sir this is great video, please tell me some formula taper with radius

  • @jaspreetsinghsidhu9500
    @jaspreetsinghsidhu9500 Před 6 lety +1

    what is the software name which u r using to explain this ??

  • @mg-mr3cx
    @mg-mr3cx Před 3 lety

    what sim are you using

  • @EZ_shop
    @EZ_shop Před 9 lety

    I assume the video shows a top view of the part and the tool. In my lathe the tool is on a post, and is opposite (bottom) from the tool position shown in the video. Does that mean that my clockwise and counterclockwise moves have to be reversed?

    • @TomStikkelman
      @TomStikkelman  Před 9 lety

      Crivo152 The location of the tool does not matter. just make sure the spindle rotation hits the cutting edge of the tool and not the back side.

    • @bigbingham
      @bigbingham Před 8 lety +1

      +Tom Stikkelman Thanks for the video. I think that Crivo152 was referring to the machining on say a manual lathe. With a conventional manual lathe, as you view the workpiece from an aerial view, the tool is at the bottom of the workpiece. This would logically make a convex radius on the front of the part a clockwise rotation of travel, rather than anti-clockwise as the video states in this example.

    • @jenydavis8175
      @jenydavis8175 Před 4 lety

      Try making a cut and see if your cutting

  • @yahye674
    @yahye674 Před 7 lety +1

    can you use roughing canned cycles on a part to start then tool pathways to finish?

  • @hafimax
    @hafimax Před 2 lety

    Great

  • @JustLarry106
    @JustLarry106 Před 2 měsíci

    You could’ve done this backwards if you wanted it to really work so you’re don’t kill your insert correct me if I’m wrong

  • @mikecordero9938
    @mikecordero9938 Před 7 lety +1

    would it matter where to start if you have a different radius how about with a .032R

    • @TomStikkelman
      @TomStikkelman  Před 7 lety

      mike cordero Hello Mike. If you watch my video about tool nose radius compensation I think it will be of help. Thanks. Tom

  • @megaDigit4l
    @megaDigit4l Před 3 lety

    What you simulator software ?

  • @loganthemachine7841
    @loganthemachine7841 Před 5 lety

    If the features entire width was 1.996, wouldnt the X value be half of that in the G-code Since X-0 Is the center of the chuck/workpiece?

    • @TomStikkelman
      @TomStikkelman  Před 5 lety

      Logan Eads
      The X values will always be diametral. So X1.00 inch would machine a 1.00 diameter but the actual location of the tool top is .500 from centerline of spindle.

  • @skmonju8943
    @skmonju8943 Před 5 lety

    Tanks

  • @pathananwarkhan8137
    @pathananwarkhan8137 Před 6 lety

    Thanks

  • @youssefmouttaqui3398
    @youssefmouttaqui3398 Před 7 lety

    this Is Good video . i want logiciel the cnc of tornage or fraisage if you have

  • @martinvega8673
    @martinvega8673 Před 9 lety

    you don't explain how and were do you get line N6 G1 x1.13???

    • @Hi_Doctor_Nick
      @Hi_Doctor_Nick Před 8 lety

      G1 X1.13 is the start point of the rad. The next line,
      G3 X1.25 Z-1.185 R.06 being the end point of the rad.
      D-(Rx2)
      1.25-(.06x2)

  • @tritile
    @tritile Před 5 lety

    Anyone knows the name of the simulator he is using?

    • @TomStikkelman
      @TomStikkelman  Před 5 lety

      Bruno Antunes
      Bruno. I’m using Mastercam X7 in this video. Thanks

  • @duyhungtran6592
    @duyhungtran6592 Před 9 lety

    thanks for your help! i don't know G1 X2.8414 Z-4.3043. Please you explain me

    • @Hi_Doctor_Nick
      @Hi_Doctor_Nick Před 8 lety +1

      G1 X2.8414 Z-4.3043
      Doesn't machine the part. The part is already finished.
      This is only used to remove the tool from the part.

  • @user-dm8uh4er4i
    @user-dm8uh4er4i Před 8 měsíci

    Lth.... the last line....Z-4.500..???... OUTSIDE THE PART...

  • @user-um9qq1bl9q
    @user-um9qq1bl9q Před 6 lety

    😲😍

  • @jamesromano6045
    @jamesromano6045 Před 7 lety

    every easy to understand

  • @yahye674
    @yahye674 Před 7 lety +2

    Didn't quite understand
    G1 x 1.996
    G2 x2.7 z -3.998 R. 6.0
    Can anyone explain?

    • @EyeAmBatman
      @EyeAmBatman Před 6 lety

      G1 x 1.996: if you look at diagram just before the 6" radius part, there is a verticle measurement line that reads 1.996.. after it cut out the .25 radius it needs to get to this position, so a linear interpolation is executed ie "G1"

    • @EyeAmBatman
      @EyeAmBatman Před 6 lety

      G2 x2.7 z -3.998 R. 6.0: G2 is used for clockwise direction, end point of curve is 2.7 as shown by verticle measurement line to the far left of diagram. z-3.998 is where cutter (z axis needs to be) where the curve ends, this measurement is shown on the horizontal measurement line second from the bottom. R.6.0 is the radius..
      The syntax for G2 is [endpoint of x][endpoint of z][radius] of which all is related only to the curve.

    • @punkeewalla6195
      @punkeewalla6195 Před 5 lety

      Way to hard. Go sell French fries instead.

    • @trazy38
      @trazy38 Před 5 lety

      i hand write this at the machine everyday, very easy. use point to point, i draw part then use point to point. but i start .100 below smallest diameter for cutter comp to kick in on a Doosan lynx300 lathe

  • @patelravi7169
    @patelravi7169 Před 5 lety

    VMC program video ap load

  • @trusttester
    @trusttester Před 7 lety

    OMG all the measurements are Inch 😒🤔 any advice how to get into Inch measurements from Metric??

    • @yahye674
      @yahye674 Před 7 lety

      1"=24.5mm
      1mm= .03907"
      do some math or you could download a conversion app.

    • @Francis-qf2hr
      @Francis-qf2hr Před 7 lety +4

      correction @rusty... 1" = 25.4mm not 24.5mm..

    • @lucperrier9501
      @lucperrier9501 Před 7 lety +3

      Rusty Shackleford 1mm = .03937"

  • @bholaprasadchoudhary1847

    hindi me simens ctro. cycle program bhejo

  • @mariocortes1337
    @mariocortes1337 Před 3 lety

    Well you are absolutely wrong because you aren't compensated the. Tool nose radius .you are confusing people

    • @TomStikkelman
      @TomStikkelman  Před 3 lety

      Tool radius is zero in this example. No tool nose radius compensation needed

  • @alializadeh8195
    @alializadeh8195 Před 2 lety

    Thanx