Skip to content

G93: inverse time feed

G93 changes the meaning of F: instead of a speed, it becomes the inverse of the time the block has to take, expressed in inverse minutes. The block duration is one divided by F minutes, so with F2.0 the move takes half a minute and with F60 it takes one second. It is used in four- and five-axis machining, where mixing millimeters and degrees in the same move makes a normal feedrate meaningless. The critical difference from G94 is that under G93 every block needs its own F: without it, the control alarms or just sits there.

For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.

The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.

Family
Feed
Machine
Milling, Mill-turn
Risk
High
Example
G93 G01 X10 A30 F2.5

Syntax by control

Fanuc (multi-axis milling)
G93 G01 X10. A30. F2.5 ... G94
F is the inverse of the block time in minutes: F2.5 means the move takes one divided by 2.5 minutes, that is, 24 seconds. Every block has to carry its own F.
Haas
G93 G01 X10. A30. F2.5
Same logic. Haas warns in its documentation that in inverse time mode there is no modal F: a block without F cannot run.
Siemens 840D / 828D
G93 (inverse time) / G94 / G95 / FGROUP
Siemens supports inverse time and also offers FGROUP, which defines which axes set the path velocity. In a lot of five-axis work, FGROUP solves the problem without needing inverse time.
Heidenhain TNC
M128 / TCPM with normal feed
On TNC controls, five-axis machining with controlled tool tip is handled with TCPM, and the feed stays a normal speed referenced to the tip. That is why inverse time is much less common on these controls.
CAM output
Blocks generated with F on every line
Inverse time is a post processor output, not something you write by hand. If you see a program with a different F on every block and a G93 at the top, that is exactly what it is.

Address letters used with it

LetterWhat it setsUnit
FInverse of the block time, in inverse minutes. The higher the number, the faster the block runs. It is not a speed and it cannot be compared with the F of G94.1/min
X Y ZLinear axes of the move. In inverse time, what matters is that all the axes in the block arrive together in the stated time.mm / in
A B CRotary axes. They are the whole reason for the mode: mixing degrees with millimeters in a normal feedrate does not give a physically meaningful speed at the tool tip.degrees
G94 / G95Normal feed modes, in units per minute and per revolution. Going back to one of them is how you leave inverse time.modal, no units

Worked example

Section of a four-axis job on a rotary table, where the cutter feeds in X while the part rotates in A. With normal feed, the control would have to decide how to split the speed between millimeters and degrees, and the result at the tip would be unpredictable. With inverse time, each block says how long it has to take and the problem goes away.

O0413 (TRAMO EN CUATRO EJES CON G93)
( Program header. )
G21 G17 G40 G49 G80 G94
( Clean state and normal feed to start. )
G91 G28 Z0.
( Z to the reference point before the change. )
T7 M06
( Ball end mill. )
G90 G54 G00 X0. Y0. A0.
( Positions at the start point, with the rotary table at zero. )
G43 H07 Z50. M03 S6000
( T7 length offset and spindle on. )
G00 Z2. M08
( Approach and coolant. )
G01 Z-1. F400
( Entry into the material still in G94, with normal feed in millimeters per minute. )
G93
( Turns on inverse time. From here on F stops being a speed and becomes the inverse of the block time. )
G01 X5. A10. F12.0
( First combined segment: five millimeters in X and ten degrees in A. F12 means the block takes one divided by twelve minutes, that is, five seconds. )
G01 X10. A20. F12.0
( Second segment, same length and same time, so the tip moves at about the same speed. )
G01 X12. A35. F9.0
( Segment with more rotation and less linear travel: since the real travel of the tip is greater, it gets more time by lowering F. )
G01 X17. A45. F12.0
( Back to the previous pace. Every block has to carry its F: in inverse time there is no modal feed. )
(SIGUEN LOS BLOQUES DEL CAM)
( In a real program, the post processor calculates the F of each block from the speed you want at the tip. )
G94
( Back to normal feed. Forgetting this block is dangerous: the next G01 with an F meant as millimeters per minute would be read as a time. )
G00 Z50. M09
( Retract and coolant off. )
G91 G28 Z0. M05
( Z to the reference point and spindle stop. )
G90 M30
( Back to absolute and end. )
Open the simulator to check the example

Practical keys to using G93 in the workshop

Why normal feed does not work on multi-axis moves

In a move that combines millimeters and degrees, the control has to decide what speed means. If the reference is the linear axes, a large rotation with little travel will shoot off too fast; if it is the rotary axes, the tip can nearly stop. The problem is that one degree of rotation translates into more or less tip travel depending on how far the tip is from the center of rotation, and the control does not always know that. Inverse time sidesteps the argument: instead of a speed, each block says how long it has to take, and the CAM system, which does know the geometry, does the math.

How F is calculated

The math is simple: F is the inverse of the block time in minutes. Put another way, the real tip travel divided by the desired feed gives the time, and the inverse of that is F. For a segment where the tip travels 5 mm at 600 mm/min, the time is 5 divided by 600 minutes and the resulting F is 120. Nobody does that by hand block by block: the post processor does it, because it knows the machine kinematics. What is worth understanding is the scale, because an inverse time F and a millimeters-per-minute F are not comparable.

Modern alternatives to inverse time

Inverse time solves the problem but has a serious drawback: feed override acts on the block time in a less intuitive way and, above all, the program stops being readable. That is why modern controls offer alternatives: on Heidenhain, TCPM keeps the feed referenced to the tool tip; on Siemens, FGROUP lets you decide which axes set the path velocity; on Fanuc there are equivalent tool tip control functions. If your machine has them, they are usually preferable, and inverse time is left for machines and post processors that do not support them.

Mistakes that cost you a part (or a tool)

  • Leaving a block without F in inverse time mode: there is no modal feed and the control alarms or cannot execute the move.
  • Forgetting to go back to G94 at the end: the next F meant as a speed is read as a time and the move comes out way too fast or painfully slow.
  • Comparing an inverse time F with a millimeters-per-minute F: they are different quantities with no direct relationship.
  • Writing inverse time by hand: the calculation depends on the machine kinematics and is the post processor's job.
  • Using inverse time when tool tip control is available, which is more readable and gives more predictable override.
  • Changing an F by hand in an inverse time CAM program: it alters the duration of that block and leaves a mark on the surface.
  • Running a multi-axis inverse time program for the first time without turning the override down and without a dry run.

Frequently asked questions

What exactly does F mean under G93?

It is the inverse of the time the block has to take, in inverse minutes. With F60, the block takes one minute divided by sixty, that is, one second. The higher the number, the faster the move runs.

Why is it used on four and five axes?

Because when a block mixes millimeters and degrees, a normal feedrate does not properly define the speed at the tool tip. By stating the block time, CAM carries its knowledge of the geometry into the program and the result is predictable.

Do I have to write F in every block?

Yes. In inverse time there is no modal F: each block needs its own, because each has its own duration. A block without F ends in an alarm.

How do I get out of the mode?

By going back to G94 for feed per minute or G95 for feed per revolution. You must do it at the end of the multi-axis section, otherwise the next F will be read with the wrong meaning.

Are there better alternatives?

On modern machines, yes: TCPM on Heidenhain, FGROUP on Siemens and the tool tip control functions on Fanuc let you work with a normal feed referenced to the tip. If your machine has them, they are usually preferable.

Related codes

G94/G95G01Fanuc G68.3/G68.4Haas G143G05/G05.1

Other codes in Feed

See the full list of G and M codes

Related apps