Okuma G and M Codes PDF

You might also like

Download as pdf
Download as pdf
You are on page 1of 7
2. LIST OF GCODES 3752-E P-275 SECTION 14 APPENDIX ° Has already been set when power supply is tured on. Effective in a specified block. May be set by an initial condition parameter. G Code [Group Functions ‘G Code [Group Functions GO0O Positioning G26 G010 Linear interpolation G27 G02 |, | Circular interpoation - Heical Gos cutting (CW) G29 G03 Circular interpolation - Helical G200 | 16 Cutting (Cow) G31 |_17__| Skip function 040 | 2 _| Dweit ese ‘G05 G06 Gos Go7 Goe G36 096 | 18 | Exact stop G37 GIOx Cancel of Git G38 Git | 3 | Parallel and rotational shift of G39 coordinate system G40% ‘Cutter radius compensation Gi2 ee G13 Gat Cutter radius compensation, left Gi4 ‘Axis designation/cancel G42 Cutter radius compensation, right Gis ‘Selection of work coordinate GaSe “Three dimensional 4 | system (Moda G44 | 6 | Three dimensional compensation e160 Selection of work coordinate ON system (One-shot) Gas Gi70 Plane selection: XY Gas @180| 5 | Plane selection: 2x Gaz G190 Plane selection: YZ G49 G200 Tach input confirmation G50% Enlargement and reduction of a210| ' | Metric input confirmation geometry cancel G220 Programmable stroke limit ON gst | ° | Enlargoment and reduction of é geometry ON G230 Programmable stroke limit cancel G24 G25 > 3752-£ P-276 SECTION 14 APPENDIX + : Has already been set when power supply is turned on. ©: Effective in a specified block. O: May be set by an intial condition parameter. ‘G Code | Group Functions G Code [Group Functions G52 ‘GB0% Fixed oycle, Model cancel @530 ‘Tool length offset cancel Get Fixed cycle, Drillspot boring 54 Tool lenght offset, X-axis Gee Fixed cycle, Dril/counter boring G55 Too! lenght offset, Y-axis G83 Fixed cycle, Deep hole driling 560 | 10 | Toollength offset, Z-axis 11 | cycle as7 Tool length offset, 4th-axis Gas Fixed cycle, Tapping G58 Tool lenght offset, Sth-axis Ges Fixed cycle, Boring function G59 ‘Tool length offset, 6th-axis Gee Fixed cycle, Boring 60__| 1 | One-directional positioning G87 Fixed cycle, Back boring G61 _| 14 _| Exact stop mode Gas Ge2_| 19 | Programmable mirror image Geo | 11_| Fixed oyele, Boring G63 ‘300 ‘Absolute dimensioning G67 Geax | 14 | Cutting mode 2910 | "| incremental dimensioning G65 Gee Seiting of work coordinate: G66 20. | system G67 G93 Gee Cancel of Géo GeO ||, | Feedpermin. G69 Setting of 3-D coordinete 6950 Feed per rev. “ system conversion Gee G70 97 Gri Designation of retum level for G98 Nes G99 G2 G73 Fixed cycle, High speed deep 44. | hole driling cycle G74 Fixed cycle, Reverse tapping G75 G76_| 11 | Fixedcycle, Fine boring G7 78 79 3752-E P.278 SECTION 14 APPENDIX 4, LIST OF M CODES cate [SP Faeton Rovere fOneenat |= ramate Moo | 1 | Program stop ‘Afler ‘one-shot | Spindie coolant Mot Optional stop After one-shot | SOPs: ith parameter Moa | 18 | End of program ‘After one-shot | NO reset Mos | 2 | Spindle GW ‘Atthe same time | modal Mos Spindle CCW ‘Atthe same time | modal Mos Spindle stop After modal MOs-| 3 _| Vertical spindle tool change ‘After one-shot M07 | 8 | Oimist coolant ON ‘Atthe same time | modal M08 | 10 | Coolant pump ON Aithe same time | modal Mos | 24 | Coolant system OFF ‘fier Thodal (Mo7, 08, 12, 50, 51, 59 OFF) Mio | 30 | A-axis clamp ‘Aithe same time | modal Mit A-axis unclamp At the same time Mi2 | 22 | Chipairbiow ON ‘Atthe same time | modal Mis | 5 | 4th-axis-rotary index table CW ‘tthe same time | modal Mis 4th-axis-rotary index table COW At the same time |” modal Mi7 |_7 | Indexing head index COW ‘Atthe same time | one-shot | Command effective for only M73-M76 Mia | 2 | Spindle orientation (forward) ‘After Toda M20 | 31 | B-axis camp ‘Aer modal Mat Beaxis unclamp Afier modal M22 | 32 | Vaxis clamp ‘Afier modal M23 Yeaxis unclamp Aer modal Maa] 33] Zads damp ‘Afier modal M25 Z-axis unclamp After modal M26 | 35_| C-axis clamp ‘After model Mer C-axis unctamp After modal M30 | 18 | End oftape Afior ‘one-shot | NC reset Maz | 38 | Splash guard door dose ‘Aithe same time | modal M33 Splash guard door open Atthe same time | _ modal ——— EEE 3752-E P-279 SECTION 14 APPENDIX cote [Group Function ee cae ee Ma0"| 11] Highimidale-high/middle-low/low range | Atthe same time | modal | Spindle gears Mat High/middle-tighmisle-ow range | Atthe same time | modal_|.Sttornetically maz High/middle-high range At the same time | modal leterrtest by Mas High range At the same time | modal’ | command. uaa "AAG(F) nex attachment Clear ‘At the Game time | one-shot | F: Floor pe Mas, ‘AAC(F) change preparation Atthe same time | one-shot | T: Table type mas AAC(F) no next attachment ‘tthe Same time | one-shot Maz AAC(T) no next attachment | atthe same time | one-shot M48 | 38 | AAG(T) next atlachment clear ‘At the Same time | one-shot Mao AAC(T) change preparation At the same time’ | one-shot M0. | 23. | Through-the-tool coolant, low ‘Atthe same time | modal pressure ON msi Through-the-tool coolant, high At the same time | modal pressure ON Ws2_| 12 _| Return level in fixed oycle: Upper mit | At the same time | one-shot MSS | 13 | Retum level in fixed oyele: Upper limit | At the same ime | modal M54 Return level in fixed cycle: point R level | At the same time | modal we7 | 34 | Weaxis damp ‘After modal M58 W-axts unclamp ater modal M59| 25 | Ghipair blow ON ‘At the same time | modal w60"| 4 | Pallet change command ‘ter ‘one-shot mez Vertical spindle tool change preparation Aer modal Mes | 21_| ATCno next tool Atthe same time | one-shot M64 Next tool return cyele ‘At the same time | one-shot Mes ATC ready At the same time | one-shot M66 | 14 | Continuous tool change between the | At the same time | one-shot vertical and horizontal spindles (same tool) Mor Continuous tool change between the | At the same time'| one-shot vertical and horizontal spindles (Gittarent tool) MGB Verical spinal tool clamp Aor modal Meo Vertical spindle tool unclamp After modal M70_| 3 | Manual tool change ‘Afier one-shot Mt |” Manual attachment tool change ‘Afler ‘one-shot mre Horizontal spindle tool change Alter modal preparation M a Funetion M73 | 18 | “Swivel head, front position M74 Swivel head, left position M75 ‘Swivel head, rear position M76 Swivel head, right position M77 | 3__|- Horizontal spindle tool change ‘After ‘one-shot M76 Horizontal spindle tool clamp ‘After ‘modal M79 Horizontal spindle tool unclamp After modal Mai | 27 | Automatic W-axis positioning 1 ‘After ‘one-shot Maz ‘Automatic W-axis positioning 2 After ‘one-shot mss ‘Automatic W-axis positioning 3 Alter one-shot MB4 ‘Automatic W-axis positioning 4 Alter one-shot Mes ‘Automatic W-axis positioning 5 After one-shot M87 ‘Oil mistair blow ON ‘Atthe same time | one-shot | Effective for M90, 91 and 98 Mas Dust collector ON ‘At the same time | modal 8g. Dust collector OFF Atthe same time | _modal ™i90 Vertical spindle oil mist cycle mode ON | Atthe same time | modal Mot Tes hale chip. biouraye mode | Atte sins Wi | BM ofan een ‘M98 ffoseorin sclcte of lt pyle pee [Ate came Seba Mio1 | 4 | Pallet positioning 1 ‘After ‘one-shot mi02 Pallet positioning 2 After ‘one-shot i083 Pallet positioning 3 After ‘one-shot ios Pallet positioning 4 After ‘one-shot M105 Pallet positioning 5 After ‘one-shot i086 Pallet positioning 6 Atter ‘one-shot M107 Pallet positioning 7 After ‘one-shot M108 Pallet positioning 8 Atter ‘one-shot it09 Pallot positioning 9 After one-shot Mito Pallet positioning 10 Alter one-shot wat Pallet positioning 11 after ‘one-shot uni2 Pallet positioning 12 After one-shot M15 | 6 | Sthaxis-rotary table CW ‘Atthe same time | modal une. Sth-axis-rotary table CCW Atthe same time | _ modal 9752-E P-281 ‘SECTION 14 APPENDIX w ‘Against Axis ]_Modal7 Code | GFouP Bern Movement | One-shot | _ Remarks Mie ‘Spindle orientation (reverse) After modal Mite Spindle orientation (forward/reverse) After modal i120, Work shower ON Atthe same time | modal M130 | 9 | Spindle rotation condition for cutting | Atthe same time | modal | Cutting feed feed OFF OFF (G01,G02, G03) allowed without spindle rotation tat Spindle rotation condition for cutting _| Atthe same time |" modal | Cutting feed feed ON (G01, Go2, G03) not allowed without spindle rotation Mia2 |~37__| Single block ineffective ‘Atthe same time | modal M133 Single block effective Atthe same time | _ modal Mi34 | 16 | Spindle speed override ineffective ‘Atthe same time | modal M135 Spindle speed override effective At the same time | _ modal W186 | 17. | Feedrate override ineffective ‘Atthe same time | _ modal i37 Feedrate override effective Atthe same time | _ modal W140 | 89. | Slide hold ineffective ‘Atthe same time | modal Mi4t Slide hold effective Atthe same time | _modal Mia2 ‘Spindle overioad detection ineffective | Atthe sametime | modal M143, Spindle overload detection effective | At the same time | _modal Mi44 | 19 | Touch sensor advance ‘After modal M145 Touch sensor retract After modal M50 | 28 | Coolant group specifcation-vertical | At the same time | modal spindle ist Coolant group specification-horizontal_| At the same time | " modal spindle is Coolant group specification-Grd group | At the same time | » modal 153 Coolant group specification-4th group _| At the same time | _ moda Mi54 | 20 | Sensor airblow OFF ‘After modal M155 ‘Sensor ai blow ON Atthe same time | » modal Mis7 ‘AAG (2 st) no next tool ‘After ‘one-shot Mise AAG (2 st.) next too! clear ter one-shot Mis9 AAG (2 st.) tool change preparation After ‘one-shot mie0 | 4 | PPC palleticading ‘After ‘one-shot Mi6t PPC pallet unloading After one-shot 9752-E P-282 SECTION 14 APPENDIX ‘Against Axis ite Function Momcmct | eaeanes | __ OTA M63 Long tool-no next tool ‘At the same time | one-shot ies Long tool-ool change preparation ‘Atthe same time | one-shot | Safety cover speaitfication of ext tool Mi66 ‘ATC active tool return mode ‘Atthe same time | one-shot specification Mi70 ‘AAC (F) attachment change ‘After ‘one-shot | F: Floor type mint ‘AAC (7) attachment change After one-shot | T: Table type i72 Long tool-tool change command After one-shot Mi73 ‘AAC (2 st.}attachment change After ‘one-shot | Column type ‘command Mize Dist collection mode - air blow ‘Atthe same time | one-shot M77 ‘Anguair attachment tool change After ‘one-shot | AT-ATC wi7e Dust collection mode-ON ‘Atthe same time Mi79 Dust collection mode-OFF At the same time iat External M signal ‘tthe same time tee External M signal Atthe same time mies Extemal M signal ‘At the same time Miss External M signal ‘Atthe same time Miss External M signal Atthe same time Mis6 Extemal M signal Atthe same time is7 Extemal M signal ‘Atthe same time utes Extemal M signal Atthe same time | one-shot wi90 ‘Automatic W-axis positioning 1 ‘After ‘one-shot | For automatic ist ‘Automatic W-axis positioning 2 ‘After one-shot etening mige Automatic W-axis positioning 3 After ‘one-shot | 49 points M193 Automatic W-axis positioning 4 After ‘one-shot | specification mi94 ‘Automatic W-axis positioning 5 After ‘one-shot Migs ‘Automatic W-axis positioning 6 After ‘one-shot M196 ‘Automatic W-axis positioning 7 After ‘one-shot mig7 ‘Automatic W-axis positioning 8 After ‘one-shot Mies ‘Automatic W-axis positioning @ Alter ‘one-shot Mig9 Automatic W-axis positioning 10 Alter one-shot

You might also like