I have automated logistic/construction robot building. I'm trying to control robot production based on the total number of robots in the system. Is there any way to monitor the total number of robots as it's displayed in the Roboport status window?

For example, if I want to ensure that I have 100 construction robots and if it falls below that number I'd like to activate my construction otherwise it stays idle.


Yes, although only within a given network.

By connecting a Roboport to the circuit network, you can obtain from it the total and available number of both robot types for that logistic network. You can then use this information to cut production of robots (e.g. by deactivating inserters).

If you want, as stated in your example, start production whenever you have less than 100 robots, use the available numbers, which count the robots that are currently idle, while the total numbers counts all robots in the network, idle or working.

  • Makes sense, it never occurred to me to wire up a Roboport for some reason :/ – Steve H. Apr 26 '17 at 14:41
  • 1
    @SteveH. There are so many items in the game that allow circuit network connectivity that it's normal to miss some, even if they're obvious. Just a few days ago I discovered requesters can set their requests via logistics, and it blew my mind. – Darkhogg Apr 26 '17 at 14:54
  • 1
    You could use the circuit network and combinators to add together the value signals from multiple robot networks to get your total bot amount. – Fambida Apr 26 '17 at 17:25
  • @Fambida yes, but you need to be very careful, because if you join two networks together you will be adding two times the same amount of robots. – Darkhogg Apr 27 '17 at 8:46

I have made a simple design that inserts robots until the logistics count reaches 1000, try this blueprint and adjust your decider accordingly:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.