Shared ladder program

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

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

Open a blank sandbox
RUNG 1HMI_StartCmdHMI_StopCmdEstop_ActiveM1_FaultLatchM2_FaultLatchM3_FaultLatchSeq_RunningLSeq_RunningRUNG 2HMI_StopCmdUSeq_RunningRUNG 3Seq_RunningM1_FaultLatchLM1_OutRUNG 4M1_OutM1_RunFBTON M1_StartTimeout1000 msRUNG 5M1_StartTimeout.DNM1_RunFBPM1_Fault_OSLM1_FaultLatchRUNG 6M1_FaultLatchM1_FaultAckM1_OutUM1_FaultLatchRUNG 7M1_OutM1_RunFBTON M2_StartDelay1000 msRUNG 8M2_StartDelay.DNM2_FaultLatchLM2_OutRUNG 9M2_OutM2_RunFBTON M2_StartTimeout1000 msRUNG 10M2_StartTimeout.DNM2_RunFBPM2_Fault_OSLM2_FaultLatchRUNG 11M2_FaultLatchM2_FaultAckM2_OutUM2_FaultLatchRUNG 12M2_OutM2_RunFBTON M3_StartDelay1000 msRUNG 13M3_StartDelay.DNM3_FaultLatchLM3_OutRUNG 14M3_OutM3_RunFBTON M3_StartTimeout1000 msRUNG 15M3_StartTimeout.DNM3_RunFBPM3_Fault_OSLM3_FaultLatchRUNG 16M3_FaultLatchM3_FaultAckM3_OutUM3_FaultLatchRUNG 17HMI_StopCmdUM3_OutRUNG 18HMI_StopCmdTON M2_StopDelay1000 msRUNG 19M2_StopDelay.DNUM2_OutRUNG 20M2_StopDelay.DNTON M3_StopDelay1000 msRUNG 21M3_StopDelay.DNUM1_OutRUNG 22Estop_ActiveUM1_OutUM2_OutUM3_Out
Static preview of the shared program. The live editor is below.

What's in this program

XICXIOrising-edgeOTLOTUTON
  • 22 rungs
  • Uses parallel branches (OR logic)

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

Edit & run it live

Loading the interactive editor…

More example programs

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