Documente Academic
Documente Profesional
Documente Cultură
OMATION LAB
BORATORY
ACHARYA
A INSTIT F TECHN
TUTE OF NOLOGY
DEPA
ARTMEN
NT OF MECHANICAL ENG
GINEERIN
NG
COM
MPUTER INTEG D MANU
GRATED UFACTURING
LABORAATORY
& AUTOMAATION LABORAATORY
MANUAAL
(SSUB CODE
O : 10
0MEL778)
for B.E
E. Mechaanical VIII Sem Stuudents
Preepared Byy:
Pro
of. Manjun
natha B. B.E.,
B M.E., (Ph
h.D)
Asst. Professor
P Grad
de - 1
Mr. Hullluraiah H.
H D.M.E,
Insstructor
____________________ __________________________________________________
A
Acharya a Dr. Sarvepa
S alli Ra adhakrishnan n Road,,
C
Copyright ©Achary
A2013 @Dept
ya
t. of Post ticaloffice
Mechani e,
Engg, Ach BAN
harya InstituGALOR
ute of Tech.,RE
B – 56 60107
Bangalore‐10
07 P
Page ‐ 0
CIM & AUTOMATION LABORATORY
CONTENTS
1 Syllabus 2
2 Course Outcomes 3
5 Introduction to CIM 5
CNC Turning
Co-ordinate systems 6
G Codes 8
6
M Codes 17
Turning Exercises 1 to 12 23
Turning Practice 35
CNC Milling
Co-ordinate systems 38
G Codes 40
7
M Codes 49
Milling Programs - 1 to 12 51
Milling Exercises 64
8 Viva Questions 68
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 1
CIM & AUTOMATION LABORATORY
SYLLABUS
PART – A
PART - B
PART – C
Scheme of Examinations:
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 2
CIM & AUTOMATION LABORATORY
Course Outcomes
Able to understand the Basic concepts of CNC machines centers like LATHE and Milling, skills
1 required to operate CNC machine tools.
Able to understand about various cutting tools, tool and work holding devices used in CNC
2
machine tools
Enables to understand about various programming controllers like Fanuc, Sinumeric and also
3
about various G codes and M codes used in CNC programming.
4 Able to understand various cycles and programming methods used in CNC control of operations
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 3
CIM & AUTOMATION LABORATORY
Name of Equipments /
Sl. Specifications Nos
Systems
04 Projector CASIO 01
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 4
CIM & AUTOMATION LABORATORY
Definition
1) Computer Integrated Manufacturing, known as CIM, is the phrase used to
describe the complete automation of a manufacturing plant, with all processes
functioning under computer control and digital information tying them together
4) CAD provides the electronic part images, and CAM provides the facility for tool
path cutters to take on the raw piece
5) Usage of codes such as G-codes and M-codes are very essential for performing
this Lab exercises
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 5
CIM & AUTOMATION LABORATORY
CNC - TURNING
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 6
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 7
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 8
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 9
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 10
CIM & AUTOMATION LABORATORY
G04 DWELL
The time can be specified in seconds with the “X” or “U” prefixes or in milliseconds
with the “P” prefix.
G04 U1.5
G04 P1500
G20 IMPERIAL
A G20 causes positions to be interpreted as being in imperial units. All the input
values are inches.
G21 METRIC
A G28 causes a fast traverse to the specified position and then to the machine
datum.
G28 U0 W0
A G41 enables tool nose radius compensation to the right of the programmed path.
A G42 enables tool nose radius compensation to the left of the programmed path.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 11
CIM & AUTOMATION LABORATORY
A Coordinate setting block has an “X”, “Z”, “U” or “W” upon it.
G50 sets the maximum spindle speed for constant surface speed control.
An “X”, “Z”, “U” or “W” prefix must not be on the block or it will be interpreted as a
coordinate setting block.
G50 creates a new coordinate system in which the tools current position is set to
the specified coordinates.
Example: G50 X0 Z0
A G70 causes a range of blocks to be executed, then control passes to the block
after the G70. This will be used after the completion of the Roughing cycle.
The “P” and “Q” values specify the “N” block numbers at the start and end of the
profile.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 12
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 13
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 14
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 15
CIM & AUTOMATION LABORATORY
• Rapid X position.
• Feed to Z position
If an “R” value is specified tapering will be performed. The initial rapid move will be
to the X position plus the “R” value (Radio).
• Rapid Z position.
• Feed to X position
If an “R” value is specified tapering will be performed. The initial rapid move will be
to the Z position plus “R” value.
G97 Cancels Constant Surface Speed. The spindle speed will not change until the
next “S” value is reached.
G98 sets the feed per minute mode. This is the default.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 16
CIM & AUTOMATION LABORATORY
M08 – Coolant On
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 17
CIM & AUTOMATION LABORATORY
Cycle operation is stopped after a block containing M01 is executed. This code is
only effective when the optional stop switch on the machine control panel has been
pressed. Example: M01
Stops the spindle. Turns the coolant off. Terminates the CNC program.
Example: M02
An M03 instruction starts forward spindle motion at the specified spindle rate.
The spindle should be switched on before any movement below the component
surface.
An M04 instruction starts reverse spindle motion at the specified spindle rate.
The spindle should be switched on before any movement below the component
surface.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 18
CIM & AUTOMATION LABORATORY
The M06 instruction causes to change to a different tool. The left most digit of the
“T” ignorising zeros, selects the new tool. For safe practice tool changing should be
done only in the home position or safe position. To select Tool No. 2, we can use T2
or T20 or T0202
You can set tool lengths and diameters at the start of the program using the TOOL
DEF directive
M08 COOLANT ON
Stops the spindle. Turns the coolant off. Terminates and rests the CNC program.
This command is used at the end of program to stop the program and bring the
cursor to the first line of the program to repeat the program once again.
The “P” value specifies the program number & the number of times to execute it.
The rightmost 4 digits are the Program Number. The digits to the left are the
number of repetitions. There can be up 999 repetitions, if the value is omitted it is
called once. Example: M98 P12 and M98 P10 012 both execute one program 12
once.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 19
CIM & AUTOMATION LABORATORY
Returns control to the program that called the current program. If a “P” value is
specified then execution begins from the block with the same “N” number, otherwise
it is from the block after the subprogram call.
If an M99 is specified in the main program then the execution is from the start of
the program.
Example; M99
M99 P10
BILLET
This directive allows the billet in the simulation window to be given a size. The billet
definition should be placed at the start of a program.
Ex: BILLET X30 Z50 defines the billet as 50 mm long with a diameter of 30mm.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 20
CIM & AUTOMATION LABORATORY
BILLET X__ Z__ This directive is used only for simulation purposes. It defines
the work piece dimensions. (X = Diameter & Z= Length )
G00 X21 Z1 G00 – Gives rapid position of the tool to a points X21 Z1
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 21
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 22
CIM & AUTOMATION LABORATORY
EXERCISE - 1
O20
Z- Z+
50 X-
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 23
CIM & AUTOMATION LABORATORY
EXERCISE – 02
10
∅
10 30
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 24
CIM & AUTOMATION LABORATORY
EXERCISE-03
10 10 10
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 25
CIM & AUTOMATION LABORATORY
EXERCISE – 04
∅20
15
∅
10 40
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 26
CIM & AUTOMATION LABORATORY
EXERCISE – 05
50
∅ 20
∅15
∅10
15 15 15 10 15
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 27
CIM & AUTOMATION LABORATORY
EXERCISE – 06
10 5 10 10 10 5
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 28
CIM & AUTOMATION LABORATORY
EXERCISE – 07
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 29
CIM & AUTOMATION LABORATORY
N260 M30
EXERCISE – 09
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 31
CIM & AUTOMATION LABORATORY
EXERCISE – 10
HOLE O 12 MM
O 30
50
60
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 32
CIM & AUTOMATION LABORATORY
EXERCISE – 11
EXERCISE – 12
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 33
CIM & AUTOMATION LABORATORY
CH3 x 45v
R4
O12
O 28
O 20
O 35
10 3 5 12
[BILLET X35 Z35
N10 G21 G40 G98 Tool 1 – Centre Drill
N20 G28 U0 W0 Tool 2 – Drill bit 6 mm
N30 M06 T0101 Tool 3 – Drill Bit 12 mm
N40 M03 S1500 Tool 4 – Boring Bar 11 mm
N50 G00 X0 Z2
N60 G74 R1
N70 G74 X0 Z-5 Q500 F30
N80 G28 U0 W0
N90 M06 T0202 N240 G71 U0.5 R1
N100 M03 S1500 N250 G71 P260 Q320 U0.2 W0.2 F50
N110 G00 X0 Z2 N260 G01 X28
N120 G74 R1 N270 G01 Z0
N130 G74 X0 Z-25 Q500 F30 N280 G01 Z-8
N140 G28 U0 W0 N290 G03 X20 Z-12 R4
N150 M06 T0303 N300 G01 Z-17
N160 M03 S1500 N310 G01 X14 Z-20
N170 G00 X0 Z2 N320 G01 X12
N180 G74 R1 N330 G70 P260 Q320 F50
N190 G74 X0 Z-30 Q500 F30 N340 G28 U0 W0
N200 G28 U0 W0 N350 M05
N210 M06 T0404 N360 M30
N220 M03 S1200
N230 G00 X12 Z2
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 34
CIM & AUTOMATION LABORATORY
∅ 40
R5
∅ 20 O 30
∅15
R 10
O 20
O 40
15 15 15 10 10
25 5 25 20 15
O 40 O 34
10
R
O 35
R6
O 24
0
R1
R5
O 15
O 50
10 20 5 10 5 10 20 10 10 30 20
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 35
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 36
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 37
CIM & AUTOMATION LABORATORY
CNC – MILLING
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 38
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 39
CIM & AUTOMATION LABORATORY
“G” – CODES
G00 – Rapid Traverse (Positioning)
G28 – Go to Reference
G170
- Circular Pocket
G171
G172
- Rectangular Pocket
G173
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 40
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 41
CIM & AUTOMATION LABORATORY
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 42
CIM & AUTOMATION LABORATORY
G04 DWELL
All future instruction parameters will be taken as Imperial values. That is, they will
specify Inches.
All future instruction parameters will be taken as Metric Units. That is, they will
specify Millimeters.
A G28 causes a fast traverse to the specified position & then to the Machine
Datum.
G40 switches off any tool radius compensation activated by a G41 or G42.
G41 causes future movement to take place to the left of the programmed path.
The offset used is equal to the radius of the current tool.
G42 causes future movement to take place to the right of the programmed path.
The offset used is equal to the radius of the current tool.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 43
CIM & AUTOMATION LABORATORY
“X” and “Y” are the next position to drill at. “Z” is the base of the hole. “Q” is the
shift value. “K” is the number of repetitions, it defaults to 1.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 44
CIM & AUTOMATION LABORATORY
“X” and “Y” are the next position to drill at. “Z” is the base of the hole. “R” is the R
point level.
‘P is 750 times the delay in seconds, “K” is the number of repetitions, and it defaults
to 1.
“X” and “Y” are the next position to drill at. “Z” is the base of the hole. “K” is the
number of repetitions, it defaults to 1.
“X” and “Y” are the next position to drill at. “Z” is the base of the hole. “P” is 1000
“X” and “Y” are the next position to drill at. “Z” is the base of the hole. “P” is 1000
times delay in seconds, “K” is the number of repetitions, it defaults to 1.
All future movement will be absolute until over-ridden by a G91 instruction. This is
the default setting.
Example: G90
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 45
CIM & AUTOMATION LABORATORY
Example: G90
G01 X15
G91
G92 X10 Y10 makes the position that was X30 Y40 become X-10 Y-10
The “F” value specifies the feed rate in millimeters, or inches, per minute.
The “F” value is the ratio of feed rate to spindle speed. The feed rate is changed
whenever the spindle changes.
G98 sets the initial level return mode for drilling cycle.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 46
CIM & AUTOMATION LABORATORY
The following canned cycles, when programmed correctly, will machine either a circular
pocket to any side length and depth.
Both canned cycles required two blocks of information each; with each block having its own
G code:
G170
- Circular Pocket
G171
G172
- Rectangular Pocket
G173
Definition for the terms used in the G170 and G171 circular pocket canned cycle as follows:
R Defines the position of the tool to start cycle ie. Q (surface of job)
P Define when P is zero (0) the cycle is a roughing cycle.
Q Defines the peck increment in program number 0002, 2 peck each of 3mm.
X Defines the pocket center in X axis (0).
Y Defines the pocket center in Y axis (0).
Z Defines the pocket base (‐6mm) from job surface.
I Defines the side finish allowance (0 as this a roughing cycle only).
J Defines the side finish allowance (0 as this a roughing cycle only).
K Defines the radius of pocket (‐24) negative value cut in CCW direction).
The direction of the cutter path is controlled by K, a negative (k‐24) value for K means the cutter path is in
a CCW direction and if the k value is positive (k+24) the cutter path is in a CW direction. The Q value is
always positive (Q+3).
When the tool has finished cutting the tool retracts 1mm in the Z axis, moves the center of the circular
pocket at rapid traverse, and retracts again in the Z axis. The above Program is for a two cut roughing
cycle.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 47
CIM & AUTOMATION LABORATORY
The I and J are signed according to the direction of travel +/positive being CW and ‐/negative being CCW.
K must be programmed as 0 (zero). For denford software, the corner radius is the cutter radius.
X and Y relate to an absolute zero on the work piece, ie, the center of the work piece. In program number 0005,
the zero is set in the center of the work piece so the distance to the bottom LH corner is Y ‐25 and X‐25, as shown
below.
If I and K are set to zero (0), the program will perform the two roughing cuts only (as in the circular pocket canned
cycle). The tool number (T1) must be programmed.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 48
CIM & AUTOMATION LABORATORY
“M” – CODES
M00 – Program Stop
M08 – Coolant On
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 49
CIM & AUTOMATION LABORATORY
M02 halts program execution. The spindle is turned off and the tool moves to the
most positive on the Z axis.
An M03 instruction starts forward spindle motion. It requires a speed within the
range of 100 to 3000 rpm.
The spindle should be switched on before any movement below the component
surface.
An M04 instruction starts reverse spindle motion. It requires a speed within the
range of 100 to 3000 rpm.
The spindle should be switched on before any movement below the component
surface.
Example: M06 T1
You can set tool lengths and diameters at the start of the program using the TOOL
DEF directive
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 50
CIM & AUTOMATION LABORATORY
M08 COOLANT ON
The “P” value specifies the program number & the number of times to execute it.
The rightmost 4 digits are the Program Number. The digits to the left are the
number of repetitions. There can be up 999 repetitions, if the value is omitted it is
called once.
Example: M98 P12 and M98 P10 012 both execute one program 12 once.
Returns control to the program that called the current program. If a “P” value is
specified then execution begins from the block with the same “N” number, otherwise
it is from the block after the subprogram call.
If an M99 is specified in the main program then the execution is from the start of
the program.
Example; M99
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 51
CIM & AUTOMATION LABORATORY
90
[30,60] [60,60]
R 15
90
[30,30] [60,30]
+Y
[X0,Y0,Z0]
+X
-z
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 52
CIM & AUTOMATION LABORATORY
EXERCISE - 02
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 53
CIM & AUTOMATION LABORATORY
10
20
50
O
+Y
15
[X0,Y0,Z0]
-z +X
20
50
[BILLET X50 Y50 Z20
[EDGEMOVE X0 Y0
[TOOLDEF T1 D10 (Drill Bit Dia 10 mm)
G91 G28 X0 Y0 Z0
M06 T1
G90 M03 S1200
G00 X15 Y15 Z2
G83 G99 X15 Y15 Z-18 Q5 R2 F100
G00 X35 Y15 Z2
G83 G99 X35 Y15 Z-18 Q5 R2 F100
G00 X35 Y35 Z2
G83 G99 X35 Y35 Z-18 Q5 R2 F100
G00 X15 Y35 Z2
G83 G99 X15 Y35 Z-18 Q5 R2 F100
G00 Z2 M05
G91 G28 X0 Y0 Z0
M30
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 54
CIM & AUTOMATION LABORATORY
EXERCISE - 04,
0004
[BILLET X120 Y100 Z21
[EDGEMOVE X0 Y0
[TOOLDEF T1 D10
[TOOLDEF T2 D5
G91 G28 Z0 X0 Y0
M06 T1
G90 M03 S1000
G00 X35 Y37.5 Z2
G83 G99 X35 Y37.5 Z-20 Q5 R2 F100
G00 X60 Y37.5 Z2
G83 G99 X60 Y37.5 Z-20 Q5 R2 F100
G00 X85 Y37.5 Z2
G83 G99 X85 Y37.5 Z-20 Q5 R2 F100
G00 X85 Y62.5 Z2
G83 G99 X85 Y62.5 Z-20 Q5 R2 F100
G00 X60 Y62.5 Z2
G83 G99 X60 Y62.5 Z-20 Q5 R2 F100
G00 X35 Y62.5 Z2
G83 G99 X35 Y62.5 Z-20 Q5 R2 F100
G00 Z5
G91 G28 Z0 4000
M06 T2 M98 P0014001
G90 M03 S1200 G01 X90 Y12.5 F100
G00 X30 Y12.5 Z2 G02 X110 Y32.5 R20
G01 Z-1 G01 X110 Y67.5
M98 P0014000 G03 X90 Y87.5 R20
M98 P0014000 G01 X30
M98 P0014000 G03 X10 Y67.5 R20
M98 P0014000 G01 Y32.5
M98 P0014000 G02 X30 Y12.5 R20
G00 Z2 M05 M99
G91 G28 Z0 X0 Y0
M30 4001
G91 G01 Z-1 F50
G90
M99
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 55
CIM & AUTOMATION LABORATORY
0005
FORMAT:
G170 R0 P0 Q2 X45 Y37.5 Z-6 I0 J0 K-25
R : Defines the position of the tool to start cycle (Zero (0) i.e. Surface of job)
P : Defines when P is Zero (0) the cycle is roughing cycle.
Q : Defines the Peck increment, in above progm. 3 peck each of 2 mm.
X : Defines the Pocket centre in X axis
Y : Defines the Pocket centre in Y axis
Z : Defines the pocket base (Depth-6mm) from job Surface
I : Defines the side finish allowance (0 as this is a roughing cycle)
J : Defines the side finishes allowance (0 as this a roughing cycle only).
K : Defines the radius of pocket (-25) negative value cut in CCW direction).
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 56
CIM & AUTOMATION LABORATORY
EXERCISE - 06
0006
6000
M98 P0016001
G01 X40 Y20 F200
G03 X60 Y20 R10
G01 X80
G01 Y40
G03 X80 Y60 R10 6001
G01 Y80 G91 G01 Z-1 F50
G01 X60 G90
G03 X40 Y80 R10 M99
G01 X20
G01 Y60
G03 X20 Y40 R10
G01 Y20
M99
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 57
CIM & AUTOMATION LABORATORY
30
50
25
1 00
100
0007
[BILLET X100 Y100 Z30
[EDGEMOVE X0 Y0
[TOOLDEF T1 D5
G91 G28 Z0 X0 Y0
M06 T1 M03 S3000
G90 G00 X25 Y25 Z5
G170 R0 P0 Q2 X25 Y25 Z-5 I0 J0 K-12.5
G171 P50 S3000 R75 F50 B3500 J200
G170 R0 P0 Q2 X75 Y25 Z-5 I0 J0 K-12.5
G171 P50 S3000 R75 F50 B3500 J200
G170 R0 P0 Q2 X75 Y75 Z-5 I0 J0 K-12.5
G171 P50 S3000 R75 F50 B3500 J200
G170 R0 P0 Q2 X25 Y75 Z-5 I0 J0 K-12.5
G171 P50 S3000 R75 F50 B3500 J200
G00 Z5 M05
G91 G28 Z0 X0 Y0
M30
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 58
CIM & AUTOMATION LABORATORY
0008
[BILLET X100 Y100 Z30
[EDGEMOVE X0 Y0
[TOOLDEF T1 D8 Z0
G91 G28 X0 Y0
M06 T1 S3000 M03
G90 G00 X50 Y50 Z2
G172 I40 J40 K0 P0 Q3 R0 X30 Y30 Z-5
G173 I0 K0 P75 T1 S3000 R75 F200 B3500 J200 Z5
G00 Z5 M05
G91 G28 X0 Y0 Z0
M30
Format:
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 59
CIM & AUTO
OMATION LAB
BORATORY
CISE - 09
EXERC 0
000
09
[BILLET X100 Y100 Z21
1
[EDGGEMOVE X-10 Y-100
[TOOOLDEF T1 D8
[TOOOLDEF T2 D5
G91 G28 X0 Y0
Y Z0
M066 T1 S3000
0 M03
G90 G00 X50 Y50 Z2
G172 I30 J30 K0 P1 Q3
3 R0 X30 Y30
Y Z-5
G173 I0 K0 P7
75 T1 S3000 R75 F2
20 B3500 J200 Z5
G00 Z5
M066 T2 S3000
0 M03
G90 G00 X20 Y0 Z5
G00 Z0
M988 P0019000
M988 P0019000
M988 P0019000
M988 P0019000
M988 P0019000
G00 Z5 M05
G91 G28 X0 Y0
Y Z0
M300
9000
0
M98
8 P0019001
G01 X60 Y0 F250
F
G03 X80 Y20 R20
G01 Y60
G02 X60 Y80 R20
G01 X20
G02 X0 Y60 R20
R
G01 Y20
G03 X20 Y0 R20
R
9
M99
9001
G91 G01 Z-2 F50
F
G90
9
M99
EXERCISE - 10,
3000
[BILLET X150 Y150 Z11
[EDGEMOVE X-10 Y-10
[TOOLDEF T1 D10
[TOOLDEF T2 D5
G91 G28 Z0 X0 Y0
G90 M06 T1 M03 S1000
G00 X65 Y15 Z2
G83 G99 X65 Y15 Z-10 Q5 R1 F100
G00 X65 Y65 Z2
G83 G99 X65 Y65 Z-10 Q5 R1 F100
G00 X65 Y115 Z2
G83 G99 X65 Y115 Z-10 Q5 R1 F100
G00 X115 Y65 Z2
G83 G99 X115 Y65 Z-10 Q5 R1 F100
G00 X25 Y60 Z2
G83 G99 X15 Y65 Z-10 Q5 R1 F100
G00 Z5
G91 G28 Z0
M06 T2 G90 M03 S1200
G00 X50 Y40 Z2
G01 Z-1
M98 P0013000
M98 P0013000
M98 P0013000
M98 P0013000
M98 P0013000
G00 Z2 M05
G91 G28 Z0 X0 Y0
M30
3000
M98 P0013001
G01 X50 Y15 F100 3001
G03 X80 Y15 R15 G91 G01 Z-1 F50
G01 Y40 G90
G02 X90 Y50 R10 M99
G01 X115
G03 X115 Y80 R15
G01 X90
G02 X80 Y90 R10
G01 Y115
G03 X50 Y115 R15
G01 Y90
G02 X40 Y80 R10
G01 X15
G03 X15 Y50 R15
G01 X40
G02 X50 Y40 R10
M99
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 61
CIM & AUTOMATION LABORATORY
EXERCISE - 11,
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 62
CIM & AUTOMATION LABORATORY
EXERCISE - 12,
MILL EX‐01
MILL EX‐02
MILL EX‐03
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 64
CIM & AUTO
OMATION LAB
BORATORY
MILL EX‐0
04
MILL EX‐0
05
MILL EX‐0
06
MILL EX‐0
07
MILL EX‐0
08
MILL EX‐0
09
MILL EX‐10
MILL EX‐11
MILL EX‐12
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 67
CIM & AUTOMATION LABORATORY
VIVA QUESTIONS
1. Define CIM & Automation.
2. What do you understand by Numerical Control?
3. What are the basic components of NC system?
4. Mention the major components of the CNC machine?
5. What is the expansion of FANUC?
6. What are the important lathe operations?
7. What are the important milling operations?
8. Explain about G codes?
9. Mention few important G codes?
10. What is the use of M codes?
11. Mention few important M codes?
12. What is the use of box facing cycle?
13. What is the difference between G00 and G01codes?
14. How to make taper turning in lathe?
15. What is the code for canned cycle?
16. How to cut the thread in CNC lathe?
17. How to change the tool in CNC program?
18. How to change the tool speed in CNC lathe?
19. What is the difference between absolute and incremental system?
20. What are the axes to be considered while writing program for CNC lathe?
21. What is the file extension of CNC program?
22. What are the codes for coolants on or off?
23. What is the G code for Circular pocketing?
24. What is the G code for Rectangular pocketing?
25. How to change the depth of cut in milling operation?
26. What is the use of mirroring?
27. What are the functional keys used in FUNUC programming?
28. What is use of dry run option?
29. Differentiate between Manual part Promg. & Computer Assisted Part Promg.
30. Differentiate between Absolute and Incremental Positioning.
31. List important NC part programming languages.
32. List deferent types of CAM or Simulation software
33. What are the four types of statements in APT Languages?
34. Differentiate NC and CNC.
35. Discuss DNC and adaptive control machine systems.
36. What is the specification of CNC turning center in the CIM Lab.
37. List few standard CNC Controllers.
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 68
CIM & AUTOMATION LABORATORY
38. Which controller is used for CNC Lathe in the CIM lab?
39. Write sketch showing axis definitions for turning and milling operations.
40. What are the G codes for the following?
a. Rapid Traverse (or Positioning)
b. Traverse at Feed rate
c. Circular Interpolation
d. Dwell
e. Go to Home position
f. Metric Units
g. Feed/Min and Feed/Rev.,
41. Differentiate CSS (Constant Surface Speed) and variable speed. What are the
codes used?
42. Write the relationship between cutting speed (mm/Min and Spindle Speed
(rpm).
43. Explain the format of the following cycles.
a. G71 – Turning Cycle
b. G76 – Threading Cycle
44. What are M codes for the following
a. Spindle On & Off
b. Coolant On & Off
c. Chuck open & Chuck close
d. Tool Exchange
e. Door open & Door close
45. Where do you use the following M Codes? M98 and M99
46. What is tool length compensation?
47. What is cutter radius compensation?
48. What are the G codes used for cutter compensation in milling?
49. Differentiate 1) Part surface 2) Drive surface 3) Chuck surface
50. write process planning for the given component
51. What do you understand by the term offline simulation software?
52. Define Robot
53. Classify Robots based on physical configuration.
54. What are Degrees of freedom in robot?
55. What are the various methods of programming of robot?
56. List few Robot programming languages.
57. List few Robot applications.
58. List different types of Robot Sensors.
59. Explain parts classifications and coding
60. What are the benefits of group Technology?
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 69
CIM & AUTOMATION LABORATORY
ROUGH WORK
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 70
CIM & AUTOMATION LABORATORY
ROUGH WORK
Copyright © 2013 @Dept. of Mechanical Engg, Acharya Institute of Tech., Bangalore‐107 Page ‐ 71