advanced manufacturing technology (me 702) module-3  · nc machine classifications 4. positioning...

61
Advanced Manufacturing Technology (ME 702) Module-3 <NC/CNC> Dr. C. Chattoraj 1

Upload: others

Post on 06-Sep-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Advanced Manufacturing Technology (ME 702)

Module-3 <NC/CNC>

Dr. C. Chattoraj

1

Page 2: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

ContentsIntroduction

Types of NC Machines

Components of a NC Machine

Control Mechanisms

Interpolation

Software Components

2

Page 3: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

HISTORICAL DEVELOPMENT• 15th century - machining metal.

• 18th century - industrialization, production-type machine tools.

• 20th century - F.W. Taylor - tool metal - HSS

Automated production equipment -

Screw machinesScrew machines

Transfer lines

Assembly lines

using cams and preset stops

Programmable automation -

NC

PLC

Robots 3

Page 4: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NEW NCs or CNCs

•high speed spindle (> 20,000 rpm)

•high feed rate drive ( > 600 ipm)

•high precision ( < 0.0001" accuracy)•high precision ( < 0.0001" accuracy)

4

Page 5: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC MACHINES• Computer control

• Servo axis control

• Tool changers

• Pallet changers• Pallet changers

• On-machine programming

• Data communication

• Graphical interface

5

Page 6: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC MACHINES

MCUMachineTool

MCU - Machine control

unit

CLU - Control-loops unit

CLUDPU DPU - Data processing

unit

6

Page 7: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC MOTION-CONTROLN C Pr o g r a m

Ex e c u t io n

S y s t e m

In t e r p o la t o r & T r a n s l a t o r

Co m m a n d sD i m e n s i o n s

In t e r p o la t o r &

S e r v o - c o n t r o l

M e c h a n is m

Co n t r o l L o g ic

L in e a r M o t io n

P o w e r

T r a n s l a t o r

R e l a y

S o l e n o i d

7

Page 8: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC MACHINE CLASSIFICATIONS

1. Motion control: point to point (PTP)continuous (contouring) path

2. Control loops: 2. Control loops: open loop closed loop

3. Power drives: hydraulic, electric,or pneumatic

8

Page 9: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC MACHINE CLASSIFICATIONS4. Positioning systems:

incremental absolute positioning

5. Hardwired NC and softwired 5. Hardwired NC and softwired Computer Numerical Control (CNC)

9

Page 10: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

POINT TO POINT

• Moving at maximum rate from point to point.

• Accuracy of the destination is important but not the path.

• Drilling is a good application.

10

Page 11: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

CONTINUOUS PATH• Controls both the displacement and the velocity.

• Machining profiles.

• Precise control.

• Use linear and circular interpolators.• Use linear and circular interpolators.

11

Page 12: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

COMPONENTS OF AN NC MACHINE TOOL

Controller

Servo drive

Machine tablePosition transducer

Leadscrew

Gear box

Tachometer

Motor

Magnetics control cabinet

drive

12

Page 13: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC MACHINE RATING/Specification

• Accuracy

• Repeatability

• Spindle and axis motor horsepower• Spindle and axis motor horsepower

• Number of controlled axes

• Dimension of workspace

• Features of the machine and the controller.

13

Page 14: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

ACCURACY

• Accuracy = control instrumentation resolution and hardware accuracy.

• Control resolution: the minimum length distinguishable by the control unit (BLU).distinguishable by the control unit (BLU).

• Hardware inaccuracies are caused by physical machine errors.

14

Page 15: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

HARDWARE INACCURACIESComponent tolerances:

inaccuracies in the machine elements, machine-tool assembly errors, spindle runout, and leadscrew backlash.and leadscrew backlash.

Machine operation:

Tool deflection (a function of the cutting force), produces dimensional error and chatter marks on the finished part.

15

Page 16: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

HARDWARE INACCURACIESThermal error:

heat generated by the motor operation, cutting process, friction on the ways and bearings, etc. Use cutting fluids, locating drive motors away from the center of a bearings, etc. Use cutting fluids, locating drive motors away from the center of a machine, and reducing friction from the ways and bearings

16

Page 17: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

REPEATABILITY

Avg. error

Programmed positionRepeatability

Test result

17

Page 18: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

LEADSCREWS

Leadscrew

Pitch

Nut

Converting the rotational motion of the motors to a linear motion.

Pitch

pitch (p): the distance between adjacent screw threads

the number of teeth per inch (n):

n = 1 / p

BLU: Basic Length Unit (machine resolution)

BLU = p / N18

Page 19: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

CONTROL LOOPS

Open loop - No position feedback.

motor

table

pulses

Use stepping motor.

19

Page 20: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

CONTROL LOOPS• A machine has 1 BLU = 0.001".To move the

table 5" on X axis at a speed (feed rate) of

6 ipm.

• pulse rate = speed/BLU = 6 ipm/0.001 • pulse rate = speed/BLU = 6 ipm/0.001

ipp= 6,000 pulse/min

• pulse count = distance/BLU

= 5/0.001 = 5,000 pulses

20

Page 21: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

CLOSED LOOP

+ DC Motor

Tacho- meter

Differential amplifier

EncoderUp-down counter AmpDAC

_Shaft

Reference pulses

Motor metercounter

+

Closed-loop control mechanism

21

Page 22: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

INTERPOLATIONControl multiple axes simultaneously to move on a line, a circle, or a curve.

(10,5)

Y

(10,5)

Y

(3,2)

X

Point-to-point control path

(3,2)X

Linear path

Vy =6

(5-2)

(10-3)2+ (5-2)2= 6

3

49+ 9= 2.3635

Vx =6

(10-3)

(10-3)2+ (5-2)2= 6

7

49+ 9= 5.5149

22

Page 23: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

INTERPOLATORS• Most common : linear and circular

• Since interpolation is right above the servo level, speed is critical, and the process must not involve excessive computation.not involve excessive computation.

• Traditional NC interpolators: Digital Differential Analyzer (DDA)

• Higher order curves, such as Bezier's curve, use off-line approximation algorithms to break the curves into linear or circular segments. 23

Page 24: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

COORDINATE SYSTEMS

• Right hand rule

• Z axis align with the spindle - +Z moves away from the workpiece or the spindle.

x

y

z

x

y

z

away from the workpiece or the spindle.

• X axis - Lathe: perpendicular to the spindle.

• Horizontal machine: parallel to the table.

• Vertical machine: +X points to the right.24

Page 25: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

MACHINE COORDINATES

Z X - Primary Feed axisZ - Spindle axisY - Remaining axis

X

Y

25

Page 26: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

PROGRAM STORAGE• Paper tape

Paper or Mylar coated paper.

• Diskettes

• From other computers through RS 232 or local area network (LAN)

26

Page 27: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

SYMBOLIC CODES

• ASCII or ISO, use even parity

• EIA - Binary Coded Decimal (BCD), • EIA - Binary Coded Decimal (BCD),

RS 244A standard, use odd parity.

27

Page 28: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

INPUT FORMATS

• EIA RS-274 standard

• Fixed sequential format

0010 01 07500 06250 00000 00000 612

• Tab sequential format

T0010 T01 T07500 T06250 T T T612

• Word-address format

N0010 G01 X07500 Y06250 S612

28

Page 29: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Agenda

• Introduction

• Absolute and Incremental Programming

• Elements of NC Program

• NC Words (G, M, T, S, … Codes)

• Examples

• Cutter Compensation and Offsets

• Examples

• Conclusions

29

Page 30: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Introduction to NC programming

• Manual part programming

• Computer-assisted part programming

• Formats

– Fixed-Address

– Tab-Sequential

– Word-Address

30

Page 31: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Manual NC programming

• Absolute Programming

• Incremental Programming

31

Page 32: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Basic Elements of NC Program

• Blocks of Commands

• NC Words

• NC Function ~ NC word(s)• NC Function ~ NC word(s)

• Several Functions in one block

• When viewing, a block is same as a line of text

• Pre-defined Terminator

• Optional Blocks

32

Page 33: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC WORDS

• A G-code program consists the following words:words:

N, G, X, Y, Z, A, B, C, I, J, K, F, S, T, R, M

• An EIA standard, RS-273 defines a set of standard codes.

33

Page 34: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Basic Elements of NC Program

a. Preparatory functions: which unit, which interpolator, absolute or incremental programming, which circular interpolation plane, cutter compensation, etc.

b. Coordinates: three translational, and three rotational axes.

c. Machining parameters: feed, and speed.

d. Tool control: tool diameter, next tool number, tool change.

e. Cycle functions: drill cycle, ream cycle, bore cycle, mill cycle, clearance plane.

f. Coolant control: coolant on/off, flood, mist.

g. Miscellaneous control: spindle on/off, tape rewind, spindle rotation direction, pallet change, clamps control, etc.

h. Interpolators: linear, circular interpolation

34

Page 35: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC WORDS – G codes

g00 g01 g02 g03

Rapid traverse Linear interpolation Circular interpolation, CW Circular interpolation, CCW

g40 g41 g42 g70

Cutter compensation - cancel Cutter compensation - left Cutter compensation -right Inch format

Table 9.1 G codes

N code. sequence

number

example:

*

g04 g08 g09 g17 g18 g19

Circular interpolation, CCW Dwell Acceleration Deceleration X-Y Plane Z-X Plane Y-Z Plane Thread cutting, constant lead

g71 g74 g75 g80 g81 -9 g90 g91

Metric format Full circle programming Off Full circle programming On Fixed cycle cancel Fixed cycles Absolute dimension programming

example: N0010

G code. preparatory word.

*

*

*

*

35

Page 36: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC WORDS- BLU

• X, Y, Z, A, B, C Codes. coordinate positions of the tool.

The coordinates may be specified in decimal number (Decimal The coordinates may be specified in decimal number (Decimal Programming), or integer number (BLU Programming).

• BLU programming: leading zero, trailing zero.

– In the leading zero format:

• X00112 Y002275 Z001

– In the trailing zero format, the program looks like:

X11200 Y22750 Z10000

36

Page 37: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC WORDS – Circular InterpolationCircular Interpolation:

N0100 G02 X7.000 Y2.000 I5.000 J2.000

(5.000,4.000)

Full circle ON

destination

centersequence no.

?

(5.000,2.000)(7.000,2.000)

N0100 G02 X7.000 Y2.000 I5.000 J2.000

Cut from (5.000,4.000) to (7.000,2.000) CW

37

Page 38: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC WORDS- F and S Codes• F Code. feed speed.

inch/min (ipm), or ipr.

• F code must be given before either G01, G02, or G03 can be used.

• Example:

N0100 G02 X7.000 Y2.000 I5.000 J2.000 F6.00 N0100 G02 X7.000 Y2.000 I5.000 J2.000 F6.00

• S Code. cutting speed code.

Programmed in rpm.

• S code does not turn on the spindle, spindle is turned on by a M code.

• N0010 S1000

38

Page 39: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC WORDS- T and R Codes

• T Code. tool number.

Actual tool change does not occur until a tool change M code is specified.

R plane

Initial height1

2

(1,2,2)

0.7"

• R Code. cycle parameter.

The cycle may be programmed in one block, such as (cycle programming is vendor specific.):

N0010 G81 X1.000 Y2.000 Z0.000 R 1.300

R plane

Z point

3

4

5

0.3"

1"

39

Page 40: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

NC WORDS – M CodesM Code. miscellaneous word.

Table 9.2. M codes

m00 m01

Program stop Optional stop

Tool change Flood coolant on

m06 m07 m01

m02 m03 m04 m05

Optional stop End of program Spindle CW Spindle CCW Spindle off

Flood coolant on Mist coolant on Coolant off End of tape

m07 m08 m09 m30

40

Page 41: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

MANUAL PART PROGRAMMING

Example 9.1

Machined from a 5" x 4" x 2" workpiece. low carbon steel.

The process plan:

1. Set the lower left bottom corner of the part as the machine zero point (floating zero programming).(floating zero programming).

2. Clamp the workpiece in a vise.

3. Mill the slot with a 3/4" four flute flat end mill made of carbide. From the machinability data handbook, the recommended feed is 0.005 inch/tooth/rev, and the recommended cutting speed is 620 fpm.

4. Drill two holes with a 0.75" dia twist drill. Use 0.18 ipr feed and 100 fpm speed.

41

Page 42: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

PART DRAWING

1.000

3.000

4.000

.75

R1.000

2 holes ø0.75±0.001

ø0.001 M A B

2.000

CM

All dimension in inches. A ll tolerance ±0.00 1 "

1.75

3.000

5.000

2.0 0 0

.5 00

A

B

C

42

Page 43: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

SOLUTION TO EXAMPLESolution:

The cutting parameters need be converted into rpm and ipm.

Milling: RPM = 12 VD

= 12 x 620 fpm 0.75 inch

= 3,157 rpm

Drilling:

D 0.75 inch

RPM =12 V

D=

12 x 100 fpm

0.75 inch = 509 rpm

Vf = f RPM = 0.018 ipr x 509 rpm = 9.16 ipm

43

Page 44: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

SETUP AND CUTTER PATH

H1

H2

p1

p8p7

p6

p5p4

p3p2

p9

Drill End mill

Vise jaw

p1

(0,0,0)

(0,0,0) 44

Page 45: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

CUTTER LOCATIONSThe coordinates of each point (cutter location) are calculated below:

p1': ( 1.75+0.375, -0.1-0.375, 4.00) = (2.125, -0.475, 4.000)

p1: (2.125,-0.475, 2.000-0.500) = (2.125,-0.475,1.500)

p2: (2.125,4.000+0.100,1.500) = (2.125,4.100,1.500)

p3: (3.000-0.375,4.100,1.500) = (2.625,4.100,1.500)

p4: (2.625,1.375,1.500)p4: (2.625,1.375,1.500)

p5: (3.000,2.000-1.000+0.375,1.500) = (3.000,1.375,1.500)

p6: (3.000,2.625,1.500)

p7: (3.000,2.000,1.500)

p8: (2.625,2.000,1.500)

p9: (2.625,-0.100,1.500)

p9': (2.625,-0.100,4.000)

45

Page 46: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

PART PROGRAM

Part program Explanation

N0010 G70 G 90 T08 M06 Set the machine to inch format and absolute dimension programming.

N0020 G00 X2.125 Y-0.475 Z4.000 S3157 Rapid to p1'.N0020 G00 X2.125 Y-0.475 Z4.000 S3157 Rapid to p1'.

N0030 G01 Z1.500 F63 M03 Down feed to p1, spindle CW.

N0040 G01 Y4.100 Feed to p2.

N0050 G01 X2.625 To p3.

N0060 G01 Y1.375 To p4.

46

Page 47: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

PART PROGRAM

Part program Explanation

N0070 G01 X3.000 To p5.N0080 G03 Y2.625 I3.000 J2.000 Circular interpolation to p6.N0090 G01 Y2.000 To p7.N0100 G01 X2.625 To p8.N0100 G01 X2.625 To p8.N0110 G01 Y-0.100 To p9N0120 G00 Z4.000 T02 M05 To p9', spindle off, tool #2.N0130 F9.16 S509 M06 Tool change, set new feed and speed.N0140 G81 X0.750 Y1.000 Z-0.1 R2.100 M03 Drill hole 1.N0150 G81 X0.750 Y3.000 Z-0.1 R2.100 Drill hole 2.N0160 G00 X-1.000 Y-1.000 M30 Move to home position, stop

the machine.47

Page 48: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

CNCS VERIFICATION

48

Page 49: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

CNCS 3D DRAWING

49

Page 50: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Offsets• Fixture

– G10, G54, G54.1

• Diameter

• Tool • Tool

– Length compensation

– Part-Edge compensation

• Cutter Compensation – Next Slides

• Others Discussed in Lab Exercises (Simulators)

50

Page 51: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Tool Radius Compensation• Cutter Compensation

Shifting tool path so that the actual finished cut is either moved to the left or right of the programmed path.

• Normally, shifted exactly by tool radius

• Tool Entry and Exit Issues• Tool Entry and Exit Issues

51

Page 52: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Tool Radius CompensationStart of Compensation.

G41 (or G42) and G01 in the same block ramp takes place at block N0010.

N0010 G01 G42 X0.500 Y1.700

N0020 G01 X1.500

(a) G41 (b) G42

G41

G42

(0.5, 1.7)

(1.5, 1.7)

G41 (or G42) and G01 in separate blocks the compensation is effective from the start.

N0010 G41

N0020 G01 X0.500 Y1.700

N0030 G01 X1.500

G41

G42

G42

52

Page 53: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Tool Radius CompensationInside Corner.

Cutter path is inside a corner, stops at the inside cutting point

N0010 G41

N0020 G01 X1.500 Y2.000

N0030 G01 X0.000 Y1.600

G42

(1.5, 2.0)

(0, 1.6)

Use of M96 and M97.

Cutting tool that is larger than the height of the step, M97 must be used

N0010 G41

N0020 G01 X1.000 Y1.000

N0030 G01 Y0.800 M97

N0040 G01 X2.000

G41M96

G41 M97

(0, 1.6)

53

Page 54: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

TOOL-RADIUS COMPENSATION

Cancel Tool Compensation.

G40 in the same block ramp off block.

N0060 G40 X2.000 Y1.700 M02

G40 in a block following the last motion, the compensation is effective to

G41

G42

G40

(2.000, 1.700)

G40 in a block following the last motion, the compensation is effective to the end point (2.000,1.700).

N0060 X2.000 Y1.700

N0070 G40 M02G41

G42

G40

(2.000, 1.700)

54

Page 55: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

EXAMPLEA square 2.0 in. x 2.0 in. is to be milled using a 1/2 in. end milling cutter. Write

an NC part program to make the square.

Solution

Let us set up the lower left corner of the square at (6.0,6.0). Using tool-radius compensation, the square can be produced.

2.000

2.000

(6,6)

55

Page 56: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

PART PROGRAM

Part Program

N0010 G41 S1000 F5 M03 N0020 G00 X6.000 Y6.000

Explanation

Begin compensation, set feed and speed, spindle on Move to lower left corner

Part Program Explanation

N0020 G00 X6.000 Y6.000 N0030 G01 Z-1.000 N0040 Y8.000 N0050 X8.000 N0060 Y6.000 N0070 X6.000 N0080 Z1.000 N0090 G40 M30

Move to lower left corner Plunge down the tool Cut to upper left corner Cut to upper right corner Cut to lower right corner Cut to lower left corner Lift the tool End compensation, stop the machine

56

Page 57: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

TURNING2.875

1.000

2.125

.250

.625

1.125

R.125

Z

X2.875

Cutter path Tool

X

Part design

Cutter path

57

Page 58: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

TURNINGProgramming tool point

Surfaces cut

No compensation needed.

IMAGINARY TOOL POINT

Programmedtool path

Surface created

58

Page 59: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

COMPUTER ASSISTE PART PROGRAMMING

Machine-oriented languages - machine specific

General-purpose languages - use post processors to generate

machine specific code

Part program

machine specific code

Translate input symbols

Arithmetic calculation

Cutter offset calculations

Post processing

Language Processor

N-G code

CL data

RS-494CL BCL

RS-273

Post Processor

59

Page 60: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

Advantages

• NC can reduce machining skill

• NC can reduce the time required to machine a parta part

• NC provides sophisticated contour capability

• NC is a flexible method for manufacture of sophisticated machined components

60

Page 61: Advanced Manufacturing Technology (ME 702) Module-3  · NC MACHINE CLASSIFICATIONS 4. Positioning systems: incremental absolute positioning 5. Hardwired NC and softwired

61