- Ladder logic or ladder diagrams are the most common programming language used to program a PLC.
- The symbols used in relay ladder logic consist of a power rail to the left, a second power rail to the right, and individual circuits that connect the left power rail to the right. The logic of each circuit (or rung) is solved from left to right
- The symbols of these diagrams look like a ladder - with two side rails and circuits that resemble rungs on a ladder.
The logic of the rung above is such:
- If Input1 is ON (or true) - power (logic) completes the circuit from the left rail to the right rail - and Output1 turns ON (or true).
- If Input1 is OFF (or false) - then the circuit is not completed and logic does not flow to the right - and Output 1 is OFF (or false).