Jump to content

Automation assistance


Recommended Posts

I'm struggling a bit to figure out how to do something and i have been playing a bit in debug mode trying to figure it out, but i guess i'm somewhat dense and not comprehending the logic gates too well. 

So i'm basically just making an gas deleter like i've seen others do in lets plays where they did it strictly based off time. I can get that kind of system working just fine, but trying to do it a bit different to try and learn more, but keep hitting a roadblock that's frustrating me. Anyway, so since i'm in debug, i'm just filling the small room there with gas, and then when the pressure sensor reaches a certain point, it closes the door deleting as much gas as it can that doesn't get pushed into the cell containing the atmo sensor. then after 2 seconds, it opens the door and starts over again. 

The desired default position for the doors is open to allow gas into the room. The bottom buffer is set for 2 seconds for the closing of the doors, and the top is set for 20 seconds for the opening of the doors, in order to force the doors to remain open for the gas to spread out a bit more away from the atmo sensor, so then the atmo sensor can either trigger again if needed, or not trigger and wait. 

So what happens is the sensor triggers, which then first hits the 20 second open buffer, then it closes for 2 seconds, cycles back around and waits the 20 seconds again. by that time the sensor will turn off again stopping the whole thing, or continue again when it reaches 20 seconds.

What i'm trying to do is get rid of that initial delay. Have the doors close immediately on the sensor trigger for 2 seconds, then wait 20 seconds before start all over again in order to avoid that initial hesitation of 20 seconds before the doors close.

This is probably really simple and i'm just being dense, but any help would be greatly appreciated. 

 

L4CiMIx.jpg

Link to comment
https://forums.kleientertainment.com/forums/topic/87922-automation-assistance/
Share on other sites

This can obviously be made more compact, but I tried to make it as close to yours as I could so you could see the changes I made.

The main thing was removing the buffer between the sensor and the doors; that's what kept them open for that delay you mentioned. I moved it to the other side of the doors and turned it into a filter gate.

Buffer is at 2 as before, filter is at 20 like the buffer it replaced.

Fixed.png

And here is @The Plum Gate's suggestion. The new buffer is at 1 second.

Staggered.png

Thank you very much @The Plum Gate and @Luminite2. I really liked the idea you had about closing the one door first to try and minimize shoving a lot of the gas into the atmo sensor tile. There is no way to avoid it fully, but that was a big help indeed. I ended up going the second method posted then, and got it implemented in my little base. 

I have an electrolyzer build going with cooled air that dumps out at the top, then at the bottom (1 on each side of the base) i have a pump with an atmo and temp sensor. So if if the air down bottom gets to be 4 degrees higher then the air coming in, plus i'm over 1000g on atmo sensor, i'm pumping air into this small room, and deleting it, to allow more cooled air to flow into the base from the top and not get over pressurized. The kill room ran quite often for a few cycles then started evening out a bit in my base and runs less often, but nice to know it works. 

Thanks for the help. 

kacLDY8.jpg

GIF of it in action. https://i.imgur.com/XuhRyvU.mp4

 

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...