I have been working off and on trying to convert my JCUT laser cutter to use a MKS SBASE controller board with grbl-lpc installed.
I had previously asked a question about configuring some outputs in open drain in this thread:
I configured it like it shows in that thread and that seemed to work I think.
My initial plan was to use an MKS-TFT display to load and run files on the laser cutter. So I configured grbl-lpc to disable the USB port because my display wouldn’t connect to the MKS SBASE if USB was enabled. From the MKS-TFT display I can enable the laser power supply by clicking the “open laser” button or by clicking on a custom button that sends an “M3” command.
However, because the MKS-TFT software is really limited, I have decided to control the laser cutter over USB from Lightburn (running on a linux box). So I re-enabled the USB in the grbl-lpc serial.c config file and recompiled. With that firmware I can control the movement of the laser from Lightburn or by sending serial commands from a terminal, but I can’t get it to enable the laser by sending the “M3” command from lightburn or a terminal. When I issue an M3 command the MKS-SBASE responds with “ok”, but the enabled light on my LPS doesn’t light up like it does on when I issue the same command from the MKS-TFT display when I have the USB disabled firmware installed.
Does anybody have any idea why that would be? I’m controlling the Spindle Enable signal with the P1.30 pin that doesn’t seem like it has anything to do with usb or serial communication according the the schematic I’m looking at?