Circuit Network - Couldn't find the solution

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
karoks
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Apr 20, 2018 11:16 am
Contact:

Circuit Network - Couldn't find the solution

Post by karoks »

Hello,

I watched lots of videos and couple of articles however couldnt find the answer.

Here is scenario:

I want to control two filter inserter with circuit network.
There is a box in the middle and it has 2 different items on it.. Lets say Red Science and Green Science.
One Filter insterter (FA) is putting these items into box.
Other Filter Insterter (FB) is taking away these items from box.
I want those FA and FB to work only if there is less than 19 of each items.. Lets say working condition is True.
16 red and 16 green = True
20 red and 20 green = False
16 Red and 20 green = False
20 Red and 15 green = False.

Please see attached photo for setup.

Image

I tried to put two deciders.
DA and DB.
input DA connected to Box in the middle
Input DB connected to Box in the middle.
Output of DA connected to both FA and FB
Output of DB connected to both FA and FB
enable/disable condition on both FA and FB set to equal of output signal from DA and DB. didnt work :(
Attachments
faact.jpg
faact.jpg (161.3 KiB) Viewed 1251 times
Bauer
Filter Inserter
Filter Inserter
Posts: 349
Joined: Fri May 05, 2017 12:48 pm
Contact:

Re: Circuit Network - Couldn't find the solution

Post by Bauer »

two combinators

if (red < 19) then A1
if (green < 19) then A1

connect the output of both to the two inserters
enable condition is: A==2
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Circuit Network - Couldn't find the solution

Post by DaveMcW »

one constant combinator:
red = 2147483629, green = 2147483629

inserter condition:
everything > 0
karoks
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Apr 20, 2018 11:16 am
Contact:

Re: Circuit Network - Couldn't find the solution

Post by karoks »

Thank you for the replies but it didnt work.
As soon as one of the items on the chest exceeds 19, insterters stop working.
example:
in the middle chest:
red: 10
Green: 20
insterter doesnt work.
Bauer
Filter Inserter
Filter Inserter
Posts: 349
Joined: Fri May 05, 2017 12:48 pm
Contact:

Re: Circuit Network - Couldn't find the solution

Post by Bauer »

That is exactly what you wanted!

> I want those FA and FB to work only if there is less than 19 of each items.
Post Reply

Return to “Gameplay Help”