Shared ladder program

Ladder logic: 4 rungs with XIC, CTU, CTD

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

Open a blank sandbox
RUNG 1Entry_SensorCTU Buffer_CountPRE 10RUNG 2Exit_SensorCTD Buffer_CountPRE 10RUNG 3Buffer_Count.DNBuffer_Full_AlarmRUNG 4Buffer_Empty_BtnRESBuffer_Count
Static preview of the shared program. The live editor is below.

What's in this program

XICCTUCTDOTERES
  • 4 rungs

Instructions used: XIC (examine-if-closed contact (normally open)), CTU (count-up counter), CTD (count-down counter), OTE (output energise 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.