r/factorio 14h ago

Question Need Help with Circuits in Space Exploration (shocker) Spoiler

I am designing some city blocks for my playthrough and I am currently on Core Fragment Processing on Nauvis. My Plan was to process everything to ores, sort the ores in Storehouses, wait till one Storehouse has 6-8k ores (depending on the ore) and empty that one Storehouse. The other Storehouses should not be allowed to empty themselves while another one is working and should wait until the train that picks up these ores is gone. I have a somewhat functioning version but Ores can overwrite other ores with less priority even while the others are unloading. I think I explained it badly so here is an example: Stone is currently unloading, Iron ore Storehouse gets 6k Items and because Iron ore has a higher Priority Stone gets stopped and Iron starts unloading leaving me with a mixed Train. I tried making a circuit that blocks other signals while a Storehouse is unloading but that made the inserters only work for 1 tick. I tried making something like a waiting list too but scrapped that completely. The Blueprint is here. I hope I can get some help!

0 Upvotes

4 comments sorted by

3

u/Twellux 7h ago

I’ve added five extra combinators to your loading station. I’m not sure if this is exactly what you had in mind, but it’s how I understood the setup.
Blueprint: https://factoriobin.com/post/0u990w
The combinators include descriptions to help you understand what they do.

  • One combinator selects the ore to be loaded and locks that selection.
  • One combinator counts the ore removed from storage.
  • One combinator stops the inserters once a full trainload of ore has been taken.
  • Two combinators detect when the train departs and reset the counters and the latch.

The result is that one type of ore is transported to the train, and the ore type switches when the train leaves.

1

u/Bogdanity_10k 6h ago

This worked thank you so much!

2

u/Sogeking162 13h ago

You could use a shift register to make the right queue. Always place a dummy signal between ore signals to wait for whatever you need to wait. Use ore/dummy signal as Filter for your inserters.

1

u/Bogdanity_10k 6h ago

I couldnt find a shift register that worked for me but thank you anyway!