I want to send a signal if a chest is full or a number of slots are full or taken.
Do you know how to. With mod or other, i did not find anything.
Thanks.
How to know if chest is full
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: How to know if chest is full
add a wire to the chest and the number of items will be output on that wire. wire it to a combinator and you can have it output the input count or 1.
i have it outputing iron 1 here if the chest is full of iron (> 2399), but it can output whatever signal you want.
i have it outputing iron 1 here if the chest is full of iron (> 2399), but it can output whatever signal you want.
Re: How to know if chest is full
Thanks but I do not want to have to specify the type of object. And I want it to be managed in the same way with stack of 10 items such 500.
Re: How to know if chest is full
What is your master plan? I don't see how knowing this could be useful.
Re: How to know if chest is full
I want a blueprint for outposts with trains. With a train that will recover the resources only when the outpost is full. Regardless of the item that is produced there.
Re: How to know if chest is full
Wouldn't it make more sense to have a train stationed there with the condition to wait until the train inventory is full?Maremick wrote:I want a blueprint for outposts with trains. With a train that will recover the resources only when the outpost is full. Regardless of the item that is produced there.
You would prevent the outpost from buffering too much resources as the train always departs as soon it is full and not when the chests are full, which probably have more storage space than the train.
Also, the resources are available elsewhere faster as you don't have to wait for the train to arrive and be filled until it can depart.
-
- Long Handed Inserter
- Posts: 89
- Joined: Thu Jun 11, 2015 5:50 pm
- Contact:
Re: How to know if chest is full
You cannot check this directly, but you can do workarounds. For example. Instead of belt->inserter->chest you want to be full, you can do belt->inserter->other chest->inserter->chest you want to be full. And then you check if the other chest has more than say 15 items in it, because then the chest you care about is almost certainly full. Might also want to wire the first inserter to not keep filling the other chest once it has more than 15 items, in order for things to work better once your train starts picking things up.