diff --git a/doc/sphinx/source/gcode-reference/linuxcnc/g-code.rst b/doc/sphinx/source/gcode-reference/linuxcnc/g-code.rst index cd34dfbe43495f3cf7701e1823ad219dcd44a9d0..8abadbc65df010db79dc632710bed3dff1aed524 100644 --- a/doc/sphinx/source/gcode-reference/linuxcnc/g-code.rst +++ b/doc/sphinx/source/gcode-reference/linuxcnc/g-code.rst @@ -830,11 +830,9 @@ G28 is issued. If no positions are stored with G28.1 then all axes will go to th * ``G28`` - makes a `rapid move <#gcode:g0>`__ from the current position to the ``absolute`` position of the values in parameters 5161-5166. - * ``G28 axes`` - makes a rapid move to the position specified by ``axes`` including any offsets, then will make a rapid move to the ``absolute`` position of the values in parameters 5161-5166 for all ``axes`` specified. Any ``axis`` not specified will not move. - * ``G28.1`` - stores the current ``absolute`` position into parameters 5161-5166. G28 Example Line @@ -861,11 +859,9 @@ are stored with G30.1 then all axes will go to the `machine origin * ``G30`` - makes a `rapid move <#gcode:g0>`__ from the current position to the ``absolute`` position of the values in parameters 5181-5186. - -* ``G30 axes`` - makes a rapid move to the position specified by ``axes`` including any offsets, then - will make a rapid move to the ``absolute`` position of the values in parameters 5181-5186 for all - ``axes`` specified. Any ``axis`` not specified will not move. - +* ``G30 axes`` - makes a rapid move to the position specified by ``axes`` including any offsets, + then will make a rapid move to the ``absolute`` position of the values in parameters 5181-5186 for + all ``axes`` specified. Any ``axis`` not specified will not move. * ``G30.1`` - stores the current absolute position into parameters 5181-5186. G30 Example Line @@ -1172,8 +1168,8 @@ G43.1: Dynamic Tool Length Offset G43.1 axes * ``G43.1 axes`` - change subsequent motions by replacing the current offset(s) of axes. G43.1 does - not cause any motion. The next time a compensated axis is moved, that axis’s endpoint is the - compensated location. + not cause any motion. The next time a compensated axis is moved, that axis’s endpoint is the + compensated location. G43.1 Example @@ -1184,8 +1180,8 @@ G43.1 Example G43.1 Z0.250 (offset current tool offset by 0.250, DRO now shows Z1.250) M2 (end program) -* See `G90 <#gcode:g90-g91>`__ & `T <#sec:select-tool>`__ & - `M6 <#mcode:m6>`__ sections for more information. +* See `G90 <#gcode:g90-g91>`__ & `T <#sec:select-tool>`__ & `M6 <#mcode:m6>`__ sections for more + information. **It is an error if:** @@ -1306,8 +1302,8 @@ systems. G61, G61.1 Exact Path Mode -------------------------- -* ``G61`` - Exact path mode, movement exactly as programed. Moves will slow or stop as needed to reach - every programed point. If two sequential moves are exactly co-linear movement will not stop. +* ``G61`` - Exact path mode, movement exactly as programed. Moves will slow or stop as needed to + reach every programed point. If two sequential moves are exactly co-linear movement will not stop. * ``G61.1`` - Exact stop mode, movement will stop at the end of each programed segment. G64 Path Blending @@ -1412,7 +1408,8 @@ Figure 3. G76 Threading * ``Drive Line`` - A line through the initial X position parallel to the Z. * ``P-`` - The ``thread pitch`` in distance per revolution. -* ``Z-`` - The final position of threads. At the end of the cycle the tool will be at this Z position. +* ``Z-`` - The final position of threads. At the end of the cycle the tool will be at this Z + position. * ``I-`` - The ``thread peak`` offset from the ``drive line``. Negative ``I`` values are external threads, and positive ``I`` values are internal threads. Generally the material has been turned to this size before the ``G76`` cycle. @@ -1423,29 +1420,29 @@ Figure 3. G76 Threading Optional settings -* ``$-`` - The spindle number to which the motion will be synchronised (default 0). For example is $1 - is programmed then the motion will begin on the reset od spindle.1.index-enable and proceed in - synchrony with the value of spindle.1.revs +* ``$-`` - The spindle number to which the motion will be synchronised (default 0). For example is + $1 is programmed then the motion will begin on the reset od spindle.1.index-enable and proceed in + synchrony with the value of spindle.1.revs * ``R-`` - The ``depth degression``. ``R1.0`` selects constant depth on successive threading - passes. ``R2.0`` selects constant area. Values between 1.0 and 2.0 select decreasing depth but - increasing area. Values above 2.0 select decreasing area. Beware that unnecessarily high - degression values will cause a large number of passes to be used. (degression = a descent by - stages or steps.) -* ``Q-`` - The ``compound slide angle`` is the angle (in degrees) describing to what extent successive - passes should be offset along the drive line. This is used to cause one side of the tool to - remove more material than the other. A positive ``Q`` value causes the leading edge of the tool to - cut more heavily. Typical values are 29, 29.5 or 30. -* ``H-`` - The number of ``spring passes``. Spring passes are additional passes at full thread depth. If - no additional passes are desired, program ``H0``. -* ``E-`` - Specifies the distance along the drive line used for the taper. The angle of the taper will - be so the last pass tapers to the thread crest over the distance specified with E.`` E0.2`` will - give a taper for the first/last 0.2 length units along the thread. For a 45 degree taper program - E the same as K -* ``L-`` - Specifies which ends of the thread get the taper. Program ``L0`` for no taper (the default), - ``L1`` for entry taper, ``L2`` for exit taper, or ``L3`` for both entry and exit tapers. Entry tapers - will pause at the drive line to synchronize with the index pulse then move at the `feed rate - <#sec:set-feed-rate>`__ in to the beginning of the taper. No entry taper and the tool will rapid - to the cut depth then synchronize and begin the cut. + passes. ``R2.0`` selects constant area. Values between 1.0 and 2.0 select decreasing depth but + increasing area. Values above 2.0 select decreasing area. Beware that unnecessarily high + degression values will cause a large number of passes to be used. (degression = a descent by + stages or steps.) +* ``Q-`` - The ``compound slide angle`` is the angle (in degrees) describing to what extent + successive passes should be offset along the drive line. This is used to cause one side of the + tool to remove more material than the other. A positive ``Q`` value causes the leading edge of the + tool to cut more heavily. Typical values are 29, 29.5 or 30. +* ``H-`` - The number of ``spring passes``. Spring passes are additional passes at full thread + depth. If no additional passes are desired, program ``H0``. +* ``E-`` - Specifies the distance along the drive line used for the taper. The angle of the taper + will be so the last pass tapers to the thread crest over the distance specified with E.`` E0.2`` + will give a taper for the first/last 0.2 length units along the thread. For a 45 degree taper + program E the same as K +* ``L-`` - Specifies which ends of the thread get the taper. Program ``L0`` for no taper (the + default), ``L1`` for entry taper, ``L2`` for exit taper, or ``L3`` for both entry and exit + tapers. Entry tapers will pause at the drive line to synchronize with the index pulse then move at + the `feed rate <#sec:set-feed-rate>`__ in to the beginning of the taper. No entry taper and the + tool will rapid to the cut depth then synchronize and begin the cut. The tool is moved to the initial X and Z positions prior to issuing the G76. The X position is the ``drive line`` and the Z position is the start of the threads. @@ -1969,11 +1966,11 @@ seconds to dwell. G90, G91 Distance Mode ---------------------- -* ``G90`` - absolute distance mode In absolute distance mode, axis numbers (X, Y, Z, A, B, C, U, V, W) - usually represent positions in terms of the currently active coordinate system. Any exceptions to - that rule are described explicitly in the `G80 G89 <#gcode:g80-g89>`__ Section. +* ``G90`` - absolute distance mode In absolute distance mode, axis numbers (X, Y, Z, A, B, C, U, + V, W) usually represent positions in terms of the currently active coordinate system. Any + exceptions to that rule are described explicitly in the `G80 G89 <#gcode:g80-g89>`__ Section. * ``G91`` - incremental distance mode In incremental distance mode, axis numbers usually represent - increments from the current coordinate. + increments from the current coordinate. G90 Example @@ -1997,9 +1994,9 @@ G90.1, G91.1 Arc Distance Mode ------------------------------ * ``G90.1`` - absolute distance mode for I, J & K offsets. When G90.1 is in effect I and J both must - be specified with G2/3 for the XY plane or J and K for the XZ plane or it is an error. -* ``G91.1`` - incremental distance mode for I, J & K offsets. G91.1 Returns I, J & K to their default - behavior. + be specified with G2/3 for the XY plane or J and K for the XZ plane or it is an error. +* ``G91.1`` - incremental distance mode for I, J & K offsets. G91.1 Returns I, J & K to their + default behavior. G92 Coordinate System Offset ---------------------------- @@ -2075,19 +2072,19 @@ G93, G94, G95: Feed Rate Mode should be completed in half a minute. When the inverse time feed rate mode is active, an F word must appear on every line which has a - G1, G2, or G3 motion, and an F word on a line that does not have G1, G2, or G3 is ignored. Being - in inverse time feed rate mode does not affect G0 (`rapid move <#gcode:g0>`__) motions. + G1, G2, or G3 motion, and an F word on a line that does not have G1, G2, or G3 is ignored. Being + in inverse time feed rate mode does not affect G0 (`rapid move <#gcode:g0>`__) motions. -* ``G94`` - is Units per Minute Mode. In units per minute feed mode, an F word is interpreted to mean - the controlled point should move at a certain number of inches per minute, millimeters per - minute, or degrees per minute, depending upon what length units are being used and which axis or - axes are moving. +* ``G94`` - is Units per Minute Mode. In units per minute feed mode, an F word is interpreted to + mean the controlled point should move at a certain number of inches per minute, millimeters per + minute, or degrees per minute, depending upon what length units are being used and which axis or + axes are moving. * ``G95`` - is Units per Revolution Mode In units per revolution mode, an F word is interpreted to - mean the controlled point should move a certain number of inches per revolution of the spindle, - depending on what length units are being used and which axis or axes are moving. G95 is not - suitable for threading, for threading use G33 or G76. G95 requires that spindle.N.speed-in to be - connected. The actual spindle to which the feed is synchronised is chosen by the $ parameter + mean the controlled point should move a certain number of inches per revolution of the spindle, + depending on what length units are being used and which axis or axes are moving. G95 is not + suitable for threading, for threading use G33 or G76. G95 requires that spindle.N.speed-in to be + connected. The actual spindle to which the feed is synchronised is chosen by the $ parameter **It is an error if:**