Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Edit Post to output correct thru spindle coolant codes.


Recommended Posts

I'm using thru the spindle coolant for the first time on our Haas UMC-750 machine. The M88 code turns the thru the spindle coolant on and the M89 code turns it off.  I am currently using X8 with a post I updated from X6. When I go to my coolant parameters page and select the drop down arrow for thru-tool the options are ignore, M08, and M09.  These are the same options that come up under the flood coolant drop down arrow. I also searched my post for M88 and M89 but nothing comes up.  I was hoping there was a way to make these codes available in the post and also have them show up on the drop down menu on the coolant parameters page.

 

Any help is appreciated.

  • Like 1
Link to comment
Share on other sites

You'll have to go into your post and search for the "X Style Coolant" block, and in there define the coolant codes your specific machine uses. For example, this is how I modified mine for an Okuma MA400:

 

# Coolant output code selection for X style coolant
# Note: To enable X style coolant, click on the General Machine Parameters icon
#   in the Machine Definition Manager, Coolant tab, disable first check box
#   Output of X style coolant commands in this post is controlled by pcan, pcan1, & pcan2
scool50 : "/M8"                 #Coolant 1 on value
scool51 : "M9"                  #Coolant 1 off value
scool52 : "/M50"               #Coolant 2 on value
scool53 : "M9"                  #Coolant 2 off value
scool54 : "/M50"               #Coolant 3 on value
scool55 : "M9"                  #Coolant 3 off value
scool56 : "/M339"             #Coolant 4 on value
scool57 : "M9"                  #Coolant 4 off value

 

After you do that, you can go into your coolant parameter page and define the label for each one, i.e. I have coolant 4 as "THROUGH SPINDLE AIR BLOW" and my options are /M339 for on and M9 for off.

Link to comment
Share on other sites

Cathedral,

 

I have correct coolant codes working now.  The reason I was getting an M09 instead of M89 is because I had the box checked that said "first coolant off command shuts off all coolant options."  Now the problem I am having is the post is turning on the coolant in the wrong place.  Haas recommends the  thru spindle coolant be turned on before the spindle starts but it has to be after the tool change.  Here's an example of the code.

 

 

 

N130 T29 M06N140 G00 G17 G90 G54N150 S5000 M03N160 M11 (C-AXIS UNLOCK)N170 M13 (B-AXIS UNLOCK)N180 B90. C-90.N190 M10 (C-AXIS LOCK)N200 M12 (B-AXIS LOCK)N210 X-10.2564 Y.21N220 G43 H29 Z2.5N230 M08 {------------------------THIS CODE IS OK HERE FOR REGULAR COOLANTN240 Z.7863N250 G94 G01 Z-.58 F30.N260 Y-2.31N270 G03 X-10.1814 Y-2.385 I.075 J0.N280 G01 X-10.03N290 G00 Z2.5N770 M09N780 M05N790 G53 Z0.N800 G53 X-30. Y0.N810 M01M88   {------------------------"COOLANT BEFORE" TURNS ON TPC COOLANT HERE.(1.062 COUNTERBORE)(T22    - 1.062 DIAMERTER COUNTERBORE - H22    - D22    - DIA 1.18")N820 T22 M06M88  {--------------------------------- I NEED THE TSP COOLANT TURNED ON HERE.N830 G00 G17 G90 G54N840 S500 M03N850 M11 (C-AXIS UNLOCK)N860 M13 (B-AXIS UNLOCK)N870 B90. C0.N880 M10 (C-AXIS LOCK)N890 M12 (B-AXIS LOCK)N900 X-11.01 Y.025 M88  {----------------------"COOLANT WITH" TURNS ON TPC COOLANT HERE.N910 G43 H22 Z5.5N920 G94N930 G98 G83 Z-3.745 R-2.93 Q.05 F1.2N940 G80N950 M89N960 M05N970 G53 Z0.N980 G53 X-30. Y0.N990 M11 (C-AXIS UNLOCK)N1000 M13 (B-AXIS UNLOCK)N1010 B0. C0.N1020 M10 (C-AXIS LOCK)N1030 M12 (B-AXIS LOCK)N1040 M30

Any help is appreciated.

  • Like 1
Link to comment
Share on other sites

You're going to have to move some things around in your post to get the correct output location. Are you experienced/ comfortable with editing your post? It should be an easy fix, but unfortunately I only have experience with Okuma and Fanuc posts--the postblocks in my posts are probably different from yours. Are you using a default post that came with mastercam or one that you bought from a third party?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...