* indicates optional
The G150 starts by positioning the cutter to a start point inside the pocket, followed by the outline, and completes with a finish cut. The end mill will plunge in the Z-Axis. A subprogram P### is called, which defines the pocket geometry of a closed area using G01, G02, and G03 motions in the X and Y axes on the pocket. The G150 command will search for an internal subprogram with a N-number specified by the P-code. If that is not found the control will search for an external subprogram. If neither are found, alarm 314 Subprogram Not In Memory will be generated.
|When defining the G150 pocket geometry in the subprogram, do not move back to the starting hole after the pocket shape is closed.|
|The pocket geometry subprogram cannot use macro variables.|
An I or J value defines the roughing pass amount the cutter moves over for each cut increment. If I is used, the pocket is roughed out from a series of increment cuts in the X-Axis. If J is used, the increment cuts are in the Y-Axis.
The K command defines a finish pass amount on the pocket. If a K value is specified, a finish pass is performed by K amount, around the inside of pocket geometry for the last pass and is done at the final Z depth. There is no finishing pass command for the Z depth.
The R value needs to be specified, even if it is zero ( R0), or the last R value that was specified will be used.
Multiple passes in the pocket area are done, starting from the R plane, with each Q (Z-Axis depth) pass to the final depth. The G150 command will first make a pass around pocket geometry, leaving stock with K, then doing passes of I or J roughing out inside of pocket after feeding down by the value in Q until the Z depth is reached.
The Q command must be in the G150 line, even if only one pass to the Z depth is desired. The Q command starts from the R plane.
Notes: The subprogram (P) must not consist of more than 40 pocket geometry moves.
It may be necessary to drill a starting point, for the G150 cutter, to the final depth (Z). Then position the end mill to the start location in the XY axes within the pocket for the G150 command.G150 General Pocket Milling:  Start Point, [Z] Final depth.
Square PocketG150 General Purpose Pocket Milling: 0.500 diameter endmill.
5.0 x 5.0 x 0.500 DP. Square Pocket
Absolute and Incremental examples of a subprogram called up by the P#### command in the G150 line:
Square IslandG150 Pocket Milling Square Island: 0.500 diameter endmill.
5.0 x 5.0 x 0.500 DP. Square Pocket with Square Island
Round IslandG150 Pocket Milling Round Island: 0.500 diameter endmill.
5.0 x 5.0 x 0.500 DP. Square Pocket with Round Island