Home › G-codes › Haas NGC › G266
G266 Visible axes linear rapid percent motion / Single axis linear rapid at a percent
Haas NGC G-code · Mill, Lathe
On mills: Visible axes linear rapid percent motion
A straight line rapid move on the named axes at a percent of rapid rate.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G266 X Y Z [A B] E
Addresses
| Address | What it does |
|---|---|
X Y Z A B | End point |
E | Rapid rate as a percent |
How it works
Non-modal, group 00.
Example program
G90 G54 (ABSOLUTE, WORK OFFSET)
G266 X2. Y2. Z1. E50 (STRAIGHT LINE RAPID AT 50 PERCENT)
G01 Z.1 F30. (FEED IN)
G266 X2. Y2. Z1. E50 (STRAIGHT LINE RAPID AT 50 PERCENT)
G01 Z.1 F30. (FEED IN)
Example is in inch. Check offsets and clearances first.
Watch out for
- Use it where a normal rapid path is not safe enough. Watch the path with a low rapid override first.
On lathes: Single axis linear rapid at a percent
Rapids one axis to a machine position at a set percent of rapid. P picks the axis by number. Also used to move the bar feeder push rod as a bar stop.
Format
G266 E P I
Addresses
| Address | What it does |
|---|---|
E | Rapid rate in percent |
P | Axis number, P1 is X, P2 is Y, P3 is Z |
I | Target in machine coordinates |
How it works
Group 00.
Example program
G266 E10. P1 I-1. (RAPID X AT 10 PERCENT TO MACHINE X-1.)
G266 E10. P13 I-10. (BAR FEEDER AXIS 13 TO MACHINE -10.)
G00 G53 X0 (NORMAL RAPID HOME)
G266 E10. P13 I-10. (BAR FEEDER AXIS 13 TO MACHINE -10.)
G00 G53 X0 (NORMAL RAPID HOME)
Example is in inch. Check offsets and clearances first.
Watch out for
- I is a machine position, not a work position.
- Retract the bar feeder push rod before machining when it is used as a stop.
Related codes
Every G-code for Haas NGC in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G266 in the app All Haas NGC G-codes