Shared ladder program

Ladder logic: 3 rungs with XIC, rising-edge, CMP

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

Open a blank sandbox
RUNG 1Thumbwheel_ValidFRD Batch_SetpointFRD Thumbwhe…RUNG 2PPart_SensorCTU Batch_CountPRE 4RUNG 3Batch_Count.ACC≥ Batch_SetpointBatch_Done
Static preview of the shared program. The live editor is below.

What's in this program

XICrising-edgeCMPFRDCTUOTE
  • 3 rungs
  • Uses a compare instruction

Instructions used: XIC (examine-if-closed contact (normally open)), rising-edge (one-shot rising-edge contact), CMP (compare instruction), FRD, CTU (count-up counter), OTE (output energise coil).

Edit & run it live

Loading the interactive editor…

More example programs

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