0 votes
40 views
in cnc programming by (9.4k points)

In this article, we describe how to use Siemens POCKET2 code on CNC machines with all details and examples.

The cycle is a combined roughing-finishing cycle.
Use this cycle to machine circular pockets in the machining plane.

NOTICE :

The cycle requires a milling cutter with an “end tooth cutting across center” (DIN844).

Note :

The pocket milling cycle POCKET4 can be performed with any tool.

Format

POCKET2 (RTP, RFP, SDIS, DP, DPR, PRAD, CPA, CPO, FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF)

RTP = Retraction plane (absolute)
RFP = Reference plane (absolute)
SDIS = Safety clearance (enter without sign)
DP = Pocket depth (absolute)
DPR = Pocket depth relative to the reference plane (enter without sign)
PRAD = Pocket radius (enter without sign)
CPA = Pocket center point, abscissa (absolute)
CPO = Pocket center point, ordinate (absolute)
FFD = Feedrate for depth infeed
FFP1 = Feedrate for surface machining
MID = Maximum infeed depth for one infeed (enter without sign)
CDIR = Mill direction for machining the pocket ( Values: 2: (for G2); 3: (for G3) )

FAL = Finishing allowance at the pocket edge (enter without sign)
VARI = Machining type ( Values: 0: Complete machining; 1: Roughing; 2: Finishing )
MIDF = Maximum infeed depth for finishing
FFP2 = Feedrate for finishing
SSF = Speed when finishing

Example

With this program, you can make a circular pocket in the YZ plane (G19). The center point is determined by Y50 Z50. The infeed axis for the depth infeed is the X axis, the pocket depth is entered as an absolute value. Neither finishing dimension nor safety clearance is specified.

Siemens CNC Milling POCKET2 Program Example

DEF REAL RTP=3, RFP=0, DP=-20, PRAD=25, FFD=100, FFP1, MID=6 ; Definition of variables with value assignments
N10 FFP1=FFD*2 ;
N20 G19 G90 G0 S650 M3 ; Specification of technology values
N25 T10 D1 ;
N27 M6 ;
N30 Y50 Z50 ; Approach start position
N40 POCKET2 (RTP, RFP, , DP, , PRAD, 50, 50, FFD, FFP1, MID, 3, ) ; Cycle call; Parameters FAL, VARI, MIDF, FFP2, ;SSF are omitted
N50 M30 ; Program end
DEF REAL RTP=3, RFP=0, DP=-20, PRAD=25, FFD=100, FFP1, MID=6 ; Definition of variables with value assignments

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...