Laser Mode, Endstop Limit and Homing
-
Please can you identify which changes are causing it to fail. Is it when you change the S1 and S2 parameters in the G1 commands in the homing files to H1 and H2? Or is it when you add the M452 command to switch to laser mode?
-
Ok,
I've just checked :Change homing files with H1 and H2 paramaters WITHOUT M452 Laser mode :
Everything is OK (as before ).Add the two lines to activate my laser head in config.g :
; LASER Settings JEFF M307 H6 A-1 C-1 D-1 ; Disable Heater output on Heater 6 M452 P6 R255 F200 ; Enable Laser mode, on output 6 (heater 6), with max intensity being 255, and a PWM frequency of 200
And then impossible to move after homing : ERROR : G0/G1 : outside machine limits
Tell me if you have an idea
-
It's a bug. In laser and CNC mode, any attempt to move outside limits is reported as an error unless limit checking has been disabled. But this should not apply to G1 H1 and G1 H2 moves. I will fix it in 2.03beta3. Meanwhile, I think you can work around the issue if you use M564 S0 at the start of your homing files to disable limit checking, and M564 S1 at the end to re-enable it.
-
Ok it's a bug but the workaround you explain is usefull only for the homing procedure. In this case, indeed I can homing safely with the M564 S0 / S1 statement.
But after homing, I still have the error ERROR : G0/G1 : outside machine limits if I want to move with the jog interface in DWC. To do so, indeed I have to send the GCODE M564 S0 ; But you're agree with me that's not safe
It's like the machine boundaries set up with these lines :; Axis Limits M208 X0 Y0 Z0 S1 ; Set axis minima M208 X857 Y1150 Z70 S0 ; Set axis maxima
are not "compiled" / "understood" in the laser mode ?!?
-
After homing, what are the XYZ coordinates displayed in DWC or on PanelDue?
-
I am using DWC and it displays X : 0, Y : 0, Z : 78,25
I have a probe offset for the Z (I'va got to check) -
Please post your updated config.g and homing files, and I'll try to reproduced this tomorrow.
-
-
@jeffouille said in Laser Mode, Endstop Limit and Homing:
I am using DWC and it displays X : 0, Y : 0, Z : 78,25
I have a probe offset for the Z (I'va got to check)Your Z position after homing is beyond the configured max of 70
M208 X857 Y1150 Z70 S0 ; Set axis maxima
this at least explains the message.
I have a probe offset for the Z (I'va got to check)
This might be the reason why it is (thinking?) it is above Z max.
-
@wilriker said in Laser Mode, Endstop Limit and Homing:
Your Z position after homing is beyond the configured max of 70
That was it !!
Thank you.Now without the tool offset. Everything is ok.
I can move freely after homing