Enable laser without moving
-
I have an Ooznest Workbee with an Opt Lasers LED laser. In RepRapFirmware 2, I could turn on the laser with the M3 command. In RepRapFirmware 3, the laser can apparently only be enabled in conjunction with a G1 command. Is this correct?
I can somewhat understand this from a security perspective, but I still feel that I should have the option to enable the laser while the router is not moving if I want to. My use case is to align the zero position (or some other alignment) by enabling the laser at lower power and adjusting. This is now not possible, or is it?
Edit: Related topics:
- https://forum.duet3d.com/topic/19842/weird-laser-mode
- https://forum.duet3d.com/topic/22195/m3-control-for-laser-focus
So it can't (easily) be enabled. It would really be great if we could get M3/M5 back. If the commands have been removed for security reasons, then I think it's overprotective. I can light a fire with G1 as well.
-
I believe this problem has already been addressed in some post.
Create two macros, one for switching laser on and another for switching offTurn laser On
M950 P0 C"!exp.heater3" Q500 ; allocate GPIO port 0 to heater3 on expansion connector, 500Hz M42 P0 S0.1 ; set 10% PWM duty on GPIO port 0
Turn laser Off
M950 P0 C"!exp.heater3" Q500 ; allocate GPIO port 0 to heater3 on expansion connector, 500Hz M42 P0 S0 ; set 0% PWM duty on GPIO port 0
-
@chimaeragh you could even put macros called M3.g / M5.g into /sys ... add a parameter to M3 and you can control the PWM when calling M3.That said I see no reference to M3/M5 being disabled in RRF. Did you enable laser mode? -
@oliof said in Enable laser without moving:
@chimaeragh you could even put macros called M3.g / M5.g into /sys ... add a parameter to M3 and you can control the PWM when calling M3.That said I see no reference to M3/M5 being disabled in RRF. Did you enable laser mode?https://docs.duet3d.com/User_manual/Reference/Gcodes#m452-select-laser-device-mode:
"M3 and M5 no longer turn the laser on and off; use G1 Snn moves to control laser power." -
This post is deleted! -