Home › G-codes › Siemens 808D › POCKET4
POCKET4 Circular pocket milling
Siemens 808D G-code · Mill
Roughs or finishes a round pocket from its center. Entry is straight down or on a helix, set by the VARI tens digit. A blank radius and depth can be given for pre-cast pockets.
Format
POCKET4(_RTP, _RFP, _SDIS, _DP, _PRAD, _PA, _PO, _MID, _FAL, _FALD, _FFP1, _FFD, _CDIR, _VARI, _MIDA, _AP1, _AD, _RAD1, _DP1)
Addresses
| Address | What it does |
|---|---|
_RTP | Retraction plane, absolute, mm |
_RFP | Reference plane, absolute, mm, usually the part top |
_SDIS | Safety clearance above _RFP, no sign, mm |
_DP | Pocket depth, absolute, mm |
_PRAD | Pocket radius, mm |
_PA | Pocket center, first axis, absolute, mm |
_PO | Pocket center, second axis, absolute, mm |
_MID | Maximum depth per pass, no sign, mm. 0 is one pass |
_FAL | Finish allowance on the wall, no sign, mm |
_FALD | Finish allowance on the floor, no sign, mm |
_FFP1 | Feed in the plane |
_FFD | Feed for plunging |
_CDIR | 0 climb, 1 conventional, 2 with G2, 3 with G3 |
_VARI | Units 1 rough, 2 finish. Tens 0 plunge G0, 1 plunge G1, 2 helix |
_MIDA | Maximum stepover, mm. 0 uses 80 percent of the cutter diameter |
_AP1 | Blank pocket radius, no sign, mm |
_AD | Blank pocket depth from _RFP, no sign, mm |
_RAD1 | Helix radius for entry, mm |
_DP1 | Depth per helix turn, mm |
How it works
Non modal. It runs once where it is called.
Example program
T2 D1 ; 10 MM END MILL
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X50 Y40 S3000 M3 ; OVER POCKET CENTER
Z20 ; CLEARANCE
…
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X50 Y40 S3000 M3 ; OVER POCKET CENTER
Z20 ; CLEARANCE
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- _PRAD is a radius. A 50 mm pocket is _PRAD 25. A pocket radius under the cutter radius gives alarm 61105.
- POCKET4 has no DPR and no oscillating entry. Predrill the center or use VARI tens 2 for a helix.
Related codes
POCKET4 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Siemens 840D 828D | Circular pocket milling |
Every G-code for Siemens 808D 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 808D G-codes