Thursday, November 1, 2018

CIM LAB 7th SEM Mechanical

FIRST CNC



[BILLET SIZE X=110 Y=110 Z10 T=10MM
[EDGE MOVE X0 Y0
[TOOL DEF T1 D5
------------------------------
G21 G94 G41
G91 G28 X0 Y0 Z0
G90 G00 X30 Y10 Z10 M03 S900
G00 Z0
G91 G01 Z-11 F25
X0 Y20
G02 X0 Y40 R20
G01 X0 Y20
X30 Y0
X50 Y80
X-40 Y0
G03 X-20 Y0 R10
G01 X-20 Y0
G90 Z20
G91 G28 X0 Y0 Z0
G40 M05 M30

BUTTERFLY



[BILLET SIZE X140 Y140 Z20
[EDGE MOVE X70 Y70
[TOOL DEF T1 D5
[TOOL DEF T2 D20
-----------------------------
G21 G94 G41
G91 G28 X0 Y0 Z0
M06 T1
M90 G00 X-40 Y-40 Z20 M03 S1000
Z0
G91 Z-22 F30 X0 Y20 G02 X0 Y40 R20
G01 X0 Y20
X20 Y0
G03 X40 Y0 R20
G01 X20 Y0
X0 Y-20
G03 X0 Y-40 R20
G01 X0 Y-20
X-20 Y0
G02 X-40 Y0 R20
G01 X-20 Y0
G90 G00 Z22
G40 M05
G91 G28 X0 Y0 Z0 M06 T2

G90 G00 X0 Y0 Z10 M03 S1000
Z0
G83 G99 X0 Y0 Z-22 Q2 R4 F20
G80 Z22 M05
G91 G28 X0 Y0 Z0
M30

CIRCULAR POCKETING



[BILLET X100 Y100 Z20
[EDGEMOVE X50 Y50
[TOOL DEF T1 D10
---------------------------
G21 G94
G91 G28 X0 Y0 Z0
M06 T1
G90 G00 X0 Y0 Z10 M03 S1000
Z0
G170 R0 P1 Q2 X0 Y0 Z-10 I0.1 J0.1 K25
G171 P80 S1000 R500 F40 B1000 J50
G90 G00 Z50
G91 G28 X0 Y0 Z0
M05
M30


COMPLEX OCTA PENTADRILL



[BILLET X80 Y80 Z10
[EDGEMOVE X40 Y40
[TOOLDEF T1 D5
[TOOLDEF T2 D5
[TOOLDEF T3 D10
---------------------------
G21 G94 G41
G91 G28 X0 Y0 Z0
M06 T1
G90 G00 X-20 Y-30 Z5 M03 S1000
Z0
G91 G01 Z-12 F20
X-10 Y10
X0 Y40
X10 Y10
X40 Y0
G91 G02 X10 Y-10 R10
G01 X0 Y-40
G03 X-10 Y-10 R10
G01 X-40 Y0
G90 G00 Z20
G91 G28 X0 Y0 Z0
G40
M06 T2
G90 G00 X0 Y0 Z5 M03 S1000
Z0
G83 G99 X0 Y0 Z-12 Q2 R3 F30
G80
G91 G28 X0 Y0 Z0
M06 T3
G90 G00 X20 Y20 Z10 M03 S1000
Z0
G83 G99 X20 Y20 Z-12 Q3 R4 F25
X-20 Y20
X-20 Y-20
X20 Y-20
G80
G91 G28 X0 Y0 Z0
M05
M30

SIMPLE OCTA PENTADRILL




BILLET X120 Y120 Z10
EDGEMOVE X60 Y60
TOOL DEF T1 D4
TOOL DEF T2 D10
TOOL DEF T3 D8
----------------------------------
G21 G94 G41
G91 G28 X0 Y0 Z0
M06 T1
G90 G00 X-40 Y-50 Z10 M03 S1000
Z0
G91 G01 Z-12 F30
X-10 Y10
X0 Y80
X10 Y10
X80 Y0
X10 Y-10
X0 Y-80
X-10 Y-10
X-80 Y0
G90 G00 Z20
G40
G91 G28 X0 Y0 Z0
M06 T2

G90 G00 X0 Y0 Z5 M03 S1000
Z0
G83 G99 X0 Y0 Z-12 Q2 R5 F20
G80
G91 G28 X0 Y0 Z0
M06 T3
G90 G00 X20 Y20 Z10 M03 S1000
Z0
G83 G99 X20 Y20 Z-12 Q2 R4 F20
X-20 Y20
X-20 Y-20
X20 Y-20
G80
G91 G28 X0 Y0 Z0
M05
M30

Facing step Turning operation on lathe machine



AIM: Write the CNC part program and show the simulation for the given workpiece

{BILLET X47 Z75}
{EDGE MOVE X0 Z0)
{TOOL DEF T1}
-----------------------------------
G21 G98
G28 U0 W0
M06 T1
M03 S1000
G00 X46 Z5
G94 X46 Z0 F20
X0 Z-0.5
X-5 Z-1
G00 X46 Z-1
G90 X45 Z-61 F25

X45 Z-60
X43
X42
X41
X40 Z-40
X39
X38
X37
X36
X35
X34
X33
X32
X31
X30 Z-20
X29
X28
X27
X26
X25
X24
X23
X22
X21
X20
G28 U0 W0
M05
M30