Home › G-codes › Siemens 840D 828D › POCKET4
POCKET4 Circular pocket milling
Siemens 840D 828D G-code · Mill
Mills a round pocket with roughing and finishing in one cycle. Radius, center, infeed and allowances 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
POCKET4(RTP, RFP, SDIS, DP, PRAD, PA, PO, MID, FAL, FALD, FFP1, FFD, CDIR, VARI ...)
Addresses
| Address | What it does |
|---|---|
RTP RFP SDIS DP | Retract plane, reference plane, safety distance and pocket depth |
PRAD | Pocket radius |
PA PO | Pocket center in the first and second axis |
MID | Maximum infeed depth |
FAL FALD | Finish allowance on the wall and the floor |
FFP1 FFD | Feed in the plane and feed for the infeed |
CDIR | Milling direction |
VARI | Machining type, roughing or finishing |
How it works
Non modal.
Example program
T2 D1 ; 10 MM END MILL
M6
G0 X0 Y0 S3000 M3
Z50
…
M6
G0 X0 Y0 S3000 M3
Z50
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The cutter diameter must be smaller than the pocket diameter, with room for the ramp or helix.
- Build the call from the pocket input screen. Parameters after VARI differ between versions.
Related codes
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 POCKET4 in the app All Siemens 840D 828D G-codes