Page 1 of 1

Managing total number of bots

Posted: Fri Dec 02, 2016 2:32 pm
by mrudi
I have automated the construction of bots. What i would like to do is have an inserter insert into a port whenever the total number of all bots fall to a certain number. I tried using wire but (as expected) it only counted the bots in that port, not all bots (all my ports are linked by the way).

Is there a way to do this?

Re: Managing total number of bots

Posted: Fri Dec 02, 2016 3:02 pm
by daniel34
viewtopic.php?f=18&t=38006 How to automatically add bots to network

TL;DR connect inserter and roboport with circuit wire (red/green wire), set the roboports Mode of operation to Read Robot Statistics, set the condition of the inserter to the same signal that's set in Output Signals in the roboport. This will check against all robots in the whole network, not just the one roboport.

Re: Managing total number of bots

Posted: Fri Dec 02, 2016 10:49 pm
by mexmer
just note, connect only single roboport, otherwise they will multiple, like daniel said, it shows count of all robots in logistic network.