(S)EUOTLUS(S)OTL Set (latch) coil

Also called: latch coil, OTL (Output Latch), set output, S coil

Sets the variable to 1 and leaves it there (latch).

What it does

The (S) / OTL coil sets its variable to 1 when power arrives. When power goes away it does nothing: the variable stays 1 until a reset coil sets it back to 0.The (S) coil sets its variable to 1 when power arrives. When power goes away it does nothing: the variable stays 1 until a reset coil sets it back to 0.The OTL coil sets its variable to 1 when power arrives. When power goes away it does nothing: the variable stays 1 until a reset coil sets it back to 0.

When to use it

To remember an event: start / stop with push buttons, alarm to acknowledge, step of a sequence.

Operands

European mnemonicAmerican mnemonicNameData typeDirectionRequiredMeaning
VariableVariableVariable (bit)BOOLOutputYesBOOL variable written: output or internal bit.
MnemonicNameData typeDirectionRequiredMeaning
VariableVariable (bit)BOOLOutputYesBOOL variable written: output or internal bit.
MnemonicNameData typeDirectionRequiredMeaning
VariableVariable (bit)BOOLOutputYesBOOL variable written: output or internal bit.

Timing diagram

S1S2H10123456789101112scans

Timing diagram checked against the simulator (the same engine as the editor).

Example

European style
American style

S1 turns H1 on and it stays on; S2 turns it off. When S1 and S2 are 1 together, S2 wins (later rung).

Try it in the simulatorThe example opens in the free simulator; your own program stays as it was.

Behaviour in detail

European (IEC) and American styles

European: (S) coil.

American: OTL (output latch). Same behaviour.

See also