Skip to content
Advanced Circuit Network Logic
Factorio

Advanced Circuit Network Logic

Master advanced Factorio circuit network logic using combinators for complex arithmetic operations and optimize your sprawling factory base design.

By ···10 min read·Multi-source verified
1 reading this guide  
Advanced Circuit Network Logic

Master advanced Factorio circuit network logic using combinators for complex arithmetic operations and optimize your sprawling factory base design.

While the basic circuit network allows for simple automation, mastering advanced logic opens up a world of possibilities for optimizing your Factorio base. This section delves into more complex circuit configurations that go beyond simple on/off switches.

Combining Sals

The real power of circuits lies in combining signals from various sources. You can use combinators to perform arithmetic operations on signals. For instance, you can use a Red Circuit combinator to add or subtract signal values. A common use case is to monitor the total number of items in a set of chests. By connecting all chests to a single combinator, you can get a total count of a specific item. This is invaluable for managing inventory and triggering production when levels drop below a certain threshold.

Conditional Logic with Decider Combinators

Decider combinators are your workhorses for implementing conditional logic. They allow you to output a signal based on a condition met by an input signal. For example, you can set a Decider combinator to output a '1' signal for 'Iron Plate' if the input signal for 'Iron Plate' is greater than or equal to 100. This '1' signal can then be used to control other machines, such as enabling or disabling inserters or even activating a warning light.

Arithmetic Combinators for Complex Calculations

Arithmetic combinators enable more intricate calculations. You can use them to multiply, divide, or set signal values based on other signals. A prime example is managing power production. You can use an Arithmetic combinator to calculate the total power consumption of your base and compare it to your power generation. If consumption exceeds generation, you can trigger an alert or even shut down non-essential production lines to prevent blackouts. This is crucial for maintaining a stable power grid, especially as your base grows and power demands increase.

Setting Up Alerts and Warnings

Advanced circuit networks are perfect for creating sophisticated alert systems. You can use combinators to monitor critical resource levels, pollution thresholds, or even the proximity of Biters. For instance, if your pollution levels exceed a certain point, you can trigger a visual or auditory alarm to alert you to the danger. Similarly, if the number of Biters in a specific area reaches a critical mass, you can activate defenses or send out a warning.

Example: Smart Smelting Control

Consider a smelting array. You can use a Decider combinator to monitor the output chests of your furnaces. If the number of Iron Plates in the output chests drops below a set amount, the Decider can send a signal to enable more mining drills or activate additional furnaces. This ensures a continuous flow of plates without overproducing and wasting resources.

100% Human-Written. AI Fact-Checked. Community Verified. Learn how AntMag verifies content