CNC Machinist Calculator Ultra

Home › G-codes › Fagor 8055 8065 › G87

G87 Rectangular pocket canned cycle / Face threading cycle (lathe)

Fagor 8055 8065 G-code · Mill, Lathe

On mills: Rectangular pocket canned cycle

Mills a rectangular pocket centered on X Y. J and K are half the width and length. B is the depth step, C the side step, L finishing stock, H finishing feed, V plunge feed.

Format

G87 G98 X Y Z I J K B [C] [D] [H] [L] [V]

Addresses

AddressWhat it does
ZReference plane
IPocket depth
JHalf width along abscissa, sign sets direction
KHalf width along ordinate
BDepth step
CSide step
DReference plane to surface distance
H LFinishing feed and finishing stock
VPlunge feed

How it works

Modal canned cycle. Cancel with G80.

Example program

T1 D1 M06 (END MILL 0.5)
G0 G90 X0 Y0 Z1.0 S3000 M03 (START)
G87 G98 X2.0 Y1.5 Z0.1 I-0.5 J1.0 K0.5 B0.15 C0.2 D0.05 H15.0 L0.01 V5.0 F20.0 (2 BY 1 POCKET 0.5 DEEP)
G80 (CANCEL CYCLE)
…

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

Watch out for

On lathes: Face threading cycle (lathe)

Cuts a thread on the face along X in several passes, with the same parameters as G86.

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

Format

G87 X Z Q R I B [E] [D] [L] C [J] [A]

Addresses

AddressWhat it does
X ZThread start point
Q RThread end point
IThread depth
BFirst pass depth
CThread pitch
AInfeed angle

How it works

Not modal.

Example program

T3 D3 (THREADING TOOL)
G97 S300 M03 (RPM MODE)
G87 X2.0 Z0 Q1.0 R0 I-0.03 B0.008 D0.04 C0.05 (FACE THREAD)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G88 · G80 · G73 · G86

G87 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucBack boring cycle
Haas NGCBoring cycle, stop and manual retract
Mazak (EIA)Side drilling cycle, live tool
Okuma OSPBack boring cycle
Mitsubishi M70 M80Back boring cycle
Brother SpeedioBack boring cycle
LinuxCNC TormachBack boring cycle, not implemented
Mach3 Mach4Back boring
Hurco WinMax (NC)Back bore (ISNC) or chip breaker (BNC)
FadalBore in and out, Fadal G87
Swiss (Citizen Star)Side drilling cycle

Every G-code for Fagor 8055 8065 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 G87 in the app All Fagor 8055 8065 G-codes

App Store Google Play