Shared ladder program
Ladder logic: 2 rungs with XIC, TON, OTE
A runnable ladder logic program with 2 rungs using XIC, TON, OTE. Open it in the free browser PLC simulator to edit, run and fork it. No install, no account.
What's in this program
- 2 rungs
- 2 timers
- 1 counter
- 2 data registers
Instructions used: XIC (examine-if-closed contact (normally open)), TON (on-delay timer), OTE (output energise coil).
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.
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.
