Module 5
Module 5
LOGIC CONTROL
Module 5
What is Sequence and Logic Control?
⚫ Sequence control refers to user actions and computer logic that
initiate, interrupt, or terminate transactions.
⚫ Many control applications do not involve analog process
variables.
⚫ The simplest examples of such variables are binary variables,
that can have either of two possible values, (such as 1 or 0, on
or off, open or closed etc.).
⚫ These control systems operate by turning on and off switches,
motors, valves, and other devices in response to operating
conditions and as a function of time.
⚫ Such systems are referred to as sequence/logic control systems.
Sequence Control System
adopted by many manufacturers and later standardized in the IEC 61131-3 control systems
programming standard
New standards of Programming
⚫ Structured Text (ST; similar to Pascal) and Instruction List (IL); as well as
3 graphical languages: Ladder Diagram, Function Block Diagram (FBD)
and Sequential Function Chart (SFC).
⚫ PLCs use built-in ports, such as USB, Ethernet, RS-232, RS-485, or RS-
422 to communicate with external devices (sensors, actuators) and systems
(programming software, SCADA, HMI). Communication is carried over
various industrial network protocols, like Modbus, or EtherNet/IP. Many of
these protocols are vendor specific.
Features of PLC
⚫ High reliability, strong anti-jamming capability
⚫ Variable control program and good variability
⚫ Programming is simple, easy to use
⚫ Fully functional, easy to expand
⚫ Reduce design and construction time
PLC Architecture
⚫The heart of the PLC system is the CPU (Central
Processing Unit).
⚫ It is made up of a control unit and processor.
⚫The CPU control unit manages the interaction
between the various PLC hardware components
while the CPU processor handles all the number
crunching and program (eg ladder logic)
execution.
⚫Data flow is from the input devices, through
the CPU processor and then to the output devices.
⚫The CPU processor also exchanges data with
the program and data memory.
⚫Once all the data is gathered the program (eg
ladder logic) is processed in a cyclic fashion.
⚫ The resulting data flows to the output interface for
conditioning and execution of the output devices.
⚫ The CPU also controls and exchanges data with
the communication interface and devices
⚫ An addressing system is used for data organization that
is shared between the various hardware components.
⚫ A programming terminal is used to formulate the PLC
program (eg ladder logic), load the program into the
controller and monitor/control the PLC and its
program.
⚫ The power supply is responsible for supplying and
managing the power requirements of the various PLC
hardware components.
Types of PLC Architecture
⚫ The 3 distinct types of PLC architecture available for use in
industrial automation are known as fixed, modular and
distributed.
⚫ Fixed PLCs are used for smaller sized, less complex
application.
⚫ Modular PLCs are generally used for medium sized, more
complex applications.
⚫ Whereas distributed PLCs are used for large sized, extensive
application spread across multiple location.
Distributed PLC Architecture
PLC: Input scan, Program scan and Output scan
ref: T Jagadeesha, Pneumatics, Concepts, Design, and Application
PLC Programming: Ladder Diagram
ref: T Jagadeesha, Pneumatics, Concepts, Design, and Application
PLC Programming: Ladder Diagram
ref: T Jagadeesha, Pneumatics, Concepts, Design, and Application
PLC Programming: Bit Operations
ref: T Jagadeesha, Pneumatics, Concepts, Design, and Application
PLC Programming: Timers
ref: T Jagadeesha, Pneumatics, Concepts, Design, and Application
Timers are programming elements delaying the turning on or turning off events to a
preset duration.
PLC Programming: Counters
ref: T Jagadeesha, Pneumatics, Concepts, Design, and Application
■ The steps in the inspection performed on an individual item, such as part, sub-assembly or
final product are as follows :
Presentation The item is presented for evaluation.
Examination The item is examined for non-conforming features. Measurement of a
dimension or other attributes of the part or product are examined, while inspecting the
variables.
Decision: It is based on the evaluation, a decision is made whether the item adhere to the
defined quality standards. The simplest case involves a binary decision, in which the item
is deemed either acceptable or unacceptable.
Action: Action should be taken based on the decision to accept or reject the item, or sort
the items to the most appropriate quality grade.
Inspection Accuracy
■ There are normally two errors committed on the part of manufacturers while carrying
out the inspection.
■ These two kinds of mistake are called Type I and Type II errors.
■ Type I error occurs when a good lot is rejected and is called producers risk.
■ Type II error occurs when a bad lot is accepted and is called consumers risk.
■ An error is committed by the inspector that misses some of the defect during inspection
of an assembly line.
■ The capability of the inspection process to avoid these types of errors is termed as
inspection accuracy.
AUTOMATED INSPECTION
■ Automated inspection is defined as the automation of one or more steps involved in the
inspection procedure. Automated or semi-automated inspection can be implemented in the
number of alternative ways.
Automated presentation of parts by an automatic handling system with manual examination and
decision steps.
Machine with manual loading parts into the machine doing, automated examination and
decision making.
Completely automated inspection system in which parts presentation, examination and decisions
are performed automatically.
The inspection procedure is performed by a human worker in the first case, with all of the possible
errors in this form of inspection. In second and third case, the actual inspection operation is
accomplished by an automated system.
Feedback Process Control
■ In the inspection operation, data are feedback to the manufacturing process responsible
and the same is evaluated.
■ The motive behind the feedback is to allow compensating adjustments to be made in the
process to reduce variability and improve quality.
■ If the output of process starts drifting toward the high side of tolerance (e.g. tool wear
may cause a part dimension to increase over time), adjustment can be made in the input
parameters to bring the output back to the nominal value.
■ In this way, average quality is maintained within a smaller variability range than is
possible with sampling inspection methods. As a result, process capability is improved
Parts Sortation
■ Here, parts are sorted on the basis of quality level and classified as accepted or rejected
part.
■ There may be more than two levels of quality appropriate for the process (e.g.
acceptable, reworkable, and scrap).
■ Sortation and inspection may be accomplished in several ways. One alternative is to
both inspect and sort at the same station.
■ Other installation locates one or more inspections along the processing line, with a
single sortation station near the end of the line.
■ Inspection data are evaluated and inspections are put forth to the sortation station
indicating what action is required for each part.
Timing of inspection