Program Examples
28
5.1.1 Example 1 - Cutoff Subprogram
This example shows the preferred programming method with solid stock material, where
the cutoff operation must cut to the centerline. The material is 2" (51mm) diameter solid
stock and the finished part is 1" (25mm) long. The cutoff tool is 0.125" wide. The spindle/tool
clearance is 0.875". The amount of stock to remove from the face is 0.025".
The program uses these Bar Feeder variable values:
Command G105 in MDI mode to load a bar and push it to the initial push length. In this
example, the initial push length includes the 0.875" spindle/tool clearance, the 0.125" width
of the cutoff tool, and a 0.025" facing allowance.
This program starts with a call to the cutoff subprogram. The effect of this is different
depending on whether this is a new bar or if it is the next program loop on a bar:
• If this is a new bar, the cutoff subprogram faces and cleans the bar end at the initial
push length (#3101), and then the Bar Feeder pushes out the part length plus
allowances (#3100).
• When the subprogram call repeats on a bar, the cutoff subprogram cuts off finished
parts and leaves a clean bar end, and then the Bar Feeder pushes out the part length
plus allowances (#3100).
NOTE: When you write a bar feed program with a cutoff routine and then a bar
feed command, or with a bar feed command that includes a Pxxxxx
cutoff subprogram call, it is safest and most consistent to start the
program with the bar feed command. This practice makes sure that a
fresh piece of material, with a faced surface, in a consistent position,
is always available for the rest of the operation.
Variable
Number Description Value
#3100 Part Length + Cutoff Allowance + Facing Allowance 1.150
#3101 Initial Push Length 1.025
#3102 Minimum Clamping Length 1.0
96-8913A.book Page 28 Monday, May 18, 2015 7:55 AM