Page 1 of 1

logistic problem

Posted: Tue Mar 10, 2020 4:22 am
by RetiredRogue
looking for something to reset the counter to whats need in the chest with no overflow or extra on the belt. ie. constant combinator set A= 20, B=5, inserters count item and arithmetic keeps the memory of the item count.

trying to design a mall setup where I don't have to go into it to find stuff that's not bot-based

blueprint bellow of a small setup I have so far

Code: Select all

0eNrNmW2vmjAUgP9Lv84ulFc1+7L9jWUxFc7VZlBMKW53N/z3tcDUScEel5vsixGkTw/nvcc3si9bOCkhNdm+EZHXsiHbr2+kEQfJS3tPv56AbInQUJEVkbyyV7xpoNqXQh5oxfOjkEBD0q2IkAX8JFvWrR4iXnijqVZcNqdaabqHUt8Qwu7bioDUQgsYJOovXneyrfagzBYXUK6Aa3EGWtXFzu5Bm7pVOZitTnVjALW0QljoirySLU06K94dL3yCxxZ40RO8ZIEXP8HLFniJmwcS1OF1lkijj6OQ5osLm16wFRSirSiUkGslcnqqSxdw1GFkTG+cT5qHRe+Db4TZDwXFrfWFudrcbGuvWe8rBwUgfR7tXGJny549Z3krtYJc9O7NizOXORQ0FypvhfXmyT5r5D6JY59Bo7U0Ol3YaYM0RIS2Q3qvXHZ/I5o1jNdap6VYgFTh2qFCYdRHD8AV/XEEKF36YwypQCvYP3pyHHt7sn3UrZ/w7wwrZANKm1/mfJgN8hqPKnd7OPKzqJV9YvStnfmtuCx7EarRu0fFYRoIpAHLma48C6Vbc+eyeHiCfiG9WNWJK66tQORTf2cUyqSsYnfkhmhFNyowetaqBYz3zvum0eyK1GdQShSwazTPvxvJf8FY2O41HvlqPHkvjTtTAlrnn99b55N07O/vLMZaJfa1SvZeVplmmf/PJAs5ej4FX3uHRpsXo/kRGu2q7UOKYTPiOHeN5ko0Q7cWQ7gFyN3v8uysONliJzuVJrzoohBqEMbgXeT1U+TAg7xBkpmLnLq65wBHDrzBDAf2lzjEgUNvcIQDR97gGAeOvcEJDpx6g1McOPEGI4Nv7Q1Gxl7mDd74lqM/WTN8HM9RgI3nIe6ix/JGDItm3ugQm8g3F4V4J3I2OWEkM4k8QsYrXXu/KDJgx/f0ISMjlqbeZGTI0sybjC2YsTcZWzATb/LmqVLsEbpx8BTZQ+YYG7mRNxkbuOypuHWHaXwNU66EPlag7WmnrvZC9q3xtEyNo6o7a6TuNv8KvXb6zUKrP9exA8+PN52+HahqbqerxuD1CUwb30tBPpiVdatPLZrd+Xf3Vml/zgr2OnRNEVYk9FzO5mwTIx3jmkJ9jyn38yGHaHPHmMnSuUoQ38xER7MtOtjGGexu93oRpan2M7P1B6e/1rqPLd2I6brj7DmCgpsZ+2OOe7IwQUVO1IPhTs9ILozMQxzXaGkizLp3au+UMztKi9EnzqHMJp11xl7w7c3/KytScpOCzT3z9WycoV+YZRELgjRN15uu+w3jfKk+

Re: logistic problem

Posted: Thu Mar 12, 2020 12:47 pm
by MEOWMI
I made a small system for this.
20200312144045_1_crop.jpg
20200312144045_1_crop.jpg (29.55 KiB) Viewed 1908 times
Blueprint:


Test setup for map editor:


Connect the power pole to the output inserters on assemblers.

Explanation: The first four combinators from the left are used to pulse a signal when an item is removed from the chest. The bottom-right combinator counts how many items have been removed and added this is compared to the total amount requested. Inserters add to the counter while removing from the chest decrements the counter.

Warning: The counter will break if you ever manually place items into the chest. Empty the chest and reset the constant combinator to reset the system.

The system is still not perfect because it will still have a buffer of items in the assemblers. You may instead connect the power pole to the input inserters, but this requires setting up extra logic to ensure you get the right ingredients and is in my opinion completely not worth it unless you like the logic puzzle.