Balanced Ordering Service

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
User avatar
MBas
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Fri Jan 06, 2017 12:57 pm
Contact:

Balanced Ordering Service

Post by MBas »

Hello.

Do you have some extra requirement from your factory store but you are tired from that stupid inserters and robots who just overflow your order? Or do you have some order but not enough space in your inventory and have a problem with request chest which is request only? Or do you have some order that simply overrflow capacity of one simple chest?

Here is a version that quickly prepare what you need and more important: exactly in the amount you need. This stuff works as one piece of "perfect all in one" chest. It just throw away anyting up to order and get anything on the order list from the red network upward. The system also spam into red network exact value of still missing order in case you need to set this signal into some parts of your factory (negative value correspond to state when system just dont throw away yet something you cancel from order list)

Note: If your order is higher than one chest size, rest of your content will be available in the wooden chests around. That chests has primary purpose to protect before state when you order something non-available (stack filter inserter can use only one thing in the request list at one time).
order.png
order.png (773 KiB) Viewed 3042 times
Blueprint:

Code: Select all

H4sIAAAAAAAA/91ZXXOrNhD9KxkeW+ggAb7J3NJfkbc7HUaBdawpSFQI93o8/u+VwE4svixwHKfNi2PrY7Vnd4/OQsYfcp6S/CGJ98AklRSqeL9npIDYKSCj
deFBDqkUNPVKnoPjlrxS0ziL9z9jL3B3sbc6uClnTM1SP6vlPxzk/BnvBWRqq2bXXUKzGB/cs2/RQf+5R1NqfSUJk17KixfKiOSiYwkdLWVUtIbi0MoqMuxk
kNIMxLiZlTaDfosal6TgefICG7KlXMT74+JEjWT0aHVNRSWTir4yksd7uSuVkS0Vsia547Y220EPSLpxmm0bT2Nf/VuUROhDxM4fjstrWdYz9yp36jQ1k8la
8CKhTG0QS1HDwS4kKHBTKtKayjZAatkPBw/NfDRgJILKTQFSJcUokqFG0tdIdkLWQfV9rw8CVqUKL0Hhqi06vywAdgS9VwHATPweJyCLjHxH4TnUyByLzLFz
qG2LENlFPDQD7o5WihSEVSUX0nuBXJoWsTaIzwOLB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ErliQpZASOLDDk3xfW7+G73/wRveKYGb1oXBAa6fOcR37hPUsBhTLctcSNdT59fNun5+xpFukVWKS
8ySxoB0R9l4xbEXp5bMeqGPUTcD2CteU8p+tX9HQZcxFYe15jOO6Fjif1TrygOsILmZbsaTs9fNVqBYKrgx3itSieL7EMqup87B4eJgDm0vHlcnVBM4QdBKV
2Zz52Zm7mfLWR/TPYcHJDViwAeOvn3ldYnDdgVvYxBszFWzwBpgB8EXSwV35JuaB9AK3Ykoq3PV9PDIvLKzAuECnnQ/0Lf6MTCvTRBUeDM1u7F9KVC21ng3y
1sR6a+IIE2UeSIFDsN0TOsjUKejpI4i886XsLCJPNoRf4i2SrTv2tL7/Z47WzSttddVVCRZx8ncnPwf3FX4OhXycjLbxwtZPyjGnsHy+IdGaNxtFJfvkGLoz
LDhMlaYKsFooml89vuAHUeaPlVLkU4Cdf92DLCtwogJ5HWA4ryD1FX/aQRWQIS311NaFHhVkdUrdYQKzf7vRCyfGWkF3GqSW+50T0XH2UHwnrPoX7eFGUEUp
AAA=

huliosh
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Sun Nov 27, 2016 12:04 pm
Contact:

Re: Balanced Ordering Service

Post by huliosh »

That solves the smart factory from chest(warehouse) with rate control. Very nice.

User avatar
hansinator
Fast Inserter
Fast Inserter
Posts: 160
Joined: Sat Sep 10, 2016 10:42 pm
Contact:

Re: Balanced Ordering Service

Post by hansinator »

Interesting solution! :)

Here's mine:
Image

The constant combinator above the steel chest is used to set the requested items. Can you figure out how it works?
Blueprint

User avatar
MBas
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Fri Jan 06, 2017 12:57 pm
Contact:

Re: Balanced Ordering Service

Post by MBas »

Hmm, that trick how to change sign via another signals by integer overflow is interesting 8-). However, your solution cant drop anything from final chest. And your stack inserter work about 1/3 - 1/2 speed since it take items from the floor. But its still very good.

User avatar
hansinator
Fast Inserter
Fast Inserter
Posts: 160
Joined: Sat Sep 10, 2016 10:42 pm
Contact:

Re: Balanced Ordering Service

Post by hansinator »

MBas wrote:However, your solution cant drop anything from final chest.
It does not need to drop anything from the final chest - it will never get too many items delviered in the first place. Unless you put something into it manually.
MBas wrote:And your stack inserter work about 1/3 - 1/2 speed since it take items from the floor.
Yes the inserters are slower, but it needs less robot flights, less parts and less space than your solution. It's a tradeoff ;)

huliosh
Long Handed Inserter
Long Handed Inserter
Posts: 59
Joined: Sun Nov 27, 2016 12:04 pm
Contact:

Re: Balanced Ordering Service

Post by huliosh »

I couldn't completely understand your build, but luckly came up with the same method to place it on the belt.
As recipe is used 1 pulse generator(it could be based on clock or looped with autoreset when cycle ends with memory=0). Subtracting items from the belt with integer overflow.
Smart_factory_precise_feed.gif
Smart_factory_precise_feed.gif (3.66 MiB) Viewed 2923 times
Detailed explanation of combinators pictures
Blueprint string
P.S. Thank you guys for sharing integer overflow, more control and other stuff related to smart factories. I think this thread is the best for starting off centralized smart factory.

Post Reply

Return to “Combinator Creations”