Homing and Work Coordinate Systems using Grbl with Millright CNC

Поділитися
Вставка
  • Опубліковано 29 сер 2024
  • This video demonstrates techniques an operator can use with a MillRight CNC machine that is running Grbl firmware. It explains concepts such homing, setting up work coordinate systems, selecting work coordinate systems, addressing machine coordinates, G28, and G30.

КОМЕНТАРІ • 70

  • @lovinglife3675
    @lovinglife3675 2 місяці тому

    Hi , I am a bit late to the party as only getting a Laser and CNC few months ago … this tutorial has helped greatly … was having issues with jog speeds which sounds like it was in an incremental mode and the homing settings … had me beat !!! lol .. only just getting my head around the GRBL & Gcode keying .. big smiles with these little victories … will binge watch rest of your videos and flick you any questions … regards from Adelaide Australia

  • @tinkot
    @tinkot Рік тому +1

    Thanks a lot for the detailed instructions. 26:32 Those additional features are very useful

  • @shimmothy6284
    @shimmothy6284 Рік тому

    Thank you so much for both this video and the g-code introduction entry on your website! My roommate and I just built a machine for our final project of an electromechanical technician program and you explained everything I was unsure of with coordinate settings and I finally got out first cutting job going. I'm sure you saved us an end mill or two at least

  • @bigmanblackt-shirt8506
    @bigmanblackt-shirt8506 7 років тому +1

    Good video, Derek. Homing and work coordinates was one of the hardest things for me to get straight in my head at first.

  • @Duraltia
    @Duraltia 5 років тому +1

    Great Video! Helped me come up with a UGS macro for my GRBL powered X-Carve...
    Normally when I'm done with an operation the spindle will either return to G28 ( to the front for a manual tool change ) or G30 ( the back to clear the workspace ) so when I'm done after a tool change the spindle will usually be WAY off the part making it necessary to first return it above the workpiece so I can perform a Probe command.
    The fastest way to get to the workpiece would normally be a Return to Zero but that's doing ALL axis instead of just X & Y which sucks when you've changed into a, potentially, longer tool as you'd then ram it into the workpiece.
    With the video I came up with a _G53 G0 Z-1; G90 G0 X0 Y0_ Macro to solve that issue for me.
    It'll first rapid the Z-Axis to -1mm of the Z-Axis 0 *Machine Coordinates* and once it reached that safe position will continue to rapid the X/Y-Axis to 0 of the *Work Coordinates*
    From there on its a quick Z-Axis Jog down to a reasonable height followed by the Probe Command =)

  • @malcolmhodgson7540
    @malcolmhodgson7540 8 місяців тому

    Really good demo of these concepts.

  • @electromark1
    @electromark1 4 роки тому +1

    Great tutorial 👍 I've found my way here tonight after an evening of sheer confusion 😂
    I'm very new to cnc. but very excited it what it holds for me. To cut it short after months of neglect I found the time to turn on my machine and play around a bit. I'm using bCNC Arduino and a Raspberry Pi. I hit the 'home 'tab on the bCNC expecting it to traverse to the top right homing switches but no it came in the totally direction towards me at the bottom left and only stopped when it couldn't go no more!! ☹️☹️
    Watching your vids helped me to understand but why might this have happened? The time before this homing worked just fine.?
    Much respect and hope you can shed some light to this. 👍

  • @michieljames737
    @michieljames737 4 роки тому +1

    Great Video Sir.
    Thank you for taking the time to share this with us.

  • @trialnterror
    @trialnterror 4 роки тому +1

    I have a IMService cnc router and wanted to do exactly this on that machine! Although I’ve just put my order in for the Mega V 🥳🤩!

  • @RobLlewellyn1
    @RobLlewellyn1 6 років тому +2

    Very useful and very clear, thx for producing this. Subscribed!

    • @MillRightCNC
      @MillRightCNC  6 років тому

      Thanks Rob. Glad you enjoyed it. Keep an eye out over the next few months. A lot more of this is coming.

    • @RobLlewellyn1
      @RobLlewellyn1 6 років тому

      MillRight CNC yup will do. May I ask a question please? Raising Z before G28 to avoid collisions, would you normally put a chain of gcode I to a macro to achieve this? I like to have g28 as a tool change location, but I want it to lift first and not do everything simultaneously.

    • @MillRightCNC
      @MillRightCNC  5 років тому

      @@RobLlewellyn1 You want G28 G91 Z0

  • @gamerpaddy
    @gamerpaddy 5 років тому +1

    very helpful, this saved me a new bag of homing switches. everytime my CAM called g54 my Z went up into space crushing that switch and i couldnt figure out why.

  • @Deltro61
    @Deltro61 6 років тому +1

    Excellent! I learned a bunch.

  • @JohnOCFII
    @JohnOCFII Рік тому

    Very useful!

  • @ShantikumarMerchant
    @ShantikumarMerchant 2 роки тому

    very helpful for beginners

  • @hotfuzz1913
    @hotfuzz1913 4 роки тому

    Thanks for the excellent tutorial

  • @arbjful
    @arbjful 11 місяців тому

    This a really useful video on the coordinate systems. How do you true the vise with respect to the axes of the CNC?

  • @ZappninLLP
    @ZappninLLP 3 роки тому

    Thank you! Very helpful!

  • @chadcastle7953
    @chadcastle7953 Рік тому

    You should do a video on soft limits I’m having some minor difficulties I understand the concept it’s just not working and I did change in the settings where it allows me to change the settings

  • @dohjryt
    @dohjryt 2 роки тому

    Very useful. Pregnant question: for all these GCode coordinate settings, where is the center of the machining tool with respect to the table positioning? Is the center of the tool bit at the assigned coordinate, OR is the edge of the tool in bit at the assigned coordinate?

  • @gatzetech3079
    @gatzetech3079 2 роки тому

    Are the machine coordinates alway's negative ? What if you have youre endswitches so that it homes in the left down corner ? Question because I did a little test with a board with Grbl and could not move the machine coordinates in positive values....

  • @KyleMatt11
    @KyleMatt11 4 роки тому

    Thanks. Very helpful

  • @AG-cg7lk
    @AG-cg7lk Рік тому

    To reduce collision risk, could you not set up your sender to always move Z first, then X and Y together when executing a homing cycle, G28 or G30?

  • @sherlockman
    @sherlockman 2 роки тому +1

    just recently bought a mega v and this is very useful. what's the best g code reference guide you would recommend?

    • @MillRightCNC
      @MillRightCNC  2 роки тому +1

      The GRBL wiki has a reference. There is also one at millrightcnc.info

  • @kennethcanty8769
    @kennethcanty8769 5 років тому

    Thanks for the info......big help

  • @albertmoquin1212
    @albertmoquin1212 5 років тому +1

    Hi everyone I am new to CNC but my question is that every time I load a G Code in UGS it is way off from my tolerable work area and gives me errors when I try to cut, how do you set it to load your projects into the working area, I have not found away to do that yet

    • @MillRightCNC
      @MillRightCNC  5 років тому

      You likely have something incorrect in your CAM setup where your origin is far from the area that is to be cut.

  • @user-ui4yx2kq1d
    @user-ui4yx2kq1d 6 місяців тому

    ❤does this mean it works on all cnc machines? Thanks 😊

  • @Olivsam
    @Olivsam 4 роки тому

    So is the G28.1 something that has to be done each time the machine is turned off on or will it remember the last setting?

  • @vrva3138
    @vrva3138 4 роки тому

    Is there a way to prevent endmill scratching the surface of stock from zero position to work lead in position? I was trying to use maximum stock. but after you set zero the machine moves to the lead in position in the same z level until it reaches work lead in. It does not scratch work but the stock

  • @scienceandtechnologyst8134
    @scienceandtechnologyst8134 Рік тому

    I am using grbl guru for running gcode but it behaviour is wierd
    I am running grblmega5x edge
    My z axis motor is fitted inverter from ur z axis
    So i am using $2=3 $3=3 and $23=7 then my homing works good as I wanted in right hand corner if machine is in front of me
    But when I starting probing and starting gcode running z gose in wrong direction

  • @timberridgecustoms6349
    @timberridgecustoms6349 2 роки тому

    How do you set your home positions to be 4mm backed off from the
    switches?

  • @markhall3323
    @markhall3323 5 років тому

    Really useful thank you

  • @bdlooney1037
    @bdlooney1037 Рік тому

    I have to ask because I'm curious, what vice do you have there, I'm looking to get a low profile one for my carve king 2

    • @MillRightCNC
      @MillRightCNC  Рік тому

      That's just a low profile drill press vise available at many big box hardware stores.

    • @bdlooney1037
      @bdlooney1037 Рік тому

      @@MillRightCNC Thankyou!

  • @1100yrs
    @1100yrs 5 років тому

    So, the G28 commands, the G30 commands and the g92 commands all reference from machine coordinates (whether homed or not). Did I say that right? But as for G54-G55-G56 etc... do they also use machine coordinate reference or just work coordinate reference? Am I thinking right here?

    • @TheWireEDM
      @TheWireEDM 4 роки тому

      A little late reply to your question, but just in case someone else needs it also :)
      G92 you can think of as a disposable offset command, as it will not save the machines position information to EEPROM, so if you zero out your workpiece using G92 and power cuts out for any reason, you have now lost your position without any possibility to get to the same location. Proper use of G92 would be inside a program to make multiples of the same part, but not use it as a zero point (origin) reference setting.
      G54-G59 store offsets from the Machine Coordinate System and these are saved to the controllers EEPROM when you issue a G10 command. For example, G10 L20 P1 X1 Y2 Z3 command to set G54 (P1) so that your current location becomes X1 Y2 Z3. With this specific command you are telling the machine to calculate the offsets from the Machine Coordinate System (homing switch locations) such that your G54 Work Coordinate System at this very point you are in right now shows as X1 Y2 Z3. The same applies to all the G55-G59 Work Coordinate Systems.
      In the instance that you use G10 L20 command to set your Work Coordinate System, you are referencing your workpiece from the Machine Coordinate System (homing limit switches) and in the event of power outage your machine still knows where that workpiece is. So on power up, you do homing cycle, the Machine Coordinate System is basically set to zero and then the controller looks up from the EEPROM the saved G54 offset (for example) and adds those offsets to the Machine Coordinate Systems values to give you your Work Coordinate System, which is still happily in the same place you set it to with the G10 L20 command when setting up your work.
      G28 and G30 are two same commands, just with different XYZ points, basically Location # 1 and Location #2. If you issue a G28.1 or G30.1 command, the controller saves your current locations Machine Coordinate System values to EEPROM. If you then issue a G28 or G30, it will move all the axes to that saved location value. You can also give the G28 or G30 and intermediate point, like G28 Z2, which would first move Z to 2 in your Work Coordinate System and only then move that axis to the saved value in Machine Coordinate System.
      The difference in using G10 L20 P1 X0 Y0 Z0 versus G92 X0 Y0 Z0 is just 5 characters, but it will save your ass if the power goes out or anything else that aborts the machining, like a little crash and lost steps.
      TL;DR: Do not use G92 to set your Work Coordinate System, use G10 L20 P1 for better result if your machine has homing limits.

  • @shwetapatil1299
    @shwetapatil1299 6 років тому

    In my case,while homing only z axis is move to end stop. X and Y axis are not moving.Although there end stops are active.only $22=1 is setting?any other thing to set up?

    • @MillRightCNC
      @MillRightCNC  6 років тому

      Are you using one of our machines or some other machine? Other manufacturers may have things configured differently. It is standard for Z to move first then X and Y to move once Z successfully finishes.

  • @jaqubi
    @jaqubi 6 років тому

    Nice video. But I'm wonder how did you set up those 4mm offset used in home cycle? Was that by using 28.1 - I do not think so. Seems like it is some config setting in GRBL.

    • @MillRightCNC
      @MillRightCNC  6 років тому

      Jakub Biwel it’s a setting in Grbl

    • @mickmann6779
      @mickmann6779 2 роки тому

      @@MillRightCNC So what is the setting??

    • @mickmann6779
      @mickmann6779 2 роки тому

      $27, answer to my own question

  • @manishchauhan5586
    @manishchauhan5586 Рік тому

    Homing is not working when I put limit switches

  • @akinonawole
    @akinonawole 6 років тому

    hello can you please help me on how to setup homing circle and the setting for my CNC router am using grbl firmware

  • @cncrim1
    @cncrim1 4 роки тому

    Too bad for me i my GRBL keep freeze after 30mins or so and it special stuck of got small movement with arc move.

  • @curtisgrissom4183
    @curtisgrissom4183 4 роки тому

    Where can I get a vice like that or what brand is it

  • @vishakhasrivastava7951
    @vishakhasrivastava7951 5 років тому +1

    HOW TO BACK OFF THE AXIS FROM LIMIT SWITCH WHEN IT IS PRESSED

    • @codygoss7294
      @codygoss7294 5 років тому

      You just need to hit the unlock button on the G-code sender. Then you can move it.

  • @mariosanchez-fo5cu
    @mariosanchez-fo5cu 6 років тому

    the measurements would be in inches?
    because I would be interested in a machine with more work area

  • @00011theman
    @00011theman 7 років тому

    Are you going to do a assembly video for the Carve King?

  • @mariosanchez-fo5cu
    @mariosanchez-fo5cu 6 років тому +1

    what area of work have the machine cnc?

    • @MillRightCNC
      @MillRightCNC  6 років тому

      This machine is a 17x17x4. The M3 is another model we have with a 10.25x10.25x2 work area. We are also working on a 25x25x5.5 which will likely be followed by a 49x49x5.5. Those two are being developed currently.

  • @manishchauhan5586
    @manishchauhan5586 Рік тому

    How setup machine manager in grblgru

  • @TheAusherGuy
    @TheAusherGuy 4 роки тому

    Is this ugs? What version?

  • @jest2927
    @jest2927 5 років тому

    como se va a entender el ingles si dice negra en vez de negative

  • @tombudd1281
    @tombudd1281 3 роки тому

    Great video but there's a lot of popping and it's super hard on the ears.

  • @timvanmonero2720
    @timvanmonero2720 6 років тому

    i don't understand it :/