Tutorial:Circuit network cookbook: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Line 39: Line 39:
== Inserters ==
== Inserters ==
=== Limit items placed into a chest ===
=== Limit items placed into a chest ===
[[File:LimitItemsPlacedIntoAChest.png|right]]
[[File:LimitItemsPlacedIntoAChest.png|left]]
* The Basic inserter is connected to the Wooden chest using a Red wire.  
* The Basic inserter is connected to the Wooden chest using a Red wire.  
* The inserter's enabled condition is "Advanced Circuit < 10".  
* The inserter's enabled condition is "Advanced Circuit < 10".  
Line 45: Line 45:
* This technique still gives far greater control than limiting the inventory on the chest.
* This technique still gives far greater control than limiting the inventory on the chest.


----




=== Keeping outpost stocked with specified items ===
=== Keeping outpost stocked with specified items ===
[[File:SmartOutpostUnloader.png|right]] This circuit keeps a storage chest at an outpost stocked with customised levels of different items. For example to keep an outpost stocked with 50 laser turrets and 200 piercing magazine rounds. The storage chest is attached to the input of the Arithmetric combinator (left side in the picture) with a Red wire. And another couple of Red wires join the output of the Arithmetric combinator to the constant combinator and to the filter stack inserter. The Arithmetric combinator multiples each input value (from the storage chest) by "-1"  and then the output of the Arithmetric combinator, the constant combinator and the filter inserter are connected. Finally the filter stack inserters mode of operation is set to "Set filters".
[[File:SmartOutpostUnloader.png|left]] This circuit keeps a storage chest at an outpost stocked with customised levels of different items. For example to keep an outpost stocked with 50 laser turrets and 200 piercing magazine rounds. The storage chest is attached to the input of the Arithmetric combinator (left side in the picture) with a Red wire. And another couple of Red wires join the output of the Arithmetric combinator to the constant combinator and to the filter stack inserter. The Arithmetric combinator multiples each input value (from the storage chest) by "-1"  and then the output of the Arithmetric combinator, the constant combinator and the filter inserter are connected. Finally the filter stack inserters mode of operation is set to "Set filters".


=== Balanced train unloader ===
=== Balanced train unloader ===
=== Balanced Solar panel / Accumulator Production ===
=== Balanced Solar panel / Accumulator Production ===

Revision as of 14:50, 21 November 2016

Introduction

WORK IN PROGRESS!!

This page provides examples of simple circuit network designs that others can use, combine and modify. They are designed to be as easy to understand as possible.

Some of these designs are mine and some are based on ones I have seen on the forums or Reddit.

Oil Setups

Light Oil Cracking

LgtOilCracking.png This circuit provides balanced light oil and petroleum gas production by cracking excess light oil into gas. The Small pump is connected to the Storage tank by a Red Wire, the small pump has an enabled condition set to 'Light Oil > 2000'.

Heavy Oil Cracking

HvyOilCracking.png This circuit extends on the previous circuit by adding heavy oil cracking to provide lubricant as well.

Petroleum split evenly between plastic and sulphuric acid

BalancedPlasticSulfur.png This circuit buffers gas in the tank until there is at least 100, then it lets the tank drain until there is less than 50 and the cycle repeats. It has a few elements that work together to do achieve this. Firstly the Small pump is connected to the Wooden chest by a Red wire and the enabled condition on the Small pump is set to 'Raw wood > 0' Both of the basic inserters are connected to the Storage tank by Red Wires. The enabled condition on the left inserter is "Petroleum gas > 100" and the right inserter is "Petroleum gas < 50". You will need to insert a single "Raw wood" into the chest to make it all work.

It is also possible to do this with combinators instead of the inserters, belt and the Wood chest.

Lights

Conditional Lights

ConditionalLights.png In this circuit we connect a series of lights to a Storage Tank, by setting different conditions on each light we can build an indicator strip. The first light is lit when gas > 100, and the others light up when gas is greater than 200, 300, 400 & 500.

Colored Lights

ColoredLights.png To light a lamp with a color rather than white, you need to do two things. 1. Send a colored signal to the lamp 2. Select the "Use colors" checkbox on the lamp. In this case we want to convert a Petroleum gas singal into a pink signal. We can do this with an Arithmetic combinator, setting the input to Petroleum Gas + 0 (the constant 0 not the signal 0) and set the output to the Pink signal (on the bottom row of the last tab of signals.)

Misc

Multiple Storages

MulitipleChestsAndPoles.png If you connect multiple chests to a pole, the pole displays the sum of items in all the chests. This also works with Storage tanks.

Constant combinator

ConstantComb.png With a constant combinator you can generate any signals you my need. In this example we have generated a signal of 50 Laser turrets and 200 Piercing round magazine. Constant combinators are not of any use on their own but we shall use them later.

Inserters

Limit items placed into a chest

LimitItemsPlacedIntoAChest.png
  • The Basic inserter is connected to the Wooden chest using a Red wire.
  • The inserter's enabled condition is "Advanced Circuit < 10".
  • In reality this means the inserter may place more than 10 Advanced circuits in the chest because it could pick up-to 3 at once. This effect can be even greater with Stack inserters because of their large carrying capacity.
  • This technique still gives far greater control than limiting the inventory on the chest.


Keeping outpost stocked with specified items

SmartOutpostUnloader.png

This circuit keeps a storage chest at an outpost stocked with customised levels of different items. For example to keep an outpost stocked with 50 laser turrets and 200 piercing magazine rounds. The storage chest is attached to the input of the Arithmetric combinator (left side in the picture) with a Red wire. And another couple of Red wires join the output of the Arithmetric combinator to the constant combinator and to the filter stack inserter. The Arithmetric combinator multiples each input value (from the storage chest) by "-1" and then the output of the Arithmetric combinator, the constant combinator and the filter inserter are connected. Finally the filter stack inserters mode of operation is set to "Set filters".

Balanced train unloader

Balanced Solar panel / Accumulator Production