Override (G166)

G166                               Set override to 100%                                                    (non-modal)

The G166 function switches off the external influence on path axis overrides blockwise and suppresses the effect of programmed override values on the path or an axis.

Programing Example

prg_example

Override (G166)

%override_G166_extern

;Assumption: External override 50%

N10 G00 G90 X0 Y0 Z0    ;Rapid traverse 50%

N20 G01 X10 F2000       ;Feed F1000

N30 X20 Y20             ;Feed F1000

N40 G166 Z30            ;Feed F2000, override 100%

N50 X30                 ;Feed F1000

N60 G166 Y30            ;Feed F2000, override 100%

N70 G166 G00 X0 Y0 Z0   ;Rapid traverse 100%

N80 G01 F3000

N90 X10 Y20 Z30         ;Vorschub F1500

M30

MN10 G00

...

o%override_G166_path

;Path override: G01 120%, G00 75%

N10 #OVERRIDE [FEED_FACT=120 RAPID_FACT=75]

override_G166_path

;Path override: G01 120%, G00 75%

N10 #OVERRIDE [FEED_FACT=120 RAPID_FACT=75]

N20 G01 X10 Y10 Z10 F1000   ;Feed F1200

N30 G166 X20 Y20 Z20        ;Feed F1000, override 100%

...

N50 G00 X50                 ;Rapid traverse 75%

N60 G166 Y50 Z50            ;Rapid traverse 100%

...

M30

%override_G166_ax

;Axis override for X: G01 20%, G00 60%

N10 X[OVERRIDE FEED_FACT=20 RAPID_FACT=60]

N20 G00 X10                 ;Rapid traverse in X at 60% override

N30 Y10 Z10                 ;Rapid traverse in Y/Z at 100%

N40 G166 X20                ;Rapid traverse in X at 100% override

N50 G01 X30 F2000           ;Feed in X with F400, 20% override

N60 Y20 Z20                 ;Feed in Y/Z with F2000 (100%)

N70 G166 X40                ;Feed in X with F2000, 100% override

...

M30