Hmm, i guess so huh. I use the green signal for other things so I didn't even notice, haha.MassiveDynamic wrote: ↑Sun Oct 11, 2020 8:18 pm Actually you don’t need the combinator for this to work. In that example the combinator is changing the “A” signal to “GREEN”. Simply eliminate the combinator and set the switch to operate when “A” < n (where n is your threshold).
how do I switch between accumulator and steam/coal based machine?
- TheRangerLOL
- Long Handed Inserter
- Posts: 74
- Joined: Fri Sep 18, 2020 11:56 pm
- Contact:
Re: how do I switch between accumulator and steam/coal based machine?
The one and only.
Re: how do I switch between accumulator and steam/coal based machine?
There are 2 parts to this question, and unfortunately, the answer to both is no. The first part is how you make the connections for power and circuit logic. TheRangerLOL's post answers this part of the question.JapaneseMom wrote: ↑Sun Oct 11, 2020 6:39 pm[...]yess. so is this connection correct? (ill ask regarding the programming again once the connection already in place)TheRangerLOL wrote: ↑Sun Oct 11, 2020 5:03 pm Your main power grid should be whatever is connected to your factory. The boilers are going to be backup power from now on, right?
Screenshot (1292)_LI.jpg
[...]
The second part of the question is what you connect, and this needs to be split in 2 parts too:
First, you need to make sure the power connections are on the correct sides of the switch. In your screenshot, it looks like you have steam power and your base connected to one side of the switch, but solar power, your accumulators, and the circuit control are all not connected: In order to use steam as a backup, the power switch must be able to disconnect it from everything else, so steam power must be by itself on one side of the switch (with the control circuit, so the control circuit always has power), and everything else (base, solar, accumulators) needs to be on the other side: After that, you have to figure out how to set up the control circuit. How you connect the circuit wires will depend on which logic circuit you use. There are basically 3 different kinds of logic most commonly used, and 2 have been presented in this thread. You need to choose one in order to figure out how to connect the circuit:
Type 1 logic is the simplest, because it doesn't need any combinators (though it may use 1). However, this logic only lets you set 1 threshold for when to turn the backup on and off, and will cause thrashing (fast, repeated switching) of the switch when it reaches that threshold. Type 1 logic is shown in these posts:
Type 2 logic requires 1 decider combinator and 1 arithmetic combinator, and allows you to set 2 power thresholds, 1 to turn on, and 1 to turn off, but it requires some math to calculate the thresholds, and can still cause thrashing of the switch under certain circumstances. Since it hasn't otherwise been described in this thread, I'll stop here: Type 3 logic is what I showed in my example post. This uses 3 decider combinators, and lets you set a low power threshold to turn the backup on, and a high power threshold to turn the backup off. Since the 3rd combinator helps the circuit remember its on/off state, the switch will not thrash:
-
- Filter Inserter
- Posts: 261
- Joined: Sun Sep 16, 2018 10:44 pm
- Contact:
Re: how do I switch between accumulator and steam/coal based machine?
Here is a simple no combinator setup using the power switch...
Here is a simple no combinator setup using the offshore pump...
Here is an SR latch version (emergency power turns on at A<40 and off at A>=90) using 3 combinators...
Here is a simple no combinator setup using the offshore pump...
Here is an SR latch version (emergency power turns on at A<40 and off at A>=90) using 3 combinators...
Factorio Towns... https://youtube.com/playlist?list=PLf5d ... -ps9WNZOCe