Instructions

More on the “L” command…
Sherline’s shop foreman Karl Rohlin offers this sample "L" program, which is based on
one we used in our own factory. It uses a standard g81 canned cycle with the "L" added
to the canned cycle. (Note: Again, the letter “L” is capitalized here because the lower
case letter “l” is often confused with the numeral “1”.)
This is a g81 canned cycle that uses an "L" function to drill multiple, evenly spaced
holes. (Drill 5 holes .300 deep 1/4" apart with a canned cycle g81)
%
n1 g90 g00 g40 g49 g80 x0 y0 z0
n5 g01 f50 x0
n10 g91 g81 x.25 y0 z-.3 r-.1 L5
n15 x0 y.25 r0
n20 x-.25 y0 L4
n25 x0 y.25
n30 x.25 y0 L4
n35 g80g90 g00 x0 y0 z0
n40 m2
%
Here is the above code with a description line by line.
%
n1 g90 g00 g40 g49 g80 x0 y0 z0 (Cancels all canned cycles and offsets and moves to
Absolute Zero in the X, Y and Z)
n5 g01 f50 x0 (Moves to x0 at a feed of 50)
n10 g91 g81 x.25 y0 z-.3 r-.1 L5 (Moves in Incremental to x.250, rapids down to z-.1,
Drills to z-.4, rapids back to z-.1, then moves to x.5, x.75, x1.0, and x1.25 and drill to z-.4
at each place.)
n15 x0 y.25 r0 (Moves in incremental to x1.25, y.25, drills one hole to z-.4, and Z
returns to z-.1)
n20 x-.25 y0 L4 (Moves in incremental in the negative direction to x1.0, x.75, x.5, &
x.25 and drills to z-.4 at each place.)
n25 x0 y.25 (Moves in incremental to x.25, y.50, drills one hole to z-.4, and Z returns to
z-.1)
n30 x.25 y0 L4 (Moves in incremental in the positive direction to x.5, x.75, x1.0, &
x1.25 and drills to z-.4 at each place.)
n35 g80g90 g00 x0 y0 z0 (Cancels canned cycle and moves in absolute to x0,y0,and z0,)
n40 m2 (End of program)
%
If you want the program to start drilling at x0 and then move over by ¼" and drill (4)
more holes ending at x1.0, then you will need to change the program as follows:
73