Shared ladder program

Ladder logic: 4 rungs with XIC, XIO, rising-edge

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

Open a blank sandbox
RUNG 1Sys_RunningProx_BottleInPosConveyor_RunRUNG 2Sys_RunningProx_BottleInPosTON Fill_Timer1000 msRUNG 3Sys_RunningProx_BottleInPosFill_Timer.DNFillValve_OpenRUNG 4Sys_RunningFill_Timer.DNPFill_DN_OneShotCTU Bottle_CountPRE 4
Static preview of the shared program. The live editor is below.

What's in this program

XICXIOrising-edgeOTETONCTU
  • 4 rungs

Instructions used: XIC (examine-if-closed contact (normally open)), XIO (examine-if-open contact (normally closed)), rising-edge (one-shot rising-edge contact), OTE (output energise coil), TON (on-delay timer), CTU (count-up counter).

Edit & run it live

Loading the interactive editor…

More example programs

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