After I use my J-Tech laser with Lightburn I switch back to CM and get this message immediately after connecting to my Shapeoko 3: GRBL error: unsupported or invalid g-code command found in block
Is there a sequence I need to follow in order to switch between the two? Need help…
I followed the instructions from J-Tech to the Tee. The only changes were size of working area. I changed to 812mmx812mm and adding 1 to line 32. I used macros to go between laser settings and Router settings.
The error message is coming up before I load the G-code. When I turn on the Shapeoko and open Carbide Motion the error pops up before I home the machine. I’ve tried everything shy of reloading the GRBL and starting over.
Ok, then it’s something in the macro you use to go to router settings. Attach it here and we might be able to help. It may be there is a newline missing from the end or something, and when carbide motion starts it sends some commands and one might not make sense because it’s getting stuck onto the end of the macro.
I suspect there’s a carriage return/newline missing when the router one is sent. After you send it, can you send a couple carriage returns to grbl? Not clear what software you’re using (not carbide motion, it doesn’t do macros…)
I tried sending a couple of carriage return after sending the macro. No change. I’m considering just reflashing the GRBL for the Shapeoko 3. I’ll worry about the laser later. I really need my CNC back. Thoughts?
Doesn’t matter…the settings are stored on the controller. Whatever is easiest. In CM, go to the MDI and send $$ (I think…I haven’t used CM in years)
Did you change $32 back to 0?
I see the error after I connect to cutter. I just tried again and I can’t jog anymore…How do I go back? Can I reinstall the GRBL and go back to defaults for my Shapeoko 3 XXL?
Do you have LightBurn open too? I’d try restarting the computer before you reflash grbl, but I think you could reflash grbl without issue (if you feel comfortable doing that).