Page 1 of 1
AND condition
Posted: Wed Jun 14, 2017 3:02 pm
by Ralph
Hi !
I have a simple combinator question : I want to make an end condition for lubricant production. Basically I want to say to my pump "only pump heavy oil when lubricant < 20k AND heavy oil > 5k" . I know many examples lurk around somewhere but I can't seem to find them
Thank you
Re: AND condition
Posted: Wed Jun 14, 2017 3:32 pm
by Manron
You need two combinators. One set to lubricant < 20k output S=1 and the other set to heavy oil > 5k output S=1.
wire the input to the respective tanks and the output to the pump.
set the pump to enabled condition S=2.
enjoy.
Re: AND condition
Posted: Thu Jun 15, 2017 6:56 am
by Engimage
I don't see why you would need upper limit for lubricant. Just let it fill the tank to full (25k) and it will naturally stop.
However connecting a pump to heavy oil and make >5000 on condition is a common solution if you need a leftover of heavy oil say for flamethrower ammo production.
Also it is a good idea to have a second pump on heavy oil with higher activation limit like 6000 to pump heavy oil to cracking facility (Heavy -> Light Oil)
Re: AND condition
Posted: Thu Jun 15, 2017 7:31 am
by Ralph
Manron wrote:You need two combinators. One set to lubricant < 20k output S=1 and the other set to heavy oil > 5k output S=1.
wire the input to the respective tanks and the output to the pump.
set the pump to enabled condition S=2.
enjoy.
Thanks !
PacifyerGrey wrote:I don't see why you would need upper limit for lubricant. Just let it fill the tank to full (25k) and it will naturally stop.
However connecting a pump to heavy oil and make >5000 on condition is a common solution if you need a leftover of heavy oil say for flamethrower ammo production.
Also it is a good idea to have a second pump on heavy oil with higher activation limit like 6000 to pump heavy oil to cracking facility (Heavy -> Light Oil)
That's the reason why I wanted a heavy oil leftover. But the second pump concept is great !