Internal hex broaching with C-axis

A place to discuss and ask questions about all things Machining for Mills, Lathes, Laser, and Routers

Moderator: cnckeith

Post Reply
suntravel
Posts: 1980
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Internal hex broaching with C-axis

Post by suntravel »

Not the fastest way to broach, but it worked with tools I have in stock :D



Uwe
Attachments
20231228_124141.jpg
Nigelo
Posts: 370
Joined: Tue Dec 11, 2018 4:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Internal hex broaching with C-axis

Post by Nigelo »

Very interesting Uwe.

Any chance you could post the broaching code?

Tia
Hope this helps
Nigel

"You can lead a horse to water but you cannot force it to drink"
suntravel
Posts: 1980
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Internal hex broaching with C-axis

Post by suntravel »

Nigelo wrote: Thu Dec 28, 2023 8:54 pm Very interesting Uwe.

Any chance you could post the broaching code?

Tia
sure

Code: Select all

; Description: Groove broaching or milling for ID and OD
; Programmer: Uwe
; Reqiuers Custom Macros and C-Axis / Starts from Z2
; Date: 05-07-2022
; --- Header ---
  G21 ; millimeter units - Change to G20 for imperial units
  G40 ; Cutter Comp Off 
  G28 ; Tool change position 
  G98 ; Feed units/min
  M51 ; C-Axis on
; --- Parameter ---
; === User Input START ==== 
; Start Diameter
#101 = 8
; End Diameter
#102 = 10
; Depth Z
#103 = -15 
; Depth of cut
#105 = 0.1
; Feed units/min
#107 = 10000
; Retract ammount
#108 = 0.1
; Number of grooves
#110 = 6
; Select Tool
G28 T0909
;=== User Input END ====
;=== Do not modify  ====
;Calculate ID or OD
IF #101 > #102 THEN #105 = [#105 * -1]
IF #101 < #102 THEN #108 = [#108 * -1]
;Calculate C Deg
#111 = [360/#110]
#115 = [360/#110]
#112 = 1
; Tool and C-Axis on
N100

;M67 ;Turn Live Tooling On
;G4 P0.5
M7 ;Turn Mist Cooling On 
; === Cutting ===
N200
#106 = [#101+#105]
G0 Z2 X[#101] 
G1 Z[#103] F#107
G0 X [#101+#108]
G0 Z2 
G0 X[#106] 
G1 Z[#103] F#107
G0 X [#106+#108]
G0 Z2  
N300
;Calculate ID or OD
IF #101 > #102 THEN GOTO 330 ELSE GOTO 320 
N320
IF [#106<=[#102-#105]] THEN GOTO 400 ELSE GOTO 500
N330
IF [#106>=[#102-#105]] THEN GOTO 400 ELSE GOTO 500
N400
#106=#106+#105
G0 X[#106]
G1 Z[#103] F#107
G0 X [#106+#108]
G0 Z2
GOTO 300
N500
IF #110 == 1 THEN GOTO 1000 ELSE GOTO 600
N600
#112 = [1+#112]
IF #50001
;M200 "C=%f 112 = %f"#111#112
G0 C[#111]
#111 = [#115 * #112]
IF #50001
IF #112 == [1+#110] THEN GOTO 700 ELSE GOTO 200
N700
; --- End of Program ---
N1000 
  G28 
; M87 ; Turn Off Live Tooling
  M50 ;C-Axis off
  M9
  M99 ; for use as subprogram
; End of Program
Black Forest
Posts: 346
Joined: Thu Nov 23, 2017 1:39 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Internal hex broaching with C-axis

Post by Black Forest »

Really interesting video. As my friend Yoda used to say, " The force is strong in Uwe" 8-)
Nigelo
Posts: 370
Joined: Tue Dec 11, 2018 4:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Internal hex broaching with C-axis

Post by Nigelo »

Many thanks Uwe
Hope this helps
Nigel

"You can lead a horse to water but you cannot force it to drink"
cnckeith
Posts: 7334
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Internal hex broaching with C-axis

Post by cnckeith »

nice! 8-) thanks for posting the video.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
suntravel
Posts: 1980
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Internal hex broaching with C-axis

Post by suntravel »

Final part was made from 1.4571 stainless steel to adapt a silencer to a DIY 308 Rifle.

It did not reduce the long range precision :D

Uwe
Attachments
unnamed.jpg
Post Reply