Advance Manufacturing Manual
Advance Manufacturing Manual
ADVANCE MANUFACTURING
LAB MANUAL
S.NO List of experiments P!e
no
". To st#$% t&e m'&ines n$ t&eir fet#res
of t&e A$(n'e Mn#f't#rin! L)
*. To st#$% t&e G Co$es+preprtor%
f#n'tions, n$ M+mis'e--neo#s
f#n'tions, Co$es
.. To st#$% t&e )si's f#n'tions of t&e
'ontro--er in t&e CNC
/.
LINEAR INTERPOLATION
To 0rite t&e prt pro!rmmin! n$
sim#-tion t&em to t&e !i(en mi--in!
1o).
2.
CIRCULAR INTERPOLATION
To 0rite t&e prt pro!rmmin! n$
sim#-tion t&em to t&e !i(en mi--in!
1o).
3. Sin!-e T&re$in! '%'-e.
4. Sin!-e $ri--in! '%'-e5!roo(in! '%'-e.
6. Pe'7 $ri--in! '%'-e.
"8. Too- r$i#s 'ompenstion.
"". S#) pro!rm '--.
"*. Mirrorin!.
".. Borin! '%'-e 0it& $0e-- n$ fee$
retr'tion.
BRIDGEPORT
(R)
COMPUTER NUMERICAL
CONTROL MACHINE & OTHER EQUIPMENT
3.1 Intr!"#t$n
Comm#ter N#meri'- Contro- m'&ine is &i!& (ersti-e n$ #tomte$ m'&ine for
mn#f't#rin! in$#str% 0&ere 0e nee$ &i!& ''#r'% n$ 'omp-ete$ m'&inin! opertion
0it&o#t n% &#mn interferen'e. T&is m'&ine is 'ontro--e$ )% 'omp#ter 0&ere some $is'rete
n#meri'- (-#es re fe$ into 'omp#ter. T&is n#meri' $t 'ontins some -p&)ets n$
n#m)er $t. T&is -p&n#meri' $t &(e se9#en'e of opertion in 0&i'& opertions re
performe$. T&is $t re store$ in (rio#s mens -i7e USB $ri(e: f-opp% $is7: DVD: CD
RAM or RAM 'r$ et'. Er-ier prt pro!rm re 0ritten in mn#--% )#t no0 0e &(e
(rio#s soft0re to !enerte G 'o$es n$ M 'o$es s#'& s Profession- In(entor *8"/ for
&i!& spee$ mi--in! m'&ine: UG et'. CNC mi--in! m'&ine: CNC -t&e m'&ine n$ CNC
!rin$in! m'&ine re min )si' t%pe of CNC m'&ine. Bsi' 0or7in! prin'ip-e of CNC
m'&ine 'n )e seen t&ro#!& fo--o0in! fi!.." 0&ere prt pro!rm is fe$ into m'&ine 'ontro-
#nit t&ro#!& inp#t $e(i'e s#'& USB $ri(e: f-opp% $is7 et'. M'&ine 'ontro- #nit pro'ess t&is
$t n$ sen$ to $ri(in! s%stem into form of e-e'tri'- si!n-. T&ese si!n-s r#n $ri(in!
motors 0&i'& r#n m'&ine too-. Fee$)'7 $e(i'es sense mo(ement n$ position of m'&ine
too- n$ !i(e response to m'&ine 'ontro- #nit. M'&ine 'ontro- #nit pro'ess n$ impro(e it.
3.% B&'$# E()*)nt' + CNC *&#,$n)
CNC m'&ine &s min-% six )si' e-ements 0&i'& re s fo--o0s;
". Prt Pro!rm
*. Inp#t $e(i'e
.. M'&ine 'ontro- #nit
/. M'&ine too-
2. Dri(in! s%stem
3. Fee$)'7 $e(i'es
<. Disp-% #nit
Fi!.." =Bsi' 0or7in! prin'ip-e of CNC m'&ine
1 P&rt Pr-r&*
CNC prt pro!rmmin! is m1or prt of t&e CNC s%stem. S&pe n$ Si>e of t&e
mn#f't#re$ 'omponent $epen$s on &o0 'orre't-% pro!rm is 0ritten. Prt pro!rm is set
of instr#'tions 0&i'& m'&ine fo--o0s to m7e pro$#'t of $esire$ $imension. To mo(e t&e
too- nee$ to $efine 'oor$inte s%stem for m'&ine too-.
A.$' + *t$n
As simp-% 0e 7no0: -- motions &(e 3 $e!rees of free$om. T&e )sis of xis i$entifi'tion is
t&e .?$imension- Crtesin 'o?or$inte s%stem n$ t&e t&ree xis of mo(ement re i$entifie$
s @: A n$ B xis. Rotr% mo(ement )o#t @: A n$ B xis re $esi!nte$ s A: B n$ C
respe'ti(e-%. @?xis is -0%s &ori>ont- n$ pr--e- to 0or7 &o-$in! $e(i'es. If B?xis is
(erti'- t&en positi(e @?xis is i$entifie$ s )ein! to t&e ri!&t: 0&en -oo7in! from t&e spin$-e
to0r$s its s#pportin! 'o-#mn. A? Axis is -0%s t ri!&t n!-es to )ot& @?xis n$ B?xis. B?
xis of motion is -0%s t&e xis of min spin$-e of t&e m'&ine. Positi(e B mo(ement +CB,
is in t&e $ire'tion t&t in'rese t&e $istn'e )et0een t&e 0or7 pie'e n$ t&e too-. Fi!..*
s&o0s Desi!ntion of (rio#s xes in m'&ine too-
Fi!..* Desi!ntion of (rio#s xes in m'&ine too-
D$*)n'$n S/'t)*
In#r)*)nt&( '/'t)*
In in'rement- s%stem t&e 'oor$intes of n% point re '-'#-te$ 0it& referen'e to t&e
pre(io#s point t 0&i'& '#ttin! too- is positione$ is t7en s $t#m point for '-'#-tin! t&e
'oor$intes of t&e next point to 0&i'& mo(ement is to )e m$e. Fi!... s&o0s in'rement-
s%stem.
Fi!; In'rement- s%stemD"E
A0'("t) '/'t)*
In t&is s%stem t&e 'o?or$intes of point re -0%s referre$ 0it& referen'e to t&e sme
$t#m. T&e $t#m positions in @?xis: A?xis n$ B?xis re $efine$ )% t&e #ser5pro!rmmer
)efore strtin! t&e opertion on t&e m'&ine. Fi!../ s&o0s )so-#te s%stem
Fi!../ )so-#te s%stemD"E
Pr-r&* 'tr"#t"r)
T&ere re t0o 0%s to $e(e-op pro!rm for n#meri'- 'ontro- m'&ine.
1. Mn#- prt pro!rmmin!
*. Comp#ter?i$e$ prt pro!rmmin!
A CNC pro!rm 'onsists of )-o'7s: 0or$s n$ $$resses. A 'ommn$ !i(en to t&e 'ontro-
#nit is '--e$ )-o'7. For$ is 'o--e'tion of '&r'ters #se$ to form n instr#'tion. T%pi'--%
NC 0or$s re @?position: A?positionG fee$ rte et'. i$entifi'tion -etter t t&e )e!innin! of
e'& 0or$ is '--e$ $$ress. T&e menin! of t&e $$ress is in ''or$n'e 0it& EIA
+E-e'troni' In$#stries Asso'ition, stn$r$ RS?*</?D. T&e most 'ommon $$ress re -iste$
F"n#t$n A!!r)''
Se9#en'e N#m)er N
Preprtor% f#n'tion G
Co?or$inte For$ @:A:B
Prmeters for 'ir'#-r interpo-tion I:H:I
Fee$ f#n'tion F
Spin$-e f#n'tion S
Too- f#n'tion T
Mis'e--neo#s f#n'tion M
An exmp-e of pro!rm is s fo--o0s; N*8 G8" @*8.2 F*88 S"888 M8.
E.1(&n&t$n + 2r!'
Se9#en'e N#m)er +N?0or$s,
T&e NC 0or$ is #nit of informtion: s#'& s $imension or fee$ rte n$ so on. A )-o'7 is
'o--e'tion of 'omp-ete !ro#p of NC 0or$s representin! sin!-e NC instr#'tion. An en$ of
)-o'7 s%m)o- is #se$ to seprte t&e )-o'7s. NC 0or$ is 0&ere -- t&e m'&inin! $t re
'ompi-e$ n$ 0&ere t&e $t re trns-te$ in to -n!#!e: 0&i'& 'n )e #n$erstoo$: )% t&e
'ontro- s%stem of t&e m'&ine too-.
Preprtor% F#n'tion +G?'o$es,
T&e most 'ommon 'o$es #se$ 0&en pro!rmmin! NC m'&ines too-s re G?'o$es
+preprtor% f#n'tions,. G?'o$es re sometimes '--e$ '%'-e 'o$es )e'#se t&e% refer to some
'tion o''#rrin! on t&e X: Y: n$5or Z?xis of m'&ine too-. T&e G?'o$es re !ro#pe$ into
'te!ories s#'& s Gro#p 8": 'ontinin! 'o$es G88: G8": G8*: G8.: 0&i'& '#se some
mo(ement of t&e m'&ine t)-e or &e$. Gro#p 8. in'-#$es eit&er )so-#te or in'rement-
pro!rmmin!. A G88 'o$e rpi$-% positions t&e '#ttin! too- 0&i-e it is )o(e t&e 0or7 pie'e
from one point to not&er point on 1o). D#rin! t&e rpi$ tr(erse mo(ement: eit&er t&e X or
Y?xis 'n )e mo(e$ in$i(i$#--% or )ot& xes 'n )e mo(e$ t t&e sme time. T&e rte of
rpi$ tr(e- (ries from m'&ine to m'&ine. Be-o0 t)-e..* 'ontins fo--o0in! G?'o$es.
T)-e..*; G?'o$es n$ 'orrespon$in! f#n'tion of Siemens 4*4D 'ontro--er
C!) F"n#t$n
G88 Rpi$ positionin!
G8" Liner interpo-tion
G8* Cir'#-r interpo-tion '-o'70ise
G8. Cir'#-r interpo-tion nti'-o'70ise
G*8 In'& inp#t
G*" Metri' inp#t+mm,
G*/ R$i#s pro!rmmin!
G*4 Ret#rn to referen'e point
G*6 Ret#rn from referen'e point
G.* T&re$ '#ttin!
G/8 C#tter 'ompenstion 'n'e-
G/" C#tter 'ompenstion -eft
G/* C#tter 'ompenstion ri!&t
G/. Too- -en!t& 'ompenstion positi(e +C, $ire'tion
G// Too- -en!t& 'ompenstion min#s +?, $ire'tion
G/6 Too- -en!t& 'ompenstion 'n'e-s
G2. Bero offset or M5' referen'e
G2/ Sett)-e >ero offset
G4/ 'nne$ t#rn '%'-e
G68 A)so-#te pro!rmmin!
G6" In'rement- pro!rmmin!
Coor$inte 0or$s +@5A5B 0or$s,
A 'o or$inte 0or$ spe'ifies t&e tr!et point of t&e too- mo(ement or t&e $istn'e to )e
mo(e$. T&e 0or$ is 'ompose$ of t&e $$ress of t&e xis to )e mo(e$ n$ t&e (-#e n$
$ire'tion of t&e mo(ement.
Prmeter for Cir'#-r Interpo-tion +I: H: n$ I,
T&ese prmeters spe'if% t&e $istn'e mes#re$ from t&e strt point of t&e r' to t&e 'enter.
N#mer-s fo--o0in! I: J n$ K re t&e X: Y n$ Z 'omponents of t&e $istn'e respe'ti(e-%.
Spin$-e F#n'tion
T&e spin$-e spee$ is 'ommn$e$ #n$er n S $$ress n$ is -0%s in re(o-#tion per min#te.
It 'n )e '-'#-te$ )% t&e fo--o0in! form#-;
S#rf'e '#ttin! spee$ in m5min J "888 Spin$-e Spee$ K L J C#tter Dimeter in mm
E.&*1() S"888 represents spin$-e spee$ of "888 rpm.
Fee$ F#n'tion
T&e fee$ is pro!rmme$ #n$er n F $$ress ex'ept for rpi$ tr(erse. T&e #nit m% )e in mm
per min#te or in mm per re(o-#tion. T&e #nit of t&e fe$erte &s to )e $efine$ t t&e
)e!innin! of t&e pro!rm. T&e fee$ rte 'n )e '-'#-te$ )% t&e fo--o0in! form#-;
C&ip Lo$ Feet Rte K Toot& J No. of toot& Spin$-e spee$
E.&*1()
F"88 represents fee$ rte of "88 mm5min.
Too- F#n'tion
T&e se-e'tion of too- is 'ommn$e$ #n$er T $$ress. T8/ represents too- n#m)er /.
M?Co$es +Mis'e--neo#s F#n'tions,
M or mis'e--neo#s 'o$es re #se$ to eit&er t#rn ON or OFF $ifferent f#n'tions: 0&i'&
'ontro- 'ertin m'&ine too- opertions. M?'o$es re not !ro#pe$ into 'te!ories: -t&o#!&
se(er- 'o$es m% 'ontro- t&e sme t%pe of opertions s#'& s M8.: M8/: n$ M82: 0&i'&
'ontro- t&e m'&ine too- spin$-e. Some of importnt 'o$es re !i(en s #n$er t)-e?... 0it&
t&eir f#n'tions;
T)-e ...; M?'o$es n$ 'orrespon$in! f#n'tion of Siemens 4*4D 'ontro--er
C!) F"n#t$n
M88 Pro!rm stop
M8. Spin$-e strt +for0r$ CF,
M8/ Spin$-e strt +re(erse CCF,
M82 Spin$-e stop
M83 Too- '&n!e
M84 Coo-nt on
M86 Coo-nt off
M"8 C&#'7 ? '-mpin!
M"" C&#'7 ? #n'-mpin!
M"* Ti-sto'7 spin$-e o#t
M". Ti-sto'7 spin$-e in
M"< Too- post rottion norm-
M"4 Too- post rottion re(erse
M.8 En$ of tpe n$ re0in$ or min pro!rm en$
M64 Trnsfer to s#)pro!rm
M66 En$ of s#)pro!rm
In1"t D)3$#)
Inp#t $e(i'e store prt pro!rm n$ sen$ $t to into 'ontro- #nit )% 'onne'tin! it into
m'&ine 'ontro- #nit )or$. In o#r m'&ine Bri$!eport Inter't MI" &s t&ree inp#ts rrn!e
0&i'& USB $ri(e: LAN port n$ f-opp% $is7. T&is rrn!ement 'n seen in fi!#re..3 s
fo--o0s
M&#,$n) Cntr( Un$t
M'&ine 'ontro- #nit is min essenti- prt of CNC m'&ine. T&is prt pro'ess n$ 'ontro- $t
M'ontro- $ri(in! s%stem of t&e m'&ine t&ro#!& 'ontro--er tt'&e$ insi$e it. In Bri$!eport m'&ine
nme of tt'&e$ 'ontro--er is Siemens Sin#meri' 4*4D +fi!..<,. In n% 'ontro--er min-% &(e t0o
prts?
F
fi!..3 =Inp#t $e(i'e insertion rrn!ement in Bri$!eport mi--in! m'&ineD."E
Dt Contro- Unit
T&is o)tine$ $t from DPU re 'on(erte$ into e-e'tri'- si!n- in t&is #nit to 'ontro-
$ri(in! s%stem of t&e m'&ine s 0e-- s ot&er f#n'tions -so performe$ -i7e 'oo-nt
on5off: too- '-mp on5off et' ''or$in! to !i(en 'o$e.
As 0e 'n see in fi!..< t&is #nit &(e fo#r $ri(es for #nit for $ri(e $ifferent $ri(in! s%stems.
First sin!-e motor $ri(e is #se$ for 'on(ertin! /*8V AC into 388V DC '#rrent. T&is DC
'#rrent is s#pp-ie$ to rest of $ri(e to 'ontro- $ri(in! s%stem. Se'on$ $ri(e s#pp-% e-e'tri'-
si!n- to spin$-e s 0e-- s 'ontro- it. Li7e ot&er $ri(es re #se$ for 'ontro- -- t&ree xis.
T&ere is fi-ter to fi-ter to re'ei(in! s#pp-%. At t&e top si$e f#se re pro(i$e$ to prote't t&is
#nit.
M&#,$n) T(
T&is 'n )e n% t%pe of m'&ine too- or e9#ipment. M'&ine too- is min prt of CNC
m'&ine 0&ere 't#- m'&inin! opertions re )ein! performe$. O#r m'&ine too- nme is
Bri$!eport Inter't " M7 * CNC Mi--in! M'&ine. In or$er to !et more ''#r'% n$
repet)i-it%: m7e n$ $esi!n of s-i$es n$ -e$ s're0s re (er% importnt. S-i$es re
m'&ine$ to &i!& ''#r'% n$ 'ote$ )% nti?fri'tion r0 mteri- e.!. PTFE n$ t#r'ite.
T&ese 'otin! pre(ent sti'7 n$ s-ip p&enomenon. Bi! $imeter re'ir'#-tion )-- s're0s re
emp-o%e$ to e-iminte -ost motion n$ )'7-s&. Ot&ers '&r'teristi' 7 of m'&ine too- m#st
&(e ri!i$ str#'t#re: s&ort m'&ine t)-e &n!: 9#i'7 '&n!e too-in! s%stem et'.
Fi!..< = M'&ine 'ontro- #nit of Bri$!eport CNC m'&ine
Dr$3$n- S/'t)*
Fe &(e t&ree xes in o#r m'&ine too- n$ t&ree $ri(in! AC step -ess motors to $ri(e t&ese
xes. T&ese motors re 'ontro--e$ )% m'&ine 'ontro- #nit. Motions to m'&ine too- re
pro(i$e$ )% t&ese $ri(e motors. Spin$-e re9#ire more po0er to fee$ into t&e 0or7 pie'e so
-r!e .NP motor is 'onne'te$ to t&is s%stem. Ot&er t0o motors of 8.2NP $ri(e t0o xes @
n$ A. Mn#- -e(e- is pro(i$e$ to $ri(e into >?xis.
F))!0 D)3$#)'
Fee$)'7 $e(i'es &e-p to sent fee$)'7 si!n-s to 'ontro--er so t&t 'ontro--er 'n t7e
$esire$ 'tion. Gener--% some sensors re #se$ s fee$)'7 $e(i'es. In or$er to 0or7 CNC
m'&ine proper-%: position- n$ spee$ of t&e xes nee$ to )e 'onstnt-% impro(e$. Position-
n$ Ve-o'it% fee$)'7 $e(i'es re #se$ to fee$)'7.
D$'1(&/ Un$t
T&is #nit &e-ps to see -- $t !i(in! to m'&ine too-. T&is #nit &s one s'reen 0&ere -- $t
$isp-% -on! 0it& 'orrespon$in! 7e%s. T&is #nit &s -so some set of #sef#- 7e%s s#'& s
'#rsor 7e% to mo(e '#rsor: o(erri$e 7e% to $e'rese or in'rese fee$5spee$ (-#e in terms of
per'ent!e: n#meri' 7e% to enter n#meri'- $t: -p& 7e% to !i(e G n$ M 'o$es mn#--%:
pro!rm 7e% to set pro!rm n$ 1o! 7e% to set position of t)-e n$ -so position 7e% to
$efine ori!in. Emer!en'% 7e% to stop m'&ine on #r!en'%. Fi!..4 is s&o0in! (rio#s 7e% in
$isp-% #nit.
Fi!..4 = (rio#s 7e% in $isp-% #nit.D."E
R)tr+$tt)! CNC V)rt$#&( M$(($n- M&#,$n)
M'&ine too- is #se$ for m'&inin! t&e 0or7 pie'e to !et $esire$ s&pe. In o#r A$(n'e
Mn#f't#rin! L) +AML, t&ere is t0o (erti'- mi--in! m'&ine +VMC, m'&ines 0&i'&
er-ier 0s in $esi!n 'entre in (er% poor 'on$ition &(e to s&ifte$ into AML n$ retrofitte$
it. Fo--o0in! fi!..6 is s&o0in! -ine $i!rm of Bri$!eport Inter't " M7 * CNC Mi--in!
M'&ine 0&i'& is m$e t&ro#!& A#toCAD soft0re.
; Line $i!rm of Bri$!eport Inter't " M7 * CNC Mi--in! M'&ineG "?min s#pp-%:*?
'ontro- pne-:.?'ontro--er:/?spin$-e motor:2spin$- 0it& too-:3?0or7pie'e:<?(i'e:4?)e$:6?
motor for x?xis:"8?motor for %?xis:""?)se:"*?-#)ri'nt )ox:".-#)ri'nt pipe:"/?'oo-nt
s#pp-ier
In t&is $i!rm 0e 'n esi-% #n$erstn$ 0or7in! prin'ip-e of t&is mi--in! m'&ine. In t&is
m'&ine: po0er is !i(en to 'ontro--er t&ro#!& min s#pp-% n$ fee$ $t into 'ontro- pne-
t&ro#!& pen $ri(e or mn#- in t&e form of G n$ M 'o$es 0&i'& !i(es si!n- to 'ontro--er to
mo(ement of xis: too- et' ''or$in! to 'ommn$. Contro--er 'on(erts t&is 'ommn$ into
e-e'tri'- si!n- n$ sen$s to motor to mo(e spin$-e: t)-e xis et'. in t&is t&ro#!& 'ontro-
mo(ement of too- 0it& &e-p of spin$-e m'&inin! is $one on 0or7 pie'e. At t&e en$ 0e !et
$esire$ 0or7 pie'e. I 0or7e$ on one of t&e VMC to 'omp-ete m% pro1e't 0or7. T&e nme of
t&is m'&ine is Bri$!eport Inter't " M7 * CNC Mi--in! M'&ine 0&i'& +fi!.."8 is !i(en
)e-o0, &(in! fo--o0in! spe'ifi'tions re s fo--o0s
Contro--er = Siemens sin#meri' 4*4D 'ontro--er
T)-e $imension?"833mm J /8/mm
Mo(ement? @ K /2<mm: A K .8/mm: B K "*<mm
NO. Of motors =t&ree motors for @: A?xis n$ spin$-e mo(ement.
Mn#--% rott)-e $ri(e -e(er for B?xis mo(ement
Fi!.."8; Bri$!eport Inter't " M7 * CNC Mi--in! M'&ine
CODE DESCRIPTION
G88 Rpi$ Liner Positionin!
G8" Liner Fee$ Interpo-tion
G8* CF Cir'#-r Interpo-tion
G8. CCF Cir'#-r Interpo-tion
G8/ D0e--
G8< Im!inr% Axis Desi!ntion
G86 Ex't Stop
G"8 Offset V-#e Settin!
G"< @A P-ne Se-e'tion
G"4 B@ P-ne Se-e'tion
G"6 AB p-ne Se-e'tion
G*8 Inp#t In In'&es
G*" Inp#t In Mi--imeters
G** Store$ Stro7e Limit On
G*. Store$ Stro7e Limit Off
G*< Referen'e Point Ret#rn C&e'7
G*4 Ret#rn To Referen'e Point
G*6 Ret#rn From Referen'e Point
G.8 Ret#rn To *n$: .r$ n$ /t& Ref. Point
G." S7ip C#ttin!
G.. T&re$ C#ttin!
G/8 C#tter Compenstion Cn'e-
G/" C#tter Compenstion Left
G/* C#tter Compenstion Ri!&t
G/. Too- Len!t& Compenstion C Dire'tion
G// Too- Len!t& Compenstion ? Dire'tion
G/2 Too- Offset In'rese
G/3 Too- Offset Do#)-e
G/< Too- Offset Do#)-e In'rese
G/4 Too- Offset Do#)-e De'rese
G/6 Too- Len!t& Compenstion Cn'e-
G28 S'-in! Off
G2" S'-in! On
G2* Lo'- Coor$inte S%stem Settin!
G2/ For7 Coor$inte S%stem " Se-e'tion
G22 For7 Coor$inte S%stem * Se-e'tion
G23 For7 Coor$inte S%stem . Se-e'tion
G2< For7 Coor$inte S%stem / Se-e'tion
G24 For7 Coor$inte S%stem 2 Se-e'tion
G26 For7 Coor$inte S%stem 3 Se-e'tion
G38 Sin!-e Dire'tion Positionin!
G3" Ex't Stop Mo$e
G3/ C#ttin! Mo$e
G32 C#stom M'ro Simp-e C--
G33 C#stom M'ro Mo$- C--
G3< C#stom M'ro Mo$- C-- Cn'e-
G34 Coor$inte S%stem Rottion On
G36 Coor$inte S%stem Rottion Off
G<. Pe'7 Dri--in! C%'-e
G</ Co#nter Tppin! C%'-e
G<3 Fine Borin!
G48 Cnne$ C%'-e Cn'e-
G4" Dri--in! C%'-e: Spot Borin!
G4* Dri--in! C%'-e: Co#nter Borin!
G4. Pe'7 Dri--in! C%'-e
G4/ Tppin! C%'-e
G42 Borin! C%'-e
G43 Borin! C%'-e
G4< B'7 Borin! C%'-e
G44 Borin! C%'-e
G46 Borin! C%'-e
G68 A)so-#te Pro!rmmin!
G6" In'rement- Pro!rmmin!
G6* Pro!rmmin! Of A)so-#te Bero
G6/ Fee$ Per Min#te
G62 Fee$ Per Re(o-#tion
G63 Constnt S#rf'e Spee$ Contro-
G6< Constnt S#rf'e Spee$ Contro- Cn'e-
G64 Ret#rn To Initi- Point In Cnne$ C%'-es
G66 Ret#rn To R Point In Cnne$ C%'-es
M CODES MILLING 5 FANUC
CODE DESCRIPTION
M88 Pro!rm Stop
M8" Option- Stop
M8* En$ of Pro!rm
M8. Spin$-e On CF
M8/ Spin$-e On CCF
M82 Spin$-e Stop
M83 Too- C&n!e
M8< Mist Coo-nt On
M84 F-oo$ Coo-nt On
M86 Coo-nt Off
M"6 Spin$-e Orienttion On
M*8 Spin$-e Orienttion Off
M*" Too- M!>ine Ri!&t
M** Too- M!>ine Left
M*. Too- M!>ine Up
M*/ Too- M!>ine Do0n
M*2 Too- C-mp
M*3 Too- Un'-mp
M*< C-#t'& Ne#tr- On
M*4 C-#t'& Ne#tr- Off
M.8 En$ Pro!rm: Stop n$ Re0in$
M64 C-- S#) Pro!rm
M66 En$ S#) Pro!rm
G Co$es T#rnin!
STD SP. SP.C DESCRIPTION
G88 G88 G88 Rpi$ Liner Positionin!
G8" G8" G8" Liner Fee$ Interpo-tion
G8* G8* G8* CF Cir'#-r Interpo-tion
G8. G8. G8. CCF Cir'#-r Interpo-tion
G8/ G8/ G8/ D0e--
G8< G8< G8< N%pot&eti'- Axis Interpo-tion: Sine
C#r(e
G86 G86 G86 Ex't Stop
G"8 G"8 G"8 Offset V-#e Settin!
G*8 G*8 G<8 Inp#t In In'&es
G*" G*" G<" Inp#t In Mi--imeters
G** G** G** Store$ Stro7e Limit On
G*. G*. G*. Store$ Stro7e Limit Off
G*< G*< G*< Referen'e Point Ret#rn C&e'7
G*4 G*4 G*4 Ret#rn To Referen'e Point
G*6 G*6 G*6 Ret#rn From Referen'e Point
G.8 G.8 G.8 Ret#rn To *n$: .r$: n$ /t& Referen'e
Point
G." G." G." S7ip C#ttin!
G.* G.. G.. T&re$ C#ttin!
G./ G./ G./ Vri)-e Le$ T&re$ C#ttin!
G.3 G.3 G.3 A#tomti' Too- Comp. @
G.< G.< G.< A#tomti' Too- Comp. B
LINEAR INTERPOLATION
OBJECTIVE:
To write the part programming and simulation them to the given milling
job.
TOOLS AND EQUIPMENTS
1. N simulation so!tware
". N milling so!tware
#. $o!tware
PROCEDURE
1. To write the program !or given job.
". To t%pe & and ' O(E$.
#. To give the tool si)e and sto*+ dimensions.
,. -inall% to run the ma*hine to the operation.
PROGRAM
&"1 &,1.
/$TO012LO0 1"341#34"5464768
&"6 95 :5.
'5; T51.
/TOOL1'ILL 64641;468
'5# $1555.
&55 <5 =5 >3.
<35 ="3.
&51 >715 -,3 '56.
<?3 ="3.
<155 =35.
<155 =63.
<?3 =115.
<35 =115.
<"3 =63.
<"3 =35.
&55 >3 '5@.
&"6.
'53.
'#5.
RESULT
Thus the part program was written and simulated !or given job.
IRALAR INTERPOLATION7I
OBJECTIVE
To write the part programming and simulation them to the given milling
job.
TOOLS AND EQUIPMENTS
1. N simulation so!tware
". N milling so!tware
#. $o!tware
PROCEDURE
1. To write the program !or given job.
". To t%pe & and ' O(E$.
#. To give the tool si)e and sto*+ dimensions.
,. -inall% to run the ma*hine to the operation.
PRO&RA'
&"1 &,1.
/$TO012LO0 1;54 1"54 "54 34734 158
/TOOL1'ILL 64 "4 ;54 "8
OLOR "334"334"33.
'5; T51.
'5# $1555.
&55 <5 =5 >3.
&55 <35 ="5.
&51 >715 -,3 '56.
&51 <115 ="5.
&5" <1,5 =35 R#5.
&51 <1,5 =1#5.
&5" <115 =1;5 R#5.
&51 <35 =1;5.
&5" <"5 =1#5 R#5.
&51 <"5 =35.
&5" <35 ="5 R#5.
&55 >3 '5@ .
&55 >3 '5@.
&"6.
'53.
'#5.
RESULTThus the part program was written and simulated !or given job.
TOOL RADIUS COMPENSATION+Fem-e prt,
OBHECTIVE ;
To 0rite pro!rm for too- r$i#s 'ompenstion n$ sim#-te it.
TOOLS AND EQUIPMENTS
1. N simulation so!tware
". N milling so!tware
#. $o!tware
PROCEDURE
1. To write the program !or given job.
". To t%pe & and ' O(E$.
#. To give the tool si)e and sto*+ dimensions.
,. -inall% to run the ma*hine to the operation.
PROGRAM
G%1 G67 G61 mm mo$e:fee$ in mm5min n$ in'rement-
'oor$inte mo$e se-e'te$
G*4 @8 A8 B8 Nome position
M83 T" Too- no " p-'e$ in t&e spin$-e
M8. S288 CF RPMK288
G68 A)so-#te 'oor$inte mo$e se-e'te$
G88 @?2 A?2 B"88 Too- p-'e$ t +?2:?2,: "88 mm )o(e t&e
s#rf'e
G/" LEFT NAND RADIUS COMPENSATION
G88 @8 T&is is t&e first stri!&t -ine motion to0r$s t&e
strt point t&e 't#- position of t&e too- 0o#-$
)e+?.:?2, $#e to r$i#s 'ompenstion
A8
B*
G8" B?"" F*8 A &o-e of "" mm $ept& is m$e t fee$ *8
mm5min.it is t&ro#!& &o-e for "8 mm t&i'7 s&eet
A<8 F38
@<8
A8
@O
G88 B*
G/8 CANCEL COMPENSATION
G88 @.8 A.8
RIGHT HAND RADIUS COMPENSATION
G/* Ri!&t &n$ r$i#s 'ompenstion is in(o7e$. it $ire'ts t&e too- to
s&ift to t&e ri!&t of t&e pro!rmme$ pt&
G88 A"2 Too- is t +.8:"4, )e'#se of r$i#s 'ompenstion
@*2 Too- is t +*2:"4, 0&i'& is t&e proper position to strt m'&inin!
0it& r$i#s 'ompenstion
G8" B?"" F*8
G8* @"2 A*2 R"8 F38 CF 'ir'#-r interpo-tion too- is t +"4:*2, in t&e en$
G8" A/2 TOOL AT +"4:/2,
G8* @*2 A22 R"8 TOOL AT+*2:2*,
G8" @/2 TOOL AT+/2:2*,
G8* @22 A/2 R"8 TOOL AT+2*:/2,
G8" A*2 TOOL AT+2*:*2,
G8* @/2 A"2 TOOL AT +/2:"4,
G8" @*2 TOOL AT+*2:"4,
G88 B"88 TOOL RETRACTED
G/8 RADIUS COMPENSATION CANCELLED
M82 SPINDLE STOPS
G6" RELATIVE COORDINATE MODE
G*4 @8 A8 B8 NOME POSITION
M.4 DOOR OPENS
M"8 VICE OPENS
M.8 PROGRAM RESETS
SINGLE THREADING CYCLE
OB8ECTIVE9
To 0rite pro!rm for m7in! t&re$ mn#--% n$ -so perform it
in A#to$es7 In(entor n$ sim#-te it.
T(' &n! ):"$1*)nt'9
". A#to$es7 In(entor.
*. CNC Mi--in! Centre.
.. Sim#-tion Soft0re.
T,)r/9
For m7in! t&re$ #s#--% t0o t%pes of '%'-es re #se$;
". Sin!-e t&re$in! '%'-e. G6%
*. M#-tip-e t&re$in! '%'-e. G;<
NOTE9 t&e min $ifferen'e )et0een t&e t0o '%'-es is t&t 0&eres
G6* nee$s to )e '--e$ se(er- times +on'e for e'& pss: 0it&
!r$#--% in'resin! $ept&,: G<3 m7es t&e 'omp-ete t&re$ in one
'--. A-t&o#!& G6* $oes not pro(i$e so m#'& f-exi)i-it% s 'ompre$
to G<3: it is esier to #se.
F (-#e in G6* )-o'7 is t&e pit'& of t&e t&re$ in mm.
PROGRAM 19
G*" G6< G64
G*4 U8 F8
M83 T<
M8. S*88
G88 @.* B"
@.8
G6* @*6.2 B?.8 F..2
@*6
@*4.<
@*4./
@*4."
@*<.4
@*<.2
@*3.6
@*3.3
@*3..
@*3.8
@*2.<"
G*4 U8 F8
M82
M.4
M"8
M.8
SINGLE DRILLING=GROOVING CYCLE (G>1)
OB8ECTIVE;
To $ri-- n xi- &o-e or for m7in! sin!-e r$i- !roo(e of t&e
t&i'7ness of t&e !roo(in! too-.
T(' &n! ):"$1*)nt'9
". A#to$es7 In(entor.
*. CNC Mi--in! Centre.
.. Sim#-tion Soft0re.
T,)r/ &n! 1r#)!"r).
In t&is pro!rm: &-oe of . mm $imeter n$ .8 mm -en!t& &s )een
m$e #sin! .mm $ri-- 0it& G4"'%'-e .
A spe'i- fet#re of repete$ G4" '%'-e is t&t: $#rin! t&e for0r$
motion :t&e too- first !oes to "mm+#s#--%, s&ort of t&e tr!et point of
t&e pre(io#s '%'-e t t&e rpi$ tr(erse rte: n$ t&en: t&e fee$ motion
strts for f#rt&er m'&inin!.
Pr-r&* 9
G%1 G6; G6> mm mo$e:'onstnt RPM n$ fee$ in mm5min
G*4 U8 F8
M83 T*
M8. S288
G88 @.* B*
@8 B" Too- t t&e strt point of G4"
G4" B?* F*8 NOLE Dri--e$ #pto * mm $ept& t fee$ K*8mm5min
B?/
B?3
B?4.........
B?.8 Dept& of &o-e in'rese$ to .8 mm
G*4 U8 F8
M82
M.4
M"8
M.8
PEC? DRILLING CYCLE(G;7)
O0@)#t$3)9
T $n#r)&') t,) !$&*)t)r + t,) ,() + t,) 1r)3$"' @0 t 1A **
"'$n- & 1A ** !r$((.
T(' &n! ):"$1*)nt'9
". A#to$es7 In(entor.
*. CNC Mi--in! Centre.
.. Sim#-tion Soft0re.
T,)r/ &n! 1r#)!"r).
G;7: is $ri--in! '%'-e 0it& in )#i-t pe'7in! 'tion. After e(er% pe'7
of t&e spe'ifie$ -en!t&: t&e too- retr'ts )% t&e spe'ifie$ mo#nt.
T&is '%'-e is fster t&n t&e repete$ G4" '%'-e )e'#se: in t&e -tter
'se: t&e retr'tion is -0%s #p to t&e strt point of t&e '%'-e: 0&eres
n% (-#e of retr'tion 'n )e spe'ifie$ in G</.
Pr-r&*;
G*" G6< G64
G*4 U8 F8
MO3 T/
M8. S288
G88 @.* B*
@88 B" Too- t t&e strt point of G</
G</ R" R is t&e too- retr'tion fter e(er% pe'7
G</ B?.8 O*888 F*8 B Is t&e tot- $ept& of t&e &o-e
O is t&e $ept& of t&e &o-e $ri--e$ in e'&
Pe'7
G*4 U8 F8
M82
M.4
M"8
M.8
SUB PROGRAM CALL
O)1e'ti(e; To '-- s#) pro!rm.
T(' &n! ):"$1*)nt'9
". A#to$es7 In(entor.
*. CNC Mi--in! Centre.
.. Sim#-tion Soft0re.
T,)r/ &n! 1r#)!"r).
T&e s#)pro!rm m% )e '--e$ n%0&ere )% M64. T&e en$ of t&e s#)
pro!rm is mr7e$ )% M66.
T&e pro!rm is simi-r to t&e -st too- 'ompenstion pro!rm ex'ept
t&t r$i#s 'ompenstion &s not )een #se$ in t&is 'se. T&e pro!rm
profi-e is s&o0n in fi!.
Fi!. Profi-e $efine$ s s#)pro!rm.
Pr-r&*9
&"1 &@, &@1
&"6 <5 =5 >5
'5; T1
'5# $"555
&@5
&55 <5 =5 >155
>"
&51 >7" -"5 Bole o! " mm depth drilled
'@6 P1 $ub program no 1 *alled to ma+e a slot o! " mm depth
&51 >7, -"5
'@6 P1
&51 >7; -"5
'@6 P1
&51 >76 -"5
'@6 P1
&51 >711 -"5
'@6 P1
&55 >155
'53
&@1
&"6 <5 =5 >5
'#6
'15
'#5
SUB PROGRAM NO 1
&51 <5 =#5 -;5 Linear interpolation to /54#58 at !eedC;5 mm1min
&5" <15 =,5 R15 : ir*ular interpolation to /154,58 with 15 mm radius and
at the same !eed
&51 <#5
&5" <,5 =#5
&51 =15
&51 <#5 =5
&51 <15
&5" <5 =15 : ir*ulation interpolation to /#5458grooving *omplete
'@@ return to the *alling program
M$rrr$n-
O)1e'ti(e;
To 0rite pro!rm of t&e mirrorin! of trin!#-r 9#r$rnt.
T(' &n! ):"$1*)nt'9
". A#to$es7 In(entor.
*. CNC Mi--in! Centre.
.. Sim#-tion Soft0re.
T,)r/ &n! 1r#)!"r).
If prt of t&e too- pt& is mirror im!e +)o#t x xis: % xis or )ot&, of
-re$% $efine$ pt&. It 'n )e !enerte$ )% simp-% in(o7in! t&e s#it)-e mirror
options for t&e pre(io#s-% $efine$ pt&.
T&e mirrorin! p-ne #s#--% psses t&ro#!& t&e '#rrent position of t&e too-.
In 'se of @ mirrorin! +M<8, : t&e mirrorin! is $one )o#t AB p-ne pssin!
t&ro#!& t&is point: 0&eres in A mirrorin! is )o#t t&e @B p-ne -o'te$ t t&t
point.
F&en )ot& @ n$ A mirrorin! re in(o7e$ +i.e set on,. T&e mirrorin! is $one
)o#t @A p-ne n$ AB p-ne.
PROGRAM9
MAIN PROGRAM9
&"1 &@, &@1
&"6 <5 =5 >5
'5; T1
'O# $355
&@5
&55 <5 =5 >155
>"
'@6 P" Triangle in the 1 Duadrant made
'?5 < mirroring on
'@6 P" Triangle in the " Duadrant made
'65 < mirroring oE
'?1 = mirroring on
'@6 P" Triangle in the , Duadrant made
'?5 < mirroring on/= mirroring is alread% on8
'@6 P" Triangle in the # Duadrant made
'65 < mirroring oE
'61 = mirroring oE
'53
&@1 &"6 <5 =5 >5
'#6
'15
'#5
S"0 1r-r&* n %
T&is s#)pro!rm m7es t&e trin!#-r !roo(e in t&e first 9#$rnt.
&55 <3 =3
&51 >5 -"5
'@6 P#
'@6 P#
&51 <3 ="3 -;5
<#3 =3
<3
&55 >"
<5 =5
'@@
BORING CYCLE WITH DWELL AND FEED RETRACTION
O)1e'ti(e;
To 0rite pro!rm of t&e BORING CYCLE WITH DWELL AND FEED
RETRACTION
T(' &n! ):"$1*)nt'9
". A#to$es7 In(entor.
*. CNC Mi--in! Centre.
.. Sim#-tion Soft0re.
T,)r/ &n! 1r#)!"r).
T&is '%'-e: G64 is simi-r to G64 ex'ept t&t it &s $0e-- t t&e )ottom of t&e &ope. T&e
se9#en'e of opertion is ;
+", Rpi$ tr(erse to t&e +@:A, -o'tion +t&e xis of t&e &o-e,
+*, Rpi$ tr(erse to t&e R point
+., Fee$ motion #p to t&e B -e(e-: t&e )ottom of t&e &o-e + m'&inin! opertion ,
+/, D0e-- of P mi--ise'on$s
+2, Retr'tion #p to t&e R -e(e- t t&e spe'ifie$ fee$rte: t&e '%'-e en$s &ere: if G66 is #se$.
+3, If G64 is #se$: t&e too- f#rt&er retr'ts to its initi- B -e(e- t t&e rpi$ tr(erse rte.
T&e '%'-e is s&o0n in fi!
&"1 &@, &@1 mm mode4 !eed in mm1min and
in*remental *oordinate mode
sele*ted
&"6 <5 =5 >5 home position
'5; T? tool no ? pla*ed in the spindle the
tool
should have the desired boring
diameter
'5# $1555 : RP' C 1555 starts
&@5
&55 <5 =5 >155 initial position o! the tool
&6@ &@@ <15 ="5 >7"5 R" P "555 01 -155
/F4%8 is the hole lo*ation4 > is the
bottom o!
the hole4 R lo*ates the R point4 P is
the dwell
in millise*onds when the tool
rea*hes the
bottom o! the hole4 0 is the number
o!
repetitions /de!aults to 184 and - is
the !eed.
-inall% the tool retra*ts to the R level due
to &@@
<#5 se*ond boring operation retra*t to
the R level
&@6 <35 third boring operation retra*tion to
the
initial > level o! the tool be*ause o!
&@6
&65 *%*le *an*elled
'53 spindle stops
&@1 relative *oordinates mode
&"6 <5 =5 >5 home position
'#6 door open
'15 vi*e open
'#5 program resets