Skip to main content

OTE — Output Energize

dataBit

Sets a bit to 1 while the rung is true and back to 0 when the rung goes false. The standard output coil.

Operands

NameType
dataBitBOOL

How It Works

Every scan, OTE re-writes dataBit to match the current rung condition: 1 when true, 0 when false. There is no memory — if the rung goes false, the output goes off immediately.

Example

XIC(Run)OTE(Lamp)

Lamp is 1 whenever Run is 1.

Seal-In Pattern

To keep an output on after a momentary trigger, add a parallel branch that examines the output itself. Pair it with an enable contact that breaks the seal:

[XIC(Trigger),XIC(Output)]XIC(Enable)OTE(Output)

Output latches on when Trigger goes true, stays on via its own contact, and drops when Enable goes 0.

Common Mistakes

  • Driving the same output from two rungs — the lower rung always wins. Each output should be driven by exactly one OTE in the program.
  • Expecting OTE to remember its state after the rung goes false — it does not. Use OTL for a latched output.