You are on page 1of 18

13/11/2023

1
13/11/2023

2
13/11/2023

3
13/11/2023

4
13/11/2023

5
13/11/2023

6
13/11/2023

7
13/11/2023

8
13/11/2023

9
13/11/2023

10
13/11/2023

11
13/11/2023

Introduction to CNC Systems

A Computer Numerical Control (CNC) system is a


technology that automates and controls machine
tools and other manufacturing equipment through
computer programs. CNC machines are widely used
in various industries, including aerospace,
automotive, metalworking, and woodworking, and
are commonly used in manufacturing for machining
metal and plastic parts. They are easier to program
and also avoid human error. CAD (Computer Aided
Design) and CAM (Computer Aided Manufacturing)
programs are used in modern CNC machines for
end-to-end component design.

12
13/11/2023

Advantages of of CNC Systems

● They can run for 24 hours a day.

● They can produce jobs with higher accuracy and precision than other manual
machines.

● Operators can make changes easily, which reduces the delay time.

● Fewer workers are needed to operate these machines, which saves labour costs.

● CNC machines have the capability to create complex designs with high accuracy in a
short amount of time.

● The modern design software for CNC machines removes the need to produce a
prototype or model before executing a project, which saves money and time in the
long run.

CNC Machine Components

Mechanical Components
Mechanical components provide the physical
structure and movement capabilities of a CNC
machine.
They include:
Machine Tool: The base machine, such as a lathe,
mill, or grinder, that performs the actual machining
operations.
○ Guiding Systems: Accurately guide the
machine tool along its axes, ensuring precise
movement.
○ Spindle: The rotating part that holds and
rotates the cutting tool.
○ Workholding: Secures the workpiece in place
during machining

13
13/11/2023

CNC Machine Components

Electrical Components
Power Supply: Converts AC power from the mains
into the appropriate DC voltages for the machine.
○ Drive Motors: Convert electrical energy into
mechanical motion, driving the axes of the machine
tool.
○ Control System Electronics: Receive and
process commands from the CNC program,
generating control signals for the motors

CNC Machine Components

Software Components
These components provide the intelligent control
and programming of the CNC machine.
● They include:
○ CNC Software: Translates user-written G-code
instructions into machine-readable commands.
○ Machine Control Unit (MCU): The central
processing unit of the CNC system, interpreting and
executing the control signals.
○ Human Machine Interface (HMI): Provides a
user-friendly interface for interaction with the CNC
machine.

14
13/11/2023

Role & Function of each component in the


CNC System

CPU Role: The CPU is the brain of the CNC system, responsible for processing and executing the programmed
instructions.
Function: It interprets the CNC code (G-code) and coordinates the movement of the machine's
components, such as the motors and tooling

Control Role: The control panel is the user interface for interacting with the CNC machine and entering
commands.

Panel Function: Operators and programmers can input data, load programs, and monitor the machine's status
through the control panel.

Axis Role: Axis motors control the movement of the machine's different axes, such as X, Y, and Z in 3-axis
machines.

Motors Function: They convert electrical signals into mechanical motion, allowing the machine to precisely
position the tool or workpiece.

Role & Function of each component in the


CNC System

Feedback Role: Feedback systems provide the CNC system with information about the machine's actual position
and performance.

Systems Function: Encoders and sensors track the position of each axis, ensuring accuracy and allowing the CNC
system to make real-time adjustments.

Drive Role: Drive systems amplify the control signals from the CNC's CPU to power the axis motors.
Function: They convert low-power electrical signals into the high-power motion required to move the

Systems machine's components.

Coolant & Role: These systems provide necessary cooling and lubrication to the cutting tools and workpiece.
Function: They ensure that the cutting tools operate efficiently and extend their lifespan.

Lubrication

15
13/11/2023

Role & Function of each component in the


CNC System

Emergency Role: These components are crucial for the safety of the machine and its
operators.

Stop Function: They enable the immediate shutdown of the machine in case of
emergencies or the detection of unsafe conditions.

Role: CNC machines rely on software to convert design specifications into


Software machine instructions.
Function: CAD/CAM software is used to create CNC programs, and post-
processors generate the G-code that the CNC system can understand and
execute.

CNC Programming

G-code, short for "Geometric Code," is a


standardized language used to control
CNC (Computer Numerical Control) CNC machines. It consists of
programming languages, including G-code alphanumeric commands that describe
and M-code, are essential for controlling CNC tool movements, toolpath geometry, and
machines and guiding them through various specific machining operations
machining operations. These programming
languages provide a set of instructions that M-code, or "Machine Code," is another
tell the machine how to move, where to component of CNC programming that
position the tool, and when to perform complements G-code. M-codes are used
specific tasks. to control auxiliary functions and
operations of the CNC machine, such as
tool changes, spindle and coolant control,
and stopping or starting the machine.

16
13/11/2023

Understanding the structure and syntax of CNC


programs
Header:
● The program often starts with a header that includes
information such as the program name, date, and
comments for documentation purposes.
Program Start/End:
● CNC programs typically begin with a program start
command (e.g., %) and end with a program end command
(e.g., M02 or M30).
Tool Setup:
● This section includes tool-related information such as
tool numbers, tool changes, and tool offsets.
Work Coordinate System:
● The program specifies the work coordinate system to be
used for the machining operations, including G54, G55,
and so on.

Understanding the structure and syntax of CNC


programs

Toolpath and Machining Commands:


● The core of the program contains G-code commands that
describe the tool's path and machining operations. These
commands specify movements (e.g., G00 for rapid positioning
and G01 for linear interpolation), tool feed rates, spindle speed,
and coolant control.
Subprograms (Optional):
● Subprograms or subroutines may be included for repetitive
tasks or specific operations. These can be called within the main
program.
End of Program:
● The program concludes with an end command, and any
additional comments or documentation may be included.

17
13/11/2023

Types of Sensors used in CNC Machines

Encoders: Rotary encoders and linear encoders are used to measure


the position and movement of machine components, such as the
tool, workpiece, and machine axes.

Tachometers: Tachometers monitor the rotational speed of the


spindle and the movement speed of the machine's axes to control
cutting speeds and feed rates.

Load Cells: Load cells measure the forces applied during machining,
helping to monitor cutting forces and tool conditions.

Thermocouples: Thermocouples measure the temperature of


machine components and workpieces, allowing for thermal
compensation and the prevention of thermal expansion-related
errors.

18

You might also like