(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 mnemonic | American mnemonic | Name | Data type | Direction | Required | Meaning |
|---|---|---|---|---|---|---|
| Variable | Variable | Variable (bit) | BOOL | Output | Yes | BOOL variable written: output or internal bit. |
| Mnemonic | Name | Data type | Direction | Required | Meaning |
|---|---|---|---|---|---|
| Variable | Variable (bit) | BOOL | Output | Yes | BOOL variable written: output or internal bit. |
| Mnemonic | Name | Data type | Direction | Required | Meaning |
|---|---|---|---|---|---|
| Variable | Variable (bit) | BOOL | Output | Yes | BOOL variable written: output or internal bit. |
Timing diagram
Timing diagram checked against the simulator (the same engine as the editor).
Example
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
- Always plan the matching reset.
- If set and reset are both true in the same scan, the rung executed last wins (in the example: the reset, placed after).
- A non-retentive variable goes back to 0 on a cold restart of the PLC.
European (IEC) and American styles
European: (S) coil.
American: OTL (output latch). Same behaviour.