looked slots per wagon doesnt work. items left in inserter

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

Post Reply
Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

looked slots per wagon doesnt work. items left in inserter

Post by Jesus8000 »

any ideas?
the problem is, that i have a station with multiple item pick up.
and the inserter always hold last stack in hand. so the next train will get a wrong item

Image


my goal is to use only 1 row of requester chest again.

i sadly have to put down 2 rows:( but it doesnt fix my problem, that the inserter keeping items in there hand:?
sorry, my english is not the yellow from the egg.... 4give me

Shia
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon Oct 23, 2017 10:11 pm
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Shia »

Got the same problem... either put a complex circuit network to limit count of inserters (or stack-sizes) or use one filter inserter for outputting items.
Requested amount (arithmetic)

Code: Select all

each * -10000 = each
. Put this output and the train-contents to a filter inserter (for output) with

Code: Select all

set filter
.

Now the next train will get the wrong items (but they will be outputted directly after input).

Still the best way is to have separate stops for each output...

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Optera »

Jesus8000 wrote:any ideas?
the problem is, that i have a station with multiple item pick up.
and the inserter always hold last stack in hand. so the next train will get a wrong item

Image


my goal is to use only 1 row of requester chest again.

i sadly have to put down 2 rows:( but it doesnt fix my problem, that the inserter keeping items in there hand:?
Going by your picture your problem is not with locked slots, but with your inserter control logic.
For loading you have to subtract Train inventory from LTN stop output and feed that to filter (stack) inserters. See the design thread or the demo for details on the circuit logic.

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Jesus8000 »

i read now the request from the LTN station and comparte the amount of request (from Station) with the amount in the train (already loaded).
and if Request is bigger then In train>> set filter from inserter.

but with this , the train didnt get full loaded:(

i also turned the full loading option in the option menu off.

to conclude: the locked slot on waggon doesnt work with these full load option.

because if i turn this off>>> the station request the full train minus the locked slots.

I hope the dev of these mod will fix this for the future

Image
sorry, my english is not the yellow from the egg.... 4give me

Shia
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon Oct 23, 2017 10:11 pm
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Shia »

Just looking at your setup, all your need is 1 arithmetic

"Stop" to "arithmetic input"
The "LTN stop output" to "arithmetic output" to the "filter inserters"

Set the arithmetic to "each" "*" "-1" "each"
Filter inserters set to "Set Filter"
(Negative values do not count for "Set Filter")

Still, this may lead to overloaded trains / stuck inserters.

But that isn't the fault of Optera. This is a behavior from the game itself.
Either find a workaround for this or find a different mod which prevents that behavior/ pushes items back / clears the inserter.....

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Optera »

Shia wrote:Still, this may lead to overloaded trains / stuck inserters.

But that isn't the fault of Optera. This is a behavior from the game itself.
Either find a workaround for this or find a different mod which prevents that behavior/ pushes items back / clears the inserter.....
Overload protection is built into LTN.
Use locked slots per wagon to reserve space in wagons and a loading setup counting already loaded against requested as described before.

Shia
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon Oct 23, 2017 10:11 pm
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Shia »

I really need to look deeper into that "locked slots" thingy... I just don't get how you prevent 6 stack inserter all picking up max stack if just 1 item is missing...

Also "sorry" for not understanding (^o^);

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Jesus8000 »

Optera wrote:
Shia wrote:Still, this may lead to overloaded trains / stuck inserters.

But that isn't the fault of Optera. This is a behavior from the game itself.
Either find a workaround for this or find a different mod which prevents that behavior/ pushes items back / clears the inserter.....
Overload protection is built into LTN.
Use locked slots per wagon to reserve space in wagons and a loading setup counting already loaded against requested as described before.
does not work koreektly
sorry, my english is not the yellow from the egg.... 4give me

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Jesus8000 »

Shia wrote:Just looking at your setup, all your need is 1 arithmetic

"Stop" to "arithmetic input"
The "LTN stop output" to "arithmetic output" to the "filter inserters"

Set the arithmetic to "each" "*" "-1" "each"
Filter inserters set to "Set Filter"
(Negative values do not count for "Set Filter")

Still, this may lead to overloaded trains / stuck inserters.

But that isn't the fault of Optera. This is a behavior from the game itself.
Either find a workaround for this or find a different mod which prevents that behavior/ pushes items back / clears the inserter.....
for what is the negativ count then?
i alsow saw that with the negativ count in the mods demo.
but i dont understand it:P
because it worked for me without multiply it with -1
sorry, my english is not the yellow from the egg.... 4give me

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Optera »

Jesus8000 wrote:for what is the negativ count then?
i alsow saw that with the negativ count in the mods demo.
but i dont understand it:P
because it worked for me without multiply it with -1
Optera wrote:Overload protection is built into LTN.
Use locked slots per wagon to reserve space in wagons and a loading setup counting already loaded against requested as described before.
does not work koreektly
If you use the combinator you didn't understand to subtract items already loaded, overload protection works correctly.

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: looked slots per wagon doesnt work. items left in inserter

Post by Jesus8000 »

i subtracte the item in train form the requested one
and sometime the inserter have stuff in there hand
so it dont work
sorry, my english is not the yellow from the egg.... 4give me

Post Reply

Return to “Logistic Train Network”