Struggling with Railcraft tanks and gates

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
F

focusd

Guest
I have a problem, I can't get a gate to give information to a steel tank. I think I've done everything correctly. I set up the gate next to a valve, tried to put it under the tank, over the tank, still no positive results. I just need it to stop when the tank is full and stop sending redstone signal to my xp farm to stop working.
267d89a55f03d15d3028e4a7c6d81d1d (1).png
bcbeb49141a49aac8850815cbfa7d91f.jpg
 

rhn

Too Much Free Time
Nov 11, 2013
5,706
4,420
333
Your configuration of the gate is.... Puzzling...
At the moment you have it set to what I think is: "<75% ->Redstone Signal", and then you have 3 other conditions with no actions.
At the moment only one of the conditions are true, which I guess is "Fluid in tank".

If I understand correctly, what you want to do is make the gate output a Redstone signal when the tank have space for fluid, and then stop sending signal when it is full? If so then clear the gate of everything(or save materials and just use a Basic Gate) and set it to: "Space for Fluid -> Redstone Signal". If it is the opposite, then set it for "Tank full -> Redstone Signal"


PS: use some proper wiring, aka insulated. Framed would also be useful for this.
 
F

focusd

Guest
Still it isn't working out :/, the basic gate keeps flickering and not sending proper redstone signal, need to clear my activators every few hours cause of lag.
1584d16444b2861fd00add89017eec87.png
<--- insert flicker at the redstone signal, mostly (always) on
cec582fbf6bbcca5a6f8b7e28541ed4f.png
 

rhn

Too Much Free Time
Nov 11, 2013
5,706
4,420
333
Still it isn't working out :/, the basic gate keeps flickering and not sending proper redstone signal, need to clear my activators every few hours cause of lag.View attachment 27132 <--- insert flicker at the redstone signal, mostly (always) onView attachment 27133
Isn't that because you are pulling from the tank? Then the tank isn't technically full all the time.

I usually solve this by using a State Cell. Set the Gate signal on the Input side, take the farm output out of the constant signal Output. Set the timer to something like 60 seconds or more.
This way the flickering signal will just reset the countdown, and only when the level in the tank have dropped low enough for there to be no flickering for 60 seconds(or more) does the farm get activated again.

PS: if the signals on any side are the opposite of what you want, then use a NOT-gate to invert it.
 
  • Like
Reactions: KingTriaxx

KingTriaxx

Forum Addict
Jul 27, 2013
4,266
1,333
184
Michigan
rhn's got the right idea, but I'd use less than 50% full and then a state cell. Then it'll provide a signal for say 60 seconds and cause the activators to dump that amount of XP into the tank, and push it over 50. Now it'll stop running until it gets below. No waste, no Activators getting jammed. Also, set your ducts to only push in with a signal and that'll stop the over flow, presuming the signal will jump the blocks.
 

Azzanine

New Member
Jul 29, 2019
2,706
-11
0
Id probably use another gate and an RS latch. One gate set to pulse when full stopping the flow and another gate that will pulse if less then whatever level you need reseting the latch. It might be possible to do this with just one BC AND gate.

Essentially you want it to stop when full then restart when it gets lower. As you experienced setting the gate to just emit when empty causes that flicker to occur.

You need to make it work in the same way those power monitors do.

Sent from my GT-I9100 using Tapatalk
 
F

focusd

Guest
Thanks rhn, I got it working with a state cell and a toggle latch!