At CNC Broach Tools, we provide solutions for CNC keyway and spline broaching. Many machinists running Okuma CNC mills ask about broaching program templates, so we’ve created a Okuma mill broaching program template as a foundation to work from.
Important Notes on Okuma Programming
Okuma updates its controls frequently, and programming options vary depending on which features were purchased with the machine.
Machine tool builders may add or modify M-codes, which means your program may require adjustments.
Because of these variations, no single template can be guaranteed to work in all situations.
Our team at CNC Broach Tools has decades of CNC machining and programming experience. While we do not provide custom programs, we can help review programs and provide guidance if needed.
For a reliable, automated solution, we recommend using our Keyway Broach Program Generator, which builds G-code specifically for keyways:
👉 CNC Keyway Broach G-Code Program Generator
For spline cutting, see our reference examples here:
👉 Broaching Involute Splines on CNC Lathes and Mills
Okuma Mill Broaching Downloads
These templates are available for reference:
⚠️ Please note: These are guides only and must be adapted to your specific machine, purchased options, and tooling.

Okuma Mill Broaching: Blind Keyways
When cutting a blind keyway on a mill, chip evacuation is a major concern:
- Gravity does not assist chip removal in vertical broaching.
- Material can pack into the relief area and cause crashes.
- A cross-hole relief is highly recommended, since coolant can flush chips out from both sides.
- A vertical groove relief can trap chips, increasing the risk of failure.
👉 For more details, see our guide: Blind Keyway Broaching.
Common Programming Considerations
- Okuma machines often require specific M-codes for feed moves with the spindle stopped.
- Some machines support spindle orientation with additional commands, while others may require purchased options.
- Variations across Okuma controls and machine builders make it essential to verify your setup before running a program.
Our Keys to Programming CNC Broach Tools guide (included with the templates) provides additional strategies for adapting these templates.
Disclaimer
This CNC Broach Tools program template is for informational and reference purposes only. It is provided without guarantees or warranty. CNC Broach Tool LLC makes no warranties of any kind, either express or implied. Use of this programming template is solely at the user’s own risk.