Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

using a coolant selection to post an M0 for manual tap coolant?

HAMMENG
Advocate

using a coolant selection to post an M0 for manual tap coolant?

HAMMENG
Advocate
Advocate

Hey guys, 

 

I'm trying to find a way to have my post output an M0 before running a tap cycle with a form tap in 316. I know I could edit the post to make it run an M0 for every tapping cycle, but cut taps work fine with the machine coolant in a lot of materials.

 

I tried editing  {id: COOLANT_SUCTION, on: 0}, but that gives me an error (i can make that number something else, 10 for example, and it's happy)

 

I don't use suction coolant for anything, so would like to be able to just chose that and have that throw an M0 before the tapping starts. 

 

Any tips?

 

Cheers,

Trav

0 Likes
Reply
364 Views
10 Replies
Replies (10)

engineguy
Mentor
Mentor

@HAMMENG 

 

Could you not just use a Manual NC "Pass Through" to generate the M0 as and when required for a specific operation ??

0 Likes

daniel_lyall
Mentor
Mentor

https://cam.autodesk.com/hsmposts You can find the post prossesor manual here.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes

HAMMENG
Advocate
Advocate

Thanks mate. I've modified a bunch of posts, so the general how to of it all isn't what I need. Thanks anyway

0 Likes

billcainautodesk
Autodesk
Autodesk

Hello travis

 

Where did you want the M0 to be output? I would also think a Property would be able to trigger it. Along with checking if it's tapping. Or maybe just put it right before the tapping cycle.

 

This is the code to know if it's tapping.

 

tapping = section.hasParameter("operation:cycleType") &&
((section.getParameter("operation:cycleType") == "tapping") ||
(section.getParameter("operation:cycleType") == "right-tapping") ||
(section.getParameter("operation:cycleType") == "left-tapping") ||
(section.getParameter("operation:cycleType") == "tapping-with-chip-breaking"));



Bill Cain
Sr. Technical Consultant
0 Likes

HAMMENG
Advocate
Advocate

I could, but that would place the m0 before the tool change, which would kind of work, but would also give the chance of the tool change blowing my tattoo coolant out of the holes (tool before the tap is generally a through coolant drill and the machine does an air blast when changing tools, which pukes a bunch of coolant at high pressure straight out of the tool)

 

I would prefer the m0 to be just after the tool change

0 Likes

HAMMENG
Advocate
Advocate

Just after the tool change would be ideal. 

 

I've been able to make it throw an m0 just before the taping starts (after it moves to z15 or whatever the clearance plane is) but I would prefer if it could do it with the tool a bit further away to let me apply the tap goop more easily

0 Likes

billcainautodesk
Autodesk
Autodesk

Hello travis

 

Using the logic to know it's tapping (might already be in the post) and a post property will allow you to put the M0 anywhere you want. If you want to share your post I can be more specific.

 



Bill Cain
Sr. Technical Consultant
0 Likes

programming2C78B
Advisor
Advisor

I use this as a passthrough, and have it saved as a template. It also brings the part to your door. Just add before your first tap cycle

M5

G00 G90 G53 Z0.

G00 G90 G53 Y0.

M00

(FLUID)

;

;

 

The issue with making it m00 will be very annoying if you ever have to peck tap, or do multiple threads in one part.

Please click "Accept Solution" if what I wrote solved your issue!
0 Likes

daniel_lyall
Mentor
Mentor

Have you tryed M0 try doing it with an if else


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes

HAMMENG
Advocate
Advocate

yeah right... here's my post (a slightly modified stock siemens 840 post)


0 Likes