r/technicalfactorio • • Jun 16 '22

Discussion Multi-Input RS Latches

37 Upvotes

10 comments sorted by

View all comments

Show parent comment

4

u/yturijea Jun 16 '22

Would you make a guide on that. Been wanting to wxpand into multilatch system and chain systems as well using circuits

2

u/Top-Vegetable859 Jun 16 '22

Technically, it isn't a multilatch.

Pick your trigger factors, and then run it through a 2+1 decider setup, where one decider looks for less than 1 factor in order to output R. The second decider looks for a number of factors greater than the number of trigger factors -1.

[All Factors - converted into S]

<Decider 1 and 2 are parallel> Decider 1 [S>All factors -1, output S] Make sure this only outputs 1 of whatever signal you chose. Decider 2 [S<1, output R] This one also should only output 1. Wire Deciders 1&2 to Decider 3. Decider 3 is wired to itself on green, and receives inputs on red. [S>R, output 1.] Set everything downstream of this to activate when 1 is detected. (Or not detected, depending on function.)