G-code
Supported G-code
1 min
g codes of the rs274/ngc language are shown on a specific page each the descriptions contain command prototypes, formatted as a code block in the command prototypes, three dots … substitute a real value as described earlier, a real value may be (1) an explicit number, 4, for example, (2) an expression like \[2+2] , (3) a parameter value, #86 , for example, or (4) a unary function value like acos\[0] in most cases, if axis words (any or all of x… , y… , z… , a… , b… , c… ) are given, they specify a destination point axis numbers are in the currently active coordinate system unless explicitly described as being in the absolute coordinate system where axis words are optional, any omitted axes will have their current value any items in the command prototypes not explicitly described as optional are required it is an error if a required item is omitted in the prototypes, the values following letters are often given as explicit numbers unless stated otherwise, the explicit numbers can be real values for example, g10 l2 could equally well be written g\[2 5] l\[1+1] if the value of parameter 100 were 2, g10 l#100 would also mean the same using real values which are not explicit numbers as just shown in the examples is rarely useful if l… is written in a prototype the … will often be referred to as the "l number" similarly the … in h… may be called the "h number", and so on for any other letter g code meaning docid\ smeipmfnlzqwnk8pfsszc rapid positioning docid\ riq0kxply7lfjpieik24b linear interpolation docid\ dpeeyjkcmm8ghofgpx91b circular/helical interpolation (clockwise) docid\ dpeeyjkcmm8ghofgpx91b circular/helical interpolation (counterclockwise) docid\ g jgi faouvo1tqr5no78 dwell docid\ b9lkozr8vyiim7e85u0x3 coordinate system origin setting docid\ uo pghd6gwtj4p9xj2nzp xy plane selection docid\ uo pghd6gwtj4p9xj2nzp xz plane selection docid\ uo pghd6gwtj4p9xj2nzp yz plane selection docid\ tmfh7vgzkxlcgky5dalrg imperial system selection docid\ tmfh7vgzkxlcgky5dalrg millimeter system selection docid\ hiqpvg7odggc7wqsv ank move to park position 1, setup on the variable page docid\ hiqpvg7odggc7wqsv ank move to park position 2, setup on the variable page docid\ fwbx0fgep7fioiezuhpa5 lathe, motion synchronized to the spindle docid\ f kbf l0l8hsyegslp9xs straight probe docid\ fyqhunsflfsdbpenqykqj cancel cutter radius compensation docid\ fyqhunsflfsdbpenqykqj start cutter radius compensation left docid\ fyqhunsflfsdbpenqykqj start cutter radius compensation right docid\ dcuuepsg6yte sd5bbvdh tool length offset (plus), tool x offset for lathe docid\ dcuuepsg6yte sd5bbvdh cancel tool length offset docid\ lcnwmz2i2ii08f90obal motion in machine coordinate system docid\ bax8uyfaimzylpap9bpj3 use preset work coordinate system 1 docid\ bax8uyfaimzylpap9bpj3 use preset work coordinate system 2 docid\ bax8uyfaimzylpap9bpj3 use preset work coordinate system 3 docid\ bax8uyfaimzylpap9bpj3 use preset work coordinate system 4 docid\ bax8uyfaimzylpap9bpj3 use preset work coordinate system 5 docid\ bax8uyfaimzylpap9bpj3 use preset work coordinate system 6 docid\ bax8uyfaimzylpap9bpj3 use preset work coordinate system 7 docid\ bax8uyfaimzylpap9bpj3 use preset work coordinate system 8 docid\ bax8uyfaimzylpap9bpj3 use preset work coordinate system 9 docid 2bjzdn24vlty2jwzo txw set path control mode exact path docid 2bjzdn24vlty2jwzo txw set path control mode exact stop docid 2bjzdn24vlty2jwzo txw set path control mode continuous docid\ vpyib1fwdn7bzilxiurb6 xy rotation docid\ d1pna2zyfwitu3zqndh54 lathe, threading docid fsuesglv1pm3hkfv84fl cancel motion mode (including any canned cycle) docid\ bmnlfqh73fioeamgbffvk canned cycle drilling docid\ bmnlfqh73fioeamgbffvk canned cycle drilling with dwell docid\ bmnlfqh73fioeamgbffvk canned cycle peck drilling docid\ bmnlfqh73fioeamgbffvk canned cycle right hand tapping docid\ bmnlfqh73fioeamgbffvk canned cycle boring, no dwell, feed out docid\ bmnlfqh73fioeamgbffvk canned cycle boring, spindle stop, rapid out docid\ bmnlfqh73fioeamgbffvk canned cycle back boring docid\ bmnlfqh73fioeamgbffvk canned cycle boring, spindle stop, manual out docid\ bmnlfqh73fioeamgbffvk canned cycle boring, dwell, feed out docid\ nwnlrn2wtcaf7w5zic62j absolute distance mode docid\ nwnlrn2wtcaf7w5zic62j incremental distance mode docid darrxy7xsfsm2qp6jjl offset coordinate systems and set parameters docid darrxy7xsfsm2qp6jjl cancel offset coordinate systems and set parameters to zero docid darrxy7xsfsm2qp6jjl cancel offset coordinate systems but do not reset parameters docid darrxy7xsfsm2qp6jjl apply parameters to offset coordinate systems docid\ ktxmepfxifobiwmm13 uw inverse time feed rate mode docid\ ktxmepfxifobiwmm13 uw units per minute feed rate mode docid\ em 0wl cftu bq5 bezue initial level return in canned cycles docid\ em 0wl cftu bq5 bezue r point level return in canned cycles