G95 - Feed Per Revolution
G95 (Feed Per Revolution) is a modal G-code that instructs the control to interpret feed commands as mm per revolution (mm/rev) or inches per revolution of the spindle.
Syntax & Parameters
- G95
- F Value The F value specifies the distance travelled per revolution of the spindle used to calculate the G95 feed rate.
- S Value This specifies the spindle speed used to calculate the G95 feed rate
Example program
Metric
N10 G21 N20 S800 M3 N30 G95 N40 G01 Z20 F0.1
The above program code tells the Z axis to advance 0.1mm for every revolution of the spindle until the Z axis reaches 20mm.
The Feed rate will be 80mm per minute
G95 feed rate above is calculated as follows
(Spindle speed) x (Specified Distance per Revolution) = G95 feed rate
800 x 0.1 = 80mm per minute
Imperial
N10 G20 N20 S800 M3 N30 G95 N40 G01 Z2 F0.005
The above program code tells the Z axis to advance 0.005" for every revolution of the spindle until the Z axis reaches 2".
The Feed rate will be 4 inches per minute
G95 feed rate above is calculated as follows
(Spindle speed) x (Specified Distance per Revolution) = G95 feed rate
800 x 0.005 = 4 inches per minute
Using G95 with G96
CAUTION: Please be aware that the CSS spindle speed does not work with G95 Feed Per Revolution.
- Using G95 & G96 together may cause unexpected results if used incorrectly.
- When G95 is used with G96 an S value must be specified for G95 to work.
- The S value must be given before the G96.
- The S value as part of the G96 command is not used by G95.
- The spindle speed calculated by G96 is not used by G95.