Shared ladder program

Ladder logic: 4 rungs with XIC, XIO, rising-edge

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

Open a blank sandbox
RUNG 1Cycle_ActivePart_In_PositionArm_RetractLS_OKArm_FaultLatchArm_Extend_SolRUNG 2Arm_Extend_SolArm_ExtendLS_OKTON Arm_ExtendTimeout1000 msRUNG 3Arm_ExtendTimeout.DNPArm_Fault_OSLArm_FaultLatchRUNG 4Arm_FaultLatchHMI_FaultAckArm_Extend_SolUArm_FaultLatch
Static preview of the shared program. The live editor is below.

What's in this program

XICXIOrising-edgeOTETONOTLOTU
  • 4 rungs

Instructions used: XIC (examine-if-closed contact (normally open)), XIO (examine-if-open contact (normally closed)), rising-edge (one-shot rising-edge contact), OTE (output energise coil), TON (on-delay timer), OTL (output latch coil), OTU (output unlatch coil).

Edit & run it live

Loading the interactive editor…

More example programs

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