Logistics Router

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.
Post Reply
adam_bise
Fast Inserter
Fast Inserter
Posts: 180
Joined: Fri Jun 08, 2018 10:42 pm
Contact:

Logistics Router

Post by adam_bise » Tue Mar 05, 2019 9:23 pm

This is a system to request items back and forth between disjoint logistic networks. It basically reads roboport logistic data and sets requests on requester chests. This was useful for me in belt pathways snaking through biter nests where repair items were needed and to prevent bots from flying over nests.
lr1.png
lr1.png (990.7 KiB) Viewed 1545 times
Constant combinators define a set of items that will be requested from the parent network if they fall below the set number, and excess items will be sent to the parent.

These can be used in a chain, and requests happen on each parent in a hop so there is no waiting for multiple transactions. You can fork multiple children off a single parent in any fashion. Requests from children that don't appear in a hops list is forwarded up the chain.

The Router:
lr2.png
lr2.png (1.31 MiB) Viewed 1545 times
The router circuit fulfills requests from child networks and accepts excess items. A bot switch ensures that items being ferried by bots will not cause duplicate requests. An adjustable belt timer allows the items to travel along the belt before accepting another request. The belt timer uses a constant combinator T to set the number of tiles between the router and bridge. Set T to the number of belts between the router steel chest and bridge active provider plus 2 for the inserter time. The belt speed multiple is set to 32 ticks per tile for yellow belts. Change this to 16 for red and 11 for blue.





Inventory Control:
lr3.png
lr3.png (936.24 KiB) Viewed 1545 times
The inventory control circuit sends item requests. Requests for items from parents are on the red channel and requests for items to parents are on the green channel. Constant combinators set the desired inventory to be kept within the current network. An excess multiple is used to determine how much excess items are kept before sending them upstream. This can be +1 or *10 for example. Items not specified will be sent to the parent network.

It also accepts requests from downstream and simply adds the signal to its own inventory signal.

Additional constant combinators can be added if needed.



Bot Control:
lr4.png
lr4.png (806.01 KiB) Viewed 1545 times
The bot control circuit determines whether logistic bot total = available and blocks requests if not. It also includes a requester chest for adding bots to the network.


cid0rz
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sun Jul 31, 2016 5:52 pm
Contact:

Re: Logistics Router

Post by cid0rz » Wed Mar 13, 2019 10:51 pm

Hello, it looks very nice, congratulations and thanks for sharing. A lot of time to develop such a system eh? xD worst is debugging :mrgreen:. I have developped similar system to request different materials into buffers from the same train stations. So i did a order booking system for the buffer that I can see the similarities even without going into the details. So it's nice to have another combinator enthusiast creation shared!

adam_bise
Fast Inserter
Fast Inserter
Posts: 180
Joined: Fri Jun 08, 2018 10:42 pm
Contact:

Re: Logistics Router

Post by adam_bise » Sat Mar 23, 2019 1:07 am

cid0rz wrote:
Wed Mar 13, 2019 10:51 pm
Hello, it looks very nice, congratulations and thanks for sharing. A lot of time to develop such a system eh? xD worst is debugging :mrgreen:. I have developped similar system to request different materials into buffers from the same train stations. So i did a order booking system for the buffer that I can see the similarities even without going into the details. So it's nice to have another combinator enthusiast creation shared!
Thank you. Here is a new version capable of seeding itself with logi bots, assuming the networks are separated by only 1 tile.
lr5.png
lr5.png (712.64 KiB) Viewed 970 times

adam_bise
Fast Inserter
Fast Inserter
Posts: 180
Joined: Fri Jun 08, 2018 10:42 pm
Contact:

Re: Logistics Router

Post by adam_bise » Sun May 19, 2019 12:22 am

Another version with option to increase inventory by a percentage for each child.

Useful for many successive segments with the same inventory.

Set percentage on this combinator.
lr6.png
lr6.png (1.01 MiB) Viewed 352 times

adam_bise
Fast Inserter
Fast Inserter
Posts: 180
Joined: Fri Jun 08, 2018 10:42 pm
Contact:

Re: Logistics Router

Post by adam_bise » Tue May 21, 2019 3:12 pm

Simplified version is dramatically faster, but relies on a 1 tile separation of networks and doesn't minimize duplicate requests.

Removed belt timer, and accompanying bot switch. Removed child count buffer. Added circuit to round inventory signal up to the nearest multiple of your bots cargo capacity.

Set the capacity on these, typically 4.
lr7.png
lr7.png (2.27 MiB) Viewed 291 times


Edit: Add missing filter condition.
Edit: Isolate request signal. Request only logi bots when none.
Edit: Fix green signal leak to red. Ignore negative source values.

Post Reply

Return to “Combinator Creations”

Who is online

Users browsing this forum: No registered users