Shared ladder program

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

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

Open a blank sandbox
RUNG 1Fill_StartCmdFill_Tank_FullBatch_FaultLatchTON Fill_Timer10000 msRUNG 2Fill_Timer.DNPFill_Done_OSCTU Batch_CounterPRE 99RUNG 3Batch_Counter.DNLBatch_Complete_AlarmRUNG 4Fill_Timer.DNUFill_StartCmdRUNG 5Batch_Complete_AlarmHMI_BatchAckUBatch_Complete_AlarmRESBatch_Counter
Static preview of the shared program. The live editor is below.

What's in this program

XICXIOrising-edgeTONCTUOTLOTURES
  • 5 rungs
  • Uses parallel branches (OR logic)

Instructions used: XIC (examine-if-closed contact (normally open)), XIO (examine-if-open contact (normally closed)), rising-edge (one-shot rising-edge contact), TON (on-delay timer), CTU (count-up counter), OTL (output latch coil), 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.