Shared ladder program

Ladder logic: 5 rungs with XIO, XIC, MEQ

A runnable ladder logic program with 5 rungs using XIO, XIC, MEQ, TON, SQO, OTE. Open it in the free browser PLC simulator to edit, run and fork it. No install, no account.

Open a blank sandbox
RUNG 1Step_Timer.DNTON Step_Timer2000 msRUNG 2Step_Timer.DNSQO Light_Pattern3 stepsRUNG 3MEQLight_Pattern&4 =4Red_LightRUNG 4MEQLight_Pattern&2 =2Amber_LightRUNG 5MEQLight_Pattern&1 =1Green_Light
Static preview of the shared program. The live editor is below.

What's in this program

XIOXICMEQTONSQOOTE
  • 5 rungs

Instructions used: XIO (examine-if-open contact (normally closed)), XIC (examine-if-closed contact (normally open)), MEQ, TON (on-delay timer), SQO, 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.