Home › G-codes › Siemens 808D › POCKET3
POCKET3 Rectangular pocket milling
Siemens 808D G-code · Mill
Roughs or finishes a rectangular pocket with corner radii from its center. Entry is straight down, on a helix or oscillating, set by the VARI tens digit. Blank sizes can be given for pre-cast pockets.
Format
POCKET3(_RTP, _RFP, _SDIS, _DP, _LENG, _WID, _CRAD, _PA, _PO, _STA, _MID, _FAL, _FALD, _FFP1, _FFD, _CDIR, _VARI, _MIDA, _AP1, _AP2, _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 |
_LENG | Pocket length, mm |
_WID | Pocket width, mm |
_CRAD | Corner radius, no sign, mm |
_PA | Pocket center, first axis, absolute, mm |
_PO | Pocket center, second axis, absolute, mm |
_STA | Angle of the long side to the first axis, 0 to under 180 degrees |
_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, 3 oscillate |
_MIDA | Maximum stepover, mm. 0 uses 80 percent of the cutter diameter |
_AP1 | Blank pocket length, no sign, mm |
_AP2 | Blank pocket width, no sign, mm |
_AD | Blank pocket depth from _RFP, no sign, mm |
_RAD1 | Helix radius, or maximum ramp angle when oscillating |
_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 X60 Y40 S3000 M3 ; OVER POCKET CENTER
Z20 ; CLEARANCE
…
M6 ; TOOL CHANGE
G17 G90 G54 G94 G0 X60 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
- POCKET3 has no DPR. _DP is the absolute pocket depth.
- Entry is at the pocket center. Predrill there or use VARI tens 2 or 3 to ramp in.
- A cutter radius over half the length or width gives alarm 61105. A smaller corner radius than the cutter is cut at the cutter radius.
Related codes
POCKET3 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Siemens 840D 828D | Rectangular 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 POCKET3 in the app All Siemens 808D G-codes