CNC Machinist Calculator Ultra

Home › G-codes › Siemens 840D 828D › POCKET3

POCKET3 Rectangular pocket milling

Siemens 840D 828D G-code · Mill

Mills a rectangular pocket from the center with roughing and finishing in one cycle. Size, corner radius, position, angle and infeed are set in the call.

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

Format

POCKET3(RTP, RFP, SDIS, DP, LENG, WID, CRAD, PA, PO, STA, MID, FAL, FALD, FFP1, FFD, CDIR, VARI ...)

Addresses

AddressWhat it does
RTP RFP SDIS DPRetract plane, reference plane, safety distance and pocket depth
LENG WIDPocket length and width
CRADCorner radius
PA POPocket reference point in the first and second axis
STAAngle of the pocket
MIDMaximum infeed depth
FAL FALDFinish allowance on the wall and the floor
FFP1 FFDFeed in the plane and feed for the infeed
CDIRMilling direction
VARIMachining type, roughing or finishing

How it works

Non modal.

Example program

T2 D1 ; 10 MM END MILL
M6
G0 X0 Y0 S3000 M3 ; CLEAR POSITION
Z50
…

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

Watch out for

Related codes

POCKET4 · SLOT1

Every G-code for Siemens 840D 828D 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 POCKET3 in the app All Siemens 840D 828D G-codes

App Store Google Play