Shared ladder program

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

A runnable ladder logic program with 2 rungs using XIC, 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 1Part_DonePPart_Total_EdgeADD Shift_TotalShift_To… + 1RUNG 2Shift_ResetPShift_EdgeCLR Shift_Total:= 0
Static preview of the shared program. The live editor is below.

What's in this program

XICrising-edgeADDCLR
  • 2 rungs

Instructions used: XIC (examine-if-closed contact (normally open)), 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.