Inch/metric dimensions (G70, G71, G700, G710)

G70 dimensions in inches

Command

G70

Cancellation

G71, G700 or G710

Set the unit for lengths to inch. The new unit also applies to the current block. G70 is equivalent to the call unitLengthSet(unitLengthInch). The unit for velocity is not affected. See UnitLength and G71 for details.

G71 dimensions in millimeters

Command

G71

Cancellation

G70, G700 or G710

Set the unit for lengths to millimeter. The new unit also applies to the current block. G71 is equivalent to the call unitLengthSet(unitLengthMillimeter). The unit for velocity is not affected. See UnitLength for details.

Example:

In Figure “ExampleG70G71” the path of the following example is shown, which uses the unit millimeter.

N10 G01 X2 G70 F6000
N20 G01 Y1
N30 G01 X80 Y25.4 G71
M02
Inch/metric dimensions (G70, G71, G700, G710) 1:

Figure “ExampleG70G71”.

G700 dimensions in inches with calculation of the feed

Command

G700

Cancellation

G70, G71 or G700

Like G70, but also applies to the interpretation of velocity. The new unit comes into effect in the current block. G700 is equivalent to the calls unitLengthSet(unitLengthInch) and unitVelocitySet(unitLengthInch,unitTimeMinute).

G710 dimensions in millimeters with calculation of the feed

Command

G710

Cancellation

G70, G71 or G700

Like G71, but also applies to the interpretation of velocity. The new unit comes into effect in the current block. G710 is equivalent to the calls unitLengthSet(unitLengthMillimeter) and unitVelocitySet(unitLengthMillimeter,unitTimeMinute).

Example:

The path of the following example is shown in Figure “ExampleG700G710”.

N10 G700 G01 X1 Y1 F100
N20 G71 G01 X50 Y10 F50
N30 G710 G01 X80 Y20 F1000
Inch/metric dimensions (G70, G71, G700, G710) 2:

Figure “ExampleG700G710”.