Shared ladder program

Ladder logic: 3 rungs with XIC, CMP, PID

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

Open a blank sandbox
RUNG 1Loop_EnablePID Valve_OutputPIDRUNG 2Loop_EnablePROC Tank_LevelPROC Valve_Ou…RUNG 3Tank_Level> 90High_Level_Alarm
Static preview of the shared program. The live editor is below.

What's in this program

XICCMPPIDPROCOTE
  • 3 rungs
  • Uses a compare instruction

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