AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Factorio sr latch1/12/2024 It has somewhat complicated dynamics when you start to look at corner cases, but the basic idea is it has a 'set' input and a 'reset' input. In my opinion there should be an 'Else' output for when the condition is false, it might even encourage making more complicated circuits when the trivial things. The standard factorio SR latch is, I think, the one from the 'combinators 101' post with two A0 -> A:1 deciders. Signal first goes to 2 decider combinators: (A>B > A) and (B>A > B), then combine output signals which now should be 0+B B. Hope I described this well enough :P You can create simple logic scheme to turn on and off the computer with your general scheme. Example: Signals A10 and B20, output higher value. I am currently only getting ON for both triggers, even if i use a select chip with the 0 set to the compare I want as OFF. How would I read and contrast two compare units to turn on/off a wall cooler? I would like one compare to turn the cooler on at greater than 293K, and a compare to turn the cooler off if less than 290K. OR4¶ Performs a logical OR between four Boolean values. Accumulator rising to 50: Top input empty (because S has stopped). Current state of the SR latch: Top input S, bottom input S. OR2¶ Performs a logical OR between two Boolean values. One output goes to the switch, one goes to its own input. When CLK is connected, inputs are read on CLK rising edge and ouputs are set on CLK falling edge. An SR latch is a mechanism that toggles when an input crosses a threshold, and does not toggle back until crossing a separate threshold. The compare already provides a true/false, then the select allows a true/false input and has another true/false output? Functions asynchronously (latch) when CLK input is disconnected. I think I need to use compare and select chips, but the select chip confuses me. This route may be worth it if I run multiple scripts on one unit however. It's also easy to design this in a computer, but then I have 200w being used constantly. It's easy to make something maintain 293K but I do not like the constant on/off. I'm simply running off of what the ad-hoc definition as carried by the wider Factorio community for use in-game, is.Originally posted by Sacksquatch:I'm trying to design a circuit that turns a wall cooler on at say 293K and stays on until it cools to say 290K. In this episode, we'll take a look at some of the basic, and perhaps the more unintuitive behaviours that go into the circuit network.Factorio 0.17 is still. Well I never said I was going to be using official electrical engineering definition-by-specification, now did I? :-) See the spec for the TTL 74279 quad logic circuit for the proper definition. Never heard this difference between 'RS' and 'SR' latches. Edit: I dont see why you would use an SR-Latch for this though. When using train id from the stop you will need an inverter so it doesnt start self holding with trainid. of this game, there is no such thing as a "RS latch".ĭue to the poor design of the Combinator in this game, it is difficult to make a proper SR latch. The latch can then be set to green 0: anything: 1. you cannot reliably use a single-tick pulse such as from a circuit-bound inserter or belt to flip an RS latch. The single-decider RS latch is superior because the two-decider SR latch design is incapable of handling single-tick inputs. (First member in the name designates priority.) The difference between an SR latch and an RS latch is that in an SR latch, when both inputs are true, the latch is set - whereas in an RS latch it is reset. You can, however, make its complement RS latch with only one decider combinator. You set your thermo to 70, the heater heats the ambient room temp to a couple degrees above that, turns off to let it fall to a couple degrees below, and kicks back on. In Factorio you will need at least 2 combinators to achieve an SR latch, if memory serves.Ĭorrect. SR latches are for when you want something to be active within a certain rangethink like a thermostat. So this has to do with an idea I had for a yet another implement of LTN in vanilla, this time implementig general purpose item requests. One signal will set the latch, and another distinct signal will reset it. Why don't XNOR circuits produce an SR-latch Edit: solved, I was just brainfarting hard and using XNOR when I should have been using NOR, thanks u/oscartangodeadbeef. Originally posted by Khaylain:SR latch is short for Set and Reset latch.
0 Comments
Read More
Leave a Reply. |