CNC Lecture Notes - Chapter 1
CNC Lecture Notes - Chapter 1
CNC Lecture Notes - Chapter 1
OF MACHINE TOOLS
Laboratory for Manufacturing Systems and Automation
Department of Mechanical Engineering and Aeronautics
University of Patras, Greece
Chapter 1:
An Introduction to Numerical Control
Machinery
Objectives of Chapter 1
Objectives of Chapter 1
Numerical Control (NC) helps solve the problem of making
machines
Computer Aided Programming (CAP):
(CAP): Programming done
by a computer
(MDI): A manual program is entered into
Manual Data Input (MDI):
the machines controller via its own keyboard
Laboratory for Manufacturing Systems and Automation
Objectives of Chapter 1
Computer is used as the Control Unit (CU) of the modern
machines of today
FOCUS on
on:: MDI programming of CNC machinery
than 40 years
NC is a method of automatically operating a manufacturing
machine based on a code of letters, numbers, and special
characters
A complete set of coded instructions for executing an
operation is called a program
The program is translated into corresponding electrical
signals for input to motors that run the machine
Numerical control machines can be programmed manually
If a computer is used to create a program, the process is
known as computer
computer--aided programming
The approach we take is in the form of Manual Programming
The History of NC
J.
Parsons
(Parsons
Corporation)
began
experimenting for using 3-axis curvature data to control
machine tool motion for the production of aircraft
components
1949: Parsons awarded a US Air Force contract to build the
first NC machine
1951: MIT was involved in the project
1952: NC achieved when MIT demonstrated that
simultaneous 3-axis movements were possible using a
laboratory-build controller and a Cincinnati HYDROTEL
vertical spindle
1955: after refinements NC become available to industry
1947:
The History of NC
The History of NC
Early NC machines run off punched cards and tape
Due to the time and effort for editing and changing tapes
The History of NC
Computer Aided Programming Languages:
Languages:
Allow the development of an NC program using a set of
or more NC machines
The History of NC
The History of NC
Distributed Numerical Control (DNC):
(DNC):
A network of computers is used to
coordinate the operation of a number
of CNC machines
Tape
NC machine
machine:: responds to programmed signals from the
only the CNC program but the cutter paths generated and any
errors in the program
NC machine
machine:: responds to programmed signals from the
CNC Machines
A CNC machine has more programmable features than
CNC Machines
A CNC machine is a soft
soft--wired controller
Once the CNC program is loaded into the computers
memory no HW is required to transfer the NC codes to the
controller
The controller uses a permanent resident program
EXECUTIVE PROGRAM to process the codes into
electrical pulses to control the machine
EXECUTIVE Program is called executive software or
executive firmware
EXECUTIVE program resides in ROM (Read Only
Memory)
NC code resides in RAM (Random Access Memory)
Firmware:: Routines of SW including lowFirmware
low-level instructions stored in ROM only for
reading
Laboratory for Manufacturing Systems and Automation
CNC Machines
ROM (Read Only Memory)
Is an electronic chip which can be accessed by a computer but not
altered (erased or written) without special equipment
The EXECUTIVE program can not be erased
The EXECUTIVE program is always active when machine is on
RAM (Random Access Memory)
RAM can be altered by the computer
NC code is written into RAM by keyboard or other outside source
The content of RAM is lost when the controller is turned off
Battery backup system is used for saving the program in the event
of power loss
CMOS (Complementary Metal
Metal
Oxide
Oxide
Semiconductor) memory
CNC Machines
CNC Machines
FIGURE 1-7
FIGURE 1-8
A Tsugami lightning
machining center
axis
horizontal
CNC Machines
conventional machines
2. Savings in operator training expenses
3. Savings in shop supervisory costs
4. Savings due to tighter, more predictable production scheduling
5. Savings in real estate since fewer CNC machines are needed
6. Savings in power consumption since CNC machines produce
parts with a minimum of motor idle time
7. Savings from improved cost estimation and pricing
Laboratory for Manufacturing Systems and Automation
EXAMPLE 1 -1
Given the investment figures in Table 1-1 for implementing a
new CNC machine tool, determine the payback period and the
annual return on investment
investment.. The CNC is conservatively
estimated to have a useful life of 12 years
years..
CNC Machines
FIGURE 1-11
A CNC centerless grinding machine with an epoxy
granite bed, (Photo courtesy of Cincinnati
Machine)
Input Media
Input Media for the NC code into the Controller
Are used to electronically or mechanically store the NC programs
An NC program is read from the input medium when it is loaded into the
machine
Old NC machinery could only read programs from punched tape or DNC
CNC machines may process multiple means of program input
Punched Tape
The oldest medium for program storage
Made from paper or Mylar plastic (stronger than paper)
The NC program code is entered into the tape by tape puncher in a form
of a series of holes representing the NC codes
A tape reader by electrical, optical or mechanical means senses the
holes and transfers the coded information into the machine computer
The NC code is entered into CAM or Word Processor program and
punched into tape
Laboratory for Manufacturing Systems and Automation
Input Media
Magnetic Tape
Early experiments were not successful due to machine shop environment
High quality tapes of today can be used with reasonable care in handling
The most commonly used format is - inch computer cassette tape
Standards for tape format and coding have been developed by the
Electronics Industries Association (EIA)
Floppy Diskette
Popularized by the use of PCs in NC programming
The NC program is transferred into the CNC control by means of a
portable diskette drive attached to the communication port of the CNC
machine
The most common used port is RS232
RS232 (serial communication port)
Floppy diskettes are cheaper than other program storage options
Input Media
Binary Numbers
How controller processes information?
It is important in learning to program CNC machinery
Computers and Computer
Computer-- Controlled machinery do not deal in Arabic
symbols or numbers
All of the internal processing is done by calculating or comparing binary
numbers
Binary numbers contain only two digits
digits:: ZERO (0) and ONE (1)
Within CNC controller
controller::
Each binary digit 1 may represent a positive charge or
A binary digit 0 may represent a negative charge or
A 1 may be the ON or
A 0 may be the OFF
The CNC program code in binary form must be loaded into the computer
Programming formats and languages allow the NC code to be written
using alphabetic characters / base
base--ten decimal numbers
Laboratory for Manufacturing Systems and Automation
Binary Numbers
Tape Formats
General
Toady punched tape is not often used for NC program storage
Formats used in NC programming are still referred as Tape Formats
Computer files containing the NC programs are referred as tape files,
punch files or tape image files
Old machinery is still used in machine shops
RSRS-274 Format
Follows Electronics Industries Association (EIA) standard
Program information is contained in program lines called Blocks
Blocks are punched into the tape in one or two tape code standards
RSRS-274 is a variable block coding format
The information contained in a block may be arranged in any order
Tape Formats
RSRS-244 Binary Coded Decimal (BCD)
The EIA RSRS-244 standard is one of the two tape codes used for NC tapes
Became a standard early in the development of NC limited punctuation
Each hole represents the digit 1 while each blank the digit 0
The tape code allows alphabetic characters and base
base--ten numbers to be
translated into the binary code the controller requires (Binary Coded
Decimal BDC)
RSRS-358 Format
Government, telephone and Computer industries required tape code
containing upper and lower case letters
The existing tape coding formats were sufficient only for machining
The standard accepted was American Standard Code for Information
Interchange (ASCII)
EIA RSRS-358 was adopted
EIA RSRS-358 is also as ISO and ASCII is a subset of the ASCII code used
in other applications Today is dominant over RSRS-244
Laboratory for Manufacturing Systems and Automation
Tape Formats
Applications in Industry
Originally developed for use in Aerospace industries
Widespread in manufacturing
manufacturing::
Aerospace
Defence
Automotive
Electronic
Appliance
Tooling industries
Advances in microelectronics have lowered the cost of acquiring CNC
equipment
Bending, Forming, Stamping and Inspection Machines have been
produced as NC systems
Summary 1/2
An NC machine is a machine positioned automatically along a
Summary 2/2
There are four ways to input programs into CNC machinery
machinery::
MDI (Manual Data Input)
Punched Tape
Magnetic Tape
DNC (Direct Numerical Control / Distributive Numerical Control)
The CNC program must be loaded into the controller in binary form
RSRS-244 and RSRS-358 tape codes used to place information on punched