Chapter 3 - Basics of PLC Programming
Chapter 3 - Basics of PLC Programming
3.6
0 Examples
3.1. Program Scan
During each program scan cycle, the processor reads all the inputs, takes
these values, and energizes or de-energizes the outputs according to the
user program.
3.1. Program Scan
The time it takes to complete a scan cycle is a measure of how fast the
controller can react to changes in inputs.
If a controller must react to an input
signal that changes states twice during
the scan time, it is possible that the PLC
will never be able to detect this change.
The controller evaluates ladder logic rung instructions based on the rung
condition preceding the instruction (rung-condition-in).
3.1. Program Scan
3.6
0 Examples
3.2. PLC Programming Languages
Ladder diagram language is the most used PLC language and is designed
to mimic hardwired relay logic.
Ladder diagram
Equivalent instruction
Hardwired relay control circuit
list program
3.2. PLC Programming Languages
Ladder diagram
3.6
0 Examples
3.3. Relay Type Instructions
3.6
0 Examples
3.4. Branch Instructions
Reprogrammed to eliminate
vertical contact.
3.4. Branch Instructions
Reprogrammed circuit.
Lecture 3’s sequence
3.1 Program Scan
3.6
0 Examples
3.5. Internal Relay Instructions
Internal relay used for a program that requires more series contacts than
the rung allows.
3.6
0 Examples
3.6. Examples