Grbl Z Axis Homing Switch Fix

Sdílet
Vložit
  • čas přidán 16. 06. 2017
  • Grbl v1.1 changed the Z axis homing switch connection to a different pin, and it make a lot of Z switches inoperable. I show you how to fix it!
    (It's actually not a bug, it was a intentional switch made in the Grbl software to add variable spindle speed functionality to v1.1. But dummies like me didn't bother to read the change notes and had to learn the hard way how the changes would affect them.)
  • Věda a technologie

Komentáře • 74

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

    Thanks! I forgot to read as well and crashed into my endswitch quite hard on the first try. 4 years after this video, it is still the best explanation of the solution.

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

    Excellent info. Saved me ages hunting about wondering why the z axis switch was not being recognised. Now I only have to figure out why "return to zero" causes the z to think it's home position is somewhere near Alpha Centauri, and I will have a working machine!

  • @AlejandroMoraCR
    @AlejandroMoraCR Před 3 lety

    I came for the same problem shown at the beginning. But for me, the troubleshooting steps detailed towards the end of the video, allowed me to figure out the X and Z limit switch labels, in the grbl controller board, were inverted! This video helped a lot :)

  • @toomahhaddad2786
    @toomahhaddad2786 Před 3 lety

    Hello
    I found myself writing to you and thanking you for the explanation you gave here.
    You're the only one among a lot of movies I've watched.
    Who solved for me the same problem you explained in the video.
    thanks again

  • @hamiltonpianos
    @hamiltonpianos Před 4 lety

    Many thanks Squire; 2 hours this afternoon trying to sort this on my first CNC build. I can go home for m' dinner now!👍😊

  • @HKKyoya
    @HKKyoya Před 4 lety

    Thanks! You're the only one who explained how to fix it!

  • @joseblankley826
    @joseblankley826 Před 3 měsíci

    Thankyou very much for this video. I had the same problem and would never have found the answer without your help. Mine was on line 519 but did the same job.
    Thanks again

  • @jawwinker
    @jawwinker Před 2 lety

    Whelp, it took me 8 hours to find this video, but at least I found it. Thank you so much!

  • @CheckOne1
    @CheckOne1 Před 3 lety

    Thanks a lot! Easy solution but worked perfectly for me. 👍👍👍
    You save me hours searching

  • @TimothyJohnAguilar
    @TimothyJohnAguilar Před 6 lety

    This really messed me up too! Thanks for sharing!

  • @chrisnothnagel4910
    @chrisnothnagel4910 Před 4 lety

    Awesome, just what I needed to know! Thanks man...

  • @bigmanblackt-shirt8506
    @bigmanblackt-shirt8506  Před 4 lety +2

    To all that this has helped, it's my pleasure!

  • @przemysawbrodzik169
    @przemysawbrodzik169 Před 2 lety

    thank you so much i was without limits and homing 6 months now :)

  • @pascalvincenti1362
    @pascalvincenti1362 Před 4 lety

    Thank you for speaking alone, you spoke to my machine. Thank you from Nice in France, take care of yourself.

  • @christopherbousquet-jette4301

    Pn Z not work when i do the process in the video, i have gbrl 1.1. After read and debugging, Pn Z can be activate without change of code by connecting the Z limit switch to SpnEn on the CNC Sheild. Then after that homing is working.

  • @vincentmistler1357
    @vincentmistler1357 Před 5 měsíci

    Thank you so much, you saved me a day!

  • @voxar3206
    @voxar3206 Před 2 lety

    oh wow what intro really got me!

  • @NadunWijetilleke
    @NadunWijetilleke Před 2 lety

    You are a genius..!! Saved my day..

  • @damilaremoses4087
    @damilaremoses4087 Před 6 lety

    pls i have a cnc t8 machine that always skip its original position when engraving it moves up all the time am using grbl arduino switch

  • @MillRightCNC
    @MillRightCNC Před 7 lety

    Superb video!

  • @blairg420
    @blairg420 Před rokem

    Thank you! I had to make the config_h change to get my Unimat lathe z limit working.. Uno GRBL 1.1h, now ..I would like to turn the spindle on/off where do I wire too? SpinEn? I have a 2 relay module I can use. Do I need to change config_h again? Thanks

  • @antonio.stefanelli
    @antonio.stefanelli Před 2 lety

    Hi Sir, thanks a lot for this video, I've also read there is the possibility to modify the cncshield at hardware level, do you know how? I've not found any in internet. Thanks

  • @AliIsmaeltyphoon
    @AliIsmaeltyphoon Před 4 lety

    Thanks for the video. I am still looking how to connect the homing limit switches .....hope someday I find something.

  • @tushargajbhiye6487
    @tushargajbhiye6487 Před 6 lety

    Hello sir
    I am using nema23 with tb6600 drive with 24 volt 10 amp, but with 32 micro stepping my motor rpm is very low around 30 or i change it into 1 then its rpm is around 150 with vibration
    I am trying to increase rpm of my stepper motor with smooth running
    Please help me....

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

    Great video tutorial sir, It has helped me solved my Z-limit problem. Thanks a lot.
    I have still have one problem: My spindle would stop, my machine would freeze and I'd get a hard/soft limits error whenever I send the gcode to my machine. But when I disconnect the power adaptor for the spindle motor and send the gcode to the machine, it all works well minus the spindle rotating.
    I can perform Homing if the spindle motor is unpowered. But there are times that spindle would work with power for a few seconds and then I'd get a hard/soft limits and the machine would freeze to death. Hayyzz.. Any idea sir?

  • @sky89online
    @sky89online Před 4 lety

    wow you saved my day !

  • @malcolmxavier6018
    @malcolmxavier6018 Před 4 lety

    Hello, i have this same issue but I did not switch over to Arduino. i test the switches to see if they respond and they do when i select homing mode z axis starts and then grinds to the top please help if you may

  • @frankdimuthu8102
    @frankdimuthu8102 Před rokem

    Thanks Buddy ❤

  • @toomahhaddad2786
    @toomahhaddad2786 Před 3 lety

    Be proud
    You deserve it

  • @markgreco1962
    @markgreco1962 Před 6 lety

    Thank you very much

  • @jeffbeck6501
    @jeffbeck6501 Před 5 lety

    Good job.

  • @9700784176
    @9700784176 Před 4 lety

    can you please provide the schematic of endstop connections.

  • @_domgutz
    @_domgutz Před 6 lety

    Hi sir, may I know what stepper motor did you use for the belt driven z axis? mine wasn't strong enough to carry my spindle. Can you please provide me specs of the stepper motor? Thanks a lot

    • @bigmanblackt-shirt8506
      @bigmanblackt-shirt8506  Před 6 lety

      Sure, it's a NEMA 17.

    • @_domgutz
      @_domgutz Před 6 lety

      Big Man, Black T-shirt still remember what's its holding torque? I believe nema 17 step motors have variety according to torque thanks

    • @bigmanblackt-shirt8506
      @bigmanblackt-shirt8506  Před 6 lety +1

      I don't know, but I'm sure that info is available online somewhere. The NEMA 17s came with my machine and I installed them, I didn't check their specs or anything, sorry.

  • @jrdevelopment2020
    @jrdevelopment2020 Před 4 lety

    well your video helped me get all my other axis limits working but z still dont work

  • @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

  • @creativethings260
    @creativethings260 Před 5 lety

    Supper big man

  • @alejandroortega1177
    @alejandroortega1177 Před 3 lety

    ¡Gracias!

  • @1RAYJUAREZ
    @1RAYJUAREZ Před 6 lety

    Hi, nice video congrats, do you know what program may I use to edit config.h, I use win 7, best regards

  • @jeff5101
    @jeff5101 Před 3 lety

    thanks

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

    When I connected my limit switches to the grbl v3 shield. Its not responding. My limit switches have no capacitors connected to them.
    Please show us the wiring for the limit switches.. do we need any extra resisters/capacitors ?

  • @vishakhasrivastava7951

    how to move axis when limit is triggered? away from the limit switch

    • @FirstTry379
      @FirstTry379 Před 5 lety

      If you hit a hard limit, you have to soft reset then unlock to be able to jog axis again.

  • @creativethings260
    @creativethings260 Před 5 lety

    how to open config.h file

  • @agiosagioritis7058
    @agiosagioritis7058 Před 4 lety

    hallo i did it and now says that. (An unexpected error was detected: (ALARM:1) Hard limit has been triggered. Machine position is likely lost due to sudden halt. Re-homing is highly recommended)

  • @FirstTry379
    @FirstTry379 Před 5 lety

    I have tried this four times. So far it has not changed anything. Do I need to rename or erase some other file? I confirmed that the changes have not taken place by triggering Z axis hard limit on pin 11 of the Arduino. I'm sure I am missing something.

    • @bigmanblackt-shirt8506
      @bigmanblackt-shirt8506  Před 5 lety

      Can you post your Arduino's Grbl settings here so I can see them? $$ does it

    • @FirstTry379
      @FirstTry379 Před 5 lety

      $0 = 5 (Step pulse time, microseconds)
      $1 = 25 (Step idle delay, milliseconds)
      $2 = 2 (Step pulse invert, mask)
      $3 = 5 (Step direction invert, mask)
      $4 = 0 (Invert step enable pin, boolean)
      $5 = 0 (Invert limit pins, boolean)
      $6 = 0 (Invert probe pin, boolean)
      $10 = 1 (Status report options, mask)
      $11 = 0.010 (Junction deviation, millimeters)
      $12 = 0.000 (Arc tolerance, millimeters)
      $13 = 1 (Report in inches, boolean)
      $20 = 0 (Soft limits enable, boolean)
      $21 = 1 (Hard limits enable, boolean)
      $22 = 1 (Homing cycle enable, boolean)
      $23 = 0 (Homing direction invert, mask)
      $24 = 25.000 (Homing locate feed rate, mm/min)
      $25 = 200.000 (Homing search seek rate, mm/min)
      $26 = 250 (Homing switch debounce delay, milliseconds)
      $27 = 1.000 (Homing switch pull-off distance, millimeters)
      $30 = 10000 (Maximum spindle speed, RPM)
      $31 = 0 (Minimum spindle speed, RPM)
      $32 = 0 (Laser-mode enable, boolean)
      $100 = 400.000 (X-axis travel resolution, step/mm)
      $101 = 400.000 (Y-axis travel resolution, step/mm)
      $102 = 400.000 (Z-axis travel resolution, step/mm)
      $110 = 750.000 (X-axis maximum rate, mm/min)
      $111 = 750.000 (Y-axis maximum rate, mm/min)
      $112 = 750.000 (Z-axis maximum rate, mm/min)
      $120 = 35.000 (X-axis acceleration, mm/sec^2)
      $121 = 35.000 (Y-axis acceleration, mm/sec^2)
      $122 = 35.000 (Z-axis acceleration, mm/sec^2)
      $130 = 300.000 (X-axis maximum travel, millimeters)
      $131 = 300.000 (Y-axis maximum travel, millimeters)
      $132 = 300.000 (Z-axis maximum travel, millimeters)
      ok

    • @bigmanblackt-shirt8506
      @bigmanblackt-shirt8506  Před 5 lety

      So you commented out Line 339 on the file config.h to DISable the variable spindle, which should put Arduino Pin D11 back to being for the Z limit switch, correct?
      When you do that, and then run UGS and enable Verbose Mode, you should be able to trigger your Z limit switch and see it register in the UGS’s Console window.

    • @bigmanblackt-shirt8506
      @bigmanblackt-shirt8506  Před 5 lety

      Also, can you confirm which version of Grbl you have loaded onto the Arduino?

    • @FirstTry379
      @FirstTry379 Před 5 lety

      @@bigmanblackt-shirt8506 yes I did comment out the variable spindle as you did and then saved the file. I then recompiled to and sent to Arduino.

  • @aarons3166
    @aarons3166 Před 5 lety

    You've made me so happy I could kiss ya, thank you for this.

  • @jeffbeck6501
    @jeffbeck6501 Před 5 lety

    It's called Garble in real life.

  • @agiosagioritis7058
    @agiosagioritis7058 Před 4 lety

    how to open config.h file