Shared ladder program

Ladder logic: 3 rungs with CMP, MUL, DIV

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

Open a blank sandbox
RUNG 1MUL Level_ScaledLevel_Raw × 100RUNG 2DIV Level_PercentLevel_Sc… ÷ 27648RUNG 3Level_Percent≥ 90High_Level_Alarm
Static preview of the shared program. The live editor is below.

What's in this program

CMPMULDIVOTE
  • 3 rungs
  • Uses a compare instruction

Instructions used: CMP (compare instruction), MUL (multiply two values), DIV (divide 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.