Shared ladder program

Ladder logic: 4 rungs with XIC, XIO, TON

A runnable ladder logic program with 4 rungs using XIC, XIO, TON, OTE, OTL, RES. Open it in the free browser PLC simulator to edit, run and fork it. No install, no account.

Open a blank sandbox
RUNG 1Prox_Part_RawTON Prox_Debounce8 msRUNG 2Prox_Debounce.DNInput_FaultLatchProx_Part_ConfirmedRUNG 3Prox_Part_ConfirmedLPart_Present_LatchRUNG 4Prox_Part_RawRESProx_DebounceUPart_Present_Latch
Static preview of the shared program. The live editor is below.

What's in this program

XICXIOTONOTEOTLRESOTU
  • 4 rungs
  • Uses parallel branches (OR logic)

Instructions used: XIC (examine-if-closed contact (normally open)), XIO (examine-if-open contact (normally closed)), TON (on-delay timer), OTE (output energise coil), OTL (output latch coil), RES (reset a timer or counter), OTU (output unlatch coil).

Edit & run it live

Loading the interactive editor…

More example programs

Want to build your own? Open the free ladder logic sandbox.