Shared ladder program

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

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

Open a blank sandbox
RUNG 1PInfeed_SensorPart_InRUNG 2POutfeed_SensorPart_OutRUNG 3Part_InBuffer_CountRUNG 4Buffer_Count.DNBuffer_FullRUNG 5Buffer_Count.ACC< 1Buffer_Empty
Static preview of the shared program. The live editor is below.

What's in this program

rising-edgeXICCMPOTECTUD
  • 5 rungs
  • Uses a compare instruction

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

Edit & run it live

Loading the interactive editor…

More example programs

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