System information

SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES)
The starting point is stored in the following parameter.
121 for X axis
122 for Y axis
123 for Z axis
To create a female part the starting angle must be between greater than 180° and less than 360°.
For female parts that start at 0° use -.0001° or 359.9999°. For female parts that start at 180° use
180.00001° or -179.9999°.
Z can change in the geometry as well.
Example: P120=9 YZ plane
P127=1 start radius
P128=-.0001 start angle, female part
P129=180 end angle
P130=.1 pass width
P145=10 Z feedrate
F15 sweep feedrate
P121=0 P122=0 P123=0 start point
P140=.1 R plane
M94 3D sweep on
X3 Z-1 Ramp down to Z-1, X0 to X3
M93 3D sweep off
Creates a ramp on trough that drops from Z0 to Z-1.
Notes on 3D Sweep off/on
Note 1: 3D sweep assumes a ball-nose tool is being used.
Note 2: 3D sweep will not work with round corner or chamfering.
Note 3: Cutter compensation can be used by setting parameter #167 to 1. It works in the XZ
or YZ plane only.
Tapered Walls (M95)
M95 can be used for tapering walls in pockets or on islands. This command takes wall angle,
first depth, final depth, and the Z increment as parameters. The M95 must be within a while-
wend loop. The tool radius and parameter #160 (the current Z depth) are modified based on the
above parameters. The M95 sets parameter 162 to 2 when the cycle is completed. Cutter
compensation must be on to use the tapered wall feature.
The M95 assumes that a ball-nosed tool is used. Tapered walls also uses an offset round/tapered
walls parameter to determine the location of the first cut.
308