Simple Questions and Short Answers

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Loewchen
Global Moderator
Global Moderator
Posts: 10530
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Simple Questions and Short Answers

Post by Loewchen »

ssmikis wrote: Wed Nov 26, 2025 4:08 pm I have watched bunch of videos and read factorio wiki about rs latching. I think that my contraption dont reset or set. Can someone give it a glance?fact.jpg
You set it to start inserting when there are 300 coal in the chest and stop when there are 101 coal. Flip the values of the two conditions or rearrange them so it starts at 101 and stops at 300.
ssmikis
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Nov 26, 2025 11:50 am
Contact:

Re: Simple Questions and Short Answers

Post by ssmikis »

Loewchen wrote: Wed Nov 26, 2025 4:48 pm You set it to start inserting when there are 300 coal in the chest and stop when there are 101 coal. Flip the values of the two conditions or rearrange them so it starts at 101 and stops at 300.
Thank you
ssmikis
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Nov 26, 2025 11:50 am
Contact:

Re: Simple Questions and Short Answers

Post by ssmikis »

Loewchen wrote: Wed Nov 26, 2025 4:48 pm
You set it to start inserting when there are 300 coal in the chest and stop when there are 101 coal. Flip the values of the two conditions or rearrange them so it starts at 101 and stops at 300.
It starts at 100 and stops at 102. Memory doesn't hold.
fact2.jpg
fact2.jpg (252.69 KiB) Viewed 163 times
It seams that putting signal in the middle helped. Its soo finicky
fact3.jpg
fact3.jpg (171.33 KiB) Viewed 153 times
Nidan
Filter Inserter
Filter Inserter
Posts: 339
Joined: Sat Nov 21, 2015 1:40 am
Contact:

Re: Simple Questions and Short Answers

Post by Nidan »

ssmikis wrote: Thu Nov 27, 2025 10:21 am
Loewchen wrote: Wed Nov 26, 2025 4:48 pm
You set it to start inserting when there are 300 coal in the chest and stop when there are 101 coal. Flip the values of the two conditions or rearrange them so it starts at 101 and stops at 300.
It starts at 100 and stops at 102. Memory doesn't hold. fact2.jpg
If you want to start it below 101 coal and stop above 300 coal, you forgot to flip the comparison on the second condition; it needs to be < or <=.

The first condition says when it should start. The second condition says whether it should keep going (not when it should stop).
ssmikis
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Nov 26, 2025 11:50 am
Contact:

Re: Simple Questions and Short Answers

Post by ssmikis »

Nidan wrote: Thu Nov 27, 2025 10:55 am
If you want to start it below 101 coal and stop above 300 coal, you forgot to flip the comparison on the second condition; it needs to be < or <=.

The first condition says when it should start. The second condition says whether it should keep going (not when it should stop).
Thank you for your input

I tried both conditions <, < or =, >, > or =, mixed conditions with < ,>. but always keep the same order of conditions ( like in videos i saw) what did the trick ( it seams) changing order of [AND] condition ....I am lower than beginner at this point.
Tertius
Smart Inserter
Smart Inserter
Posts: 1480
Joined: Fri Mar 19, 2021 5:58 pm
Contact:

Re: Simple Questions and Short Answers

Post by Tertius »

Stop trying arbitrary conditions without understanding and start thinking about what you want to achieve.
(I guess) you want to achieve this:
  • if the chest has more than 300 items, enable the inserter to take items out of it
  • while the chest has between 100 and 300 items, keep the inserter enabled
  • stop the inserter if there are less than 100 items in the chest
This list can be written in a different way to express when to enable the inserter:
  • if the chest has more than 300 items, enable the inserter
  • if the chest has more than 100 items and the inserter was enabled before, enable the inserter
You wired the inserter, chest and combinator correctly, especially the loopback wire with the combinator, so the previous state is available for the new state.
So we can code the second list directly into the combinator:
condition:
coal > 300
OR
[coal > 100
AND
enabled = 1]

output:
enabled=1
Loewchen
Global Moderator
Global Moderator
Posts: 10530
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Simple Questions and Short Answers

Post by Loewchen »

ssmikis wrote: Thu Nov 27, 2025 10:21 am
Loewchen wrote: Wed Nov 26, 2025 4:48 pm You set it to start inserting when there are 300 coal in the chest and stop when there are 101 coal. Flip the values of the two conditions or rearrange them so it starts at 101 and stops at 300.
It starts at 100 and stops at 102.
Because for some reason instead of just swapping the values of the conditions you randomly changed an operator. Get the original state: viewtopic.php?p=685495#p685495 and change the 300 to 101 and the 101 to 300.
Post Reply

Return to “Gameplay Help”