V13 Broaching
Summary
GibbsCAM v13 adds support for 2 types of broaching operations. Both types of broaching operation are characterized by a non-spinning tool removing material from a non-spinning part. These operations can be done on either a mill or a lathe.
Linear Broaching
A Linear Broaching operation is always Fully Oriented and involves a static tool being forced through stationary material. This is commonly used to cut things like keyways, hex heads, Torx heads, and gear teeth.
Often this involves many passes, each removing a small amount of material.
In many cases, a linear broaching operation will have to orient the tool spindle to a particular angle.
In some cases, a tool or part will have to be oriented multiple times in a given operation, such as machining a hex head with a tool that can only cut one corner at a time, or machining a gear one tooth at a time.
Here is a video of a Haas UMC 750 doing linear keyway broaching. This was programmed in GibbsCAM 13.0.2.
Here is a video of several linear broaching ops on a lathe.
Here is a short video of linear broaching on a Haas mill.
Rotary or Wobble Broaching
A Rotary or Wobble Broaching refers to an operation that spins either the part or the tool but cuts a non-round hole.
In the case of the part spinning (which is common when broaching along centerline on a lathe) the broach holder is allowed to freewheel at a 1 degree offset from the part. Once the tool contacts the part, the tool is driven by the part and spins at the same RPM, such that the broaching tool "wobbles" along the 1 degree offset, which helps the tool bite into the material more effectively. Here is a detailed explanation video of this process from a broaching tool manufacturer. Here is a video of this process on a Haas lathe.
This can also be done with the part locked in place, and tool both being driven and allowed to freewheel, which is common on mills. Typically the tool will spin with the tool spindle, until it contacts the part, at which point it will stop spinning and instead "wobble" due to the 1 degree offset.
Often a slower "Entry RPM" will be used up until the part and tool contact each other, in order to minimize the acceleration or deceleration of the tool when it contacts the part, after which the RPM will increase to the desired cutting RPM. The post will encounter these changes as RPM Events in toolpath if the GibbsCAM operation is programmed using this option.
Additionally, it is very common to program an Entry Feed, which is normally a very slow speed as the part and tool meet, a cutting Feedrate, and a slightly faster Exit Feed. These are all available in GibbsCAM v13 and will be output as Feedrate markers.
MDD changes
Tool C axis

If a machine is going to orient the tool around the tool spindle axis, the MDD will need a C axis added into the tree that the tool spindle is attached to. It is important to note that, although enabling Subpositions for an ATC tool station technically creates a C axis which can orient the tool, none of the Subposition axes can be used for interpolation, meaning that specific subpositions will not be used for tool orientation in broaching.
Orientation of tool C axis

This C axis will need to be set up to have its' center of rotation around the position of the tool spindle, and in the case of a tool B axis or similar, the rotary axis should be modified to match the tool spindle rotation when the machine is in home position. For instance, if the tool faces X- at machine home as on some mill-turns with B-axis head, this should be an A axis.
Post changes
Form settings

- The Broaching box must be checked in order for a post to post a part file with a broaching operation without throwing an exception.
Prog changes
General
- You will need to bind the MDD you have created to your post, so that your new tool C axis shows up in the Axis Info editor.
- The defined behavior for GibbsCAM is to only output the tool axis on a move by itself. Given this, it should be safe to simply set the axis label to whatever the machine requires to orient the tool spindle. For instance, on a Haas M19R can be used as the label for this axis.
- If your machine is not capable of orienting the tool axis freely, you will need to add some prog logic to catch the tool axis output, output the code you need, and then track the axis. For example:
{Tool C in MDD must be 'C1', change this if MDD is different}
IF BroachingOp? AND LinearBroachTool? AND AxisMoved?('C1')
TrackAxis('C1')
IF (AxisValue#('C1') == 0)
' M601'
ELSEIF (AxisValue#('C1') == 180)
' M602'
ELSE
ThrowException('Dont know how to get to Broaching tool angle as programmed')
END
END
Errata
As noted above, posts that support Broaching MUST also use the V13 Spindle Control features. This was a requirement introduced by Development for Broaching.
A dropdown has been added on the Document Control Dialog allowing a GibbsCAM user to select when to re-orient the tool during toolpath. "Orient With Move" will move the tool or table axis with the linear axes. The other 2 options will make separate moves for the rotary and linear axes, which is generally preferred when a special M-code is used to orient the tool C. Note that this option only controls reorientation during toolpath. Approach, retract, and rotary repeats are controlled by the MDD axis orders.

Examples for Specific Machines
Linear Broaching: DMG Mori Seiki NMV 3000 with Fanuc 31iMB5 Control:
- Clip sent from manual...

- C1 Axis Info Settings...

- C1 Axis Movement...

- Prog Code Example:
doC1SpindleOrient:
{2020/02/25 JeffB: Supports tool orientation for linear broaching ops.
Per DMG Fanuc manual:
The angle of shift in relation to the fixed position is set for system
variable #1133. The angle is input in the forward direction as a "plus"
value, using units such that 360 (one rotation) = 4096 units.
Example:
#1133=2048;
M119;
When program above is specified, the spindle stop
position is moved 180-degree from the spindle orientation
position at ATC.
}
AssignLocalNum('C',AxisValue#('C1'))
IF NOT AxisMoveCW?('C1')
{2020/02/26 JeffB: If axis value is negative, get the inverse.}
AssignLocalNum('C',(AxisValue#('C1') + 360))
END
SeqC
OutputValueAsAxis('C1', Round#('###0;0',(GetLocalVar#('C') * (4096 / 360))))
StartComment$ 'Tool Orient: ' Output('##0', AxisValue#('C1')) ' Deg.' EndComment$
EOL
'M119' EOL
TrackAxis('C1')
RETURN
- Example of G-Code Output...
