i have total of 6 relay controls
i use the following with projects -
relay for lights on/off
relay for circulating fan on/off
relay for exhaust fan on/off
i would like to know if there is a way to control relays per layer setting.
i do not want to always have the exhaust fan running if doing small vector/engraving projects but instead turning the exaust fan on when the cutting layer starts only.
Meet another electronics (industrial + consumer) dude. The short answer is no, pending verification by a Lightburn Guru. Those relays are controlled by âMâ codes, and layers have nothing to do with the machine operation. They are more a drawing thing. IMHO, not having the ventilation ON for any burn is not a good idea. Notice I said âburnâ and not âengraveâ? By the way, pretty impressive setup for a DIY machine.
I kinda figured as much.
I submitted a feature request for such idea
I got an Ebay 40W and then built the frame and case with 20x20 extrusion.
I aslo have the bed raise and lower for rotary and thicker wood project.
I use the Grbl Edge version for 6 axis and modified to get 4 additional relays.
I have the same board on my 5 axis cnc machine and the additional relays are a great thing to have.
In practicality Lightburn is a 2d laser control program. There are lots of grbl machines and many have non-standard uses. It has a âgrayscaleâ mode, that might bump it to 2.5d
Lightburn does have the ability to control air assist depending on the controller thatâs used. Even with grbl there are air assist code. I donât think there is any area that you can embed control codes for separate layers. Iâm not a developer, but do have a couple years in soft/hardwareâŚ
You can use this to enter control codes for start and endâŚ
Power, speed, air assist settings and more are stored in those layers, so Iâd wholeheartedly disagree with you.
Since GRBL itself has no specific / generic way to control anything external aside from the air assist (flood coolant) commands, LightBurn doesnât either.
DIY 40W CO2 build (still in process) - external relay controls
post i made with pics
here is the suggestion i posted in âFeature Suggestionâ
see at bottom of layer dialogue where âcouldâ enter âlayer start/stopâ commands
just like the tabs for start and end g-code commands but these would be for layers, not full job