Professional Documents
Culture Documents
Definition
A programmable logic controller (PLC) or programmable controller is
a digital computer used for automation of electromechanical processes,
such as control of machinery on factory assembly lines, amusement
rides, or lighting fixtures. PLCs are used in many industries and
machines. Unlike general-purpose computers, the PLC is designed for
multiple inputs and output arrangements, extended temperature ranges,
immunity to electrical noise, and resistance to vibration and impact.
Programs to control machine operation are typically stored in batterybacked or non-volatile memory. A PLC is an example of a real time
system since output results must be produced in response to input
conditions within a bounded time unintended operation will result.
Historical Background
Programmable Controller
Development
Early PLCs were designed to replace relay logic systems. These PLCs
were programmed in "ladder logic", which strongly resembles a schematic
diagram of relay logic. This program notation was chosen to reduce
training demands for the existing technicians. Other early PLCs used a
form of instruction list programming, based on a stack-based logic solver.
1968 1969
1974
1976
1977
1980
1983
and
Allen Bradley
Gould Modicon
Texas Instruments
General Electric
Westinghouse
Cutter Hammer
Square D
EUROPEAN
1.
2.
3.
4.
Siemens
Klockner & Mouller
Festo
Telemechanique
JAPANESE
1.
2.
3.
4.
Toshiba
Omron
Fanuc
Mitsubishi
POWER SUPPLY
Provides the voltage needed to run the primary PLC components
I/O MODULES
Provides signal conversion and isolation between the internal logiclevel signals inside the PLC and the fields high level signal.
PROCESSOR
Provides intelligence to command and govern the activities of the
entire PLC systems.
PROGRAMMING DEVICE
used to enter the desired program that will determine the sequence of
operation and control of process equipment or driven machine.
I/O Module
The I/O interface section of a PLC connects it to
external
field devices.
The main purpose of the I/O interface is to condition the various
signals received from or sent to the external input and output
devices.
Input modules converts signals from discrete or analog 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.
Processor
The processor module contains the PLCs microprocessor, its
supporting circuitry, and its memory system.
The main function of the microprocessor is to analyze data coming from
field sensors through input modules, make decisions based on the users
defined control program and return signal back through output modules to
the field devices. Field sensors: switches, flow, level, pressure, temp.
transmitters, etc. Field output devices: motors, valves, solenoids, lamps, or
audible devices.
The memory system in the processor module has two parts: a system
memory and an application memory.
Memory Designs
VOLATILE.
A volatile memory is one that loses its stored information when
power is removed. Even momentary losses of power will erase any
information stored or programmed on a volatile memory chip.
Common Type of Volatile Memory
RAM. Random Access Memory(Read/Write)
Read/write indicates that the information stored in the memory can be
retrieved or read, while write indicates that the user can program or write
information into the memory.
The words random access refer to the ability of any location
(address) in the memory to be accessed or used. Ram memory is used for
both the user memory (ladder diagrams) and storage memory in many
PLCs.
RAM memory must have battery backup to retain or protect the stored
program.
Several Types of RAM Memory:
1. MOS
2. HMOS
3. CMOS
The CMOS-RAM (Complementary Metal Oxide Semiconductor) is
probably one of the most popular. CMOS-RAM is popular 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.
NON-VOLATILE
Has the ability to retain stored information when power is removed,
accidentally or intentionally. These memories do not require battery backup.
Common Type of Non-Volatile Memory
ROM, Read Only Memory
PLC Operation
Basic Function of a Typical PLC
Read all field input devices via the input interfaces, execute the user
program stored in application memory, then, based on whatever control
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.
As soon as Phase 4 are completed, the entire cycle begins again with
Phase 1 input scan.
The time it takes to implement a scan cycle is called SCAN TIME. The scan
time composed of the program scan time, which is the time required for
solving the control program, and the I/O update time, or time required to
read inputs and update outputs. The program scan time generally depends
on the amount of memory taken by the control program and type of
instructions used in the program. The time to make a single scan can vary
from 1 ms to 100 ms.
PLC Communications
Serial Communications
PLC communications facilities normally provides serial transmission
of information.
Common Standard
RS 232
Used in short-distance computer communications, with the majority
of computer hardware and peripherals.
Has a maximum effective distance of approx. 30 m at 9600 baud.
PROGRAMMING
PLC programs are typically written in a special application on a
personal computer, then downloaded by a direct-connection cable or over a
network to the PLC. The program is stored in the PLC either in batterybacked-up RAM or some other non-volatile flash memory. Often, a single
PLC can be programmed to replace thousands of relays.
Under the IEC 61131-3 standard, PLCs can be programmed using
standards-based programming languages. A graphical programming
notation called Sequential Function Charts is available on certain
programmable controllers. Initially most PLCs utilized Ladder Logic
Diagram Programming, a model which emulated electromechanical control
panel devices (such as the contact and coils of relays) which PLCs replaced.
This model remains common today.
IEC 61131-3 currently defines five programming languages for
programmable control systems: FBD (Function block diagram), LD
(Ladder diagram), ST (Structured text, similar to the Pascal programming
language), IL (Instruction list, similar to assembly language) and SFC
(Sequential function chart). These techniques emphasize logical
organization of operations.
Power flows through these contacts when they are closed. The
normally open (NO) is true when the input or output status bit
controlling the contact is 1. The normally closed (NC) is true
when the input or output status bit controlling the contact is 0.
Advantages of PLCs
Less wiring.
Wiring between devices and relay contacts are done in the PLC
program.
Easier and faster to make changes.
Trouble shooting aids make programming easier and reduce
downtime.
Reliable components make these likely to operate for years before
failure
Features
Control panel with PLC (grey elements in the center). The unit
consists of separate elements, from left to right; power supply, controller,
relay units for in- and output
The main difference from other computers is that PLCs are armored for
severe conditions (such as dust, moisture, heat, cold) and have the facility
for extensive input/output (I/O) arrangements. These connect the PLC to
sensors and actuators. PLCs read limit switches, analog process variables
(such as temperature and pressure), and the positions of complex
positioning systems. Some use machine vision. On the actuator side, PLCs
operate electric motors, pneumatic or hydraulic cylinders, magnetic relays,
solenoids, or analog outputs. The input/output arrangements may be built
into a simple PLC, or the PLC may have external I/O modules attached to a
computer network that plugs into the PLC.
Need of PLC
The basic application of PLC is to control the entire process of the
Traffic
Control
System.
The
parameter
like
timer,counter,comparator,memory bit & the operations like latching
,interlocking are used in the control logic . If we would have connected
above parameters and operation physically then it would have been very
complex and also the troubleshooting very critical and more critical .By
using the plc, this type of problem are being solved easily. Through this we
can use any no. of parameters to smoothly operation of the process.
It can easily replace the complex logic in a simple ladder programme
and also easily diagnostic the error. We can simulate the system error and
modify it immediately thorough the software. So this type of process is
getting a great advantage by the plc.
SCADA
Definition
Definition of SCADA or Supervisory
Control and Data Acquisition software is:
Computer based
Alarms
Data acquisition
Operator interface
Non real-time control
Database and Log Files
Reports and Information Sharing
Computer Based
We feel that SCADA software must have all possible types of
connectivity and integration. This means serial ports, Ethernet, PCI slots, and the
ability to run a wide variety of applications. PLCs and simple operator interfaces
(i.e. not based on the regular Windows operating system) are too limited in their
functionality and capabilities. Click for industrial computers or Visual Basic and
C#.
programmers can review the alarms to determine what caused the alarm and
prevent them happening again.
Data Acquisition
SCADA must be able to read data from PLCs and other hardware and
then analyze and graphically present that data to the user. SCADA systems
must be able to read and write multiple sources of data.
Operator Interface
A SCADA system collects all of the information about a process. The
SCADA system then needs to display this data to the operator so that they can
comprehend what is going on with the process.
operator and the real-time controller. It allows the operator to control the system,
such as start a new batch, load a new recipe, etc.
Databases and Data Logging
Most applications require recipes, data logging, and other means of
reading and writing databases. The great thing about SCADA systems is that
they can log incredible amounts of data to disk for later review. This is helpful
for solving problems as well as providing information to improve the process.
Many different methods should be available including, plain text, binary fixed
column, Comma Separated Variable (CSV), XML, Excel, Access, SQL, SQL Server,
ODBC, web services.
Reports and Information Sharing
What good is a SCADA system and all this information if you can't
share it with others? Some of the reports overlap with the previous description of
databases and data logging. For example, your users might prefer that you put
the results into an Excel spreadsheet or database so that they can use their own
tools for creating the report. Or the users might want you to create reports in
Microsoft Word format.
Explanation of SCADA.
SCADA is the acronym for Supervisory Control And Data
Acquisition. The term refers to a large-scale, distributed measurement (and
control) system. SCADA systems are used to monitor or to control chemical
or transport processes, in municipal water supply systems, to control
electric power generation, transmission and distribution, gas and oil
pipelines, and other distributed processes.
Systems concepts
A SCADA system includes input/output signal hardware, controllers,
HMI, networks, communication, database and software. It mainly comes in
the branch of Instrumentation Engineering
The term SCADA usually refers to a central system that monitors and
controls a complete site or a system spread out over a long distance
(kilometres/miles). The bulk of the site control is actually performed
automatically by a Remote Terminal Unit (RTU) or by a Programmable
Logic Controller (PLC). Host control functions are almost always restricted
to basic site over-ride or supervisory level capability. the SCADA system
may allow an operator to change the control set point , and will allow any
alarm conditions are to be recorded and displayed. The feedback control
loop is closed through the RTU or PLC; the SCADA system monitors the
overall performance of that loop.
Data acquisition begins at the RTU or PLC level and includes meter
readings and equipment statuses that are communicated to SCADA as
required. Data is then compiled and formatted in such a way that a control
room operator using the HMI can make appropriate supervisory decisions
that may be required to adjust or over-ride normal RTU (PLC) controls.
Data may also be collected in to a Historian, often built on a commodity
Database Management System, to allow trending and other analytical
work.
Introduction:
What is SCADA?
SCADA stands for Supervisory Control And Data Acquisition. As the
name indicates, it is not a full control system, but rather focuses on the
supervisory level. It is a software package that is positioned on top of
hardware to which it is interfaced, in general via Programmable Logic
Controllers (PLCs), or other commercial hardware modules. Systems
similar to SCADA systems are routinely seen in factories, treatment plants
etc. These are often referred to as Distributed Control Systems (DCS). They
have similar functions to SCADA systems, but the field data gathering or
control units are usually located within a more confined area.
Communications may be via a local area network (LAN), and will
normally be reliable and high speed. Basically, SCADA is a computer
system for gathering and analyzing real time data.
Software Architecture
The SCADA products are multi-tasking and are based upon a realtime database (RTDB) located in one or more servers. Servers are
responsible for data acquisition and handling like polling controllers, alarm
checking, calculations, logging and archiving) on a set of parameters,
typically to which those are connected.
However, it is possible to have dedicated servers for particular tasks,
e.g. historian, datalogger, alarm handler. Fig. 2 shows a SCADA
architecture that is generic for the product.
stamp is taken over by the data server. If the controller and communication
protocol used support unsolicited data transfer then the products will
support this too.
The products provide communication drivers for most of the
common PLCs and widely used field-buses, e.g., Modbus. Of the three
fieldbuses that are recommended are, both Profibus and Worldfip are
supported but CANbus often not. Some of the drivers are based on third
party products (e.g., Applicom cards) and therefore have additional cost
associated with them. VME on the other hand is generally not supported.
A single data server can support multiple communications protocols;
it can generally support as many such protocols as it has slots for interface
cards. The effort required to develop new drivers is typically in the range
of 2-6 weeks depending on the complexity and similarity with existing
drivers, and a driver development toolkit is provided for this.
Interfacing
Application Interfaces / Openness
The provision of OPC client functionality for SCADA to access
devices in an open and standard manner is developing. There still seems to
be a lack of devices/controllers, which provide OPC server software, but
this improves rapidly as most of the producers of controllers are actively
involved in the development of this standard.
The products also provide
Database
The configuration data are stored in a database that is logically
centralized but physically distributed and that is generally of a proprietary
format. For performance reasons, the RTDB resides in the memory of the
servers and is also of proprietary format. The archive and logging format is
usually also proprietary for performance reasons, but some products do
support logging to a Relational Data Base Management System (RDBMS) at
a slower rate either directly or via an ODBC interface.
Scalability
Scalability is understood as the possibility to extend the SCADA
based control system by adding more process variables, more specialized
servers (e.g. for alarm handling) or more clients. The products achieve
scalability by having multiple data servers connected to multiple
controllers. Each data server has its own configuration database and RTDB
and is responsible for the handling of a sub-set of the process variables
(acquisition, alarm handling, archiving).
Functionality:
Access Control
Users are allocated to groups, which have defined read/write access
privileges to the process parameters in the system and often also to specific
product functionality.
MMI
The products support multiple screens, which can contain
combinations of synoptic diagrams and text. They also support the concept
of a "generic" graphical object with links to process variables. These objects
can be "dragged and dropped" from a library and included into a synoptic
diagram. Most of the SCADA products that were evaluated decompose the
process in "atomic" parameters (e.g. a power supply current, its maximum
value, its on/off status, etc.) to which a Tag-name is associated. The Tagnames used to link graphical objects to devices can be edited as required.
The products include a library of standard graphical symbols, many of
which would however not be applicable to the type of applications
encountered in the experimental physics community. Standard windows
editing facilities are provided: zooming, re-sizing, scrolling... On-line
configuration and customization of the MMI is possible for users with the
appropriate privileges. Links can be created between display pages to
navigate from one view to another.
Trending
The products all provide trending facilities and one can summarize
the common capabilities as follows:
Alarm Handling
Alarm handling is based on limit and status checking and performed
in the data servers. More complicated expressions (using arithmetic or
logical expressions) can be developed by creating derived parameters on
which status or limit checking is then performed. The alarms are logically
handled centrally, i.e., the information only exists in one place and all users
see the same status (e.g., the acknowledgement), and multiple alarm
priority levels (in general many more than 3 such levels) are supported.
It is generally possible to group alarms and to handle these as an
entity (typically filtering on group or acknowledgement of all alarms in a
group). Furthermore, it is possible to suppress alarms either individually or
as a complete group. The filtering of alarms seen on the alarm page or
when viewing the alarm log is also possible at least on priority, time and
Logging/Archiving
The terms logging and archiving are often used to describe the same
facility. However, logging can be thought of as medium-term storage of
data on disk, whereas archiving is long-term storage of data either on disk
or on another permanent storage medium. Logging is typically performed
on a cyclic basis, i.e., once a certain file size, time period or number of
points is reached the data is overwritten. Logging of data can be performed
at a set frequency, or only initiated if the value changes or when a specific
predefined event occurs. Logged data can be transferred to an archive once
the log is full. The logged data is time-stamped and can be filtered when
viewed by a user. The logging of user actions is in general performed
together with either a user ID or station ID. There is often also a VCR
facility to play back archived data.
Report Generation
One can produce reports using SQL type queries to the archive,
RTDB or logs. Although it is sometimes possible to embed EXCEL charts in
the report, a "cut and paste" capability is in general not provided. Facilities
exist to be able to automatically generate, print and archive reports.
Automation
The majority of the products allow actions to be automatically
triggered by events. A scripting language provided by the SCADA
products allows these actions to be defined. In general, one can load a
particular display, send an Email, run a user defined application or script
and write to the RTDB.
The concept of recipes is supported, whereby a particular system
configuration can be saved to a file and then re-loaded at a later date.
Sequencing is also supported whereby, as the name indicates, it is possible
to execute a more complex sequence of actions on one or more devices.
Sequences may also react to external events. Some of the products do
support an expert system but none has the concept of a Finite State
Machine (FSM).
Evolution:
SCADA vendors release one major version and one to two additional
minor versions once per year. These products evolve thus very rapidly so
as to take advantage of new market opportunities, to meet new
requirements of their customers and to take advantage of new
technologies.
As was already mentioned, most of the SCADA products that were
evaluated decompose the process in "atomic" parameters to which a Tag-
Development Tools
Project editor
Graphics editor
Configuration through parameter templates
Scripting language
Driver Development Tool Kit
And more
Conclusion
SCADA is a control system with