Shared ladder program

Ladder logic: 6 rungs with XIC, XIO, JSR

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

Open a blank sandbox
PROGRAM · MainRUNG 1Auto_ModeJSRAutoSeqRUNG 2Cycle_RunMachine_ReadyConveyorSUBROUTINE · AutoSeqRUNG 1Machine_ReadyUCycle_RunRUNG 2Machine_ReadyRETRUNG 3Start_PBLCycle_RunRUNG 4Stop_PBUCycle_Run
Static preview of the shared program. The live editor is below.

What's in this program

XICXIOJSROTEOTURETOTL
  • 6 rungs
  • 2 routines (Main, AutoSeq)

Instructions used: XIC (examine-if-closed contact (normally open)), XIO (examine-if-open contact (normally closed)), JSR (jump to subroutine (call another routine)), OTE (output energise coil), OTU (output unlatch coil), RET (return from subroutine), OTL (output latch coil).

Edit & run it live

Loading the interactive editor…

More example programs

Want to build your own? Open the free ladder logic sandbox.