Shared ladder program

Ladder logic: 2 rungs with rising-edge, ADD, CLR

A runnable ladder logic program with 2 rungs using rising-edge, ADD, CLR. Open it in the free browser PLC simulator to edit, run and fork it. No install, no account.

Open a blank sandbox
RUNG 1PPart_DoneADD Shift_TotalShift_To… + 1RUNG 2PShift_ResetCLR Shift_Total:= 0
Static preview of the shared program. The live editor is below.

What's in this program

rising-edgeADDCLR
  • 2 rungs

Instructions used: rising-edge (one-shot rising-edge contact), ADD (add two values), CLR (clear a register).

Edit & run it live

Loading the interactive editor…

More example programs

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