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, OTU. Open it in the free browser PLC simulator to edit, run and fork it. No install, no account.

Open a blank sandbox
RUNG 1Level_CapSensorTON Level_Debounce200 msRUNG 2Level_Debounce.DNLevel_FaultLatchLevel_ConfirmedRUNG 3Level_ConfirmedLFill_Valve_CloseRUNG 4Level_FaultLatchUFill_Valve_Close
Static preview of the shared program. The live editor is below.

What's in this program

XICXIOTONOTEOTLOTU
  • 4 rungs

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), 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.