We use cookies to personalize content, interact with our analytics companies, advertising networks and cooperatives, and demographic companies, provide social media features, and to analyze our traffic. Our social media, advertising and analytics partners may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services. Learn more.
Well I finally smashed my z-axis “limit” switch. I accidentally went too high on the Z and poofy-poof, no more switch. Its fine. It didn’t do anything but occupy that spot in the bracket. No idea what it was intended for but it sure as heck never “limited” anything. I imagined that it would signal the controller to “HEY BUD! THAT’S HIGH ENOUGH, STOP ALREADY!!!” but it did nothing and now it lays in about 10 pieces on my floor.
Sure would be nice if this was a true-to-life switch. I hate slamming my Z-Access just because I had my fingers on the wrong buttons (AKA Universal G-Code Sender).
Any suggestions on how to actually get a limit switch to, well, limit something??
I’m confused, how are people braking these switches? All of my switches have a screw pertruding out to prevent them from braking. Is this only a xcarve 2 thing?
Unfortunately these were never meant to be a limit switch. They are intended for homing only. However if you set your soft limits and home your machine then you’ll have no issues.
When you home your machine and use soft limits grbl will check all G-code commands to see if the requested move will cause the machine to move out of bounds.
The home position is one corner of the protected cube and the values in $130, $131, and $132 define the limits to which grbl will restrict movement.
If your G-code attempts to move outside that cube, grbl will alarm and halt. This prevents (on the old system) homing switch breakage and also prevents slamming against the rails.
Everyone that homes their machine should turn soft limits on ($20=1).
Did I mention that everyone that homes their machine should turn soft limits on.
If you get homing working properly then turn on soft limits, grbl will stop your machine from honoring “Z-to-the-moon” moves.
You can install additional switches and use hard limits, but then you are stopping a machine that is already going berserk and they are sensitive to false triggering.
I have been homing my machine for almost a year and a half with no errors. Once you get it working, barring a hardware failure, it just works.