Page 1 of 1

LTN - locked slot not working?

Posted: Mon Feb 26, 2024 8:56 pm
by zaratoostra
Hi

why is the lot slot signal not working?
(its set to three to test if i need to adjust the number to the number of inserters)

Re: LTN - locked slot not working?

Posted: Mon Feb 26, 2024 9:17 pm
by Nosferatu
My guess:
LTN thinks it can use both wagons.
You locked 3 slots per wagon so it thinks it can load 74 slots of processing units.

Re: LTN - locked slot not working?

Posted: Tue Feb 27, 2024 2:33 pm
by zaratoostra
Ok,i changed it to only one wagon and still the same issue

Re: LTN - locked slot not working?

Posted: Tue Feb 27, 2024 8:51 pm
by Nosferatu
It's hard to debug the setup with only one picture but I think I spotted something else:

Your inserters are controlled by the green wire witch connects them directly to the LTN constant combinator.

According to the manual the signal output there is:
Constant Combinator: (signal output)
train composition: position of wagons & locomotives in parked train (all stops)
binary encoded signal of train composition up to 31 carriages with lsb at the train stop. More information about binary encoding here
Expected train inventory after un-/loading is complete. (only Requester & Provider)
Your screenshot shows that this signal is 2600 Processing Units - thats what LTN ordered for this train.
To make your inserters stop when loading is done you need to subtract what is already loaded into the train from that number.

You need to connect the train station itself to an arithmetic combinator.
Set the train station to "Read train contents" and the combinator to *-1
Then connect the combinators output to your inserters

Optera has posted a reference provider Station here with all the settings an wirings screenshotted: viewtopic.php?p=297643#p297643
I hope that helps