Coils (output instruction)

OTU: Output Unlatch

Clears the bit to 0 and leaves it there, even after the rung goes false.

Also called: reset coil, unlatch, RST, -(U)-.

OTU(coil)

What it does

OTU is the other half of OTL. It only ever writes a 0, and only when its rung is true. Together the two make a latch that any number of conditions anywhere in the program can set and clear.

The pair is more flexible than a seal-in, because the set and the reset are separate rungs that can live wherever they read best. It is also easier to get subtly wrong, because nothing forces the two to be consistent.

When both the OTL rung and the OTU rung are true on the same scan, the one later in the scan wins. That is not ambiguity in the controller, it is a definite outcome, but it is one you have to choose on purpose rather than discover.

A rung you can run

Set and reset from two different places

[object Object]
XIC(Cycle_Start)XIO(Estop_Active)OTL(Cycle_Active)
XIC(Cycle_Complete)OTU(Cycle_Active)
XIC(Estop_Active)OTU(Cycle_Active)

Two independent reasons to clear the state, both later in the scan than the set rung, so an emergency stop always wins over a start.

Run this rung in the simulator

What it is called on other controllers

PlatformEquivalent
Rockwell (Studio 5000)OTU
Siemens (TIA Portal)R, the reset coil
Mitsubishi (GX Works)RST
CODESYS and IEC 61131-3R, the reset coil

Common mistakes

  • Assuming set wins over reset, or the reverse. Scan order decides, so put the one that must win last and write a comment saying that is deliberate.
  • Clearing a fault latch on the acknowledge alone, without also requiring the fault condition to have cleared. That lets an operator acknowledge their way past a live fault.

Practise it

Interactive exercises that use OTU. Each one checks your ladder against a real scan.

Related instructions

All ladder logic instructions