Professional Documents
Culture Documents
L01-Basicplcprogamming 2ppt
L01-Basicplcprogamming 2ppt
Programming
GM needed
d d the
th flexibility
fl ibilit off solid
lid state;
t t a controller
t ll th
thatt could
ld bbe
programmed and maintained by plant engineers; and was rugged
enough to withstand the factory environment and provided easy
troubleshooting...
troubleshooting
Allen
Allen--Bradley PLC
Copyright 2010 Rockwell Automation, Inc. All rights reserved.
What is a PLC?
A solid state (electronic) device that controls output devices based on
programming and input signals.
Inputs
Control
Program
Outputs
Copyright 2010 Rockwell Automation, Inc. All rights reserved.
Analog
1
0
4095
0
5
Light
Data (Variables)
Examples
Start_Button is assigned to a digital input
Light
g is assigned
g
to a digital
g output
p
Contacts
Instruction Blocks
Direct
Reverse
Coils
Direct
Reverse
Set
S t
Reset
S
R
Light
g t
I/O Addressing
Often, a descriptive name of the device connected to the I/O point is used
in addition to,, or in place
p
of the I/O variable which describes the physical
p y
location on the controller.
Example of
user-defined
name
Start Button
_IO_Embedded_Digital_Input_0
g
p
Light
_IO_Embedded_Digital_Output_0
g
p
Example of
system-defined
I/O variable
Software Introduction
12
RAS1
Easy to Acquire/Install
Free Internet download
Easy to Configure
Single software for component
class products
Graphical
G hi l Device
D i Configuration
C fi
ti
Easy to Program
Extensive use of Microsoft
and IEC-61131 standards
Symbolic Programming
Rockwell Automation and
user-defined function blocks
Easy to Update
S
Software
ft
updates
d t available
il bl
via Internet
Slide 13
RAS1
updated screenshot.
Rick Sykora, 9/1/2010
RAS2
Graphical Micro800
controller configuration
IEC 61131-3 editors
Ladder Diagram, Function
Block, Structured Text
User-defined function blocks
Run-time program download
Extensive Standard
Instruction Set
IEC 61131-3 base
instructions with Rockwell
Automation extensions
Slide 14
RAS2
updated screenshot
Rick Sykora, 9/1/2010
15
16
17
18
Now lets take a look at a modern traffic light application. With sensors to
determine the presence of a car at the various parts of the intersection, the
traffic light controller must determine the lighting sequencing and timing to
allow traffic to flow in a orderly fashion. In your lab, you will learn to
program a Micro800 to control a traffic light and use it and our PanelView
C
Component
operator iinterface
f
to test the
h program.
Copyright 2006 Rockwell
20
21