CNCLectureNotes Chapter1
CNCLectureNotes Chapter1
OF MACHINE TOOLS
Laboratory for Manufacturing Systems and Automation
Department of Mechanical Engineering and Aeronautics
University of Patras, Greece
Computers’ Involvement
Languages:
Computer Aided Programming Languages:
Allow the development of an NC program using a set of
universal “pidgin English” commands
Computer translate commands into machine codes
Machine codes are punched into the tapes
Control::
Direct Numerical Control
A computer is used as a partial or complete controller of one
or more NC machines
(DNC):
Direct Numerical Control (DNC):
Expensive mainframe or mini mini--
computers were required in the past
Most of PC-
PC-based DNC systems
running on MS Windows OS
FIGURE 1-
1-1: Direct numerical control
FIGURE 1-
1-3 Components of traditional NC systems
The on-
on-board computer is often referred to as the machine
control unit or MCU
The on-
on-board computer, on the other hand, is "soft" wired.
wired.
They will not be erased when the CNC machine is turned off
off..
Computer memory that holds such infor-mation is known as
ROM or read
read--only memory
Newer MCU units have graphics screens that can display not
only the CNC program but the cutter paths generated and any
errors in the program
FIGURE 1-
1-4 Components of modern CNC systems
FIGURE 1-5 A high speed 4-axis vertical machining FIGURE 1-6 A high speed 4-axis horizontal
center machining center
FIGURE 1-
1-9 A precision NC lathe FIGURE 1-
1-10 A NC lathe
FIGURE 1-11
A CNC centerless grinding machine with an epoxy
granite bed, (Photo courtesy of Cincinnati
Machine)
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
FIGURE 1-
1-12 CNC input and storage media
FIGURE 1-
1-13 Binary numbers compared to Arabic numbers
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
RS-
RS-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
RS-
RS-274 is a “variable block coding” format
The information contained in a block may be arranged in any order
FIGURE 1-
1-14, EIA RS-
RS-244 tape code
Disadvantages
Increase in electrical maintenance
High initial investment
Higher per
per--hour operating cost than traditional machine tools
Retraining of existing personnel
The CNC program must be loaded into the controller in binary form
RS-
RS-244 and RS-
RS-358 tape codes used to place information on punched
tape information being punched into the tape in binary form
ASCII
Binary coded decimal (BCD)
Computer Aided Programming (CAP)
Computer Numerical Control (CNC)
Direct Numerical Control (DNC)
Distributive numerical control
Input media
Manual Data Input (MDI)
Manual part programming
Numerical control (NC)
Random Access Memory (RAM)
Read
Read--only Memory (ROM)
Word address format