Shared ladder program

Ladder logic: 3 rungs with CMP, XIC, OTE

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

Open a blank sandbox
RUNG 1Oven_Temp≤ Temp_SetpointHeat_EnableHeater_ContactorRUNG 2Oven_Temp> Max_Safe_TempLOver_Temp_FaultRUNG 3Over_Temp_FaultUHeat_Enable
Static preview of the shared program. The live editor is below.

What's in this program

CMPXICOTEOTLOTU
  • 3 rungs
  • Uses a compare instruction

Instructions used: CMP (compare instruction), XIC (examine-if-closed contact (normally open)), OTE (output energise coil), OTL (output latch coil), OTU (output unlatch coil).

Edit & run it live

Loading the interactive editor…

More example programs

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