Memory Toggle

Memory Toggle is an Automation Building that takes in two inputs and produces an output. It is connected to other buildings via Automation Wire. Unlike other Automation buildings the Memory Toggle will maintain its output state after the input signal goes to Red until a new input signal becomes Green.

Usage
A typical usage of Memory involves two signal inputs and four phases.
 * An activation signal connecting to the Set Port(S).
 * A deactivation signal connecting to the Reset Port(R).

Phase 1: Activation. The activation signal is Green, and the deactivation signal is Red. The Memory Toggle outputs Green.

Phase 2: Action. The activation signal is Red, and the deactivation signal is Red. The Memory Toggle continues outputting Green.

Phase 3: Deactivation. The activation signal is Red, and the deactivation signal is Green. The Memory Toggle outputs Red.

Phase 4: No-action. The activation signal is Red, and the deactivation signal is Red. The Memory Toggle continues outputting Red.

After the phase 4 it goes back to phase 1.

Or it could be explained by below time sequence.

Automation Ribbon
Memory Toggle's behavior to Automation Ribbon is same as Automation Wire activation. Generally interpreting 4-Bit Signal into 1-Bit Signal is only use first Bit - For example, when input is 4-Bit R GGG, then it is interpreted as 1-Bit Red Signal.

Tips

 * The Memory Toggle, like other Automation gates, can be placed behind buildings and tiles, as well as in the same space as pipes or wires.
 * Like the AND and OR gates, the fourth space on the Memory Toggle's graphic does nothing, and Automation Wires can cross freely in this space.

Логические элементы