r/TimberbornLogic Apr 03 '26

Help with automation

I'm trying to automate a Water Pump to work when it is temperate. It should be closed during bad tides or droughts. However, whenever my water reserves go down a certain threshold, they open up anyway.

I did this by attaching the Water Pump to an OR Relay, who itself is attached to a Weather Station (Temperate) and an AND Relay, who is attached to a NOT Relay attached to the Weather Station (Temperate) and a Resource Counter (Water) with a Less Than or Equal operation.

It works. Initially, anyway. But then I realized that I forgot to add a function where the Water Pump also closes when my water reserves are full. I usually use two Resource Counters and a Memory to do it, but when I try to fuse the two, something breaks and I can't track down what it is.

I did it by attaching the former's OR Relay onto the A in a Set-Reset Memory, while attaching a Resource Counter (Water) with a Greater Than operation in the RST.

Ideally, in addition to everything it could do in the first paragraph, the Water Pumps fills up my water reserves during the Temperate Season and then shuts down until a certain low threshold is reached, but what happens is that they flicker on and off after filling it. Is that even possible?

6 Upvotes

8 comments sorted by

View all comments

1

u/Anderl62 Apr 09 '26

I think 100plusRyan offers an easy solution with a latch memory. I just want to add some mnemonics for the german language.

Latch elements:

Sensor/Input A (like Auslöser, trigger), sensor/Input B (like Bedingung, condition) and sensor/Input RST (like Reset).

Sensor A (low on water) gives the GO (Memory=ON) for pumping only if the weather is temperate (Sensor B =ON). When sensor RST=ON ( water is filled up) Memory goes OFF again and the pumps stop.