Custom Drill Cycles

Custom Drill Cycles

Crazyhorse2011
Explorer Explorer
3,260 Views
9 Replies
Message 1 of 10

Custom Drill Cycles

Crazyhorse2011
Explorer
Explorer

I am new to HSM and was wondering if anyone has attempted to create custom drill cycles.

 

I have made several of them in Mastecam that slow the rpm down, feed into an existing hole, go back to full rpm, and feed to where the previous drill left off. I have a custom G83 and G73 that do this. The "R" point is just below the surface also. This helps out greatly on longer drills. It keeps them from whipping when entering and exiting the hole.

 

I should mention the custom cycles are macro programs that get variables pushed to them from the main program. Here is a sample of the code we currently use:

 

( Subprogram N107 | T1472 | 1/4 X 7" DRILL )
N107
G0 G91 G30 Z0. (Z Axis Return)
G90 X4.18 Y-1.53 (Safe Move)
Z1.
X4.18 Y-1.53
(Custom G83)
G1 Z-.5 F35. S500. (Controlled Entry Into Hole)
S2139 (Full RPM)
Z-2.75 (Drilling Start Point)
F10. (Feed Rate)
G65 P8083 V-2.8 Z-4.0751 F10. R-.5 Q.05
G0 G90 Z-.5
G04 P500 S300.
G1 Z1. F60.
S2139
M99

 

 

Any help on this would be greatly appreciated.

0 Likes
3,261 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable

Pretty sure "guided deep drilling" is just this.

 

I use this often to start a hole at a slower feed with a short drill, once in increase feed, then back out. Bring in longer drill, and repeat.

 

Are you thinking something different?

0 Likes
Message 3 of 10

Crazyhorse2011
Explorer
Explorer

Hello dthuren, thanks for the input.

 

That is similar to what I am looking for except that it uses all linear motion commands(G00 and G01).

 

The custom cycle I wrote allows us to do the same thing but with a chip break or a peck. We drill deep holes on verticals machines.

 

Even though we use high pressure coolant we need to retract the drill to ensure the chips are evacuating.

 

 

0 Likes
Message 4 of 10

Laurens-3DTechDraw
Mentor
Mentor

@Crazyhorse2011 wrote:

Hello dthuren, thanks for the input.

 

That is similar to what I am looking for except that it uses all linear motion commands(G00 and G01).

 

The custom cycle I wrote allows us to do the same thing but with a chip break or a peck. We drill deep holes on verticals machines.

 

Even though we use high pressure coolant we need to retract the drill to ensure the chips are evacuating.

 

 


You know it's usually not a good idea for a very long drill to be pushed back into the hole at high speed? I mean carbide drills are more known from breaking on re-entry than on breaking for the chips not comming out with high pressure coolant.

 

But apart from that you can make the post output anything you want. It's javascript so go nuts.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


Message 5 of 10

Crazyhorse2011
Explorer
Explorer

Laurens, I appreciate the feedback. However, the custom drill cycles I wrote does do a controlled entry at a reduced speed and feed. Once the drill is captured it spins back up to full rpm and proceeds down to the specified depth that the carbide drill left off. From there it begins its "canned" cycle and starts pecking or chip breaking.

 

Mastercam uses its NCI to convert the tool parameter data into code the post can read. They also have a debug mode which makes it helpful for finding issues. It would seem as though the HSM post has some other processes happening behind the scene similar to the NCI but I'm not sure how it works. Mastercam also has a list of parameters you can use to pull information form the toolpath parameters. Is there any such thing with HSM?

 

Thanks!

 

0 Likes
Message 6 of 10

Laurens-3DTechDraw
Mentor
Mentor

Don't think too much about debug(I mean the word might get you on the wrong track here).

Have a read here : https://forums.autodesk.com/t5/post-processors/help-my-post-processor-needs-to-be-edited-now-what/td...

The post.chm and the dump post processor should help you a lot!

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


Message 7 of 10

Crazyhorse2011
Explorer
Explorer

Thanks! That link was super helpful. I have experience in VB and C++ but Java is new territory for me. Looks like I will be learning a new language!

 

Unfortunately I still don't see a way to create custom drill cycles. There is no way that I see to trigger it in the HSM user interface.

 

Here is what I have done in Mastercam...

Custom Cycles.JPG

 

 

 

This is the portion of the post processor that handles the custom cycles...

Custom Cycle in Post.JPG

This is the macro that is stored on the CNC controller...

Custom Cycle Macro.JPG

 

 

0 Likes
Message 8 of 10

Laurens-3DTechDraw
Mentor
Mentor

I think we misunderstood what you meant.

You can't make a custom cycle in the program it's self.

You can make the post processor output anything about the current cycles but adding your own cycle to the software is not yet an option.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


0 Likes
Message 9 of 10

Anonymous
Not applicable

On the other hand, you can "kill" a cycle and use it with a different purpose. The handicap is that you can't change the name of the cycle. In case you need other parameters specific for your cycle you can use tool description fields or operations fileds. Not properly very user friendly since tou need to document the procedure but it will do the trick.

0 Likes
Message 10 of 10

Laurens-3DTechDraw
Mentor
Mentor

If more people would like to do this please vote for this idea: https://forums.autodesk.com/t5/ideastation-request-a-feature-or/create-your-own-manual-nc-options/id...

Ofcourse you could also make your own drilling cycle in there. Or make fields for the cycle you program after that.

(I know custom cycles would be even nicer but I don't think that's going to happen.)

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


0 Likes