CNC Milling[1]

March 21, 2018 | Author: iresa_nurat | Category: Machining, Computer Program, Metalworking, Technology, Software


Comments



Description

. ..n:~~; -:-D 3.8 Prepa"ratory Available Function (G-code) Table B : Basic 0.: Option G-codes to FS 15MA G-Code. Table (1/2) Code ,.. GOO ,.. GOI Positioning 8 linear interpolation B G02 Circular interpolation CW(clockwle) 8 G03 Circular interpolation CCW(counter clockwise) 8 G04 Dwell B 01 Exact stop 8 <310 Data setting B G17 XpYp plane G09 ,.. G18 00 02 G19 <320 <321 ,.. 06 <322 G23 04 <327 G28 G29 00 8 ZpXp plane Yp.:Y axiS or the parallel ax'S 8 YpZp plane Zp: Z axis or the parallel aXIs 8 Inchinput . 0 Metric input 0 Stored stroke check function ON 0 Stored stroke check function OFF 0 Reference point return check 8 Reference point return check B Return from reference point B <330 Second. third or fourth reference point return ) Floating reference point return 8 G40 Tool radius compensation cancel 8 Tool radius compensation left B Tool radius compensation right 8 Tool length compensation + B - B .Tool position offset increase o Tool position offset decrease o Tool position offset double increase o Tool position offset double decrease o Jool length compensation cancel B Scaling cancel o Scaling o Programmable mirror i'mage .cancel o Programmable mirror image o Local coordinate system setting B Machine coordin;He system selection B 07 G42 G43 08 G44 G4S G46 Tool length compensation . G47 00 G48 G49 08 GSO 11 GS1 ,.. Xp: X aXIsor the parallel a)(l Where; G30.1 G41 ,.. Function Group G50.1 18 GS1.1 G52 . G53 00 "- -'-...,- 1 - .,. G-Code Code -.:....-.. Work coor,dlnate system 1 selection B Work coordinate system 2 s~lection' B Work coordinate system 3 selection 8 G57 Work coordinate system 4 selection B GSP. Work coordinate system 5 selection B GS9 Work coordinate system 6, selection G55 G56 G60 14 00 G61 G62 G63 IS G64 G65 00 G66 G66.1 12 G67 G68 G69 16 G72.1 'G72.2 00 , G73 r- Function Group .'" G54. ,. Table (2/2) Single direction 8 8 positioning Exact stop mode B Automatic o corner override Tapping mode B Cutting mode B .. Macro call o Macro modal call A o Macro modal call 8 o Macro modal call A I B cancel o Coordinate o rotation Coordinate rotation cancel o Rotation copy o Parallel copy o Peck drilling cycle B G74 'Left.handed tapping cycle B G76 Fine boring cycle B G60 Canned cycle cancel B G61 Drilling cycle. spot boring cycle B G82 Drilling cycle. counter boring B - G83 Peck drilling cycle B G84 Tapping cycle B G84.2 Rigid tapping cycle o G84.3 Rigid counter tapping cycle o G65 Boring cycle B G66 Bori,ngcycle B G87 Backboring cycle B G66 BOringcycle B G69 Boring cycle B Absolute command B Incrementa! command B 09 - 'G9O G91 03 G92 G92.1 00 of work-coordinate Work coordinate G96 G99 Alternation' 10 B system B preset Canned cycle Initial level return B Canned cycle reference B pOint level return ..;' . ". ., MAKINO 1.2 List of M Codes List of M Codes List of M Codes MO Program Stop M1 Optional Stop M2 End of Program M3 Spindle CW Start M4 Spindle CCW Start M5 Spindle Stop M6 Automatic Tool Change M7 Mist Coolant/Air Blow ON M8 Nozzle Coolant ON M9 Coolant OFF M10 4th Axis Clamp M11 4th Axis Unclamp M12 5th Axis Clamp M13 5th Axis Unclamp M14 BTS Arm Advance (Movable BTS), Tool Length Sensor Cover Open M16 4th Axis Mirror Image ON M18 BTS Arm Retract (Movable BTS), Tool Length Sensor Cover Close M19 Spindle Orientation Stop M20 BTS Check M21 X Axis Mirror Image ON M22 Y Axis Mirror Image ON M23 Mirror Image OFF M26 Through Spindle Coolant ON M27 Tap Oil Mist, Tap Oil Jet Mode On M29 Unconditional Power Out M30 Part Program End and Repeat M31 Workpiece Auto Measuring Mode M32 Tool Length Auto Measuring Mode M33 Tool Length Circuit Check M34 Workpiece Auto Measuring Spare Tool Call M35 Workpiece Auto Measuring Pallet Unload M36 Prior Tool Check M37 Tool Data Register Mode OFF M38 AC/SL Data Temporary Alter Mode ON M39 AC/SL Data Temporary Alter Mode OFF No. 0584C-0405 ,'I'j, \-,'. "\1 1-3 . SL Coefficient 200% M51 Auto Reject Mode ON (M52 Mode Cancel) M52 Auto Reject Mode OFF (Reject Inhibit for Alarm) M54 Tool Offset Data Negative Register Mode M56 Tool Offset Data Transfer Command M57 Tool No. 1-4 «.. .. MAKINO M41 SL Coefficient Setting 125% M42 SL Coefficient Setting 150% M43 SL Coefficient Setting 200% M44 SL and AC Coefficient 0% M45 Tool Length Circuit Check M46 SL Lower Limit Coefficient Setting 125% M47 SL Lower Limit Coefficient Setting 0% M48 M49 Mode Cancel M49 Feedrate Override Cancel M50 AC Coefficient 100%. Register Mode M58 M59 Mode Cancel M59 Spindle Speed Override Cancel M60 Pallet Change M61 Pallet Change M62 Pallet Change M63 Pallet Change M64 Pallet Change M65 Pallet Change M74 Custom Macro Interruption Invalid M75 Custom Macro Interruption Valid M77 Through Spindle Air ON M80 Pallet Change M84 Pallet 1 Load Check M85 Auto Measuring Approach Mode M86 Auto Measuring Rapid Mode M88 APC Shutter Open M89 APC Shutter Close M94 Tool Data Delete Mode ON M95 Pallet 2 Load Check M97 Ceiling Shower Coolant ON M98 Sub Program Call M99 Return to Main Program M100 Cleaning Air Off .." 'Yj.List of M Codes o List of M Codes III I ' I Ii I . achine. ../ knowledge on setting up of work piece. participants will : .---- Through this course./ ableto write simple programs. .. Guidelines on safe programming will be taught. . -W) ./ know the functions of basic G codes and M codes. ./ have sufficient practice on both programming and hands on machining. . ./ able to edit and run programs on a machine safely./ . ./ understand how programs are transferred to m.~. feedrate and spindle speed.Ii " Types of Communications " 'i.>:-~~_:.. Therefore machine is dependent on computer. ... using RS232 cable. . always base on the principle that only the ~. ' . . Programs can be sent or received from computers or machines easily. ... . }.. in order for the machine to perform some operations.a software that allows programs to be transferred from computer to machine & vice versa./ Networking ... as cutter movement. cutter moves while the workpiece is fixed.~. Machine can run on drip feed mode when memory space on the controller is not enough.. machines' data server.using company network to link with computers and 1~~: " .C\.#'."'F\:0-:~"'-~"--'- .. What is Programming ./ Programming is the process of creating a set of commands such./ ONC link .. <..~. .../ When programming. ~!'f1i ...t.'~j' .':~~~: :..~:! i~ 1'.". <.. ':"if~I..~~ '. :~"'~. ~ "''''':'..~~~.?:.. cutters & holders . :u.1. t t~. ~t . i' . Workpiece drawing '(. fixture.ff:' Transfer of progrmTI ~ Machining I.. Pl~ocessplanning (rough & finish) Machining conditions 0. ~ ' . 4 .'.... Generate tool path and progran1 . . ~ '" ~ ..)."-'r..i ... . Programming Flow Select 111achine. ~~~ . . ..' I'iI f". .of . 'i(.08999 User area .'(: . ~ . ~!ilj./ To move X-axis 30mm.~ . Used for easy access..09999 Maker area (Program is write protected) A comment statement ( ) can be added after the program number. If not.. N10 T2 M6. Notes : . the command is X30.'. ~:' 09000 -..03mm./ Each sentence of a program ends with..'" "." Proqram number '0' OXXXX is a name given to a program.Configuration of Program . it becomes X movement of 0. 30 microns.~ !'.: number 'N' §gguence This can be omitted.' Example: 01234 ( test ). !!I :1v :1 ~ l .'.~ii~ I!I! '. ( ~nd Of Block ).". 00001 -. Example: 04567.: :. .0 with decimal point.i . ~J :1 J~~. . . to program during changes.H. . . . " . w r . ( == '.:. N : Spindle Speed (rpm) V : Cutting Speed of cutter (m/min) [Given in cutter catalogue] D : Cutter Diameter (mm) n: 3.142 .. Calculation of speed and feedrate N ~ 1000 V :rD ..- ~--- ~ --- --.. 0- Sz x Z x N Sz : Feed per tooth (mm/tooth) [Given in cutter catalogue] Z : Number of flutes F : Cutting Feedrate (mm/min) N : Spindle Speed (rpm) 6 .' " .'. F .. :.. . ~ .. '. . ~1JjH' F = O. i~1 Therefore. and feed per tooth is O.' c W.. l'~I'. . .----.' -iBl.I'.05x2xll00= 115mm/min .~ '!.--. .-.. I( .the spindlespeedis 11OOrpmand feedrate 115mmlmin.' . given cuttingspeed 28m/min.I Example.. Using a HSS 08mm FEM with 2 flutes.[!~I: ." .' . (To be used in program as 51100 and F115 ) .05mm.. ..:~{tl!:.[ :. N:'1: "'. calculate spindle speed and feedrate. lit I 1000 x 28 = 1100 rpm 1Cx8 11 .. .. :~ '. It has the same function as MOObut performs only when the' Optional stop' button on the machine control panel is turned On.Optional Stop.. . Miscellaneous Functions MOO-Program Stop. When the button is turned off.End of program. M03 . When machine completed all operations.Spindle turns On and rotate in clockwise direction.perform inspection.--- . MOS .Spindle turns On and rotate in anti-clockwise direction. This function is used to stop machining operation so as to.End of program and rewind. removal of chips confirmation of tool wear etc. this function is ignored.- --. 8 .'" .. M04 . :::0: M02 . Ithas the same function as M02 but it will search for the head of the program (rewind) after completed all operations.Spindle rotation Stop. measurement. M01 .(: M30 .adjustment. -- . .'1'-/..Coolant off. M07 .Oriented Spindle Stop. " .' . ~I M19 . ... .:!:' I(~'~~l )f~~)/. M08 . (( ..~I~~.~i 9 -"-"-'-' ._ ~"'"'''' ".. Cancel MO? and MOB. '1N&'. ego T1.L~' )\ . ..1. Flood coolant is supplied. J ..~~1: t.: Auto tool change and boring processes.M06 .. ~. the spindle rotates and stops at a predetermined position. Select the required tool before using this function. When using this function. . "I..Blown air or mist coolant is applied..." '" ~:~~~r'. MOB. It is used for changing tool when executed... M09 .t 'i' .J. :".~.Auto Tool Change.*~ .Coolant on. It is mainly used in ". .:> wcs is to define the location of a workpiece mounted on the machine table..e . .. '.ystem .. "~ - G58 X X5 X4 : JI YI X+ ./. : .'.' · . . ." ..I L__ MaChineOrigin . .. r=-.._" . To set a WCS." .:... . .. t=@ ~ ~G57 I l- ] ltj ~ Y4 Y5 ~( -!/56 G55 X6 .-:~- . .. ..:.. .. at S Wor k C00. This must be specified in the program when writing. Y6 1"\ Xl .In".rd.: : .G59). IT .' . the distance from machine origin to workpiece origin is to be measured into machine controller." ..' . Programs are created base on this coordinatesystem (G54 .. " · ..~"'. y+ X3 ' ') Y. ... ~ . . j e'.__ L' I - X2 "iI ~ . ~ ~. shows 'XO'and 'YO' STEP (4) 11 . . ...~i( ~ . set Z to zero. '~.__.j Workpiece €) Bring probe to touch workpiece at position P1. t fl..---.! ~~ . .....n".. i~~: '~~~r:~'.. y.000 Y -123.f:~probe Mount workpiece on machine table. but pressing 'Y' instead. (Relative) X -234. if&: -L-IL ~.'. then input the calculated . .~~ -'Jfu.tJ. Bring probe to touch workpiece at position P2. t.~ .r .765 Y -123..) Press P~S button on controller followed by Pi P2 ".}~ ':'-. Also.. h ! !.._. ' '' i ''' .' '. ._.-- " "'..fd REL softkey...W orl( SettIng rroceaure o P4 h1~ 3Z.i!:..forpositionP3 and P4 for Y axis. . Press 'XQ' followed by PRESET softkey.789 I Preset Origin ~ -- l STEP (3) value by pressing 'X and the value '~followed by PRESET softkey.. Repeat step C)and e .~. jf ".t "". ... . :ril.:':>.-.' '. This will set X to zero.______.~ 'l~_1f..<..~ ':~~. The screen will display certain X value.~i .r i: .t ~1i':j~t.: " " . :~: ~ :1:* ~\ ~:.-_.J.~ P3 (Relative) X 0.. Divide the X value by half.789 ...~(~.. .'Jj <~~~. so that all values will be taken from the same Z level.456 Z -90. .___ o Bring probe to the position where REL screen."! .[/'.~ .456 Z -90.. .t~. _.. Absolute command. YSO." 40 "'''''' D ~B 00001(Abs). G90 GS4 Xl0.I---i~--I x+1Right [E] Down y+ . 51000 M3. Y30. M30'. Left I y+\ t G91 x. Y20... G91 .. 51000 M3.ABS and INC Command Up G90 . M30.. Y20. Specify the next movement with reference to the work zero point. X20. G91 Y30... Y-20. MS. x+ 13 .. Yl0.. M5. X30. X20. 00002 (Ine). Specify the direction and distance to move from. ~ A . current point to the next point in increment values. Y40. I ... G90 GS4 X10. Y30... 20 XSO. Y-20.Incremental command... 12 .: " G55 X ..00 z z 0."" iI. This will set the Z zero point of workpiece into controller.t" . Bring down Z axis so that cutter touch the gauge block.1i~ J{ "'J:flt .. '. I'j~'!'.i".~ ....~w: ...235G56X 0:00 y Y 0.'. ".:".1".'~~ s~ EXTX.tif"!..00 G54X -378."'~':" !.r' I. The X and Y zero point of workpiece will be recorded into machine controller...1 \i~l .>"1.' z ~L~1r~:::. r."'" ..i~~/}1n:'7'~:. egoG54 (3 Press 'XQ' MEASURsoftkey and'YQ' MEASUR saftkey. ..Jl:QQ.~..."~" y Z 0. ~ ..:rN'/" ~'. G56X y 0.}. (i'. "'::)~'!:' G54X . . . 1. o . "m> . ~1~~.00.:." Wark Setting Procedure & Press OFFSET SETTING button. y J'j:lY-.. Put the first cutter into spindle and a gauge block on the workpiece surface.0' MEASUR saftkey.i'"I ." .00 .. ..~\f!A" ~~i\%:'.00 z 0. .00 EXTX --.. ..2:RL G55X YiQL Y Z 0.'. . followed by WORK softkey and bring cursor to selected wcs.00 Z 0'.f.t~:' ':'h" At the work setting screen.AQQ.". Let's say the gauge block is 14mm.. y z 0.." .. .... press 'Z14...00 ~ .<. 8 .. y+ . } Start from zero point and return to it in clockwisedirection.Rapid positioning Cutting feed 5 40 20 .~ 7 ..-...:.. Use 1200 rpm & F125 to create program under absolute and increment modes.XerC1S:e...u. E ' . - L.In e ar Movemen. .' . :'.. ' . ," " .. '. " ., t!.,' . '.',' ", / ~ .. ...(300-Rapid positioning. Travel depends on the maximum feedrate of : machine. Cannot be used for cutting. .~; > . . . .G01 - Use for cutting straight lines. Feedrate must be specified with F in the program. .'. "-;af; i~~, : ": ; \;j r ~r ! ' . '. l l.... l '. , . .. ", :. "".. , . ! I':' ;IF :Hx y+ iilii: '/1,,,. II'" 'Jill; (::':": '.~~ Rapid positioning G90 G55 GO XO YO ; - Cutting feed 51000 M3; X20. Y20.; Gl Y50. Fl00; X50.; Y20.; X20.; 51000 M3; G91 X20. Y20.; Gl Y30. Fl00; X30.; Y-30.; X-30.; GO XOYO M5; GO X-20. Y-20. M5; M30; M30; 2. ill! I : (... :..". --- HiJ!: , ~ :If~i; .Im.. :!r,i!i :pl!,. 40+ ':> ,3 I I j~h' : :i;i: .LI I' 20+ .. . 00011 (INC); 00010 (ABS); ,l'/( . , . 20 14 < , . , , . . . G90 G55 GO XO YO ; - Q£) X+ 40 ~ .-. ......._... ~.. .~ ~-_._--...... Exercise 2 Start from zero pointand returnto it in clockwisedirection.Use 1500 rpm & F150 to createprogramunderabsoluteand incrementmodes. y+ --- Rapid positioning Cutting feed -~ 60 40 2 20 20 ..1:' ;.~:) 40 60 x+ : Circular Movement G02 - cutting circles or arcs in clockwise direction. . .G03 - cutting circles or arcs in anti-clockwise direction. l"'+ 01110 . (Smaller arc); G90 G54 GO X10. Y40.; ,..;;.. 70 t I 50+ // M30; ------ "'j I -r {i, I 10 ;~. . {:J I '. #"\ I Q'?) 30+ I lO+-'-- 0 G02 X40. Y10. R30. F100; . IA ! .'.' 51000 M3; .------------- U I \ I . \I "' 30 _ . 01111 (Bigger arc); . G90 G54 GO Xl0. Y40.; . 50 70 X+ 51000 M3; G02 X40. Y10. R-30. F100; M30'1 When the arc is more than 1'80°, Rmust be ne ative si n. This is how the machine differentiate when there's two possibilities. 17 . .-- ..,-._--------_.. -- -.-------. I ------... I ~ rIJ. I I i""'.~ I i II '\ \' _"..'._/~" " .:.I \ I . G90 G54 GOX20. M30.{ 02000. calculate the distance from the start oint to the arc center. G03 X20.... ! Cenller . I-3D. 1-10.-:' . 18 . Y40. (Point B) 51000 M3.. 02001. Movement When cutting arcs with unknown radius. J-30.distance I I K = Z distance 50 I 50 .'''-':. ..I ...' I 30 J / . " .. I Cenjter I . M30. J-10.~ A (start /': J . G02 X40.. Y40. (Point A) 51000 M3..-. pt) .. :i~~''' . Y20..~ B(endpt) B\(start pt) I .- I i:I . To determine I and J. .Ly+ . J or K must be used. / 30 ' A (endpt) . F100./. G90 G54 GOX40.. J and K are incremental values. ! I I x+ ~~~. 1 "... Note that I.'.::-~.. y+ y+ =X distance J =Y . ". Y20. Fl00.Circular .'. I. "'-.1-_. .. ": "-~. G03J30.j~. 1 ar Movement ClfCU ' .. """!..' /tPi( .:... .~~ ...~:I~':::~HB~.~. J .. F100. M30..'~~~~./ ' B ' :' ..1.:.:..~.. ~~' ':ii~~ (~. R cannot be use to program a complete circle. " .:t:~1.. T l . :' I " I .: /. I X+ . . G03 130..: ' 02002 (Point A).. 51000 M3... :... ~:. F100...~:~~}~~'f~~:.1.>t'.. -..~. Use I./... .~)~¥1~(t7'Z~'~5::.1' J~~. I M30.'?' ~ i:. ._~ ~ -------- ... '1'-.. ./ ..[~! ~J. .~.~~ {: .~iL / /-/ ~IJ '" ./ ' Q-'!J".0. YO...\ .: .. 51000 M3. Since the start point and end point are at the same location. -::. }"+ / ' ' G90 G54' GOX-30..': .'<': " -.'. nhl':I I~ ' . G90 G54 GOXOY-30.iiri' ~F>i' ...~ .'11. J or K instead. it is not necessary to indicate X and Y values.f. :~ . '''~J' l/ I I .~'~r .....I f. / 02003 (Point B).. 19 -- u_ ..._. . .... E.?--0 ..' . .e4 ..V' I 8 7 6 x+ .. Use 3000 rpm & F300 to create program under absolute and increment modes.0 ~ ~ ~..( Start from zero point and return to it in clockwise direction.' f'0. . .::'.. ...C:>. . ." ...p ..0'0o___~ i '..J!": :. . y+ --- 3 Rapidpositioning Cutting feed -'..3>0' 2 1 - <t-'?.xerCls. ------- {I) . . "}""""" .~~~...:.-- ~~... t I. :..~~ .. :\I!!' f:. "" "" Rapid positioning Cutting feed .~. ". ~P.~ '0 . ..:: ~~: 'Irf. ill. -300 \ \ \ \ \ \ \ 12' \ ' \ \ \ \ I \ 450 x+ I !4 ~ '1J ~ .J ':!ih .~-~:.:~!: ..::~::! ..j.i... -50 -150 !I dU' . { .. 3 I Start from zero pointand returnto it in clockwisedirection....~ :.~ _\ o ..& F220 JT+ --- ')!liL"". .:". . '~I\:.!: .""'~# :- -'~I.:>'.It..f' :hFI: .I! ..R( . "f i!Ji: l '..... .. ..1 . .. ''' ''':!~I.Exercise. 'o' ~ . ...-". ......\Iii!". 'l'lh. r ". .I~i: .:... '. "~"~ mI ""'..... I ::!I~:.~"'.3:\~3. :''i'! 1 ' ". ':..i .~!!g..:.. I !!~ .!j: .. 1 II 1 5 + .~j: .50 50 '.. *v . . . '." j " ... ~..Use 2000 rpm to create programunderabsoluteand incrementmodes." 400 ! 2. .. . ... .. . 22..' When cutteris 100mmaboveworkpiece surface and requireto cut a depth of 10mm in Z direction. . 2100. F100 ..' ~. Z100.amman . .0 ~.:... '.' I .C . M30 . . ....: "" . I'" ." .. ~. ..()~emen. Z-12.. GO Z100. . ..s ." .!'. . '. M30 ..' . '" ". .' ]! _. IABSI I I liNe I I 1J) C'y 1 G90 G57 GO XO YO .. .. . } . .' "' ~! M . . .... G1 Z-12..~ ".? 1':" . . 1 ? i x. '.. " : .. '. > .... t . d£ r Z A " :.' - -:' ~: . F100 . GO2110. G91 2-98. . . G1 2-10..> $ . G90 G57 GO XO YO .' . . \( I '. _t . Depth of cut lmm. . Y-16 Rapid positioning Cutting feed 2 P5 = X24. . Use 2500 rpm ._. l .. . y+ --- - P2 = X6.596 P4 = X38.394 P3 = X54.- . Y19. - f'.&F215 to create program under absolute mode.. ~I""d.- Exercise' 5. Start from zero point and return to it in clockwisedirection.. Y-18 ~ ~ x+ 1 ." ' .~. Y29. i/ tf'~ '6-// ~/. st art -zr~: stal't "-:'..~ "40' W. G42 " EXTERN AL CUTTING 30 y1.~.t W I I t G41 I I .~_. -="='""~.~ ~.-. ~~ I f'£~. . I I l ~I ~ 11f .. ...JG 1. .cutter 'is offset to the left side of tool advance directfon..r ~:. ~~: t/.'-' '~-' -'-=:~:"'" ~~". {$I" ~. -.cutter is offset to the right side of toot advance direction.~\ '<:i:lJ t'0' .. a.. ... " G40 .. 10._.. It"-JTERt"-JAL CUTTU.-...". ~---. G42 . ... St i ~.--""" . "" ..../.2:j.-. .d ~ 'G41 ~~ ~' .. ".-.~_ Cutter Radius Compensation G41 .30 -I [ ~~__ fi. "'. . I I .--.JI .. .. .. -'.!:. .. G40 '.~.j::\ 11~{&:j1 ~ TnOL .cancel G41 and G42.. _. . machining accuracy and better surface finish.. . at't 24 start r..-="-"". t)IR5"'TIOI"j .....'~J - Fj.--fh~ Always use G41 (downcut) in order to have longer tool life. JIaUla "JI'_ H'''E ". '.(.. . . Change the value on machine offset screen to 5mm and execute the same program again to cut finishing. ..1 Roughing Finishing 0010..------ '..00 0030. When roughing. 'Example :G41 X20./ ' cRC ( C:ont d ) . " . : " .. The exampl.00 0020.00 0180.' i. D17.I I I I I I I B = Allowance I . o '.00 0175. Y30." . Offset amount for roughing = A + B I~ Offset amountfor finishing = A .10 0010. settingJworkl Offsetscreenonmachine offsetl I I offset setting work l Offsetscreenonmachine .e below is using 010mm cutter.00 0190.00 A = Tool radius .00 0030.00 0190.00 0175.. .00 0020.1mm allowance.00 0180.~ / Roughing and finishing can be done using the same program by modifying the data on the offset screen." i r. leave 0.r -~.' . -'::':~'....= -.. calculate the offset amount.:.::_:. 20 X+ GOO Z100.'. 010 .. 51000 M3. y+ 03000 (Overcut) .~ :.:. G1Z-10. . 010. .:::::- "'-'"=- ..::. G41 X20. G40 XO YO M5 .:~~::-:...::.. Y20. G90 G58 GOXOYO. Y10. } Z2.:. and during which G17 is selected. 77 f}4A.~-:--. 20 40 60 M30. o Always remember to set the offset amount in the offset screen and confirm the setting before running the machine. . rn171() F100.-:-.~- ~ - --- ~-. If there are two Z values just after G41 been specified. Yl0.:~--. Z100. M8 .:.::.~::-:. M1 . . 26 .::::::. Y50. ~ <'t 60 . overcutting occurs because compensation is active only for X and Y values. G11 X20. X10.:.:::.Fl00. . . M9 . machine will read 2 blocks in advance in order to". >. X50.. CRC ( Cont'd ) o When specify G41.. ' Startfromzeropointandreturnto it inclockwise direction. I 8 (). . Use2500rpm& F250to createprogramunderabsolute mode.DepthofcutSmm.. }:~:- y+ - Rapidpositioning Cutting feed 10 80 ...::.\ ..." I I R10 \ -J --'\ _ 40 20 I I I 7' (Ii tJ) .... M 60 .\ 1 '..2 14 1 x+ 20 40 60 80 .. .. .. ( .-- 13 :/\.:. :~~::.Use 010mm FEM.. : c' . -... i"!:':.__.. '-'--'h .. :-~-.:-..' 20 '!I\!: : ~ ......::.~:. ... --.:.: : .. . ".-.~ ...~:"~~~. : .. ' ... feed rate 300mm/min and depth of cut 3mm._... 1 ..=:.~~~d:::f-:-.." --.~.".=.:._..7~.#:-. . .-. .:.._. Rapidpositioning Cutti ng feed 1.:. '. .' C...-----. .~~:. .~-. ." I .-=-..~ . ~ . --.::.:.... -..O:'~OPL_~".speed 3000rpm..... _"_... ~ 40 ..'. ~ 2 "~ ()J ij ~.' .~~~~.~¥\.:.m.:.r.-~_-:..". i._"i". .:~.: ... y+ --- .. 11 . 1 .'.~.. -.:- 60 !!\.... - -- ..~~i::":.:~~~~i~~:~6..::..'~~. _. "" .--" --~-_.....- 0 " . ..'.._.~=~ ..i~~iE~::~iJ..... - . .__.1: : : ::: . .".. ./: "" 0 .'.? .er ~.. . .-. - ~ . L .<"'" ... Workpiece Zero .. MachineZero L \}J ~ i I MachineZero t .." / -. i i .m~ :.. . . . .:~: :.... " : '. .--..... @ Is a one shot G code and advisable to use under G91. ... G28 G90 20 ..m. @ Is a function to return each axis to machine zero point at rapid rate. . f. Zero I -J- I I 1 i ._. followed by X and Y axes together. ".. . .. ... i.. . u. ".".. ---. iI ~ ..'~) ! aetu . :" Workpiece I I I i ". :. · G28 A t o a .'.tl... C '" . .' Z i ..' .' ..' G28 G91 20 ... .' .. .:. .. @ Always return the Z axis first...! i . . . .I 11' :j~ . >' J!r: . .. .~t 0' The length of cutter. .OO H ~ ""'. ...'~~.. it will take the value stored in offset number 001 and compensate the amount. [if When machine reads G43 Z100.J ~'1i..~ ZO ...~:.' :m~) . Not required because machine will cancel the -compensation when performing Z-axis home return.... added into the work coordinate -settingas well....' j.. H value.. is measured and recorded into offset screen on the machine controller.!~t :. 100 i i i 0020. .00 843Z100.:~... ~i i .00 01-80..:. Note that this value must be . I I I I I I I I i - .:..:t.~ .. I ~ . such that the cutter will stop at 100mm above the workpiece.G43 Tool Length Compensation 001123. H1 in a program. i. 28 .r~.00 003 0. . .56 017Q. .. l [if G49 is to cancel this compensation.H1. .~. 1:Ii .'.00 0190.I['. I. '---'1('''-- ' . . ." . ( For BT40 holder) e Bringthe stylus to touch tool tip untildial gauge set at zero. ~ t'<\ ..~ 5!\....... . .('. . o Record down the reading and key the value into Offset Setting screen on machine.''t.) Hun :.'" .<~~~~ '! ::/ ......' .." .~.. @ Press I... uu. .. ..'.. .:.> .....~" i ..1..~__~J..' \..."...l Pre~sie ..1 tte T oo..~ ..~..".F .. .0.J.'.' ""vh. o Used fortool length measurement.~r~... .:..J .~....~.' ..~. i.. '.r' . .". followed by 1 & ENTER key. i .' : '. ' . .:~~i. 8 Tightenthe cutterto holder and mountonto the pre-setter.'. .t:'\\ t ...~ ~ :. . ... _."::::.'~ 32 .. : ~:-::-..::::::'" '-.:~.~.=... t=xample : G04 P1000...program written in inches... _ .'-.._~... i ~':. " ...F-...- Dwell a To delay the execution of the next block.:.:. & Must be specified as a block by itself..::.......~.~_..000 means delay of one second..:.::~..~_.._.:~~~~..-. & P1000 means.program written in millimeters.....'_ . & If machine coordinate has 4 decimal places..- -.:... . & G21 . ~ ~ Inch/Metric Conversion ~ ~ · & G20 . -:.:.. a delay of one second. ~ then P10. ~ ._..:Uf..:...:...::.:::. " '.. ..-.. +-".. ..".1. ' " ......". . .' .-:::-~=-_7. . ..0 . ."... :. ->.. .'.. ~/..::'. .: '___. h. .. '. ..._.I I ~ ~ z+ I G17 Plan. .. :.. ZX plane. /' \._~.-./. t.~:'-:::'. workpiece top surface. ....___ -.?.~ "l " PIan S 1 eCt n G 17 G 18..'" z+ . /..1 1'1.. ~.. .1\ ~ IG19 Plantll ':ii: YZ plane.~~-_.' .... . :. . . .. ..."":':=.'. w ._.' e.. ~-_. .' ' .. G 19 : .._-- . view from positive side of X axis. view from positive side of Z axis..e z+ I . ...-. r .-- -""'---.-.'.f / ' .. I .i ! ...--. " .:. " I ! 1.'~". . .' .. !.-::-:-..!J IG18 Plantl ~ XY plane..~::--=-~=:'===-:'-=====. view from positive side of Y axis. the existing data will be overwrite. G10 P ~ j R_.' y_Z_.1-1\ RJ When use under G91. ~ ~ L2PO represents EXT' L2P1 represents G54 L2P2 represents G55 "1'. it will add or subtract from the existing data. G10 L2P1 X ". '. 34 .: L2P3 represents G56 L2P4 represents G57 L2P5 represents G58 L2P6 represents G59 Fb When use under G90. ~.. 1 P represents the offset number ~ R represents the value to be input in offset screen. l=b To alter work coordinate system through programming.Programmaole RJ LJata lllpUL I \ To alter offset data through programming. .. ."":: >~~ " . :~.I' .l.~~:" ~. <1Ii 'i~ . ::~ '~~'. ': .~.' .1:~.--" -. :~' ~. I 20+ ~ro\"~~: " tt~. .M:.."c'~~. ' 6 .. ~ .:\ "...:!.. . ~ " ~ t. Assumethe WCSat X-300mm...Exercise 8 ' Use010mm FEM. ~ .<t~}~f:~' I (! 4 1 ~1. 'it'. ~)ff..:)"': ~~~~f:~~i' . . RIOO + \.tool length 95." 60+ 40 + 2 I' I . Dlr.. 1.~.67mm.~. ~\~. Y-200mm & Z-lOOmm.. . ". I I I I I I 5 I ill 20 40 60 80 x+ I 100 ~:t~(~i. t<w~..' ~ 35 .~..'i . ..feedrate 200mm/min and depth of cut Smm. . :& :~~} 1fg' :f". y+ --- Rapid positioning Cu1ti ng feed 80 ~ ~ .speed 2000rpm. ~1 :.. . 8 Allows positioningto a Is a one shot G point with t S.e d t {. 1:~: I! . v.. ~.~ ~ ~ " . .~ M C h 1n. . reference to the machine origin. . .:. G90 G53 GOO X-570.--. ~ 'W .. Y-210.~I ! '.ys. code and use directlyunder G90.:oo.. ~. l . ":.: I y 1 ~.ac.r'("lna..:.. (Y . I I I I I -210 I I I Pi -340 I I L__~~_ _ ____ --. G90 G53 GOO X-340.: Fb e. 1 . 1f! o. ~.e !..~!" .--.. .aH '. 1[ ~ -'-570 iI!!' .r ' .:.em.--. .. . Machine Zero Point -340 --x 1 '" :!t!i...:!~ .. i: ~~.. . .. Example: Position to point P1 Position to point P2.. ~.-- . ::~!' iir:' . Y-340..r. . .. ~. :.:::.'1:'~.number of times to repeat. M98 .~ 1 I ~: :1. ' 'i:tml'".-::..returnto main program.\ . ' I \h . M99 ..)}. use M198.':::~. '~:. <I ~ A subprogramcan be called fromanother subprogramup to four . .:~:=-_::.k'i . .'~~..call for subprogram. rJ"{<".~"::'... d~y.tl. .. '!~?:i- ' To call programsin Data Server.. 'If :+ . P .subprogram number.:::' i'-!>'lk'.-' ~?~ :" . ." ..Subprogram \h A subprogram is used when we need to repeat a specific routine.. ' ~~ I }i.:..(..< ~./J~ .-.:.f-:".:::::. . Ji~j1. ~~ levels..::::::?:==: 'LL . 37 " - . L .:. ~ J.. .~ ~ Itis recommended that subprograms are programmed under 891 "Q .~.:~::..: ' ---- -_.~-_. .<.'~~. F300 .(profile 1 to 3) G90 GO XO Y60.'..-:.:. Feedrate300mmjmin.. --./ ".~~".~~~\ M98 P3501 L3 . .. '"". X-40. Y -20. H1 M1 . Example Y+ Use 012mm FEM.... G17 G21 G40 G69 G80 M23.53000. 40 G91G41 X20. i-/" / ..: .. 010 .(profile 4 to 6) G28 G91ZOM5.. Y-30. X30.. G90 GO XO YO M9 .~.0.. I G90 G57 GO XO YO . ". ..':~~.(stop at point A) (stop at point C) M99' I 38 ..~ . . .-.O:.. . ..')r~l. --. --. GOZ15. X50. M30.-~.(at point B) M98 P3501 L3 . ~ .. G40 x-tO. '.'~. G28 G91 ZO. G28 G91 XO YO . Y40.." t-'" Point C 60 40 CD CD \ \ CD 20 x+ .'. .. G43 Z100.. . . --. 83000 M3.:~.~~~. 60 80 100 120 140 ~ 160 03501 (SUB) . ... 03500 T1 . M8. . Y10. -.~'~}X . . ."'~ Z-axis 100mm above workpiece Depth of cut 10 mm 100 \ (3) @ \ @ 80 I / / / I I .. . M6' (MAIN) 20. G1 Z-15. I Z5.._.:...>-F. ~. .' . ~ '\t- I 2 I f \oji r'/ I I I '~ 7 :ipi '..~:.. :.y. ..~:i'- 4 . 60 ..'!.... F300 & depth of cut 10mm." .- .0 '~._- .... '\~~/" !~: . . 1 x+ -r20 40 60 i.~~i. .-.::. :.!~.---- .~..~ .~.J~.-. Exercise 9 " Use 010mm FEM. ."'. . ..ii...:.. .".\r ~.... : 'I." . I.ti I~I .' .:. . ..'i. ~ :_.:"/~. ~~~~r " 40 '~.~3-. . ~: '.::..: ~.~.." . . .. .~ :.> -5 I 20+ / / I /' / I / '" '" 6 /' '" /' I I I "'.~.~~".i~ ~ .~~?: ~lAJ(e..::..: 39 " -_.~ij:\~i'f~~?">:i-. -_.---. . . Y.Rapidpositioning Cuttingfeed y+ 3 ..:~:.. 53000..t".~:~. '<."':~'.. . . \' . '1. ~t-:::-.. Exercise 10 Use 08mm FEM.~.. 4~~ 5 20 40 60 80 x+ ~ ~ 40 .':"...~:~:'.~~~~ -. y+ -... 54000...":".f"" ...:tI. --- - Rapid positioning Cuttingfeed ~R10 40 Depth of cut 8mm.. F400._.. . .Y axis mirror image. @ The start and end of mirror point must be the same..-'..."'--==-.__' .--- ".p.Cancel mirror image.X axis mirrorimage.:. 41 f~ -.~:-- '- .-----...-- ------------ .. ~ ' .". @ M22 . A 'Y:::!J M23 ..-. A Always cancel with M23 after every use. 'Y:::!J M21 ORIGINAL x+ x- y+ y+ xy- x+ y- \ M21 M22 M22 ..~.':.:_.--.-.-.--.------.'.n..'"_... -- ~ -- ~ Mirror Image Command @ M21 .-. G2 X60. GOZ50.~_.'_ Example 2 Use 010mm FEM. I. G2 X50. (Image 1) M21 .:. :..'~H_'. G1 Z~5. Y50. 015. S2000 M3 .--- . G90 Z2. M23'.~ . G1 Y30. "'. F200...r" 0'" .. M98 P4003 .. . tl!H G28 G91 ZO M5 .~.--- '. " G40 XOYO._. R10... depth of cut 5mm.~~. G1 X50.y. M98 P4003 .. . R10.. ~ ~...c>. .F200.~ " "_'L.' '\\\\: ::?:~. G90 G54 GO XOYO. M99. 50 'I \~\\ '1'\1. G1 X10.'. . '. ... H5 M1 . M30.::~. H20...~. Y10. : ... TS' ~ I M6. Y40.:~~: \\1m :\m\. . M22. y+ G17G21 G4G G69 G8G G28 G91 ZO .. G43 Z50. G3 X40. G28 G91 XOYO.. Y20. (Image 3) x+ lsJ q 04003 (SUB) .. Y60. G41 X20.52000. ~ . G28 G91 ZO ...-.. 54000. .}'.. ... G28 G91 ZO M5.'~'. Y20... M99'I '-. . . G90 Z2. G41 X20.(Image 2) .'. M23'.. G43 Z50.'' + i.~i' '.(' .:r . G2 X60.Rapidpositioning -Cutting Feed 1 Use 08mm FEM. R10. ~. I ..j: ~ '!i''l . 014...' RIO ~¥+ -10 I 10 30 50 70 I (Image1) M21 . ~:-..ffl!!. . __ R10 F400. G28 G91 XOYO. H:{rft~~i). G90 G54 GO XOYO. ." ~~ft'~. M30.:tJ. --. .. M9' .. .~I .: ~*"f. !!i.... I'~<j~.... ... 84000 M3 . '.t . i~!it. 04000 (MAIN) .... .~~ ~t/.... M8 . GO Z50.. @ '':. .Sl ~ 42 .: .< .~' ~."'. /"'t.~..!.'i:?'-~' \:). iif. Y40. G1 Y30.11 .'Il ~ .~. .'..i~!.Example axl~n1n.. . F400.' .~! ."li~.". . CD 04001 (SUB) . G40XO YO. R20. It ~f .: .~r I .:'. G1 Z-5. R10.~:i~{i:\. .~ . . '. Y60.I." .. . T4 . G1 X50. G17 G21 G40 G69 G80 M23. :.. M6.. . G2 X50.. " ~:'" '. G1 X10. M98P4001 . Y10. H4 M1 . Y50. G3 X40.88Jv~"''''''1J Depthof cut 5mm --. M98 'P4001 .: i!4~~'f'}.~.. ~ ' Iti . : :. . ..:.~~....tlli.'h.:..i. ".':'.t. Feed RiO F300..i.. ~30 ~ 10 10 30 X+ :\::: ~ [§J f' V . . depth of cut 2mm..~ :..'~.<' Exercise 11 Y+ --..Rapid positioning -Cutting Use 010mm FEM. 53000... ..l.!. '"! ... \ \ ! . I j:i! @ 30 50 / 40.. :!I:' '. .12.' '\i~r'. \ '. Use 010mm FEM. i!I!! ~ l l'J.... ~ \ \ .. I 1/ 1 :k!( .'!: \(~: C?) .< "i).\. :~m~ .I.1<'1\' : 70 :\\h i\!h' ' ). (:) If) :\~\' !t~' . Exercise.I.-"!. F300.' . J.. I x+ 70 "\\.... \ " \ " \ \ @ ~.' H!ii' "I'I I /'1/ I. 53000. if'!: ~ :. depthof cut 2mm..i !'hl.. y+ ---Rapid positioning ~H -Cutting ~" :.i'!' i~!:: :if!h ~ \ .":::(fV . 10 'ij. .: 'm""" l ~ '.i ''..: Feed :ii:: :U~: ... .:"1 Canned Cycle .. Also called as ... Return to reference point after each.Depth of hole Q _ Cut in amount or shifting amount ( incremental) . .. X position of hole y _ Y position of hole R . G8Gto cancel canned cycle..~~:.. p _ Dwelltime at bottomof hole F ...::>< .. hole cycle ~ }.f.: _ F- p L--' K .Return to initial point after each hole cycle G99 .Cutting feedra~e L_K_ ..Repeating number of times 46 . Machining cycles such as boring. .G_ . which is shortened and performed easily.Y R Z Q G98 . G9G G98 G x -----. hole drillingcycle'.Types of cycle mode .~J(.:... drillingand tapping are specified with a fixed format.:~'~'.fi~~ '.:.Reference pointposition Z .. . I Initialpoint I I I I I I I I ... .(:".' . Cutting Feed --. please ensure that there is no obstruction ... .. Ifthis method is used.duringthe movement from one hole to another. ...-..'4.--"'11'" . and finally returnto the initialpoint after completing'the last hole.'''~' .~ IG98I' · " Rapid position - -=." -: '. "\.: i .G98 and G99 .:t..-"-. -. .~. -'.'. . I -r-'I .... machine w'iII retracts to the initialpoint after drillingeach hole..." . \..I -r-r--r---Initial I I I I I I I I I I I I I I. .::!1.. Difference between .J_ -: Rpoint Z point When using G99. Zpoint Q lI. This method will.- --.result in longer cycle time but it is highly recommended to use because of safety reason._J__I___L." '-'~::'''--''. R pOint When usingG9'8.}: "~ fi': :~ · IG991 + Rapid position . I I I ___1_-1 point .1' . 47 I . I. CuttingFeed --..' i I . :. ~. machine will retracts to the R point after drillingeach hole.. ..~ :~: .'> '- I ---rI I I I I I I 1 7~' . ..} I --1 -.Rapid position - ---.i:.--1 I -------Initial point I I I I :.I."".' - ".L~..WIll. - ..point .---..~~~.' ~/I':"~...-~~~L_~....~~""~.. ..----Initial I I : . t Z. -" .~~<u<:~"t.R pOInt y R Z -!I --R point -Zpoint F suitable for pre-drill holes such as center drilling.~_.":':'''~'. I point I I I I I I .p 1 -rI G98 G81 X .!~~ G81 Spot Drilling Cycle IG98\ I G99' I I I I ---"..:."...__''''''''_.Rapidposition - CuttingFeed Cutting Feed rA/J .... ~... G99 " .-... I .~:y~~~~.J{.:r..wh*'.... Flatness is improved due to dwell..-::..pOint I. I I I I I I .:!c.':. G98._. . --1 " Rapidposition CuttingFeed -.. I I I I ~ !s) I . . G82 Counterboring Cycle .::... ..~... - Rapidposition CuttingFeed --.' .. . -l Initial point .... When P 1000 is specified.." ~ ~" l' I . . y R z p F For machining of blind holes. 49.....' ..: .. I .iJ."..:. .~~zt'Jt.' "'..F.ii: I I I I I I I I " . ! -: ---R point Z .p~...::-F.1.-... "L .::. G98 G82 X '. a one second dwell is performed...".1:~P... 1 R point -Zpoint -: --I Retractsafterdwell Retractsafterdwell " Initialpoint I ' I q.' .::.. " '" " . ..." :..~.~... il. QI *1 __.. I I Q I I 1 I I I R point tD + I II ." __.~~}~?~t~<t. The default setting isO.~~. 'd' is the amount where the machine start to use cutting feed before Q .1' G98 G83 X > ...' .1 mm.s) -DdI I 1. .. always return to R point....I ...lttUd point I TT"11--i- point .~:~: : I . I I I I I I I I I I I I Q I I I 'I I I I Q : QI :'~'.Rapidposition - ::jf ...~~¥J~_. the next peck. . .: y R z Q F t .~~:"!C...:jt.1t .. :~. is the pecking depth and after each peck.:~ IG981 'G991 ---..I I Jl ' point I ..~.. .I ?!> .:'.I ----------Initial d QI'illttJ I I CuttingFeed I TTTT--t--R . ------l-Initial i' .. ..L~.Rapidposition ---. - CuttingFeed .. --'--Z pOint I Z point. "-""'~-"~"'~".'" '. . I L_ I d I K\ I l. G83 Peck Drilling Cycle . ."-i .... :Ji.---.__ Z point .-.' . _. .G73High Speed Peck Drill Cycle-......:" ..-. I Initialpoirt I I I I Rpoint Rpoint '0 -rr-Id o ..._~ ' .-. . .-----.. J.': i --... .--.--I Q _1.for deep hole because chips may be trapped and result in cutter breakage._.'r... 51 .-.. I I --. IG9S1 IG991 Rapidposition CuttingFeed Rapidposition CuttingFeed l-Initial point ~ I I I I I I I I I 1-Q Q .-I Q .1mm) after each pecking.j.-. Not suitable. - '... . ...'.--. G98 G73 X · · rt rrJd' y ~-- z R Q Z point F 'd' is the retracting amount (0. --.t:.... Use a floating chuck when doing a tapping operation..'.-. '. . use G74. .:'.j . R F = SpindleSpeed x ThreadPitch(mm) 52 .~~~::.'~t~~it~~~i~~~..~""~""'''''''' G84TappingCycle.. ".~t~i~~:' . I ---~ Rapid position position Spindle aN Uindle~ Zccw point .: point I SpindleCW I ~ t --f~--. .:~." point G98 G84 X y ..- . .. I 'I Spindlecwl ~Spindle cw tJ SpindleCW '(ff >-0.. Rapid --1 I I .£ 'Y... .. ".R point 'SpindleCCW -Z . " I Cutting Feed Initial --'-. IG9S\ IG99 I .. Initialpoint i ---R point .0.. it :f..:.:. --r I Spindle cw II - Cutting Feed ..~~i. {~~ ~11D'. z F R point should be 7mm or more above the top surface of workpiece. .~. ~-1 I I. If left hand tap is required.----.. " ...Z point . --. ..)' .. G8S Reaming Cycle.(:. i..~ :~J .11..... I. . G98 G8S X --l y R z . -T \i:.. I IG991 G9s1 ~\~~~~:: Rapidposition CuttingFeed - Rapidposition - CuttingFeed . - ---H point [I . '...i:. -~ . ..Zpoint 'F ". I I I I [ ~..: .. "91 Ii ::~ :h I Initialpoint T I I I I I I I ' n-R Initialpoint I 1 I I I point e. . except the return to R point is also using cutting feed.~.. I . Operation is the same as G81.. ' ii I 'J. ~.---------------.. 53 - -- ..~ .. ~.?.~ 1.] ".~. -~ ---R point I -Zpoint y R z F Spindle stop at bottom of hole and retracts at rapid rate.t.~~:'"'!".>. Rapid position . 54 .. Willcause a scratch mark on surface when spindle retracts.. -\I ---R point Z ._. I I Rapid position ~ I I I jil i t . 1 Spindle Stop SpindleStop G98 G86 X ... .~:j::-~:L~'~. --1 -l .~:."..pOint ... . I I I I IG99 I G98.. .-' '~.::..:~":: G86 Boring Cycle . - CuttingFeed I Initialpoint i I CuttingFead --1 I Initialpoint I I . Use G76 if good finishing is required.f:. I . . ... . . . -X. -----R point : -Zpoint @.... L- .h _ .. 1. @ . 55 I . thus there is no scratch mark on the surface. (check shifting direction before use) . H1 CuttingFeed --l \=::T---Initial point I I I I I I I .. _.. . . .. y~ G76 Fine Boring Cycle II IG991 IG981 ---. I.Rapidposition - I .. +Y. W G98 G76 X I Spindle Stop Y R _ 1.. -Yare set on the controller in advance. . ._. I. ' · The shifting direction +X. --:---R point c::. Spindle Stop Rapidposition - CuttingFeed --l I -------Initial ' I I I I ---- point I I : I I I . . Zpoint W Z I Q F · Oriented Spindle StoQ (M 19) is performed at bottom of hole and retracts after shifting in the direction opposite to the tool tip._ ----. .. .. . · Shift amount is specified by Q.- _ ~"i . . X+ ~. Iii" 1 40 2 :':'.~. .:%:~' 1i~ t 50 .Exercise 13 Tap the holes given speed 2000rpm. ! ! 17 : I i I i . '}t: t 3 ~. y+ . depth of hole 25mm.~~~~.~. :~{- t 4 " ~!~~': '~1:~ Tf ! i I :~J.if\.-'. feed rate 200mm/min. '(" " 10 30 & ! i '.'.c:~~:. 20 ~~.. G91 X30. given speed 1000rpm and feedrate 100mm/min. R2.~ Drill the holes using peckdrill command. G80 G90 XOYOM9 . M30 . . G43 Z100. ~~~~ ~ x+ 20 40 60 80 100 120 .. T1'. 81000 M3 .F1 00 .. M6.Y20. . Z-20. .' 05000 .I ::L. H1 M1. G28 G91 XOYO. y+ 60 Z-axis 100mm above workpiece Depth of cut 20 mm ~-Ef}~~ 40 . L3K3 . G17 G21 G40 G69 G80 M23. G98 G83 X30. . Q1. G90 G54 GO XO YO .. Y40.. L3K3 . G28 G91 ZO. M8. G28 G91 ZO M5. X-3D. !.depthof hole 30mm. . \1.i. ':..' .. o. .'."".'" ~ .~r ':.. :.. 'x co :~"'.F100. o . 100 .. ~ " ".-~{~E:'( . 58 .. .14' Exercise Givenspeed1000rpm. ?~:. i i \~~'.~ .writea completeprogram startingwithcenterdrill. ." " ~~~~-$--$~-$-~ *~~~~~~-$-* " ~~-$~-E!T~~-$-~ ~~~~-$-~~-$-~ ~'~~~~~~-$-~ ~$--$~$--$$--$-~ ~~-$-~-$-~-$--$-~ ~~~~-Etr-<t7~-$-~ '~$--$~$--$$--$~ '-'-9 x+ 10 8X10-eo 10..ro.." :".'..:: :~t 0 0' ~0 ...j' .~.~' y+ " \... :-.. - ._..-: ... .~.- " =. =0:"' ::-.~ ~.. :~ " .~ Super GeometricIntelligence .". . Automatic feed rate control resulting .':\ .. ):'. Machine will automaticallyadjustthe feed rate given in a program.\~. ".I1'~~~\i ..J{ J.. i~\ '.. \~ .~t . G05 PO To turn off SGL ~ ~ ..To turnon SGI. ~. ''''.. . .~:.. .f' ... ::.:: ..in high 'precision and good surface finish. :. Recommended to use with Data Server.. depending on corners or profiles..i~ ." .i.. G05 P10000 ---~.r. . . GOS PO ... G01 F1000 M8 . . H8 M1 . Without SGI format 07000. M198 P7101 . G43 Z50. G28 G91 ZO M5. M9 . I MS". G17 G21 G40 GS9 Gao M23. G90 GOZ100..). G90 GO Z100. .. G17 G21 G40 GS9 Gao M23 . 07100. .. M198 P7001 .: ''l. G28 G91 ZO M5 . ~ ~ . G90 G54 GO XOYO .J . G01 F1000 M8 . G28 G91 ZO.~ I t.. G28 G91 XOYO. H8 M1 . . G28 G91 ZO. ..SGr Programming Format. MS.J~' With SGI format . 55000 M3 .~1~ . G90 G54 GOXOYO . ~:: . G28 G91 XOYO. 55000 M3 . ~!.. M30.. G43 Z50. .. T8. . . GOSP10000 . M30. T8. M9 . . ~ .~ 't):' ~. '.._.": r:':' '- . Examlll!z : G68X y R .. X and Y specifiesthe rotationcenterwithabsolutevalue.' . . Coordinate Rotation · It is a functionto rotatea specificprofilein the programat a specificplane. the plane must not be changed..t:'!"n-.:f.:.'..:-". When omitted.. " .. the position"where G68 is specifiedbecomesthe centerof rotation.cancelrotation..:.' R specifiesthe rotationangle · G6B and G69 must be specified on the same point.:. · G69 . . · During G68 mode.(. .? ~~:: ):~. J".' . ~i(". G69.\I' "'J G68 XO YO R60. Z2. ..... "...1'. .(.X. .' ~}i' . . X100. G40 XO YO M9 . T11 . /. '.. G1 Z-5.. " G28 G91 ZO M5.~: w~ i"~~' .. 30 .f. Z-axis 60mm above workpiece Depth of cut 6mm Cut image 1 50 30 G41 X60. "'.~'. Y-30. F100 .~:c. . y+ " G28 G91 XOYO. GOZ50. ~. . .' . 50 II 70 I .M8 . 021.~..j.Example 01234. X50. I I 10 -10 -30 I I I ~ iO.. " . ":({ ::'! ." M30' I 64 " kj... Y-20.~. G28 G91 ZO.r.. H11 M1.. x+ 90 --~-..L --------. I M6' I 70 G90 G54 GO XO YO... G17 G21 G40 G69 G80 M23 . ~ 'J) J II A .. Y20.~'.. 51000 M3.:t-'-1 .~. G43 Z50.. (. Z30. R50. "~no . .< . (P1 to P3) M30. YO51000 M3.. 05678 (HELICAL).. G90 G55 GOX50. YO5.P-y.i:: ." ... cutter cutting in a spiral motion. G43 Z50. Example: 06789 (NORMAL). G90 G55 GOX50. :!'.1000 M3. (P1 to P2) M30. G43 Z50.. ------------------------------------------------- JI. G3 XOY50.. G3 XOY50. H1. ~ 10 :"!. R50.. " '..i:J ':.~ . 65 .Helical Interpolation Using G020r G03.' ...: . H1.z+ . .5mm.. ." ...~ .. c U1 20 125 66 .' '. :'t~~:. ~ . o U1 "'.J'..'.depth of cut 2mm..Use 010mm FEM. d:: \q ~:/ :'.. J ... depth per pass O. " . Lf) ru ..' j ...:\~' '~N t.~1.\".:. . .. G90 G56 GO XO YO . D10.5 Y-16. Z2. G91 G01 Z-0. M9 ..213Y21. " X30. Z O5 . . G91 G01 Z-O. M98 P8001 . G41 Y6. :. M22' .~. .'~.5 . M30' . G90 GO X50.:'. 67 " . X-41. X-8..2t3. ~ \£> . M98 P8002 L2 . M98 P8001 .~'~. G40 Y-6. G10 P10 R5. G90 GO X-19.....213 y -2t~~t~..~ '11II: . G28 G91 ZO M5. G28 G91 ZO . G01 ZO F300 . M98 P8001 .. . X16. . M99 . 08003 (Pocket) . .. .. ' " M9.". G90 GO Z100.- . G90 G01 ZO F300 .5/~. " . G28 G91 XO YO . 08001 (Slot) . H4 M1 .."' . . G17 G21 G40 G69 G80 M23 . 08002 (Slot) . M21.. . M22' . XOYO'. . 52500 M3 . Y12. . ...5 F300 . G90 GO X-19.. G90 GO Z2.9. . - :. . G90 GO X-19.. G91 X19. I 08004 (Pocket) .. . M98 P8001 . X-8. M6 . M98 P8003 L3 . Y-50. M98 P8003 L3 . . M99' .. G43 Z100. Y-12. M99. .. .5 F300 . . . . X-30. .<.5 Y16. M98 P8004 L4 . T4 . M23' . G90 GO Z5." 08000 (Main) . M8.' ~ :. '. . ..'. WI ~. M98 P8003 L3 . M23' I ... ' ".5 YO .t=. X21. .i..:o .. ...90 70 40 12 14 J> (J) (1) S4 o' :J » » ~ o <:) ... -- - - .... ~ . . .::fJ~~~~!:t . "':t~:~/ '.~".. ~~:'~. .j .~.~i~.
Copyright © 2024 DOKUMEN.SITE Inc.