Thank you for the grbl-LPC work @cprezzi It is running well on my smoothieboard/CoreXY 1260x650mm 60W laser.
I do have two questions:
First, is it possible to have a door/Estop “kill button” similar to this? http://smoothieware.org/killbutton currently my code continues to run when an Etsop is pressed or door is opened( I do kill my 24V input and laser PSU though). It would be nice to entire a reset state though so the code is killed.
Grbl supports hardware switches for Reset, Feed Hold, Cycle Start and Safety Door, but in grbl-LPC they are not mapped to a port yet.
Which port would you like to use for that? Port 2.12, as in the smoothieware description?
Thanks for getting back to me @cprezzi , I would really appreciate you preparing the configuration files. I suppose keeping the pins to what smoothie uses would be easiest for others to follow.
I believe second pin for “laser module ttl pin” is now 1.30, I linked an old config up top. Are you able to allow for this pin to be inverted if needed?
As for the inversion of the laser enable. I’m not sure if that works in grbl but an easy solution would be to use one of the mosfet outputs (switched pulldown) instead of a digital pin.
I have the spindle enable working partially. I had to move the pin to Port 2 for some reason, the port 1 pins did not set as outputs… I am using P2.4.
On pause the enable pin goes low, on resume it stays low. I am not sure what command the LightBurn software is sending on resume. I am waiting to here back. So I can’t say for certain where the issue is.
The safety door is not working, in cpu_map.h it says not to use Port1 for control if other inputs (limit switches) are used on the same port. I tried to edit the cpu_map.h to move the pins to Port2 but I get a compile error.