CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G107

G107 Cylindrical mapping

Haas NGC G-code · Mill, Lathe

On mills: Cylindrical mapping

Wraps a flat XY program around a cylinder on a rotary axis, so linear moves turn into rotary moves. Needs a 4th axis.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

G107 [A B] Q R

Addresses

AddressWhat it does
A or BRotary axis used for the mapping
QDiameter of the cylinder surface
RRadius of the cylinder surface

How it works

Modal. Cancel with G107 alone.

Example program

G107 A0. Q2. (MAP ONTO A 2 INCH DIA CYLINDER)
G01 Y1.5 F10. (Y MOVE BECOMES A ROTATION)
G107 (MAPPING OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Cylindrical mapping

Wraps Y axis motion onto the C axis so you can mill a flat pattern around a diameter with a radial live tool. Use G19 plane.

Format

G107 [Y] [C] R or Q

Addresses

AddressWhat it does
YY axis command
CC axis command
RRadius of the mapping cylinder
QDiameter of the cylinder

How it works

Group 00. G107 alone turns it off.

Example program

T1717 (RADIAL END MILL, LIVE)
M133 P500 (LIVE TOOL FORWARD 500 RPM)
G98 G19 (FEED PER MINUTE, YZ PLANE)
G107 C0 R2. (MAP ON 2.0 RADIUS)
…

The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G19 · G112

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 G107 in the app All Haas NGC G-codes

App Store Google Play