I’m just getting started in my Laser Journey (hello everyone!) and I got an Ikier K1 Pro Max 24/48W with an extension kit (from Ikier) bringing its working area to 410x750mm.
As any beginner would, I started by “playing around” with the move commands, and immediately ran into some weird behaviours… Here’s a short description of what I’m doing:
Home the laser (LB > Home) → Laser comes to the lower left corner, as expected
Send the laser to position 0;750 (upper left corner), then 410;750, then 410;0, then back to 0;0 → works fine.
Send it to position 205;750 → Works fine
Home the laser again → the laser comes to X=0 (as far as I can see), but stops at about Y=150 (roughly measured between gantry and limit switch. Console states the following: Homing fail. Could not find limit switch within search distance. Defined as 1.5 * max_travel on search and 5 * pulloff on locate phases.
Send it back to 205;750 → Laser hits the Y limit switch.
Home the laser → Same behaviour as 4
Home it yet again → Back home
It looks like - at some point - the laser loses its position, but I don’t understand why, and even more why it is consistent. If I repeat this process, the exact same thing happens…
Does anyone have an explanation?
Thanks in advance for your help!
Stan
Messages from console when limit switch is hit:
ALARM:9
Homing fail. Could not find limit switch within search distance. Defined as 1.5 * max_travel on search and 5 * pulloff on locate phases.
ok
Grbl 1.1h ['$' for help]
[MSG:'$H'|'$X' to unlock]
[MSG:Caution: Unlocked]
ok
Starting stream
ALARM:1
Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended.
On or near line 0:
Stream completed in 0:06
[MSG:Pgm End]
ok
Grbl 1.1h ['$' for help]
[MSG:'$H'|'$X' to unlock]
ok
ALARM:1
Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended.
Grbl 1.1h ['$' for help]
[MSG:'$H'|'$X' to unlock]
ALARM:1
Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended.
Grbl 1.1h ['$' for help]
[MSG:'$H'|'$X' to unlock]
ok
Your laser does not lose its position at any time. You just configured it incorrectly. As Gil already mentioned, in your firmware, the workspace size is set to 410x410 mm. This is what your laser expects as maximum travel. But since you told him not to care about these limits ($20=0), it just moves further (to 750 in Y).
So you moved the head far beyond its known workspace. When you now tell the laser to home, it searches for the limit switches, but only moves 615 mm in each direction (1.5*max_travel, 615 mm in your case). Since it could not find any switch, it raised an alarm. At this moment, the position is undefined, not usable for the laser. Position is now unknown / unsafe.
So: set
$130 (x maximum travel) to your actual x-travel distance (better measure than trust any manual)
$131 (y maximum travel) to your actual y-travel distance
and
$20 (soft limits) to 1
@misken and @gilaraujo : Thank you for these very enlightening inputs… the machine (out of factory) indeed has a 410x410mm dimension, so it totally makes sense.
Any hints on how/where to set the correct values ($130, $131 and $20)?
I’ll try this anyway, but here in Belgium, the day is ending, and Friday is apero and drinks day, so I’ll make sure to stay away from the laser until tomorrow morning
Problem seems indeed solved by inputting $131=750 and $20=1
Thanks again for your help. @misken : I also discovered your wiki, read a lot and offered you a coffee (even if, IMHO, a Paulaner would be a better choice…). Who knows, maybe I’ll end up with a Lightburn license… would be great since I’m still on the trial version