07Lecture-G-codes-lathe

07Lecture-G-codes-lathe - (ii-w “G” codes are...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (ii-w “G” codes are preparatory functions and must be specified before the addresses. Combined with a numerical value, it defines the machining method and axis movement. Code & Group # GOO..*..1.....Rapid traverse positioning G01..*..1.....Linear interpolation (Feed) G02..*..1.....Circular interpolation (Clockwise) G03..*..1.....Circular interpolation (Counter Clockwise) G04..*..0.....Dwell G17..*.16.....Selects the “XC” machining plane. Machining is in the “Z” axis direction. GlB..*.16.....Selects the normally default “XZ” machining plane. G19..*.16.....Selects the “ZC” machining plane. Machining is in the “X” axis direction. G20..*..6.....Inch data input G21.....6.....Metric data input G28..*..0.....Return to reference point (Home Position) G32.....1.....Straight or taper thread cutting G34.....1.....Variable lead thread cutting G40.....7.....Tool nose radius compensation cancel G41.....7.....Tool nose radius compensation left G42.....7.....Tool nose radius compensation right \ G50..*..0....:Maximum spindle speed setting lls7ryuA5+ (ark \Vi glt>f>(ycil, G54....14.....Work coordinate system 1 selection G55....14.....Work coordinate system 2 selection -: ’ G56....14.....Work coordinate system 3 selection ‘f;> W\\&%1K{€ 32§?{05 OP‘\H\€ G57....14.....Work coordinate system 4 selection Qo“~e L G58....14.....Work coordinate system 5 selection // ‘ G59....14.....Work coordinate system 6 selection G?O..*..O.....Einishing cycle for G71, G72, G73 G71..*..0.....Multi repetitive cycle > Longitudinal turning G72.....0.....Multi repetitive cycle > Facing cuts G73.....0.....Multi repetitive cycle > Contouring or Pattern cuts G74..* .0.....Mu1ti repetitive cycle > Peck drilling along Z axis G75..*..0.....Multi repetitive cycle > Grooving along X axis G76..*..0.....Multi repetitive cycle > Thread cutting cycle GBO..*.10.....Cancel hole machining canned cycles G83..*.10.....Side & face hole drilling canned cycle G84....10.....Side & face tapping canned cycle (for use with a tapping head only) G85....10.....Side & face boring canned cycle (refers to straight hole boring head use) G90..*..1.....Canned cycle for longitudinal turning (single pass) G92.....1.....Canned cycle for threading (single pass) G94..*..1.....Canned cycle for end facing cuts (single pass) G96..*..2.....Constant surface speed control-9 fighxdifi‘pfigqyaa/ G97..*..2.....Direct R.P.M. deSignation G98..*..5.....Feed rate in inches per minute 899..*..5.....Feed rate in inches per revolution G107....0.....Cylindrical interpolation (milling shapes around work piece diameter) 6112...21.....Notch cutting On (milling polygonal shapes into work piece face) 6113...21.....Notch cutting Off G380.* . . . . . . ..Rigid tapping mode OFF 6384.* . . . . . . ..Rigid tapping mode ON. For Rotary tool ‘side’ or ‘face’ tapping ..* . . . . . ..Most frequently used cycles are marked with an asterisk. *3i W “M” codes are also called miscellaneous functions. They control program flow, spindle direction, coolant discharge on/off, etc. M00....Program Stop . . . . . . ..Stops program execution, axis movement, spindle & coolant. .rMDI....Optional Stop . . . . . ..Same as M00 if initiated by control panel [03?] switch. M02....Progran End . . . . . . . ..Ends program execution, all machine operations, resets NC. “'MOB....Spindle Start . . . . . ..Normal direction. CCW viewing chuck from tailstock. M04....Spindla Start . . . . . ..Reverse direction. CW viewing chuck from tailstock. ‘ MDS....Spindla Stop . . . . . . ..Stops the chuck or rotary tool spindle rotation. ,-M08....Coolant On . . . . . . . . ..Starts coolant pump. - MO9....Coolant Off . . . . . . . ..Stops coolant pump. » M13....Rotary Tool Start...Normal direction. CW viewing workpiece from rear of tool. M45 must be specified in the preceeding line. M14....Rotary Tool Start...Reverse direction. CCW viewing workpiece from rear of tool. M45 must be specified in the preceeding line. M23....Chamfering 0n . . . . . ..Tapering off at thread cutting end position. G92 & G76 only. Used when thread does not end in an undercut. Parameter 5130. MEd....Cham£aring Off . . . . ..Chamfering during thread cutting invalid. G92 & G76 only. Used when thread ends with an undercut. M28....Position Check . . . . ..In position check on. Used to cut sharp corners in 501. M29....Position Check . . . . ..In position check off. ~ M30....Program End . . . . . . . ..Ends program execution, all machine operations, resets NC. Cursor returns to start of program. *3“ "MA5....C—axis Connection...Addresses chuck spindle as ‘C’ axis for indexing. MAG....C-axis Release . . . . ..Releases chuck spindle 'C’ axis. M68....Spindle Clamp 0n....Clamps the spindle brake during rotary tool machining. M69....Spindle Clamp Off...Unclamps the spindle brake after rotary tool machining. M90....High Speed Drill....Simultaneous chuck spindle & rotary tool spindle ON. M91....High Speed Drill....Simultaneous chuck spindle & rotary tool spindle OFF. M98....Sub Program Call....Begins sub program operation & repeats as specified. M99....Sub Program Return..Returns to main program & continues operation. B Except during automatic tapping cycles, M05 must be specified before changing rotary tool spindle or chuck spindle direction. Eg. M13, next line M05, next line M14 39. M03, next line M05, next line M04 A slash (/) preceding any code makes it’s execution optional. If the Block Delete a switch on the control panel is lit the information block is ignored. ; _Wm. If more than one “M” code is specified in a block, only the first “a” code i recognized. *4. ...
View Full Document

Page1 / 2

07Lecture-G-codes-lathe - (ii-w “G” codes are...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online