I have tried a number of thing to resolve my homing issue, and now I have made it worse. It started out, I discovered it would not home unless homing was set to true, which I did. I wired up limit switches to X and Y. then I discovered I needed a Z limit and motor, so I rigged that up. The system would “Home”, but it was always going to the bottom right. From there, if I tried to run a job, it would hit the bottom limit switch first thing and kill the job with alarm error 1. I tried a few things and now It wont home. the z axis has to be right near the stop, and the XY will move a couple of bumps, then stop. I can manually position the laser, run the job, and it lases the patterns I send it. I tried watching the video on origin etc, but that assumes I have a machine that homes.
There are homing direction settings in GRBL as well, so it sounds like you need to set the homing direction invert mask ($23) different than what you have.
$23=0 is the default
$23=1 will invert the X homing direction, which sounds like what you need (and you’d have to put the limit switch on the other side too)
The mask is a sum of bits for the directions to invert
1 = x
2 = y
4 = z
So if you wanted to invert both x and y it would be 3 (1 +2). If you wanted to invert y & z it would be 6 (2+4).
Thanks for the reply. I’m unable to get it to home in any direction now. Still jogs, limit switches still work, i can get it to engrave, just will not move when I try to home now.
I was suggesting that if you have that enabled you should turn it off, because it might be that the device is trying to home already when you are entering your commands.
I will try that. Is there a way to set lightburn back to defaults? I tried uninstall but it seems to have remembered everything. Or, is there a g-code sender you can recommend I test my hardware with? Right now, jogging isn’t working right either.
If you do not have a moving Z axis . Grbl is busy because it is waiting for the z to home. Rather than add a z switch disable it in the config.h and reflash your board
Your machine appears to be using negative workspace coordinates, which is normal for some reason on CNC setups, but not with laser setups. You can either use a workspace offset to shift the origin so the workspace is positive, or there’s a flag in GRBL (when compiling it) to make it not apply negative workspace.
I’d be happy to change whatever GRBL make my machine works the simplest. It’s a new setup. I dont have to maintain any compatibility with legacy software.
I’m used to putting the work to the top left corner and it works. If there is a way I can make this happen. I cant seem to figure out what I’m doing wrong. Like I say, it’s a new install, Grbl on a arduino clone board with CNC outputs for limits, motors, etc. I’m happy to change anything to make it work the way My K40 does.