• 検索結果がありません。

cNc MTLLTNG

ドキュメント内 FILES edang20 CNC book part 1 (ページ 123-138)

FED BAIE L6.W

1.24 cNc MTLLTNG

Figure 5-31 Prompt at lower left-hand corner, next to 7o sign

>N5 G90 G20

[Enter]

Absolute coordinates and inch

>N10 M05 T3

[Enterl

Tool change and tool #3

>N15 M03 51200

[Enterl

Spindle on CW at 1200 rpm

Figure 5-32 Prompt for tool change M06

EXAMPLE l: I-PARTl.MIL 125

Figure 5-33 The tool at home position (X0,Y0,Zl)

STEP

9:

Material removal phase. Begin cutting the workpiece using G00 and G01.

>N20 G00

X1Y1

[Enter]

>N222,0.125[Enterl Rapidmove

toX1,,Y1,,Z;0.125(Fig.5-3a)

Figure 5-34 After rapid move, the tool is at (X1 ,Y1,2O.125).

>N25 G012-0.725 F5 [Enter] Feed into part 0.125 at 5

ipm

(Fig.5-3s)

UNIIS

Irch

ARC PLAI{E X-T

I'IODE

Abs SPIIIDLE Ctl

COOLAilI Off

Abs

Bel

t.wna 6.w

r 1.6666

E.E6A8

125 cNc

MTLLTNG

Figure 5-35 The cutter drilling in by 0.125 in

>N30 X4 F20 [Enter] Feed across to 4 inches at 20ipm (Fis. s-36)

Figure 5-36 The cutter cuts a slot 4 in. long to the position (X4,y1,2-O.125\.

Note the status area and the X,Y,Z absoltrte and incremental

position->N35 Y3 lEnter] Feed up 3 inches (Fig. 5-37)

EXAMPLE 1: l-PARTI.MlL

w

Figure 5-37 C00 cutter move to Y3

Note on the status

window

that the feedrate remains the same.

Also note that the G01 is modal and remains

in

effect

until

cancqlled

by

another code.

>N40 X1

[Enter]

Feed back 4 inches (Fig. 5-38)

>N45 Y1

[Enter]

Feed down 3 inches (Fig. 5-38)

Figure 5-38 The completed slot

>N50 G00 Z1 [Enter]

>N52 G00 X0 Y0

[Enterl

Rapid to home position (Fig. 5-39) Eu eicht : 1 .8 I]t)

_.T.

T3

W

UllIlS Inch

ABC PLAT{E X_Y

IIODE Abs

SPITIDLE CT.I

COOLAIiT Otf

CYCLE

cLAilPS Off

AUX off

OPT. STOP Off ELX. SilIP Off

FDEN EATtr ?h aNA

Abs

nel

x 1.6664

8.ffi60

v t.agas

-2.E,08a

z -6.12s6

E-ffiao

;tr'E I1 :t{4s 91

>t{5trr

128 cNc

MTLLTNG

Figure 5-39 Cutter rapids to Z1 and X0,Y0.

STEP 10: Program shutdown phase. Turn off the spindle and program end (Fig.5-40).

>N55 M05 [Enter]

'>N60 M30 [Enter]

>N55 Press F3

Figure 5-40 M30 program end prompt

STEP 11: The program is now complete. Rerun the program using the SIMULATE/CYCLE option.

From the Menu Bar, select F6-SIML.

Select CYCLE (Fig. 5-41).

Turns spindle off End of program

Exit from Simulate/Edit mode

. sIoP off . slIP off

D RAIE ZA,@@

ITODE Bapld Abs Bel

a.am,6

0.Eooa

Y 6.4@8 A.OEE/6

Figure 5-41 Selection of SIMULATE/EDIT option

Note the program stops at M06 and prompts you for a tool change (Fig. 5-a2). Press Enter to continue (Fig. 5-43).

Figure 5-42 Prompt for tool change

/

130 cNc MILLING

UHIIS Inch

68C PLA]IE X-T

IIODE Abe SPII{DLE Off

cool,fiilr off

CICLE

cLAiPS off AUX IPS Offoff . sroP offoff . sxIP off

I} RAIE Z6,AW IIODE Bapid

Figure 5-43 End of program cycle

STEP 12: Disptay the three-dimensional solid using the FS-VIEW/SOLID oPtion.

From the FS-VIEW menu /select SOLID (Fig. 5- ).

Figure 5-44 Selecting F5-VIEWSOLID

The final result is shown in Fig, 5-45,

oPl. sToP

BLI{. SNIP FEEI' NAIE JOG }IODE

x-vInch Abs0fr 0ff offoff 0ff0ff

Bapil

a.a

EXAMPLE #2: I-PART2.MIL

Figure 5-45 Completed part with solid isometric view STEP 13: End of program.

EXAMPTE #2.: I-PART2.MI

I

This program introduces the user to diagonal linear feedmoves, where both the X-axis and the Y-axis are traversing. See Fig. 5-46.

Workpiece

Size:

X5,Y4,21,

Tool:

Tool#2,1/4" End

Mill

Tool Start

Position:

X0,Y0,27 (Relative to workpiece)

t

:1002 N5

c90

c20 N10 M06 T2

N15 M03 51200 N20 G00

Xl

Y1

N22

20.L25

N25 G01

Z-0.125

F5

N30

X4

F10 N35 Y3

.N40 xl Yl

N45 Y3

N50

X4

Y1

N55 G00 21

N57

X0

Y0

N60 M05

N65 M30

I

1'32 cNc

MTLLTNG

Figure 5-46 The finished part. Notice how two axes combined in a C01 feed move results in a diagonal cut. Line 35 is an example of a single-axis feed move, while line 40 is an ex-ample of a multiaxis feed move.

STEP

1:

Create a new file called I-PART2.

Move the pointer to the Menu Bar and select F1-FILE.

SelectNEW.

Enter the file name: I-PART2 [Enter].

STEP

2:

Set up the workpiece (stock material) for this program.

From the Menu BaL select F4-WPIECE.

Select Define.

Workpiece Length (in): 5 Workpiece Width (in): a Workpiece Height (in): 1

STEP

3:

Begin entering the program and simulate the cutter path. Use the

SIMULATE/EDIT option.

From the Menu Bat select F5-SIML.

SelectEDIT.

STEP

4:

Program,setup phase. You must enter all the setup parameters before you can enter all the actual cutting moves.

Program start flag Program number

Absolute coordinates and inch Tool change and Tool #3

>N15 M03 51200

[Enterl

Spindle on CW at 1200 rpm

STEP

5:

Material removal phase. Begin cutting the workpiece using G00 and G01.

>% [Enter]

>:1002 [Enter]

>N5 G90 G20 [Enter]

>N10 M05 T3 [Enter]

>N20 G00

XlYl

[Enter]

>N2220.125 [Enter]

Rapid to X1,Y1 Rapid to 20.125

>N25 G01 2-0.125 F5 [Enter]

>N30 G01X4 F10 [Enter]

>N35 Y3 [Enter]

>N40 X1 Y1 [Enter]

Figure 5-47 Diagonal feed move from X4,Y3 to X1,Y.l

>N45 Y3 [Enter]

>N50 X4 Y1 [Enter]

Figure 5-48 Last cutter move to X4,Y1

>N55 G00

21

[Enter]

>N57 X0 Y0 [Enter]

ExAMPLE

#2: I-PART2.MIL

133

Feed move 2-.125", at 5

ipm

Feed move

toX4,

at 10

ipm

Feed move, at 10

ipm

Diagonal feed move to X1,Y1 (Fig.5-a7)

Feed move to Y3, at 10

ipm

Feed move to X4,Y1 (Fig. 5-a8)

Rapid to 21 Rapid to X0,Y0

IIS Irch PLAIIE X-I I]{DLE C1I

. stoP off off

Abs

f,ol 4.Ao/8/6 3.A688 1.a/8/a/6 -2-E/6]a/6

134 cNc

MTLLTNG

STEP

6:

Program shutdown phase. Turn off the spindle and program end.

>N50

M05

[Enter]

>N65

M30 lEnter]

STEPT: Endofprogram

Tum off spindle End of program

EXAMPLE #3: l.PART3.M!L

This program introduces arcs: G02 (clockwise) and G03 (counterclockwise).

These are all simple quarter quadrant arcs

with

a 1-in. radius.

Figure 5-49 The completed part Workpiece Size:

Tool:

x5,y4,27

Tool #2,0.25" Slot

Mill

Tool Start

Position: X0,Yl,Zl

(Relative to workpiece)

I

:1003 N5 G90

G20

N10 M05

T2

N15 M03

S1200

N2o coo

xo .5".,Y0.5

N22

z.0.25

N25 G01 2-0.25

y5

N30 G02 X1.5 Y1.5 11 J0

F10

N35 X2.5 Y2.5

R1

N{$ X1.5 r\.5 L$ J-\

N45 x4.5 Y0.5

R1

N50 G01 Y1.5

N55 G03 X3.5 Y2.5 Rl N60 x2.5 Y3.5 r-1

J0

N65 X1.5 Y2.5

R1

N70 X0.5 Y1.5 r0 J-1

N75 c01 Y0.5

EXAMPLE #3: I-PART3.MIL 135

N80

c00

21

NB2 XO YO

N85 M05

N90 M30

STEP

1:

Create a new file called I-PART3.

Move the pointer tothe Menu Bar and select FI-FILE.

SelectNEW.

Enter the file name: I-PART3 [Enter].

STEP

2:

Set up the workpiece (stock material) for this program.

From the Menu Bal, select

F

-WPIECE.

Select Define.

Workpiece Length (in): 5 Workpiece Width (in):4 Workpiece Height (in): 1

STEP

3:

Change the view to Plan view using F5-VIEW/PLAN.

From-the Menu Bar, select FS-VIEW.

Select PLAN, as shown in Fig. 5-50.

Figure 5-50 Selecting Plan view frgm the F5-VIEW menu.

STEP

4:

Begin entering the program and simulate the cutter path. Use the SIMULATE/EDIT option.

From the Menu Bar, select F6-SIML.

Select EDIT.

Ul{ I IS Inch

ANC PLANE X-Y

ll0llD Abs

SPIilDLE Off c0olAilr off

CTCLE

cLAltPS Of f AUX Off oPT. SIOP Off ELI(. SXIP Off rEED RATE LO.AE/gg JOG ITODE f,apid

Abs Bel

X

E,WEfr A.WW

r 0.808€

6.?tw

z t.wa6

a.ffiw

136 cNc

MTLLTNG

STEP

5:

Program setup phase. You must enter all the setup parameters before you can enter all the actual cutting moves.

Program start flag Program number

>N5 G90 G20

[Enter]

Absolute coordinat€s and inch

>N10 M06 T3

[Enter]

Tool change and Tool #3

>N15 M03 51200

[Enterl

Spindle on CW at 12001pm

STEP

5:

Material removal phase. Begin cutting the workpiece using G00, G0L,G02, and G03.

>% [Enter]

>:1003

[Enterl

>N20 G00 X0.5 Y0.5 [Enter]

>N22Z;O.25 [Enter]

>N35 X2.5 Y2.5 R1 [Enter]

>N40 X3.5 Y1.5 I0

]-1

[Enterl

>N45 X4.5 Y0.5 R1 [Enter]

>N50 G01Y1.5 [Enter]

>N55 G03 X3.5 Y2.5

Rl

[Enter]

>N60 X2.5 Y3.5

I-1J0

[Enterl

>N65 X1.5 Y2.5

Rl

[Enter]

>N70 X0.5 Y1.5 I0 J-1 [Enterl

Rapid to X0.5,Y0.5 Rapid to 20.25

G02 command using Radius vatue (Fig.5-52)

G02 command using I and

I

G02 command using R value G01 feed to Y1.5 (Fig. 5-53) G03 arc using R value G03 arc using I and J values G03 arc using R value G03 arc using I and

I

values

>N25 G01 2-0.25 F5

[Enter]

Feed down to -{.25 at 5

ipm

>N30 G02 X1.5 Y1.5 I1J0 F10

[Enter]

Circular

interpolation

(Fig. s-51)

ALs

Rel

1.s860 l.m 1.5ESE t.W -g.zw o.ma

Figure 5-51 C02 Circular_interpolation clockwise

ExAMPLE

#3: I-PART3.MIL

137

th:5.6 llidth:4.8 Heicht:1.6

fS Inch PLAIIE X-T

Abs Bcl

x z.sw

1.4800

v z.EW L.W

L

I I

!-tr

r

Figure 5-52 C02 move using R1 rather then 11,J0

Figure 5-53 Completed C02 operation with C01 move to Yl .5

>N75 G01Y0.5

[Enter]

G01 feed move to Y0.5

>N80 G00 2L [Enter]

>N82 X0 Y0 [Enter]

G00

rapid

move to ZL

G00

rapid

move to X0,Y0 (Fig. 5-54) STEP

7:

Program shutdown phase. Turn off the spindle and program end.

>N85 M05

[Enter]

Tum off spindle

>N90 M30

[Enter]

End of program

ITEP8: Endofprogram

th:5.8 I'lidth:4

UilIIS

Irch

ANC PLA]IE X-Y

ll0DE

Abs

SP

IllIlLE

Cl,l

cooLAilr off

CYCLE

cLonPS

Off

Alrx

of

f

oPr.

sIoP off

BLI(. St(IP Off

lbs

B?l

x 4.5886

o,f,/,/gg

v 1.5606

t.8/o,AA

138 cNC MTLLTNG

r

Figure 5-54 Completed part.

EXAMPTE

#4: l-PART4.MIt

This ptogram cuts several G02 and G03 arcs (clockwise and counterclockwise) in semicircles and full circles (see finished part in Fig. 5-55).

Workpiece

Size:

X4,Y4,22

TooI:

Tool #4, 0.5" Slot

Mill

TooI Start

Position:

X0,Y0,27 (Relative to workpiece)

I

:1004

N5

G90 c20 N10 M06 14

N15 M03 51200

d

,

N20

c00

20.25 N25

cO1

ZO

E;

N30

c18 c02 x4 zo r.2

K0

N35

c19 c03 Y4 z0 J2

K0

N40

c18 c03 x0 z0 t-2

K0

N45

c19 c02 Y0 z0 J-2

K0

N50

c00 xt y2

20.25 N55

c01 z-0.25

N50,c17 c02 11 J0

F10 N65

c00

21

N67 X0

Y0

N70 M05

N75 M3o

E

i'

ExAMPLE

#4: I-PART4.MIL

139

Figure 5-55 The finished part STEP

1:

Create a new

file

called I-PART4.

Move the pointer to the Menu Bar and select FI-FILE.

SelectNEW.

Enter the file name: I-PART4 [Enter].

STEP

2:

Set up the workpiece (stock material) for this program and save tEQworkpiece as a stock part.

From the Menu Bar, select

F

-WPIECE.

Select

Define.

Workpiece Length (in): 4 Workpiece

Width

(in): a Workpiece Height (in): 2

From the Menu Bar, select F4-WPIECE.

Select SAVE, (Fig. 5-56).

Enter the file name: 4X4X2-IN [Enter] (Fig. 5-57).

.

sroP

off off

. sxIP off

ドキュメント内 FILES edang20 CNC book part 1 (ページ 123-138)

関連したドキュメント