Shared ladder program

Ladder logic: 4 rungs with XIC, XIO, OTL

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

Open a blank sandbox
RUNG 1Sys_ReadyHMI_StartCmdPump_FaultLatchLInletValve_OpenRUNG 2InletValve_OpenTON Valve_StrokeDelay1000 msRUNG 3Valve_StrokeDelay.DNPump_FaultLatchLPump_RunRUNG 4HMI_StopCmdUPump_RunUInletValve_OpenRESValve_StrokeDelay
Static preview of the shared program. The live editor is below.

What's in this program

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

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

Edit & run it live

Loading the interactive editor…

More example programs

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