I recently configured auto air assist on my MKS DLC32 board, with guidance from an article. Relay Control - Diode Laser Wiki However, I’ve encountered an issue where the board disconnects when executing the M8/M9 commands. I am using a probe pin. If I do not connect to air assist m8/m9 works fine without disconnect. Software is fluidnc.
I’m seeking advice on potential problems and possible solutions. Any insights or assistance would be greatly appreciated.
I’d try swapping the relay out for an solid state relay eliminating the mechanical relay.
In all prabability, the supply line has a transient or interference generated by the switching of the compressor.
Ensure there is plenty of power for all of these devices to use. Isolating the compressor from the supply lines of the controller or pc might be an easy test…
When you switch a mechanical relay on, it switches, without regard to the switched voltage. If you switch it on at 120V it will draw a surge of current, it can also arc when it turns off.
A ssr will switch at zero voltage, both on and off. And it will also last a lifetime.
If that relay is being energized directly from the coil and not through a driver you will probably be drawing to much current and possible voltage spikes.
When you add on stuff, you need to know it’s current draw to ensure you won’t overload things… Many of these say 40A, but they need a relatively large heat sink to perform at that level.
Funny that @misken suggests the one he doesn’t use anywhere… I know we spoke about that in the past…
In all likelihood the one he has green checked would probably be the best option. Don’t know what he means here. do not recommend to use two-pole SSRs because the control pin of the mainboard is misused as a power supply. I like his wiki in general…
[Sorry, have been busy a few days :-)]
Maybe not necessary to add, but I think I explained everything you discussed here exactly like this on the page.
I suggest using SSRs over “common” relays and I recommend not using the IO-pin of the controller to drive load (that’s why I recommend a three-pin SSR, that gets its power not out of the IO-pin. Nothing else that all of you said here, right? Otherwise I’m happy to change the article, of course
The problem with this can be that the hardware can have a pullup or pulldown in the opposite direction, so on power up, it might activate the relay until the firmware initializes. It’s only a second or so but if you want to avoid it, make sure the relay follows the logic of the controller hardware
I had issues with my GRBL controller when the air assist turned on. I added a RC snubber from Line to Neutral on the air pump. This fixed my issue. Here is the part I bought from Amazon. JESSINIE 10Pcs RC Absorption Snubber Circuit Module RC Loop Module Relay Contact Protection Circuit Electromagnetic Anti-Interference Module.