OTE — Output Energize
OTE in rungs.dev is the standard output coil — sets a BOOL bit to 1 while the rung is true and back to 0 when the rung goes false. The default ladder output.
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
| Name | Type |
|---|---|
dataBit | BOOL |
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
0
Run
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:
0
Trigger
Output
Enable
Output
Output latches on when Trigger goes true, stays on via its own contact, and drops when Enable goes 0.
Practice
Try the seal-in in the Start/Stop Motor exercise — keep a motor running after the start button releases.
Common Mistakes
- Driving the same output from two rungs — the lower rung always wins. Each output should be driven by exactly one
OTEin the program. - Expecting
OTEto remember its state after the rung goes false — it does not. UseOTLfor a latched output.
Related
- OTL / OTU — latched and unlatched outputs
- XIC, XIO — typical input contacts
- Bit instructions overview
XIO — Examine If Open
XIO (Examine If Open) in rungs.dev passes power along the rung when the referenced bit is 0 — a normally-closed contact.
OTL / OTU — Latch and Unlatch
OTL latches a bit to 1 and holds it on after the rung goes false. Pair it with OTU to unlatch the bit back to 0 in the rungs.dev ladder simulator.