The RS latch - single decider version, from the Factorio Wiki.
https://wiki.factorio.com/Tutorial:Circuit_network_cookbook#Latches
This is useful for turning on and off parts of the factory without rapid flickering. It can be used for turning off steam power when accumulator charge is high enough, or a mineral patch when contents on the belt is high enough, etc.
Parameters:
is Item. It can be a virtual signal, like an accumulator outputting A, or an item like iron ore.
High, the value where the switch turns off. Defaults to 80, which is appropriate for an accumulator's charge when turning off steam power. Or it could be some big number like 40000 if the item is iron ore at an outpost.
Low, the value where the switch turns back on. Defaults to 20.
Set, the S in RS latch. This can be any value and is only useful for debugging. It defaults to
green like go.
Reset, the R in RS latch. This can be any value and is only useful for debugging. It defaults to
red like stop.
