Controlling a compressor with Linuxcnc.

More
05 Nov 2024 06:11 #313795 by Creative25
I have a serious problem with our power company. 
The 60 amps connection to our house is not what they say. I have serious voltage drops between utilities transformer and our house and they will not fix it. Looks like common practice in our area. 

I can reliably cut at 35 amps. 
if I go higher depending how much power my neighbors are using The plasma cutter gets an undervoltage and cuts out. 

So the table happily cuts until the compressor starts. 
Then the plasma cuts out because it gets an undervoltage.  Qtplasmac pauses and gives an arc lost warning. 

If the torch is off during the probing and the compressor kicks in the program keeps running until the compressor cuts out because of undervoltage.

So I can not run plasma and compressor at the same time. 

So I was wandering If I add a relay an electric unloaded valve and a pressure sensor to the compressor. Would it be possible to control the compressor with Linuxcnc.

I was thinking about the following. When pressure drops to a certain level. Well above what the plasma needs the program pauses. Preferably at the end of a cut.
then the compressor starts. When the tank is full the program resumes. 

Is that possible?

Please Log in or Create an account to join the conversation.

More
05 Nov 2024 12:27 #313811 by tommylight
Probably yes, it will be a bit tricky to figure out when to stop, one option would be when motion is rapid (going from one cut to another), still, i think you would need another sensor to notify LinuxCNC it is safe to continue.
2 pressure sensors should do just fine, one for low and the other for high, or use the existing one in compressor for the high side, but this complicates wiring and logic a bit more.

Please Log in or Create an account to join the conversation.

More
06 Nov 2024 00:31 - 06 Nov 2024 00:35 #313865 by phillc54
The following should work but has only been tested in a sim. Use two pressure levels like Tom said and change the postgui file hal pins to suit how you wire up the pressure switches. All three files need to be in your plasma machine config directory. Due to response times you will need to move the torch to a suitable start point using the cut recovery panel after the job has paused.

custom_postgui.hal
Warning: Spoiler!


qtplasmac_custom.py
Warning: Spoiler!


user_periodic.py
Warning: Spoiler!
Last edit: 06 Nov 2024 00:35 by phillc54.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
06 Nov 2024 08:45 #313881 by meister
i use this sensor to check the compressor pressure,
but you need an analog input for that:

www.amazon.de/gp/product/B07YKZ773Z

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.210 seconds
Powered by Kunena Forum