Hello,
I have a question: would it be possible to integrate a laser cover with a limit switch into software, for example to turn off the laser with Gcode M5 when open the cover? Has anyone tried this before? The whole thing is supposed to be operated with the 40W Creality Falcon 2 laser.
That’s possible in theory, but in most cases, you would need to change the firmware. I don’t know the Falcon 2 mainboard and the firmware used.
The easiest thing would be to enable hard limits and wire the cover switch in parallel to the x or y limit switch. The laser will stop once the hard limit is triggered.
I created this once for older firmwares, where you could configure all inputs. But maybe the mainboard has a lid switch port as well.
@misken will have to expand on this, but if you wire it to a limit switch won’t the machine will go into a out of work area error which won’t allow you to continue the job.