Jump to content

Combining two sets of automation


Recommended Posts

Hi, I've been trying to link this automation by SamLogan:

with this:

 20180911021343_1.thumb.jpg.62f00c1f9e81352e07e9510e786bec8f.jpg

where the doors start closing just after the doors above finish mining the regolith. I found a post with Saturnus' positive edge detector, but I can't figure out how to make the negative version of that, where the doors stay open but close with a single negative tick. Can anyone help?

Link to comment
Share on other sites

You could loop the end of the sequence through a not gate, then an edge detector, then to the activating port of the memory toggle, attaching the output of the toggle to the sequence above and use the reset to trigger the initiation of the sequence

Link to comment
Share on other sites

Here you go, a negative edge detector. Note that output is false for the filter set time so you might need a NOT gate anyway.

image.thumb.png.1b58f75fdeefbd30e7a000a9331c25c2.png

However you might not need an edge detector. The below outputs a TRUE for the buffer set time whenever the input is FALSE for more than 0.1s. In your application that's probably plenty.

image.thumb.png.166b894a34315ad87d6846a1e28f58de.png

Link to comment
Share on other sites

I think I might have explained my needs poorly. When I mentioned a single tick my meaning was that the doors would close in sequence and then open and stay open until the next tick. So far they stay closed. As the setup is for the top of my space base, that isn't really an option. So I'm looking to somehow send a close signal down along the doors, then change the signal back to open until the next tick.

Link to comment
Share on other sites

Okay so I think I got it. Credit to both SamLogan and Steve Raptor for their setups, I just combined the two,

20180911204446_1.thumb.jpg.08f3d278b55ac2d48ae68573bd544d24.jpg

20180911205626_1.thumb.jpg.9d0fe6b97b9b03c36f8949351499892a.jpg

The top half can be found here: 

The section with the memory gate can be found here: 

I set the leftmost buffer gate to 81s, which is how long the door mining took to complete. The timing for the bottom filter gate depends on how long the door sequence is (in my example it takes 10s for all the doors to close). At the end the filter gate resets the memory gate and everything opens.

 

Link to comment
Share on other sites

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...