Beruflich Dokumente
Kultur Dokumente
• Flexibility
• Accuracy
• Speed
• Simplified fixture and generic cutting
tools
• Storage of machining skill in NC
programs
• Less skilled operators will do
• Less fatigue to the operators
BASIC FLOW FOR CNC PREPARATION
Part Machine
Part drawing CNC
programming tool
Programming Operation
BASIC FUNCTIONAL BLOCKS OF A CNC MACHINE
Computer User
Axis servo Interface
controller
Numerical
(key board,monitor)
Control
Programmable
Machine
controller
Machine Tool
Servo Slide
Motor
Encoder
Turning center
• Turning center
A sophisticated CNC machine that specializes in
turning, boring, drilling, and threading
operations, all at the same location.
• Spindle
The part of the machine tool that spins. On the
machining center, the spindle holds a cutting
tool. On the turning center, the spindle holds
the work piece.
Turning center
• Turret
This holds the tools required for machining.
Z axis
X axis
z
Functions
Example
M08 Coolant On
M06 Tool change
M00 Program Stop Temporary stop of program
M01 Optional Stop Temporary stop of program ( Optiontion Stop )
M02 Program end Program end and reset
M03 Spindle normal rotation Clockwise rotation of spindle
M04 Spindle reverse rotation Counter clockwise rotation of spindle
M05 Spindle Stop Spindle rotation stop
M06 Tool Change ATC Cycle start
M08 Coolant ON Coolant Discharge
M09 Coolant OFF Coolant shut
M22 Index Forward Turret index clockwise
M23 Index Reversed Turret index counter clockwise
M24 Chuck open Opening of chuck
M25 Chuck close Closing of chuck
M30 Program end and rewind Program end and reset/rewind
M98 Sub-program call Call of a sub-program from a main program
M99 Sub-program end Return from a sub-program to a main program
Preparatory function
(G-codes)
Syntax :S ;
As you know when the tool is moving towards the center the cutting
speed changes.
Vc = πDN/1000
In CSS control N is varied automatically to keep the Vc constant
when the tool moves diametrically.
Syntax : G96 S200; CSS Control on
G97; CSS control cancel
G96 and G97 are modal codes.Here S200 denotes the cutting speed.
Spindle speed function
CLAMP OF MAXIMUM SPINDLE SPEED
When we are using G96, the CSS control, the spindle Speed
need to be clamped to a maximum speed.
This is done with a preparatory function G50
Syntax : G50 S3500;
Syntax :F ;
Syntax T
Offset number
Tool number
Standard tool
Actual tool
X offset
Z offset
Tool offset
Tool Geometry offset:
To compensate the difference in tool shape and mounting position.
NO. X. Z R T
Origin
Fixture Mounting
Fixture dialing
Locator/clamp fixing
Tool pocketing
Tool offset inputing
Programming
Component inspection
Component cutting @
100%feed/ speed/Rapid
Popular CNC Controls
Fanuc
Sinumeric from Siemens
Heidenhain
Allen Bradley etc
O1234;
N10 GOO G9O G54 X0 Y0;
Spindle
z(-) z (+)
Work Zero
x (-)
Turning center
• Diametrical programming
The Diametrical value of the work piece
is directly input in to the program .
X 50.0
5
50
Turning center
• G00 POSITIONING IN RAPID
N_ G00 X_ Z_
feed move
Turning center
G04 DWELL
N_ G04 U or P_
The G04 is a dwell command that halts the
feed movement for the time as specified
by U or P.
Turning center
G20 INCH UNITS
N_ G20
The G20 command defaults the system to
inch units. When a program is being run
and the G20 command is encountered, all
coordinates are stated as inch units
Turning center
G21 METRIC UNITS
N_ G21
The G21 command defaults the system to
metric units. When a program is being run
and the G21 command is encountered, all
coordinates are stated in as millimeter units.
Turning center
G28 AUTOMATIC RETURN TO
REFERENCE
N_ G28 X_ Z_
The G28 allows the existing tool to be
positioned to the machine zero point via an
intermediate position.
Turning center
G32 threading
G32 is used to cut straight & taper thread
CUTTER COMPENSATION
100
STOCK REMOVAL IN TURNING – G71
• G71 U(dd)__ R__
• G71 P__ Q__ U(du)__ W__ F__ S__ T__
G96
G97
G98
Ex bar bulling
Turning center
• G99 Feed per Revolution
G99
Ex Regular turning
- OD THREAD -
N9G28U0W0
G50X220.0Z163.5
G97S400T500M3
G99
G00X110.0Z80.0T5M8
G92U-10.7Z51.0F2.0
U-11.2
U-11.6
U-11.92
U-12.12
U-12.26
U-12.36
U-12.46
U-12.5
G28U0W0M9
M1
M30