Shared ladder program

Ladder logic: 4 rungs with CMP, OR, OTE

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

Open a blank sandbox
RUNG 1OR Alarm_SummaryAlarm_Wo… or Alarm_Wo…RUNG 2Alarm_Summary≠ 0Any_Alarm_ActiveRUNG 3AND Critical_AlarmsAlarm_Su… and 7RUNG 4Critical_Alarms≠ 0Critical_Alarm
Static preview of the shared program. The live editor is below.

What's in this program

CMPOROTEAND
  • 4 rungs
  • Uses a compare instruction

Instructions used: CMP (compare instruction), OR, OTE (output energise coil), AND.

Edit & run it live

Loading the interactive editor…

More example programs

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