CNC Machinist Calculator Ultra

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

AddressWhat it does
X Y Z A BEnd point
ERapid 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)

Example is in inch. Check offsets and clearances first.

Watch out for

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

AddressWhat it does
ERapid rate in percent
PAxis number, P1 is X, P2 is Y, P3 is Z
ITarget 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)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G00 · G105

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

App Store Google Play