Override (G166)
Syntax: | ||
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
Override (G166)
%override_G166_extern
;Assuming: 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 ;Feed 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 with override 60%
N30 Y10 Z10 ;Rapid traverse in Y/Z with 100%
N40 G166 X20 Rapid traverse in X with override 100%
N50 G01 X30 F2000 ;Feed in X with F400, override 20%
N60 Y20 Z20 ;Rapid traverse in Y/Z with F2000 (100%)
N70 G166 X40 ;Feed in X with F2000, override 100%
...
M30