Chapter 5 - Basics of PLC Programming
Chapter 5 - Basics of PLC Programming
5.1
Processor Memory
Organization
2011, The McGraw-Hill Companies, Inc.
Program and
Data file
organization for
the SLC 500
controller.
Memory
organization
for a PLC-5
controller.
Simulated operation
of the input image
table on/off status of
connected discrete
inputs.
Simulated operation
of the output image
table on/off status of
connected discrete
outputs.
5.2
Program Scan
2011, The McGraw-Hill Companies, Inc.
Scan process
applied to a
multiple rung
program.
5.3
PLC Programming
Languages
2011, The McGraw-Hill Companies, Inc.
Equivalent ladder
diagram program
Equivalent instruction
list program
2011, The McGraw-Hill Companies, Inc.
Equivalent
function block
diagram.
Sequential
function chart
programming
language is
similar to a
flowchart of
your process.
The program is split into
steps with multiple
operations happening in
parallel branches.
2011, The McGraw-Hill Companies, Inc.
Ladder diagram
Equivalent
structured text
program.
2011, The McGraw-Hill Companies, Inc.
5.4
OTE instruction
is set to 1 to
energize the
output.
A true logic
path is
established by
the input
instructions in
the rung.
2011, The McGraw-Hill Companies, Inc.
5.5
Instruction Addressing
2011, The McGraw-Hill Companies, Inc.
Address indicates
what output is
connected to what
output device
2011, The McGraw-Hill Companies, Inc.
5.6
Branch Instructions
2011, The McGraw-Hill Companies, Inc.
Simulated branch
instructions.
Additional input
instructions can be
programmed in the
output branches.
2011, The McGraw-Hill Companies, Inc.
It is possible, however,
to program a logically
equivalent branching
condition.
Reprogrammed to eliminate
vertical contact.
2011, The McGraw-Hill Companies, Inc.
Reprogrammed circuit.
5.7
Internal Relay
Instructions
2011, The McGraw-Hill Companies, Inc.
5.8
Programming Examine
If Closed and Examine
If Open Instructions
2011, The McGraw-Hill Companies, Inc.
5.9
Allen-Bradleys RSLogix
software packages are windows
programming packages used to
develop ladder logic programs.
Software, in various versions,
can be used to program the
PLC-5, SLC 500,
ControlLogix, and MicroLogic
family of processors.
A personal computer is most often used and is adapted
to the particular PLC model through the use of the
relevant programmable controller software.
2011, The McGraw-Hill Companies, Inc.
5.10
Modes Of Operation
2011, The McGraw-Hill Companies, Inc.