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

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

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

engineguy
in reply to: HAMMENG

@HAMMENG 

 

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

daniel_lyall
in reply to: HAMMENG

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

HAMMENG
in reply to: daniel_lyall

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

billcainautodesk
in reply to: HAMMENG

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
HAMMENG
in reply to: engineguy

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

HAMMENG
in reply to: billcainautodesk

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

billcainautodesk
in reply to: HAMMENG

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
programming2C78B
in reply to: HAMMENG

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!
daniel_lyall
in reply to: HAMMENG

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

HAMMENG
in reply to: billcainautodesk

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