Grbl Z Axis Homing Switch Fix
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
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.
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!
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 :)
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
Many thanks Squire; 2 hours this afternoon trying to sort this on my first CNC build. I can go home for m' dinner now!👍😊
Thanks! You're the only one who explained how to fix it!
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
Whelp, it took me 8 hours to find this video, but at least I found it. Thank you so much!
Thanks a lot! Easy solution but worked perfectly for me. 👍👍👍
You save me hours searching
This really messed me up too! Thanks for sharing!
Awesome, just what I needed to know! Thanks man...
To all that this has helped, it's my pleasure!
thank you so much i was without limits and homing 6 months now :)
Thank you for speaking alone, you spoke to my machine. Thank you from Nice in France, take care of yourself.
Glad it helped!
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.
Thank you so much, you saved me a day!
oh wow what intro really got me!
You are a genius..!! Saved my day..
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
Superb video!
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
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
Thanks for the video. I am still looking how to connect the homing limit switches .....hope someday I find something.
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....
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?
wow you saved my day !
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
Thanks Buddy ❤
Be proud
You deserve it
Thank you very much
Good job.
can you please provide the schematic of endstop connections.
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
Sure, it's a NEMA 17.
Big Man, Black T-shirt still remember what's its holding torque? I believe nema 17 step motors have variety according to torque thanks
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.
well your video helped me get all my other axis limits working but z still dont work
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
Supper big man
¡Gracias!
Hi, nice video congrats, do you know what program may I use to edit config.h, I use win 7, best regards
notepad++
thanks
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 ?
im having the same problem too
how to move axis when limit is triggered? away from the limit switch
If you hit a hard limit, you have to soft reset then unlock to be able to jog axis again.
how to open config.h file
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)
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.
Can you post your Arduino's Grbl settings here so I can see them? $$ does it
$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
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.
Also, can you confirm which version of Grbl you have loaded onto the Arduino?
@@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.
You've made me so happy I could kiss ya, thank you for this.
It's called Garble in real life.
how to open config.h file