Shared ladder program
Ladder logic: 5 rungs with XIO, XIC, JMP
A runnable ladder logic program with 5 rungs using XIO, XIC, JMP, OTE, LBL. Open it in the free browser PLC simulator to edit, run and fork it. No install, no account.
What's in this program
- 5 rungs
Instructions used: XIO (examine-if-open contact (normally closed)), XIC (examine-if-closed contact (normally open)), JMP, OTE (output energise coil), LBL.
Edit & run it live
More example programs
Start/Stop motor with seal-in
The classic latching start/stop circuit. A momentary start button energises the motor, a parallel branch off the motor output seals the rung in, and a normally-closed stop button drops it out.
On-delay fan start (TON)
A run command starts an on-delay timer; once the preset elapses, the fan output turns on. A textbook TON example showing how the Done bit gates a downstream coil.
Batch counter with compare
Each part pulse increments a count-up counter; a compare instruction watches the accumulator and fires a Batch Complete output when it reaches the target. Shows CTU plus a CMP against a constant.
Want to build your own? Open the free ladder logic sandbox.
