Hello,
I'm hoping someone can give me some advice on a situation I'm having with an Arduino type card. The card is an MKS DLC 32 version 2.1. I'm using it to control a CNC plasma cutter that I built. If the plasma cutter is not turned on the g-code will execute its movements without issue. I originally thought the problem was my high frequency pilot arc machine and so I replaced it with a blowback machine which is supposed to be much more friendly to sensitive electronics such as the control board I'm using. However, even after I replaced the plasma cutter I still have the issue.
It dawned on me to consider the fact that I had the small opto-isolated relay that activates the two pin trigger switch on the plasma cutter next to the control board. This meant I ran the two trigger wires from the machine into my control board box where I connected them to the relay.
I recently read that relays can also cause interference and decide to move the relay from the control board box to a location near the plasma cutter some ten feet away.
When I first ordered relays I ordered three of the cheap little red-board relays commonly found on eBay or Amazon. All three have failed now and I am waiting for new ones to arrive. The relays are 24 volt and run from the 12/24 volt power supplied by the control board. A 5v signal wire from the control board activates the relay to close the business end of the switch which triggers the plasma torch.
I'm hoping when the new relay arrives that having relocated it away from the control board will make a difference. Does anyone feel that this may have been my trouble all along?
Plasma cutters do switch on and off frequently when they're cutting out a design. Which means the relay is turning on and off frequently. After about 6 to 8 switching cycles I get an error code that says port closed and the machine stalls sometimes with the torch on sometimes with it off.
My cristall ball say GRBL + UCS or some of these combinations. Which translates to non-existing EMC shielding --> plasma turns on chances are the arduino goes haywire.
The machine will stall out after about 6 or cuts as it tries to execute the cutouts of the pattern. I originally thought it was the high frequency plasma ark but I replaced my machine with a blowback cutter. Here's what they say about a blowback start plasma cutter.
With blowback torches, before the trigger is pulled, the electrode and the grounded part of the torch are in contact. When the trigger is pulled the machine turns on the air flow while turning on the regular welding cutting voltage. The airflow causes the electrode to blow back out of contact, striking the arc. Since this method uses no high voltage or high frequency it creates next to no EM interference and is ideal for CNC applications.
What happens around 6. cut? Interferences can cause wild things, but it's important to understand if there is specific pattern. "Stall out" what does it mean to you?
I have built quite big CNC machine and I can immagine different cases.
Random misbehavior would indicate interferences in signal wires.
If there is pattern, it could be interference or power issue, maybe even error in code.
I don't know what that means. Some switch triggering?
Try to observe the mechanism of your issue.
I was thinking if it was a code issue then it should happen all the time. But it only happens when the plasma machine is turned on. I'm hoping it was an interference issue with the cheap relay that was next to the control board. I took many steps to shield the electronics behind metal plates, running ground wires, adding a USB isolator, etc. and still got the problem. The only thing I haven't tried is relocating the relay. It's the only thing I can think of that might be causing interference with the board. I'll know in a couple days when the new relays come in. Thanks for your advice.
Or a schematic.
Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.