So, I'm going to start experimenting with adding a 3.5W laser onto my Ox. I understand that the $32 setting needs to be set to "1" to place Control into laser mode. First as I'm playing with this I think it would be nice to have a toggle setting on the main Control page to set it into Laser or Mill mode. Short of that I would like to maybe create a macro to do the same thing. In experimenting with this it seems that I can change settings via a g-code macro (e.g., $32=1). I'm assuming in order to make this work correctly that GRBL needs to be refreshed after the setting call. Will "$$" accomplish this or is there another way to make this happen via either a g-code or Javascript macro
Also see docs:blackbox:iot-and-laser [OpenBuilds Documentation] If you have both laser and controlled router
So, I'm playing around a bit more with this code and javascript macro stuff. I'd like to be able to work on this coding activity in my office and not in the shop. But I seem to need an active connection to a grbl device via the usb serial interface in order to access much of the Control system (which I don't have in my office). Not sure I'm asking the right question or asking the question correctly but is it possible to emulate a grbl device in order to activate all functions within Control. Hope that makes sense.
So, its been a couple days since I posted a likely dumb/ignorant question...I opened my BlackBox to remove the Relay jumper to disable it as I am using the IoT relay with STDP switch to control both my router and the laser ( assuming I understood that correctly). The problem that has cropped up now is that as I put everything back together and turn the BlackBox on the fan does not come on. Is it on a therm switch of some kind. The fan motor itself felt like it was getting pretty warm so I'm think something is not right here. I popped the top back off and made sure the fan motor was plugged in correctly and still could not get it to work. Any insights? EDIT: OK, disregard. The top plate apparently got just little warped and was impinging on the fan hub. I was able to take the fan off and reinstall it with a 1mm spacer between the top plate and the fan body and all seems good.