Hey,
Idea popped in my head, that it should be possible to make single-input single-combinator RS-latch with new decider combinator. So I made one:
On the screenshot I recreated example of the backup steam generators from wiki using new latch design.
I have created parametrized blueprint for general use:
Notes:
- Output is "green" signal by default
- Red wire used as a memory cell
Have fun
1-Combinator RS-latch
Re: 1-Combinator RS-latch
Hey dude! This is awesome! I randomly bumped into this while making my own "smart assembler" and have used it to make my setup nice and compact:
Thanks for posting!
Thanks for posting!
-
- Manual Inserter
- Posts: 4
- Joined: Mon Nov 04, 2024 10:20 pm
- Contact:
Re: 1-Combinator RS-latch
Cool! I've now used this in my fuel processing setup (when to crack heavy oil into light oil etc.). Very useful, thank you!
-
- Burner Inserter
- Posts: 8
- Joined: Sat Jul 11, 2015 6:21 am
- Contact:
Re: 1-Combinator RS-latch
This is epic.
you should ask for a 1$ license fee every time when someone using it.
I already owe a full tank gas ...
you should ask for a 1$ license fee every time when someone using it.
I already owe a full tank gas ...
-
- Burner Inserter
- Posts: 17
- Joined: Thu Oct 17, 2024 10:56 pm
- Contact:
Re: 1-Combinator RS-latch
I was looking at this because I didn't get to 1 combinator RS latch but I had the idea it could be done.
Because I made a 1 combinator resetting clock.
You have two input conditions: t < value and r == 0. Two output conditions: 1 qty t and output total quantity of ts. This is done on a standard back fed logic single combinator clock. I have a videya of it and wanted to see if it was a novel idea or if it was already covered in a Friday Fast Facts or similar. I know I have my idea of how an RS Latch works and might try and come up with another video but if I do I wanna give people credit for being coming up with cool stuff
It isn't the timer that pauses from the tutorial. It definitely cycles. You'd have to use an rs latch as a guard for the demo purpose I think it has, which is switching a mall resource line on and off (because malls can halt while you build up small logistics; versus dedicated construction products that need to work till they end or research - which doesn't really end in theory).
I'll put a still frame from the video on this post when I get round to editting it.
Because I made a 1 combinator resetting clock.
You have two input conditions: t < value and r == 0. Two output conditions: 1 qty t and output total quantity of ts. This is done on a standard back fed logic single combinator clock. I have a videya of it and wanted to see if it was a novel idea or if it was already covered in a Friday Fast Facts or similar. I know I have my idea of how an RS Latch works and might try and come up with another video but if I do I wanna give people credit for being coming up with cool stuff
It isn't the timer that pauses from the tutorial. It definitely cycles. You'd have to use an rs latch as a guard for the demo purpose I think it has, which is switching a mall resource line on and off (because malls can halt while you build up small logistics; versus dedicated construction products that need to work till they end or research - which doesn't really end in theory).
I'll put a still frame from the video on this post when I get round to editting it.
Re: 1-Combinator RS-latch
Hi,
Thanks for the idea! I've updated the latch for more general usage. Red wire is used as a memory cell.
A > 0 is the set signal.
B > 0 is the reset signal.
The logic I thought of is as follows:
We want to output S if A > 0 or S > 0, but not B > 0, so
[(A > 0) OR (S > 0)] AND [NOT (B > 0)]
[(A > 0) OR (S > 0)] AND (B = 0)
[(A > 0) AND (B = 0)] OR [(S > 0) AND (B = 0)]
I have not actually tested this thoroughly, please correct me if there's any issues with this setup.
Thanks for the idea! I've updated the latch for more general usage. Red wire is used as a memory cell.
A > 0 is the set signal.
B > 0 is the reset signal.
The logic I thought of is as follows:
We want to output S if A > 0 or S > 0, but not B > 0, so
[(A > 0) OR (S > 0)] AND [NOT (B > 0)]
[(A > 0) OR (S > 0)] AND (B = 0)
[(A > 0) AND (B = 0)] OR [(S > 0) AND (B = 0)]
I have not actually tested this thoroughly, please correct me if there's any issues with this setup.
Re: 1-Combinator RS-latch
and....I just use a box:
and set ON time by transport belt length )
and set ON time by transport belt length )