cnc - mechatronics
TRANSCRIPT
![Page 1: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/1.jpg)
PLC applications-CNC MACHINES
S.C. PATRA Chief Instructor(Mech)
![Page 2: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/2.jpg)
![Page 3: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/3.jpg)
Conventional Machine and CNC Machine
![Page 4: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/4.jpg)
Greater Automation……
Productivity……..
Improved quality & accuracy of manufactured
parts………..
Repeatability……
Flexibility to manufacture complex jobs.…..
Reduced scrap rate …..
Cost Effective ....
Why CNC ?
![Page 5: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/5.jpg)
Reduced manpower ……
Shorter cycle time …….
Increased Operational Safety …..
![Page 6: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/6.jpg)
Types of CNC Machines
CNC Turning Centre
CNC Milling Machine
CNC Horizontal Machining Centre (HMC)
CNC Grinder
CNC Drilling Machine
CNC Gear Cutting Machine
CNC Turret Punch Press
![Page 7: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/7.jpg)
CNC MACHINING CENTRE: 1. Vertical Machining Centre (VMC):
• Vertical spindle configuration comprising of three basic servo axes (X - axis, Y-axis & Z - axis ): Two for the table movement and one for
the spindle head.
![Page 8: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/8.jpg)
2. Turret Machining Centre (TMC):
• Same configuration as VMC but vertical spindle head replaced by an indexable tool turret.
• Automatic selection of tool by indexing turret.
• Facilitates machining on sides of cubical components.
Note :• TMC eliminated manual tool change.• It also introduced a large tool magazine and Auto Tool Changer • (ATC) for automatic transfer of tools from the magazine to the spindle and vice-versa.
![Page 9: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/9.jpg)
ATC & Tool MagazineATC & Tool Magazine
ATC is a device which can automatically change the
tool from the tool magazine to the machine spindle
as per the CNC programme.
Tool Magazine is a device which holds number of
tools and can automatically index to enable ATC to
pick the right tool and to replace the used tool.
![Page 10: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/10.jpg)
Turret Machining Centre
![Page 11: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/11.jpg)
Horizontal Machining Centre (HMC):
It can perform machining on different faces of a cubical or prismatic component.
Both VMC and HMC introduces a Automatic Pallet Changer (APC) to
set the job on the machine table.
Next piece of work could be loaded or set on the additional APC while the machine is busy in cutting the previous work piece.
After the machining , the pallet with the finished work piece and the pallet on APC having a raw component could be exchanged automatically.
.
![Page 12: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/12.jpg)
Automatic Pallet Automatic Pallet ChangerChangerAutomatic Pallet Changer
(APC) is a device which can
automatically change the
pallet to/from machine to
pallet stand.
Pallet is a transferable work
table having `T’ slots or
tapped holes for
component/fixture clamping.
Used to avoid the machine
waiting time during loading
& unloading of component.
![Page 13: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/13.jpg)
Automatic Pallet ChangerAutomatic Pallet Changer
Pallet is held on the machine
table by locating pins and
clamping mechanism to
ensure repeatability and
accuracy.
Pallet stand with 4 x 900
manual indexing facility to
approach on all sides of
pallet/fixture.
Provision of air cleaning
system for locating pins and
reference surfaces during
pallet change.
![Page 14: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/14.jpg)
Horizontal Machining Centre with Auto Pallet Changer
![Page 15: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/15.jpg)
Value wise contents of mechanical and electronic software and hardware in different manufacturing facilities
![Page 16: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/16.jpg)
CNC SYSTEMS
• Computer Numerical Control (CNC) is computer based system to store and process data for control of slide motions and auxiliary motions of machine tools.
• CNC Systems are constructed with NC Unit integrated with Programmable Logic Controller (PLC) with a ‘Feed Back Device’.
• PLC controls the ON/OFF functions of the machine tool. It sets the output based on the input conditions & corresponding logic.
PLC Functions: Coolant ON/OFF. Spindle ON/OFF. Selection of a tool. Change of workpiece (Pallet Changing). Workpiece clamping etc.
![Page 17: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/17.jpg)
![Page 18: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/18.jpg)
Electrical/ Control Features:
CNC System (Controller)
Drives.
Servo Motors
Actuators
Sensors/ Feedback devices.
![Page 19: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/19.jpg)
CNC MACHINE : CNC MACHINE : The The
Heart…..Heart…..
CNCSYSTEM
DRIVES & ELECTRICALS
MACHINETOOL
MACHINED
PART
![Page 20: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/20.jpg)
HOW A CNC SYSTEMHOW A CNC SYSTEM WORKS
RS 232 INTERFACE
DISPLAYUNIT
SYSTEMKEYBOARD
TAPE READER/PUNCH
PERIPHERALINTERFACE
(MMI OR HMI)
CNC SYSTEMDRIVES & ELECTRICALS
COMMANDS
POS. F/Bs FROM M/C
TOOL
AXES OR SERVO
CONTROLLER
COMMAND
F/B FROMM/C TOOL
SPINDLECONTROLLER
MACHINE TOOL
OUTPUTSINPUTS
OUTPUTSINPUTS
I/O CONTROLLER
(PLC)
AXESDRIVES
SPINDLEDRIVE
SWITCH-ING
ELEMENTS
AXES MOTORSWITH
POSITION& VELOCITYFEEDBACK
SPINDLE MOTORWITH POSITION
& VELOCITY FFEDBACK
ACTUATORS,MISCELLANEOUS
MOTORS
SENSORS / FEEDBACK DEVICE
![Page 21: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/21.jpg)
CLASSIC SERVO LOOPCLASSIC SERVO LOOP
Interpolator issues position commands
Accumulator holds following error
Position feedback is subtracted from
position command to provide following
error
D/A Converter changes following
error to analog voltage
POSITION LOOP
VELOCITY LOOP
Tacho
Speed feedback is subtracted from speed command
AmplifierServo Motor
Slide
Position Transducer Monitors Position
![Page 22: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/22.jpg)
Analog Servo Loop in CNC System
DAC M+ +- -
Velocity Amplifier
Tacho generator
Lead screw
Accumulated Command
VELOCITY FEEDBACK
POSITION FEEDBACK
Encoder
SlideFollowing error signal
Counter
Velocity Error Signal
Current Amplifier
Accumulated feedback
CNC SYSTEM DRIVES
![Page 23: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/23.jpg)
Special Features of CNC M/c Mechanical Features:
Ball Lead Screws.
Linear Bearings.
Improved Guide ways.
Timing Belts.
Curvic Coupling.
![Page 24: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/24.jpg)
Ball Lead Screws
• Smooth Linear Motion.• Low starting friction.• Wear resistant.• Very Low Backlash.
![Page 25: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/25.jpg)
• Smooth Linear Motion.• Low starting friction.• Wear resistant.• Very Low Backlash.
Linear Bearings on guide-ways
![Page 26: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/26.jpg)
• Toothed Belt, Steel-wires.• Slip-Proof Drive.
Timing Belt
![Page 27: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/27.jpg)
Curvic Coupling
• Used in Turret Indexing of CNC m/c.
![Page 28: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/28.jpg)
![Page 29: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/29.jpg)
•
Fanuc Serial Servo bus (FSSB)
Fanuc I/o Link
I/O devices
Drive amplifier Servo motor
Spindle motor
Fanuc Series 0i System
Connection Panel I/O Modules
Spindle Interface (Serial)
MOP
CNC Controller
![Page 30: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/30.jpg)
Centralized Lubrication System
Diagnostic Features
Turret/ Pallet Changers
Auto Tool Changer
Special Features of CNC M/c
![Page 31: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/31.jpg)
Centralised Lubrication System
![Page 32: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/32.jpg)
Online Machine Diagnosis System
![Page 33: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/33.jpg)
Technically defining a CNC System:Technically defining a CNC System:
AXIS FUNCTIONS
ON / OFF CONTROL
POSITION CONTROL
VELOCITY CONTROL
SPINDLE FUNCTIONS
ON / OFF CONTROL
DIRECTION CONTROL
SPEED CONTROL
TOOL SELECTION / TURRET INDEXING
WORKPIECE CLAMPING / PALLET CHANGING
COOLANT ON / OFF
LUBRICATION ON / OFF
MACHINE TOOL SAFETY INTERLOCK
(i)(i) MACHINE FUNCTIONS MACHINE FUNCTIONS CONTROLLED BY CNC CONTROLLED BY CNC
SYSTEMSYSTEM
![Page 34: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/34.jpg)
CNC SYSTEMS FOR
o LATHESo MACHINING CENTERo MILLING CENTERo GRINDINGo PUNCH PRESS
SYSTEM TYPES
o T - TURNINGo M - MILLING, MACHINING CENTER o G - GRINDING
(ii) CNC SYSTEM TYPES(ii) CNC SYSTEM TYPES
Technically defining a CNC System:Technically defining a CNC System:
![Page 35: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/35.jpg)
CNC SYSTEMSCNC SYSTEMSMANUFACTURERMANUFACTURER COUNTRYCOUNTRY MODELMODEL
ROCKWELL AUTOMATION U. S. A ALLEN BRADLEY
8610, 8650, 9/PC
CINCINNATI MILACRON U. S. A ACRAMATIC 950, 2100
FAGOR SPAIN FAGOR 800, 8025, 8050
FANUC JAPAN FANUC 15i/150i, 16i/160i, 18i/180i, 21i/210i
FANUC INDIA INDIA FANUC 0 , 0i
HEIDENHAIN GERMANY TNC 155, 426, 430
NUM FRANCE NUM 1040, 1050, 1060
SIEMENS GERMANY SINUMERIK 810, 820, 840, 880
MITSUBISHI ELECTRIC AUTOMATION INC. JAPAN M64 CNC, FUSION 640, MPLUS, TPLUS AND 600 SERIES.
MANUFACTURERMANUFACTURER COUNTRYCOUNTRY MODELMODEL
ROCKWELL AUTOMATION U. S. A ALLEN BRADLEY
8610, 8650, 9/PC
CINCINNATI MILACRON U. S. A ACRAMATIC 950, 2100
FAGOR SPAIN FAGOR 800, 8025, 8050
FANUC JAPAN FANUC 18i/180i, 21i/210i, 30i/31i/32i, 300i/310i/320i
FANUC INDIA INDIA FANUC 0 , 0i
HEIDENHAIN GERMANY TNC 155, 426, 430
GSK CNC EQUIPMENT CHINA GSK980TDa., GSK983M
SIEMENS GERMANY SINUMERIK 802, 840, 880
MITSUBISHI ELECTRIC AUTOMATION INC. JAPAN 70/700 SERIES, C6/C64 SERIES, 60S/E60/E68 SERIES
![Page 36: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/36.jpg)
CNC SYSTEM FEATURESCNC SYSTEM FEATURES
Axis, Spindle and I/O control featuresAxis, Spindle and I/O control features
Operating featuresOperating features
Programming featuresProgramming features
Keyboard and display featuresKeyboard and display features
Communication featuresCommunication features
Compensation featuresCompensation features
Safety and diagnostic featuresSafety and diagnostic features
![Page 37: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/37.jpg)
Axis, Spindle And I/O Control Axis, Spindle And I/O Control FeaturesFeatures AXIS CONTROL
Number Of Axis Controllable.
Feed rates.
SPINDLE CONTROL
Maximum Spindle Speed.
Auto Gear Selection.
Spindle Speed Direction
![Page 38: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/38.jpg)
![Page 39: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/39.jpg)
![Page 40: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/40.jpg)
Operating FeaturesOperating Features
Basic Operating Modes:
JOG Mode
MDI MODE
AUTO MODE
![Page 41: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/41.jpg)
JOG MODE Manual movement of axes Manually select the tool. Manually move the axes Find the tool offset
MDI MODE Program phase Manually feed the program
AUTO MODE
Create a Program Store the Program Execute the program
![Page 42: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/42.jpg)
Part Programming FeaturesPart Programming Features
Inch / Metric Programming
Absolute / Incremental Programming
Linear / Circular / Helical / Spiral Interpolation
Full Circle Programming
Canned Cycles
![Page 43: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/43.jpg)
Keyboard And Display Keyboard And Display FeaturesFeatures KEYBOARD FUNCTIONS
System Keyboard - Feed & Edit a Programme.
Machine Control Panel - For controlling the machine parameters.
DISPLAY FEATURES
Display of various screens like:
Position
Part Program
Offsets
Alarms And Messages
![Page 44: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/44.jpg)
Communication Communication FeaturesFeatures
Upload / Download Of Programs
Machine Status Monitoring
![Page 45: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/45.jpg)
Compensation FeaturesCompensation Features
Tool Offset
Tool Length Compensation
Diameter Compensation
![Page 46: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/46.jpg)
Safety And Diagnostic Safety And Diagnostic FeaturesFeatures
• Emergency Stop
• Axis Overtravel
• Power Up Diagnostics
![Page 47: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/47.jpg)
Configuration of CNC System:
A CNC system basically consists of the following:
• Central Processing Unit (CPU)• Servo-control Unit (NC)• Operator Control Panel• Machine Control Panel• Programmable Logic Controller (PLC)
![Page 48: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/48.jpg)
Spectrum of production alternatives
![Page 49: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/49.jpg)
CNC PROGRAMMING
Basic steps in CNC machining:
i) First, prepare the program from part drawing
(ii) Read the part program to the CNC system
(iii) Mount the workpiece & tool on the machine
(iv) Execute the program
![Page 50: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/50.jpg)
![Page 51: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/51.jpg)
![Page 52: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/52.jpg)
![Page 53: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/53.jpg)
PROGRAMMING CODES:
G – Preparatory code (Tool movement related function.)
F – Feed function
T – Tool No.
D – Tool offset.
M – Misc. code (for ON/OFF Function)
S – Spindle rpm (for spindle rotation)
![Page 54: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/54.jpg)
G - CODES
G-codes are used to move the tool or axes by Program.
G 00 – Rapid travel.
G 01 – Linear interpolation.
G 02 – Circular interpolation clock-wise.
G 03 - Circular interpolation anti-clockwise.
G 04 – Dwell time.
G 20 – Inch data input
G 21 – Metric data input.
G 22 – Stored stroke check on.
G 23 - Stored stroke check off.
G 27 – Reference point return check.
![Page 55: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/55.jpg)
G 28 – Reference position return.
G 29 – Return from reference point
G 30 – Return to second reference point.
G 31 – Skip function.
G 32 – Thread function.
G 36 – Automatic tool compensation X
G 37 - Automatic tool compensation Z
G 40 – Tool nose radius compensation cancel
G 90 – Absolute dimensioning.
G 91 – Incremental dimensioning.
G 98 – Feed rate in mm/min.
G 99 - Feed rate in mm/rev.
![Page 56: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/56.jpg)
M- CODES ( Miscellaneous Codes )
• ON/OFF Codes.
• Controlled by PLC
.
M 00 – Optional stop.
M 01 – Programmable stop.
M 02 – Main program end.
M 03 – Spindle clock-wise.
M 04 – Spindle counter clock-wise.
M 05 – Spindle stop.
M 06 – Tool change.
![Page 57: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/57.jpg)
M 07 – Coolant b on.
M 08 - Coolant a on.
M 10 – Chuck open.
M 11 – Chuck close.
M 13 – Spindle forward & coolant on.
M 14 - Spindle reverse & coolant on.
M 16 – Special tool call.
M 17 – Sub-program end.
M 19 – Spindle orientation.
M 30 – Main program end & rewind.
![Page 58: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/58.jpg)
Tool movement along a straight Line
![Page 59: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/59.jpg)
Tool movement along a tapper Line
![Page 60: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/60.jpg)
Tool movement along an Arc
![Page 61: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/61.jpg)
Thread Cutting(straight)
![Page 62: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/62.jpg)
Tapper thread cutting
![Page 63: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/63.jpg)
Feed Function
![Page 64: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/64.jpg)
Reference position (Machine specific position)
![Page 65: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/65.jpg)
Coordinate system
![Page 66: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/66.jpg)
Co-ordinate system specified by CNC
![Page 67: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/67.jpg)
Setting of coordinate system :– When coordinate zero point is set at chuck face
![Page 68: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/68.jpg)
Setting of coordinate system :– When coordinate zero point is set at work end face
![Page 69: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/69.jpg)
Absolute Command
![Page 70: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/70.jpg)
Incremental Command
![Page 71: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/71.jpg)
Diameter Programming
Cordinate values of points A and B = A(30,80), B(40,60)
![Page 72: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/72.jpg)
Radius Programming
![Page 73: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/73.jpg)
Cutting speed & spindle speed function
![Page 74: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/74.jpg)
FEED: FEED-FUNCTION = The function of deciding the feed rate is called feed function.
![Page 75: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/75.jpg)
Selection of tool and tool function
![Page 76: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/76.jpg)
Miscellaneous function
![Page 77: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/77.jpg)
Program configuration
![Page 78: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/78.jpg)
Block configuration
![Page 79: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/79.jpg)
Program configuration
![Page 80: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/80.jpg)
Tool Length compensation(Tool offset)
![Page 81: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/81.jpg)
PROGRAMMING CODES:
G – Preparatory code (Tool movement related function.)
F – Feed function
T – Tool No.
D – Tool offset.
M – Misc. code (for ON/OFF Function)
S – Spindle rpm (for spindle rotation)
![Page 82: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/82.jpg)
G - CODES
G-codes are used to move the tool or axes by Program.
G 00 – Rapid travel.
G 01 – Linear interpolation.
G 02 – Circular interpolation clock-wise.
G 03 - Circular interpolation anti-clockwise.
G 04 – Dwell time.
G 20 – Inch data input
G 21 – Metric data input.
G 22 – Stored stroke check on.
G 23 - Stored stroke check off.
G 27 – Reference point return check.
![Page 83: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/83.jpg)
.G 28 – Reference position return.
G 29 – Return from reference point
G 30 – Return to second reference point.
G 31 – Skip function.
G 32 – Thread function.
G 36 – Automatic tool compensation X
G 37 - Automatic tool compensation Z
G 40 – Tool nose radius compensation cancel
G 90 – Absolute dimensioning.
G 91 – Incremental dimensioning.
G 98 – Feed rate in mm/min.
G 99 - Feed rate in mm/rev.
![Page 84: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/84.jpg)
M- CODES ( Miscellaneous Codes )
• ON/OFF Codes.
• Controlled by PLC
.
M 00 – Optional stop.
M 01 – Programmable stop.
M 02 – Main program end.
M 03 – Spindle clock-wise.
M 04 – Spindle counter clock-wise.
M 05 – Spindle stop.
M 06 – Tool change.
![Page 85: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/85.jpg)
M 07 – Coolant b on.
M 08 - Coolant a on.
M 10 – Chuck open.
M 11 – Chuck close.
M 13 – Spindle forward & coolant on.
M 14 - Spindle reverse & coolant on.
M 16 – Special tool call.
M 17 – Sub-program end.
M 19 – Spindle orientation.
M 30 – Main program end & rewind
M98 – Subprogram call
M99 – Subprogram end
![Page 86: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/86.jpg)
7. A raw material of size: ǿ 40 and 60 mm. length is supplied to you . Make a CNC part program for step turning of the given job as shown in the diagram.
1020
ǿ 38
ǿ 36
![Page 87: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/87.jpg)
Step Turning:
O 0001;
N10 G21 G99 ;
N20 G28 X0.0 Z0.0 ;
N30 T01 D01 M06 ;
N40 S1000 M03 ;
N50 G00 X41.0 ;
N60 G00 Z0.0 ;
N70 G01 X0.0 F1.0 ;
![Page 88: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/88.jpg)
N80 G00 Z5.0 ;
N90 G00 X41.0 ;
N100 G00 Z0.0 ;
N110 G01 X38.0 F1.0 ;
N120 G01 Z-30.0 ;
G130 G01 X41.0 F1.0 ;
G140 G00 Z0.0 ;
G150 G01 X36.0 F1.0 ;
N160 G01 Z-10.0 F1.0 ;
N170 G01 X41.0 F1.0 ;
N180 G00 Z0.0 ;
N190 G28 U0 W0 ;
N200 M05 ;
N219 M30 .
![Page 89: CNC - Mechatronics](https://reader035.vdocuments.us/reader035/viewer/2022081413/5476dd53b4af9f834a8b45b1/html5/thumbnails/89.jpg)
THANK YOU