Vous êtes sur la page 1sur 14

5/20/2017

Programmable Logic Controllers


( Definition according to NEMA standard ICS3-1978)

A digitally operating electronic apparatus which


PLC_MITSUBISHI uses a programming memory for the internal
storage of instructions for implementing specific
functions such as logic, sequencing, timing,
counting and arithmetic to control through digital
or analog modules, various types of machines or
process.

Programmable Logic Controllers Programmable Logic Controllers


PLC Origin Programmable Controller Development

Developed to replace relays in the late 1960s 1968 Programmable concept developed
Costs dropped and became popular by 1980s 1969 Hardware CPU controller, with logic instructions, 1
Now used in many industrial designs K of memory and 128 I/O points
1974 Use of several (multi) processors within a PLC -
timers and counters; arithmetic operations; 12 K of
memory and 1024 I/O points
1976 Remote input/output systems introduced
1977 Microprocessors - based PLC introduced

1
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


Programmable Controller Development Advantages of PLCs :

1980 Intelligent I/O modules developed Enhanced Less wiring.


communications facilities Enhanced software features Wiring between devices and relay contacts are done in
(e.g. documentation) Use of personal Programmable the PLC program.
Controller Development microcomputers as Easier and faster to make changes.
programming aids Trouble shooting aids make programming easier and
1983 Low - cost small PLCs introduced reduce downtime.
1985 Networking of all levels of PLC, computer onwards Reliable components make these likely to operate for
and machine using SCADA software. years before failure.

Programmable Logic Controllers Programmable Logic Controllers


Advantages of PLCs : What tasks do PLC perform ?

They are cost-effective The logic control tasks such as interlocking, sequencing,
They are flexible, reliable and compact timing and counting (previously undertaken with relays
They have significant advantages over traditional control or pneumatics)
systems based on relay or pneumatics
In addition, PLCs can perform a variety of calculation,
communication and monitoring tasks

2
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


Leading Brands Of PLC Leading Brands Of PLC

AMERICAN: EUROPEAN:
1. Allen Bradley 1. Siemens
2. Gould Modicon 2. Klockner & Mouller
3. Texas Instruments 3. Festo
4. General Electric 4. Telemechanique
5. Westinghouse
6. Cutter Hammer
7. Square D

Programmable Logic Controllers Programmable Logic Controllers


Leading Brands Of PLC Areas of Application :

JAPANESE: Manufacturing / Machining


1. Toshiba Food / Beverage
2. Omron Metals
3. Fanuc Power
4. Mitsubishi Mining
Petrochemical / Chemical

3
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


PLC Size : PLC Size :

Small: Large:
It covers units with up to 128 I/Os and memories up to 2
Kbytes. The most sophisticated units of the PLC family.
These PLCs are capable of providing simple to advance They have up to 8192 I/Os and memories up to 750
levels or machine controls. Kbytes.
Can control individual production processes or
Medium: entire plant.
Have up to 2048 I/Os and memories up to 32 Kbytes.

Major Components of a Common PLC Programmable Logic Controllers


Major Components of a Common PLC

Power Supply:
Provides the voltage needed to run the primary PLC
Components

I/O Modules:
Provides signal conversion and isolation between the
internal logic- level signals inside the PLC and the fields
high level signal.

4
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


Major Components of a Common PLC Major Components of a Common PLC

Processor : I/O Module:


Provides intelligence to command and govern the The I/O interface section of a PLC connects it to external
activities of the entire PLC systems. field devices.
The main purpose of the I/O interface is to condition the
Programming Device : various signals received from or sent to the external input
Used to enter the desired program that will and output devices.
determine the sequence of operation and control of process Input modules converts signals from discrete or analog
equipment or driven machine. input devices to logic levels acceptable to PLCs processor.
Output modules converts signal from the processor to
levels capable of driving the connected discrete or analog
output devices.

Programmable Logic Controllers Programmable Logic Controllers


I/O Module I/O Module

5
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


INPUT DEVICES: OUTPUT DEVICES:

Programmable Logic Controllers Programmable Logic Controllers


Discrete Input Analog Input
Discrete input also referred as digital input is an input that is An analog input is an input signal that has a continuous signal.
either ON or OFF are connected to the PLC digital input. In the Typical inputs may vary from 0 to 20mA, 4 to 20mA or 0 to10V.
ON condition it is referred to as logic 1 or a logic high and in the Below, a level transmitter monitors the level of liquid in the tank.
OFF condition maybe referred to as logic o or logic low. Depending on the level Tx, the signal to the PLC can either
increase or decrease as the level increases or decreases.

6
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


Digital Output Analog Output
A discrete output is either in an ON or OFF condition. Solenoids, An analog output is an output signal that has a continuous signal.
contactors coils, lamps are example of devices connected to the Typical outputs may vary from 0 to 20mA, 4 to 20mA or 0 to10V.
Discrete or digital outputs. Below, the lamp can be turned ON or
OFF by the PLC output it is connected to.

Programmable Logic Controllers Programmable Logic Controllers


Processor Memory Map Organization
The processor module contains the PLCs microprocessor, its System memory includes an area called
supporting circuitry, and its memory system. the EXECUTIVE, composed of
The main function of the microprocessor is to analyze data coming permanently-stored programs that direct
from field sensors through input modules, make decisions based on all system activities, such as execution of
the users defined control program and return signal back through the users control program,
output modules to the field devices. communication with peripheral devices,
Field sensors: switches, flow, level, pressure, temp. transmitters, etc. and other system activities.
Field output devices: motors, valves, solenoids, lamps, or audible The system memory also contains the
devices. routines that implement the PLCs
instruction set, which is composed of
The memory system in the processor module has two parts: a system specific control functions such as logic,
memory and an application memory. sequencing, timing, counting, and
arithmetic.
System memory is generally built from
read-only memory devices.

7
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


Memory Map Organization Memory Designs
The application memory is divided into VOLATILE.
the data table area and user program A volatile memory is one that loses its stored information when
area. The data table stores any data power is removed.
associated with the users control Even momentary losses of power will erase any information
program, such as system input and stored or programmed on a volatile memory chip.
output status data, and any stored
constants, variables, or preset values. Common Type of Volatile Memory
The data table is where data is RAM. Random Access Memory(Read/Write)
monitored, manipulated, and changed Read/write indicates that the information stored in the emory
for control purposes. can be retrieved or read, while write indicates that the user can program
The user program area is where the or write information into the memory.
programmed instructions entered by the
user are stored as an application control
program.

Programmable Logic Controllers Programmable Logic Controllers


Memory Designs Memory Designs
The words random access refer to the ability of any location Several Types of RAM Memory:
(address) in the memory to be accessed or used. Ram memory is 1.MOS
used for both the user memory (ladder diagrams) and storage 2.HMOS
memory in many PLCs. 3.CMOS
The CMOS-RAM (Complimentary Metal Oxide Semiconductor)
RAM memory must have battery backup to retain or protect the is probably one of the most popular. CMOS-RAM is popular
stored program. because it has a very low current drain when not being accessed
(15microamps.), and the information stored in memory can be
retained by as little as 2Vdc.

8
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


Memory Designs Memory Designs
NON-VOLATILE Other Types of Non-Volatile Memory
Has the ability to retain stored information when power is
removed, accidentally or intentionally. These memories do not PROM, Programmable Read Only Memory
require battery back-up. Allows initial and/or additional information to be written
into the chip.
Common Type of Non-Volatile Memory PROM may be written into only once after being received
ROM, Read Only Memory from the PLC manufacturer; programming is accomplish by pulses of
Read only indicates that the information stored in memory current.
can be read only and cannot be changed. Information in ROM is The current melts the fusible links in the device, preventing
placed there by the manufacturer for the internal use and operation it from being reprogrammed. This type of memory is used to prevent
of the PLC. unauthorized program changes.

Programmable Logic Controllers Programmable Logic Controllers


Memory Designs Memory Designs
EPROM, Erasable Programmable Read Only Memory EEPROM, Electrically Erasable Programmable Read Only Memory
Ideally suited when program storage is to be semi- Also referred to as E2PROM, is a chip that can be
permanent or additional security is needed to prevent unauthorized programmed using a standard programming device and can be
program changes. erased by the proper signal being applied to the erase pin.

The EPROM chip has a quartz window over a silicon EEPROM is used primarily as a non-volatile backup for the
material that contains the electronic integrated circuits. This window normal RAM memory. If the program in RAM is lost or erased, a
normally is covered by an opaque material, but when the opaque copy of the program stored on an EEPROM chip can be down loaded
material is removed and the circuitry exposed to ultra violet light, into the RAM.
the memory content can be erased.

The EPROM chip is also referred to as UVPROM.

9
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


PLC Operation PLC Operation

Basic Function of a Typical PLC Read all field input devices While the PLC is running, the scanning process includes
via the input interfaces, execute the user program stored in the following four phases, which are repeated continuously
application memory, then, based on whatever control as individual cycles of operation:
scheme has been programmed by the user, turn the field
output devices on or off, or perform whatever control is
necessary for the process application.

This process of sequentially reading the inputs, executing


the program in memory, and updating the outputs is
known as scanning.

Programmable Logic Controllers Programmable Logic Controllers


PLC Operation PLC Communications
PHASE 1 Input Status scan
A PLC scan cycle begins with the CPU reading the Common Uses of PLC Communications Ports
status of its inputs. Changing resident PLC programs uploading
PHASE 2 Logic Solve/Program Execution /downloading from a supervisory controller (Laptop or
The application program is executed using the desktop computer).
status of the inputs Forcing I/O points and memory elements from a remote
PHASE 3 Logic Solve/Program Execution terminal.
Once the program is executed, the CPU performs Linking a PLC into a control hierarchy containing several
diagnostics and communication tasks sizes of PLC and computer.
PHASE 4 - Output Status Scan Monitoring data and alarms, etc. via printers or Operator
An output status scan is then performed, whereby Interface Units (OIUs).
the stored output values are sent to actuators and other
field output devices. The cycle ends by updating the
outputs.

10
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


PLC Communications PLC Communications

Serial Communications Local Area Network (LAN)


PLC communications facilities normally provides serial Local Area Network provides a physical link
transmission of information. between all devices plus providing overall data exchange
management or protocol, ensuring that each device can
Common Standards talk to other machines and understand data received
RS 232 from them.
Used in short-distance computer communications, LANs provide the common, high-speed data
with the majority of computer hardware and peripherals. communications bus which interconnects any or all devices
Has a maximum effective distance of approx. 30 m within the local area.
at 9600 baud. LANs are commonly used in business applications
to allow several users to share costly software packages and
peripheral equipment such as printers and hard disk
storage.

Programmable Logic Controllers Programmable Logic Controllers


PLC Communications Specifications

RS 422 / RS 485 Several factors are used for evaluating the quality and
Used for longer-distance links, often between several performance of programmable controllers when selecting a
PCs in a distributed system. RS 485 can have a maximum unit for a particular application.
distance of about 1000 meters.
These are listed below.
NUMBER OF I /O PORTS
This specifies the number of I/O devices that can be
connected to the controller. There should be sufficient I/O
ports to meet present requirements with enough spares to
provide for moderate future expansion.

11
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


Working of PLC PLC Programming
PLC is software driven equipment like computer
Working of PLC (process) is decided by user through
program.
Depending on process requirement program (set of
instruction) is prepared.
CPU sequentially read these instruction and operates
control elements based on input signals and program
instruction.

Programming can be done On-line or Off-line.


Normally programming / change in program is done in
memory of programming unit and then simply this change
is loaded in CPU memory of PLC

Programmable Logic Controllers Programmable Logic Controllers


PROGRAMMING PROGRAMMING

Coils

Power flows through these contacts when they are closed. Coils represent relays that are energized when power flows
to them. When a coil is energized it causes a corresponding
The normally open (NO) is true when the input or output output to turn on by changing the state of the status bit
status bit controlling the contact is 1. controlling the output to 1. That same output status bit
The normally closed (NC) is true when the input or output maybe used to control normally open or normally closed
status bit controlling the contact is 0. contact anywhere in the program.

12
5/20/2017

Programmable Logic Controllers Programmable Logic Controllers


PROGRAMMING PROGRAMMING

Boxes AND OPERATION

Boxes represent various instructions or functions that are Each rung or network on a ladder program represents
Executed when power flows to the box. Some of these a logic operation. In the rung above, both inputs A and B
Functions are timers, counters and math operations. must be true (1) in order for the output C to be true (1).

Programmable Logic Controllers Programmable Logic Controllers


PROGRAMMING Writing Program
Ladder Diagram (LAD)
OR OPERATION Use relay logic symbols to formulate the control
task

Control System Flowchart (CSF)


Use digital graphical symbols to formulate the control
task

In the rung above, it can be seen that either input A or B


is be true (1), or both are true, then the output C is true (1).
Statement List (STL)
Use mnemonic abbreviation in programming.

13
5/20/2017

Programmable Logic Controllers


PLC - Introduction
Ladder Diagram (LAD)
Use relay logic symbols to formulate the control
task

Control System Flowchart (CSF)


Use digital graphical symbols to formulate the control
task

Statement List (STL)


Use mnemonic abbreviation in programming.

14

Vous aimerez peut-être aussi