G CODES For VMC and HMC

4
G0 0 Rapid linear move . Example: G00 X## Y## Z## (X,Y,Z = position) G0 1 Feed linear move Example: G01 F## X## Y## Z## (F=eedrate to move at) G0 2 !ir"lar move !$. Example: G0% X## Y## &## '## (XY=end point, &'="enter point) G0 2 !ir"lar move !$. Example: G0% X## Y## R## (R=sie o radis ar" to s*in+. R i radis - 10/, R i radis is 10/) G0 3 !ir"lar move !!$. Example: G02 X## Y## &## '## (XY=end point, &'="enter point) G0 3 !ir"lar move !!$. Example: G02 X## Y## R## (R=sie o ar" radis to s*in+. R i radis - 10/, R i radis is 10/) G0 4 3*ell time. Example: G04 5## (5=time to d*ell. 5%0000 is % se"onds) G1 0 Zero o6set s7it. Example: G10 X## Y## Z##(X=s7it dist. Y=s7it dist. Z=s7it dist.) G1 1  Zero o6set s7it "an"el. Example: G11 G1 7 !ontor plane is XY (Z = spindle) . Example: G18 G1 8 !ontor plane is ZX (Y = spindle). Example: G1 G1 9 !ontor plane is YZ (X = spindle). Example: G19 G2 0  &n"7 mode (G80 on older "ontrols). Example: G%0 G2 1 mode (G81 on older "ontrols). Example: G%1 G2 8 Retrn to reeren"e point. Example: G0 G91 G% X## Y## Z## (Go to ma"7ine XYZ 7ome,passin+ t7r XYZ in"remental ero) G2 9 Retrn rom reeren"e point. Example: G0 G90 G%9 X## Y## Z## (Go to t7is XYZ position, retrnin+ rom 7ome) G3 0  Retrn to %nd, 2rd (e"t..) reeren"e point. Example: ;imilar to G% G4 0 !tter (dia.or rad.) "ompensation o6. Example: G40 X## Y## G4 1 !tter "ompensation to t7e let o t7e pro+ra mmed pat7. Example: G40 X## Y## G4 2  !tter "ompensation to t7e ri+7t o t7e pro+rammed pat7 . Example: G40 X## Y## G4 3  < ool len+t7 " ompensatio n *it7 spind le appr oa"7 rom side. Examp le: G42 ## Z## G4 4  <ool len+t7 "ompensation *it7 spindle approa"7 rom side. Example: G44 ## Z## G4 9  <ool len+t7 "ompensation "an"el. Example: G49 G4 &n"rease end position >? tool o6set vale. Example: G4@ X## 3## (Go

Transcript of G CODES For VMC and HMC

Page 1: G CODES For VMC and HMC

8/9/2019 G CODES For VMC and HMC

http://slidepdf.com/reader/full/g-codes-for-vmc-and-hmc 1/4

Page 2: G CODES For VMC and HMC

8/9/2019 G CODES For VMC and HMC

http://slidepdf.com/reader/full/g-codes-for-vmc-and-hmc 2/4

Page 3: G CODES For VMC and HMC

8/9/2019 G CODES For VMC and HMC

http://slidepdf.com/reader/full/g-codes-for-vmc-and-hmc 3/4

Page 4: G CODES For VMC and HMC

8/9/2019 G CODES For VMC and HMC

http://slidepdf.com/reader/full/g-codes-for-vmc-and-hmc 4/4