Shared ladder program

Ladder logic: 3 rungs with XIC, CMP, SQR

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

Open a blank sandbox
RUNG 1Flow_EnableSQR Flow_RootSQR DP_RawRUNG 2MUL Flow_RateFlow_Root × 12RUNG 3Flow_Rate≥ 500Flow_High
Static preview of the shared program. The live editor is below.

What's in this program

XICCMPSQRMULOTE
  • 3 rungs
  • Uses a compare instruction

Instructions used: XIC (examine-if-closed contact (normally open)), CMP (compare instruction), SQR, MUL (multiply two values), 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.