Haha! Figured it out…oh wait…is this already known?
Anyway, the ancient problem of how to reset a GRBL controller from a limit or E-stop condition using the LightBurn Macros capability CAN actually be done!
So, GRBL controller wants a Control-X, right? Well a control-X is in Hex 0x18 or for you decimal folks, 24. This is also known as the ASCII “CAN” or “Cancel” codepoint.
Well, in Windows, you can get it to produce that character from the keyboard by typing Alt-024 (hold down alt, then type 0, 2, 4 on the numeric keypad). Only problem is, LightBurn uses a windows (programming) control for the text entry that won’t let you do that. (Sadly, it’s probably just a single bit-flip for the-yes, lazy-programmers to change that property on the control, maybe a tiny bit of XAML).
But, since LightBurn WILL let you copy and paste into the macro window, I wondered whether LB would let me paste the needed character in, if only I could get it into the paste buffer.
So, first I tried Windows Charmap. But, since the 0x018 CAN character is non-printing, the fonts don’t typically have it (except maybe Courier) Charmap seems to think it doesn’t need to let me use the CAN character. FINE!
Hmmmm…what application lets me edit BINARY files? Hmmmmm…
Oh right…Notepad++ !
I opened NotePad++, opened a new file, typed my ALT+024 and Voila, it produced
a black box with CAN inside…indicating the control code.
I selected the single character, Control-C to copy, then back to LightBurn, open one of the Macros for editing, then Control-V to paste it in. LightBurn shows an empty box (like an unrecognized character ), but we now know it IS in there.
Name the macro, save it, and guess what: IT WORKS!
As this is my first post, and maybe search in these forums isn’t my forte, maybe I missed someone had already solved this, and if so, sorry for a) my inability to find it, and b) that redundancy
Cheers, everyone!