Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Most times I hear that being used here is for enabling of backup power generators (steam). They would monitor the power level of an accumulator (that represents the entire network's collective power level) and if it dipped below a certain percent, it would connect up steam engines to the network until power reached a certain percent. Since your deal is similar, except what you want is for the connection (inserter) to enable only if the power (chest contents) reaches zero, then disable it when it reaches an amount (the exact contents of a full chest).
Sounds like you already got the two conditions figured out, you just need to know how to use the factorio circuit deciders to make it into an SR Latch.
Couldn't you use a constant combinator to set a variable and change the status regarding chest content ?
If the chest content =0 ->Set a variable to 0
If the chest content = 3200 ->Set the variable to 1
Activate the inserters to fill/empty the chest based on the variable value
Filling inserter -> Active if variable=0
Emptying inserter ->Active if variable=1
And the variable should switch from 0 to 1 to 0 only when the chest reach 0 or 3200
You can sever 'auto-links' between power poles by shift-clicking them. You can remove other wires this way too. This is useful when working with power switches in tight setups in particular. You connect power switches (to poles) with *copper* wire.
System is fed by the bottom arm. Top arm unloads. Note the rightmost poles are NOT connected (shift-clicked to remove as above).
You can also limit the chest with this setup by blocking off units of the chest.using the limit inventory button in the chest.
0eNrVVlFum0AQvct8Q8WCEztI+coxqgrBMrZHgl20u8S1LA7QW/RsPUlnoSEuwSW28pH+IIadefvmvWHhBEXVYmNIOUhPQFIrC+nXE1jaqbzyz9yxQUiBHNYQgMprHzX6gCa0B3JyD10ApEr8DqnogsXSEiWVXCx1XZDKnTZnAHH3LQBUjhzhQKQPjplq6wIN7zDiFLQLsULpDMmw0RXyFo22XKmV35zRwuTLXQDH4abz3CZo8YhWY0ltvQS4GtBWc1jJvDhvMKIXTjFzCoAVd0ZXWYH7/JlYDM6SZGRLLuO1cizdkrEuWxBX6qbx2uYF0x/Qrcu9ucIHdZObXvEUHqEb1hV3TL3tJxD+YrA8V544YsYvnHzILnHtUxtN81ifAxns7yNv5VMrpjnx3zlzUq7GfmydV9Wyzb2g0RzU3b/m7i3SaA5PMpRMUw6r9/NG/cF8Ncp+gFPRxKlfP35ymW5d096A2hyZXatctjW6zkgxCKTbvLJ4yf+dQVRT19a95fGF+Ui8jzPq34/Etrl1ISmLxuGM8Mms6qsZyPXrbDjEKpR7tO4SYHRNi5MhF2eb+3gzXZ5veXPbwH2ieXv87NP2cEH6hytP4P/oAN584AEsxPIJLKLr3tx3vLhC3PSxTTrfRi9yevazEsAzGtsnr5NIrNdxtEnirvsNtyv+RA==
If the chest content =0 ->Set a variable to 0
If the chest content = 3200 ->Set the variable to 1
Activate the inserters to fill/empty the chest based on the variable value
Filling inserter -> Active if variable=0
Emptying inserter ->Active if variable=1
And the variable should switch from 0 to 1 to 0 only when the chest reach 0 or 3200
My question how do you set this up? It sounds like it would work for me and do what i want it to do but how do you connect everything? And ehat machines do i use? Do i hook up the constant combinators to decider combinators or just hook it up directly? Is power switches involved?
About SR Latches i will look that up too. I am not sure what a SR Latch is or how it works.
The blueprint is helpful thank you. All of this has been helpful. Thank you again for the time.
There is a good example on the wiki page in the Circuit Network Cookbook[wiki.factorio.com] ~ this example is monitoring accumulartor charge levels, but you can easily adjust it to read chest contents instead.
As i said, I haven't played much with logic system but i would try :
Chest->Decider Combinator 1 : parameter (Coal=0) Output (Variable : 0)->Constant combinator
Chest->Decider Combinator 2 : parameter (Coal=3200) Output (Variable : 1)->Constant combinator
And now i'd need to check if you can read variable directly on inserter to toggle on/off or use a switch to power / unpower.
Not at home right now, but i'm interested in finding a solution. I will give it a try tonight :)
Edit : Just saw Killcreek2 answer.
It seems to answer the way to do it using a 3rrd decider combinator instead of Constant combinator
You can't send any values to a constant combinator because constant combinators, by definition, are incapable of reacting to to inputs (they don't even need electricity).
0eNrVV9uOmzAQ/Rc/Q4UNbLZI7UfsPlYV4jLZtQo2sk20acS/d4DmBiFrR+m2fYlkMz4zPnNmxtmRvGqhUVwYkuwIL6TQJPm2I5q/iKzq98y2AZIQbqAmHhFZ3a/grVGgtW9UJnQjlfFzqAzpPMJFCW8koZ33LkgJBS9B+YWscy4yI9UJAOu+ewSE4YbDGNKw2KairXNQ6OGAU0PJ29qHCgqjeOE3sgL00kiNh6Xo/SNg4JEtSfyo6yObYLFrMc2Q6IhEP8UYLjJmlKzSHF6zDUdztPkNkuK3cjio+901V9qkM042XJkWdw4hjBb+c0+Ghh7D/tATGUKqm0wNsSfkK9rI1jStq+tCNlu8QStMulayTrlADJKss0pDN15cIOH729H+R0F5miqOqwgtuSpaboYlO2G/X8fTz5j1FwUgpjhsZogxsN6pjTmduA3x+CUhhEcq6qyq7DRFF9iwu8d5YDSYbswswulGvHCZyEnV/ijr4D6qPq/0QuLHEVabrO81wUSmX26Q6dOtMr2YGEqPkrqg45mgLnMeO3HOPpLy+B6cP/+DnD+8N5bmWo8H4rGSSMnVGOp5Le6xV+7YkS32ozt2aIv92R2b2WLTYNIlq6xuFhsKW9D2PrMHbd86I681FSc1Lg0FenxqaANQ+cUraLM0DUIXl9H1MRXbFQBlJwFmxQ+fCw3KwHKXn2T54b9KEXatDSiFnTEdrovB/ITJ6DxQE1pplX20VOkfkmrkXPf2ZR9bq+yviOweb+X7JMF9IFnPDOo+kKxnBnUfSAtzFB/xw2skOfl76REsWj0YrMKArlYseAxZ1/0CWwj51Q==
Correct, just figured it while trying to make my blueprint :)
I'll paste a blueprint at the end of my post, but here I'll explain what is going on so you understand it and can modify this kind of setup.
Essentially you need two deciders to read the chest contents and output your S (set) and R(reset) signals based on contents. Your set signal is what you send when you want to turn on the latch (switch is latched on). The reset signal is what you send when you want to reset the latch (off switch). Once on, the latch is permanently "on" until it receives a reset signal. In this way you can have it turn on and stay on until a reset condition is met.
So for your chest, I set up the deciders both to = with the set decider watching the chest for iron plate = 0 and it's output to S = 1. Since you want this to run until the chest is full, and 48 stacks of 100 plates is 4800, the reset decider is set to watch the chest contents for iron plate = 4800 and to output R = 1 when that is true. You wire these to the chest and then to each of their inputs (I used green wire, but it doesn't matter). This way, these two deciders are "reading" the chest for it's contents.
Now you use a third decider that is going to be the actual RS latch. You wire the outputs of your previous two deciders to one input of the RS latch (I used red wire in the BP). Those wires are now sending either their S = 1 or R = 1 outputs to the latch. For an RS Latch itself, you also want to wire the input and output together on the other I/O bank (using the opposite color wire you use to it's input. This is the color wire you will connect to your inserter, pump, etc. that you want to control; I used green in the BP). Now your RS latch is going to watch for the condition S > R and when that is met, to output S = 1.
Finally, you can place your targeted device, in this case an inserter, but it could be a pump, a belt, whatever. And you wire it to the same I/O bank of your latch that you wired together with the same color wire (green in my example), and then set the device to be enabled only when it receives S > 0.
What that will do is watch your chest for the set condition of Iron Plate = 0. When that is met, the RS latch is enabled and will permanently output S = 1 (which triggers your inserter whose enable condition is S > 0) until the latch receives a reset signal (R=1) which will happen when the chest's Iron Plate = 4800. The latch is then closed (off) until the set condition is again received and will continue this cycle of staying on until the chest is full, and then off until the chest is empty again.
Blueprint:
https://wiki.factorio.com/Tutorial:Combinator_tutorial
Particularly if you stuck an additional chest as a buffer in the middle, you could save power without reducing your throughput. Miners drink megawatts and excrete pollution. Although when the factory grows to certain point, I usually find something is always starved and I need more raw materials.
Once belts fill, stuff will stop putting things onto them. But miners are still sucking juice and all the arms and maybe electric smelters are too. So maybe all that really makes sense is to turn off power to things that cannot possibly operate at the moment because their output belt/chest is full, they don't have required inputs, or some arbitrary cutoff (like keeping 1k belts stocked for new construction) has been reached.
The only benefit to shutting them off is to prevent the minor power drain from a device that is in idle mode. But idle devices don't still generate pollution when idle, only drain a percent of their normal operating power amount.
Ancient... thank you so much for tsking the time and walking me through the step by step process. That was a huge help. I will load my dandbox world where i have been trying to figure this out myself and take it step by step. I will try getting the blueprints as soon as i can. Right now i am using tge steam app on my phone for this post. Oh i forgot. In my scenerio im am trying to make the inserter right behind the chest wait. To do this action. I load a belt with product. Let a normal inserter losd the chest so i know the counts are correct. So the second inserter unloads the chest onto a belt to feed another chest for a furnace. I really want belts all free and clear. I think this will help increase production rates as long as all chests are kept full on time. So in the end all i need to really worry about is moving dtiller machines to new resource locations. In the end..... my theory anyway. My question is...now... is while reading your step by step instructions should i wire the first loaded chest or the destination chest and have the inseter activate when the destinayion chest is out? Or either way is good?
Kreigan thank you also for taking the time to actually build a blueprint and research this solution yourself. I like that, thank you.
Killcreek i will look at that link you sent in the cookbook.
Purpleganja yes i tried duplicsting it but was unsucessful. I also tried duplicating another video on youtube and got all confused on everything and that still not work. Anyway, i appreciate the response. I can always try it again once i get better understsnding. I have to do it not just read how person.
Jo Daddy i think turning off power to anything is ok, but doing that really show an accurate power useage? Yeah even if stopped they still drsin but not as much as running or mining.... but still that is being recorded by the graphs. So if everything stays running all the time it eould not matter much? Would it? You woukd syill ned more energy. Cause that power would just go elsewhere. I think. It os just my goal to use everything. Lol. And keep itball going round the clock. And work on max production as fast as the game allows. Or at lesst constant. With a fully functional working warehouse.. where everything gets losded onto a train. That is my idea.
MBennan 15 million rocket silos made me laugh but that sounds like a good side game goal lol. I might try that lol
Thank everyone ahain really. This has all helped a lot.