Meridian Works
ENTR
Open the simulator

Lessons

Learn PLC Programming: Free Lessons for Siemens and Rockwell

Sixteen plain-language lessons, from contacts and coils to PID, Modbus TCP and drives, each with jobs to practise in the browser simulator.

Usta wrote this manual for the new technician of a factory that has been closed for seven years. Each chapter teaches one part of PLC programming in plain words, for Siemens and Rockwell alike, and the app gives you the jobs to practise it.

  1. 1.PLC Basics: Contacts, Coils, NO/NC Inputs and the Scan Cycle

    What a PLC replaced, how the scan cycle works, why a stop button is wired NC, and how contacts and coils make a ladder rung.

  2. 2.Seal-in Circuits, Set/Reset Coils and Edge Detection in Ladder Logic

    Why an output forgets, how a seal-in or a set/reset pair makes it stay, which rung wins, what survives a power cut, and rising and falling edges.

  3. 3.PLC Timers Explained: TON, TOF, TP and RTO

    The parts of a timer, the on-delay, the off-delay and the pulse, the retentive timer, which one to choose, and how to build a flasher.

  4. 4.PLC Counters Explained: CTU, CTD and CTUD

    Counting up and down, the preset and the load, the edge inside every counter, and the sensor that counts one part twice.

  5. 5.Numbers in a PLC: Data Types, Compare, MOVE and Scaling

    INT, DINT and REAL, comparing quantities, two thresholds instead of one, arithmetic that overflows, MOVE, and scaling raw values to units.

  6. 6.PLC Program Structure: Jumps, Functions (FC) and Function Blocks (FB)

    Jumps and labels, why a skipped rung is not paused, functions without memory, function blocks with instance data, and a full motor starter block.

  7. 7.Shift Registers in Ladder Logic: Tracking Parts on a Conveyor (SHL, BSL, BSR)

    A tag read as a row of places, stepping with the belt instead of the clock, shift and rotate, reading the register at a station, and chasing lights.

  8. 8.State Machines in Ladder Logic: Sequences with One State Register

    One thing at a time, the full pattern, drawing it before you open the editor, timers inside a state, illegal states, requests, and faults as states.

  9. 9.Analog Signals, Scaling and PID Control in a PLC

    Analog inputs and valves, scaling and its trap, open and closed loop, what P, I and D each do, tuning as a method, and recipe data.

  10. 10.PLC Alarms, First-Out, E-Stop, Trips and Cascade Control

    What an alarm is for, the alarm sequence, first-out, why the E-stop is not in your program, latched trips, cascade loops and the plant as one machine.

  11. 11.HMI Design for Operators: What a PLC Programmer Should Get Right

    Who the panel is for, why the panel asks and the wire decides, what never goes on a screen, pages and the way back, and designing for the worst morning.

  12. 12.Modbus TCP for PLC Programmers: Registers, Off-by-One and Timeouts

    The four Modbus tables and the off-by-one, sixteen bits at a time, setting up a driver, what to do when no answer comes, and a handshake between two controllers.

  13. 13.Writing a PLC Programming Standard: Library Blocks, FB and AOI

    A library instead of copies, a motor block with feedback, a state machine block, the rules of a standard, and FB and AOI blocks that carry their own data.

  14. 14.Controlling a VFD from a PLC: Control Word, Status Word and Faults

    From contactor to drive, the drive's own state, the control word as bits in a number, faults that latch and clear on an edge, and the link that drops.

  15. 15.PLC Maintenance: Changing a Running System, Compare, Backups and Retentive Memory

    One change at a time, comparing before guessing, going back to a backup, trusting a value from the network, what a power cut keeps, and the shift note.

  16. 16.PLC Recipes, Alarm Classes and Cyclic Tasks

    A product table and a working copy, alarm classes and the lamp language, acknowledge on an edge, and a loop that runs on its own clock.