Shared ladder program

Ladder logic: 4 rungs with XIC, XIO, JSR

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

Open a blank sandbox
PROGRAM · MainRUNG 1Mode_AutoJSRAutoSeqRUNG 2Mode_AutoJSRManualSUBROUTINE · AutoSeqRUNG 1Start_CmdFaultLCycle_ActiveSUBROUTINE · ManualRUNG 1Jog_FwdFaultMotor_Fwd
Static preview of the shared program. The live editor is below.

What's in this program

XICXIOJSROTLOTE
  • 4 rungs
  • 3 routines (Main, AutoSeq, Manual)

Instructions used: XIC (examine-if-closed contact (normally open)), XIO (examine-if-open contact (normally closed)), JSR (jump to subroutine (call another routine)), OTL (output latch coil), 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.