View Full Version : complete list of G codes


Tebis
08-07-2006, 06:32 PM
where can i find one?

wms
08-07-2006, 07:30 PM
http://www.machinetoolhelp.com/Applications/G-M-codes.html

Just remember that different controls use different codes...

ayezawwin
08-16-2006, 01:29 AM
where can i find one?
I can tell U G codes for Fanuc 18M; in details these are
G00 rapiad traverse poistioning ;Format G00 ,IP x.y.z
G01 linear interpolationing;format G01 ,IP x.y.z.f
G02,03 circular interpolation (cw,ccw) ;format G02,G03 ,IP x,y,z,i,j,k,r,f
G04 dwell format G04 x,p X= seconds in decimal format,p= seconds in integers
G09 exact strock check, using for check sharp edge corner.
G14,15 Hexical interpolation for threading (cw,ccw)
G17 xy plane selection
G18 zx plane selection
G19 yz plane selection
G20 input in inches
G21 input in mm
G22 store stroke limits
G23 stroe stroke limits
G27 return to zero position
G28 automatic to zero position
G29 return to reference position
G30 return to 2nd,3rd,4th reference position
G40 cutter composition cancel
G41 cutter composition left
G42 cutter compositoin right
G43 tool length offset positive direction
G44 tool length offset negative direction
G45 tool length offset increase
G46 tool length offset decrease
G47 tool length offset double increase
G48 tool length offset double decrease
G49 tool length offset cancel
G60 single directional position
G73 spot drilling cycle
G74 reverse taping cycle
G76 boring cycle
G80 cancel fixedcycle
G81 spost drilling cycle
G82 peck drilling cycle
G83 tapping cycle
G84 to G89 boring cycle
G90 absolute programming
G91 incremental programming
G92 selection of coordinate system
G98 return to initial poinit
G99 return to R point

Note there are some otherkinds of Gcodes they are G50,G51,G72.1,G72.2 and so on depending upon the machines these all described in page are have U known? if U know ,let we 'll share the informations about the cnc and its perepharial device and softwares in furture.

Navigator
08-28-2006, 06:39 PM
Hi.It's not a complete list,you didn't mention about T purpose G codes,and could you say me,18M Fanuc support G15,G16 (polar coordinates) or not? We use 0M,they don't... By the way,full C codes MUST BE in any manual guide related to machine :)

Tebis
08-29-2006, 05:09 PM
I can tell U G codes for Fanuc 18M; in details these are
G00 rapiad traverse poistioning ;Format G00 ,IP x.y.z
G01 linear interpolationing;format G01 ,IP x.y.z.f
G02,03 circular interpolation (cw,ccw) ;format G02,G03 ,IP x,y,z,i,j,k,r,f
G04 dwell format G04 x,p X= seconds in decimal format,p= seconds in integers
G09 exact strock check, using for check sharp edge corner.
G14,15 Hexical interpolation for threading (cw,ccw)
G17 xy plane selection
G18 zx plane selection
G19 yz plane selection
G20 input in inches
G21 input in mm
G22 store stroke limits
G23 stroe stroke limits
G27 return to zero position
G28 automatic to zero position
G29 return to reference position
G30 return to 2nd,3rd,4th reference position
G40 cutter composition cancel
G41 cutter composition left
G42 cutter compositoin right
G43 tool length offset positive direction
G44 tool length offset negative direction
G45 tool length offset increase
G46 tool length offset decrease
G47 tool length offset double increase
G48 tool length offset double decrease
G49 tool length offset cancel
G60 single directional position
G73 spot drilling cycle
G74 reverse taping cycle
G76 boring cycle
G80 cancel fixedcycle
G81 spost drilling cycle
G82 peck drilling cycle
G83 tapping cycle
G84 to G89 boring cycle
G90 absolute programming
G91 incremental programming
G92 selection of coordinate system
G98 return to initial poinit
G99 return to R point

Note there are some otherkinds of Gcodes they are G50,G51,G72.1,G72.2 and so on depending upon the machines these all described in page are have U known? if U know ,let we 'll share the informations about the cnc and its perepharial device and softwares in furture.
how would you write a drilling program?or tapping?

normllikeme
09-08-2006, 01:17 PM
T1m6(tool 1)
G0g90g43h1g54z3.0m8(g43 Mode, Work Coord1, Coolant, Offset 1 And 3in From Face)
M3s2000(spindle At 2000 Cw)
G0x0y0(rapid To Center Of Part)
Z1.0(rapid To 1 In From Face)
G81g98z-1.0r.1f5.k0(drilling Cycle, Return To Initial Point, Feed At 5, Rapid To .1 From Face,drill 1in Deep)
G54x0y0(dead Center Of Part...drilling Here)
G54x0y1.0(1in Up Part For Second Hole Same As First)
M9(coolant Off)
M5(spindle Off)
G0g80z5.y7.(rapid Out Of The Way And Exit Drilling Cycle)
M01(opt Stop)

normllikeme
09-08-2006, 01:18 PM
T2m6
G0g90g43h2g54z3.0m8
M3s250
X0y0
Z1.0
G84g98z-.85r.1f12.5k0(tap Same Holes We Just Drilled)
G54x0y0
G54x0y1.
M9
G0g80z5.y7.
M5
M01