Programmable Control Chapter 15

Download Report

Transcript Programmable Control Chapter 15

Programmable Control
Chapter 15
Justin B. Brown
[email protected]
Programmable Logic Controller
Device used to control manufacturing
processes by means of a stored
program and feedback from various
input/ output devices.
Introduction






Same basic concepts as solid-state control
Only decision-making (logic) section of
control generally affected
Used extensively in industrial machine control
applications
Abbreviated PLC to differ from PC (Personal
Computer)
Can perform any operation state-control can
Controlled by GUI or PC
Further Introduction

First developed in late 1960’s to replace large
wiring panels containing electromechanical
relays.
Main Components
Signals
from
Process
Programming
Tool
Programming
Language
Input
Interface
Processor
Memory
Output
Interface
Signals
to
Process
Benefits
Relay Logic
Programmable
Controller
Benefit of PLC
Relays
Solid-state
High
Hard
components
Programming
Small Size
Programmed
functions
Microcomputer
based
I/O Interface
Diagnostic
indicators
wiring
Large size
Timer/counter
reliability
Easy to implement
Easy to change
Save floor space
Easy to change
presets
General functionality
Adjust to most field
devices
Simplify
troubleshooting
Advantages Over Hard-wiring

More flexible and reliable






allows for frequent control logic changes
no wiring modifications
minimal downtime for that purpose
Offers reduced space requirements
Organized troubleshooting procedures
Little difficulty in applying similar logic
control to different models of machines

Logic programs can be easily copied
Three Sections of Control
Information/ Inputs
Decision Making/
Logic
Pushbuttons
Central
&
selector switches
Limit switches or
linear transducers
Pressure switches or
hydraulic transducers
Temperature
switches or
thermocouples
Motor starter
contacts
Relay contacts
Photoelectric eyes
Work/ Output
processor
Solenoid valves
unit (CPU)
(analog)
Includes processor, Relays
memory, and power Contactors
unit
Lights
Horns
Heating elements, fans
Motor starters
Alarm messages
Status information
Signal amplifiers
Input



Information comes from discrete inputs
Voltage converted to DC if necessary
Analog signals converted to binary-coded
decimal (BCD) through analog to digital
converter
Conversion to BCD
Bit
Analog Input
from field
sensors
Analog
to
Digital
Converter
7
6
5
4
3
2
1
0
0
1
1
0
1
0
0
1
Digital
Output
to CPU
“Noise” Isolating Input Devices



Optoisolator
Reed Relay
Transformer
Optoisolator







Most common
Mostly used with LED
Other types include neon lamp and
incandescent lamp
LED supplied with current from source
voltage and series resistor
When light from LED hits photodiode, reverse
current set up in output
Voutput=Voutput supply-Rdrop
Vin~LED light~Vout
Optoisolator
24 Vdc Supply
PLC input
terminal
Signal to
CPU
Input
Limit
Switch
Protection
diode
Transistor
switch
Optoisolator
Output Device



Reverse order of input device
Fuse used to protect from inrush currents
Transform from low power signal to high
power signal
Processor: “Brain”



Parts: Microprocessor and memory chips
Supports certain number of I/O ports
Determines:




Variations in instruction
Fixed math functions
Communication link with other processors
Serves as status monitor of I/O devices
Memory

Two functions:

Remembers information processor needs to make
decisions (Storage or data table)



Status (I/O) of all discrete inputs and outputs stored
Numerical values of times stored
Remembers instruction given by user telling PLC
what to do (User program memory)


Contains ladder-diagram instruction
Larger than storage table
Memory Types
Volatile
1)
Loses contents if power lost
Backup power needed
RAM one type






Two types include: MOS and CMOS
MOS: metal-oxide semiconductor
CMOS: complimentary metal-oxide semiconductor
Memory Types (con.)
Nonvolatile
2.
Retains information when power lost
ROM common type (Read-only memory)
Several types:
•
•
•
PROM: Programmable ROM

•
Programmed once by manufacturer
EPROM: Erasable Programmable ROM

•
Program can be erased by UV light source
EAROM: Electrically Alterable ROM

•
Erasing voltage applied to pin completely erases
EEPROM: Electronically Erasable ROM

•
Like RAM; changed with PC
Memory Sizes


Depends on user’s application
Generally expressed in (K)


Represents words available
Range from 256 words to 64K
Power Supplies

Source must be as free as possible of:





heavy loads from industrial machinery
Noise
Voltage fluctuations
Takes incoming line power and rectify and
filter
Lithium batteries mostly used for RAM
Ladder Logic Devices
Normally
open contact
Output devices
Normally
closed contact
A Special
Instruction
END
The end rung
of a cycle
Pictures
Allen Bradley PLC
Toshiba PLC
Any Questions?