Professional Documents
Culture Documents
Presentation On PLC and Discrete Controllers 3
Presentation On PLC and Discrete Controllers 3
SOLUTION
What is Automation?
ELECTRONIC
CONTROL
HARD WIRED
CONTROL
MANUAL
CONTROL
Manual Control
All actions were taken by the operators.
Limitations
Limitations
Bulky & Complex Wiring
Energy saving
Economic Improvement
Increases un-employment
Technical Limitation
12
History of the PLC
CPU
Inputs Outputs
CPU
Inputs Outputs
Remote
Outputs
Inputs
What is a PLC with Distributed Control?
Getting Really Complex
CPU CPU
Inputs Outputs
Inputs Outputs
Remote
Outputs
Inputs
Major Components of a Common
PLC
POWER
SUPPLY
I M O M
N O U O
P D T D
U U PROCESSOR P U
T L U L
From E T E To
SENSORS OUTPUT
Pushbuttons, Solenoids,
contacts, contactors,
limit switches, alarms
etc. etc.
PROGRAMMING
DEVICE
17
Major Components of a Common PLC
POWER SUPPLY
Provides the voltage needed to run the primary PLC components.
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.
18
Programming Device
Types:
Hand held unit with LED / LCD display
19
I/O Module
The I/O interface section of a PLC connects it to external field
devices.
Current Buffer,
FROM Limiting Filter,
OPTO- TO
INPUT Resistor ISOLATOR hysteresis
PROCESSOR
DEVICE Circuits
21
Contd….
Input Module
AC INPUT MODULE
IS NEEDED TO:
CONVERTS THE AC Prevent voltage
INPUT TO DC AND transients from
DROPS THE damaging the
VOLTAGE TO LOGIC processor.
LEVEL Helps reduce the
effects of
electrical noise
Rectifier, Buffer,
FROM Resistor OPTO-
Filter,
TO
INPUT Network ISOLATOR Hysteresis
PROCESSOR
DEVICE Circuits
22
23
24
25
Output Module
DC / AC OUTPUT MODULE
IS NEEDED TO:
Prevent voltage
transients from
damaging the
processor.
Helps reduce the
effects of
electrical noise
Amplifier
FROM OPTO-
RELAY
TTL TO
PROCESSOR ISOLATOR TRIAC
Circuits OUTPUT
X’SISTOR
DEVICE
26
27
What are the Inputs devices?
• Switches and Push buttons
• Sensing Devices
• Limit Switches
• Photoelectric Sensors
• Proximity Sensors
• Condition Sensors
• Pressure Switches
• Level Switches
• Temperature Switches
• Vacuum Switches
• Float Switches
•Encoders
What are the Output devices?
• Valves
• Motor Starters
• Solenoids
• Actuators
• Control Relays
• Horns & Alarms
• Stack Lights
• Fans
• Counter/Totalizer
• Pumps
• Printers
Different types of I/O circuits
General - Purpose Outputs
Usually low- voltage and low-current
circuits.
Used to drive indicating lights and other
non-inductive loads.
Noise suppression may or may not be
included on this types of modules.
30
Different types of I/O circuits
Pilot Duty Outputs
Used to drive high-current electromagnetic loads
such as solenoids, relays, valves, and motor starters.
INPUTS MOTOR
PLC CONTACTOR
LAMP
PUSHBUTTONS
34
Processors
It contains the PLC’s microprocessor, its supporting circuitry, and
its memory system.
In PLC Control,
Program makes the rule.
41
Program can be written either in the form of a
Statement list:
a set of mnemonic instructions representing a function of the
CPU.
or a
Ladder diagram:
a graphical language resembling the electrical relay diagrams.
Advantage
One of the advantage of PLC is that it can be programmed by
non-specialists also.
42
Statement list
43
Ladder diagram
44
Most PLC manufacturers offer software packages that allow a
standard computer to be used as a programming terminal.
45
PLC Programming Softwares:
A PLC scan cycle begins with the CPU reading the status of its
inputs.
50
PHASE 3– Logic Solve/Program
Execution
Once the program is executed, the CPU performs diagnostics and
communication tasks.
An output status scan is then performed, whereby the stored output
values are sent to actuators and other field output devices. The cycle
ends by updating the outputs.
The time to make a single scan can vary from 1 ms to 100 ms.
52
Criteria for selecting a PLC
Number of logical inputs and outputs.
Memory
Number of special I/O modules
Scan Time
Communications
Software
Peripherals required while working
with PLCs:
Programming Terminal - laptop or desktop PC.
SOLENOIDS B
SOLENOID
C
TIME
R
1 -MINUTE
56
Tank Used to Mix Two Liquids
A tank is used to mix two liquids. The control circuit operates
as follows:
2.When the tank is filled, the float switch trips. This de-
energizes solenoids A and B and starts the motor used to mix
the liquids together.
58
PLC can be used to start/stop latching logic for motor control
Counters can be used for monitoring product amounts
59
Introduction to NC and CNC Machines
2004 61
DRAWBACKS of CNC
High capital cost
High maintenance requirements
Not cost-effective for low-level production on simple
parts
2004 62
NC SYSTEM ELEMENTS
2004 63
Introduction to NC programming
Manual part programming
Computer-assisted part programming
Formats
Fixed-Address
Tab-Sequential
Word-Address
Manual NC programming
Absolute Programming
Incremental Programming
67
CNC SYSTEM ELEMENTS
A typical CNC system consists of the following six
elements
⚫ Part program
⚫ Program input device
⚫ Machine control unit
⚫ Drive system
⚫ Machine tool
⚫ Feedback system
68
PART PROGRAM
⚫ A part program is a series of coded instructions required to
produce a part. It controls the movement of the machine
tool and the on/off control of auxiliary functions such as
spindle rotation and coolant. The coded instructions are
composed of letters, numbers and symbols and are
arranged in a format of functional blocks as in the
following example
N10 G01 X5.0 Y2.5 F15.0
| | | | |
| | | | Feed rate (15 in/min)
| | | Y-coordinate (2.5")
| | X-coordinate (5.0")
| Linear interpolation mode
Sequence number
69
PROGRAM INPUT DEVICE
⚫ The program input device is the mechanism for part
programs to be entered into the CNC control. The
most commonly used program input devices are
keyboards, punched tape reader, diskette drivers,
throgh RS 232 serial ports and networks.
70
DRIVE SYSTEM
⚫ A drive system consists of amplifier circuits, stepping
motors or servomotors and ball lead-screws. The MCU
feeds control signals (position and speed) of each axis
to the amplifier circuits. The control signals are
augmented to actuate stepping motors which in turn
rotate the ball lead-screws to position the machine
table.
71
MACHINE CONTROL UNIT
The machine control unit (MCU) is the heart of a CNC
system. It is used to perform the following functions:
⚫ Open-loop control
⚫ Closed-loop control
73
FEEDBACK SYSTEM
⚫ The feedback system is also referred to as the
measuring system. It uses position and speed
transducers to continuously monitor the position at
which the cutting tool is located at any particular time.
The MCU uses the difference between reference
signals and feedback signals to generate the control
signals for correcting position and speed errors.
74
CNC PROGRAMMING
⚫Offline programming linked to CAD programs.
⚫Conversational programming by the operator.
⚫MDI ~ Manual Data Input.
⚫Manual Control using jog buttons or electronic
hand-wheel.
⚫Word-Address Coding using standard G-codes
and M-codes.
75
1.Absolute positioning. In this mode, the desired
target position of the tool for a particular move is
given relative to the origin point of the program.
76
INFORMATION NEEDED by a CNC
1. Preparatory Information: units, incremental or absolute
positioning
2. Coordinates: X,Y,Z, RX,RY,RZ
3. Machining Parameters: Feed rate and spindle speed
4. Coolant Control: On/Off, Flood, Mist
5. Tool Control: Tool and tool parameters
6. Cycle Functions: Type of action required
7. Miscellaneous Control: Spindle on/off, direction of
rotation, stops for part movement
This information is conveyed to the machine through a set
of instructions arranged in a desired sequence – Program.
77
Direct Numerical Control (DNC):
A system in which a central computer downloads the NC
programs block by block to many NC machine tools
simultaneously is called Direct Numerical Control (DNC)
system.
It work with the early NC machine tools which can not
read more than a block of information at a time.
The central computer feed the program information one
block at a time. When the machine execute the
information, the next block of information would be fed.
78
Distributed Numerical Control (DNC):
79
Computer Aided Part
Programming:
⚫NC program preparation may be tedious and
difficult if the part to be machined has a complex
geometry. The main difficulty is to find out the
cutter locations during the machining.
Computers may be used to assist the
programmers in preparing the NC codes.
80
Advantages of applying computer-aided part
programming include the following:
81
⚫ The Aerospace Industries Association sponsored the
work that led to the first part programming language,
developed in MIT in 1955.
⚫ This was called: Automatically Programmed Tools (APT).
⚫ APT is an English like simple programming language
which basically produce the Cutter Location (CL) data.
⚫ Using the cutter location data, the program can generate
the actual NC codes by using a postprocessor .
82
CAD/CAM Based Part
Programming:
⚫ The output of any CAD package include the geometric
data of the part to be machined. Therefore, many
CAD/CAM package can produce cutter location (CL) data
to be used for NC code generation.
⚫ There is still to be a process planning module for a
workable NC code generation.
⚫ Some of the CAD/CAM packages that have the NC code
generation capabilities are Computervision, CATIA,
CADAM, ProEngineer, MechanicalDesktop (Auto Desk).
83
NUMERICALLY CONTROLLED MACHINE TOOLS:
An NC machine tool is functionally the same as a
conventional machine tool. The technological
capabilities NC machine tools in terms of
machining are no different from those of
conventional ones. The difference is in the way in
which the various machine functions and slide
movements are controlled. 84
The functions and motions such as;
87
Flow of Computer-
CNC
Aided ProcessingDevelop or obtain the 3D
using CAD.
Decide which machining operations and cutter-path
directions are required
(computer assisted).
Choose the tooling required (computer assisted).
Run CAM software to generate the
CNC part program. Verify and edit
program.
CNC Machine Axes of
The coordinate system used for the tool path must be identical to the
Motion
coordinate system used by the CNC machine. The standards for
machine axes are established according to the industry standard report
EIA RS-267A.
Vertical
milling
machine
Horizont
al milling
machine
90
CNC Machine Axes of
Motion
More complex CNC machines have the capability of executing additional rotary
th th
motions (4 and 5 axes).
91
CNC Machine Axes of
Motion
Five-axis machine
configurations
Modes
mixed.
96
2004
CNC PRESS
97
2004
CNC RAPID PROTOTYPING
98
2004
INDUSTRIES MOST AFFECTED by
CNC
⚫ Aerospace
⚫ Machinery
⚫ Electrical
⚫ Fabrication
⚫ Automotive
⚫ Instrumentation
⚫ Mold making
99
2004
SAMPLE PRODUCTS
OF
CNC MANUFACTURING
100
2004