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:

multiple coolant command - I need to update my post....


YO
 Share

Recommended Posts

Hi,

 

I'm trying to get my post to output both M51 and M07 for a few tools. For now, I changed my post so that it outputs M51 (air blast) when I turn "mist" on. I also want it to output an M07 when I turn mist on. It would be nice to output an M09 along with my M52 (air blast off)

Here's the coolant block from my post (MP master modified for a Takumi VMC)

 

# Coolant M code selection

sm09 M09 #Coolant Off (Use sm09_0 through sm09_2)

sm08 M08 #Coolant Flood

sm08_1 M51 #Coolant Mist

sm08_2 M08 #Coolant Tool

sm09_0 M09 #Coolant Flood Off

sm09_1 M52 #Coolant Mist Off

sm09_2 M09 #Coolant Tool Off

scoolant #Target for string

Link to comment
Share on other sites

look Here to customize something special.

 

code:

# --------------------------------------------------------------------------

# 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

# This string select is setup using the "Coolant Commands" tab in the "General Machine Parameters"

scool50 #Coolant 1 on value

scool51 #Coolant 1 off value

scool52 #Coolant 2 on value

scool53 #Coolant 2 off value

scool54 #Coolant 3 on value

scool55 #Coolant 3 off value

scool56 #Coolant 4 on value

scool57 #Coolant 4 off value

scool58 #Coolant 5 on value

scool59 #Coolant 5 off value

scool60 #Coolant 6 on value

scool61 #Coolant 6 off value

scool62 #Coolant 7 on value

scool63 #Coolant 7 off value

scool64 #Coolant 8 on value

scool65 #Coolant 8 off value

scool66 #Coolant 9 on value

scool67 #Coolant 9 off value

scool68 #Coolant 10 on value

scool69 #Coolant 10 off value

scoolantx #Target for string

 

fstrsel scool50 coolantx scoolantx 20 -1

# --------------------------------------------------------------------------

#X coolant has the option - First coolant off command shuts off ALL coolant options

sall_cool_off "M1" #Coolant off command output with all_cool_off

HTH if not you are going to have to change it were you are by adding 2 codes on one line.

 

Like so:

code:

sm09_1 M52M9 #Coolant Mist Off  

Link to comment
Share on other sites

OK..

I tried the "x style" coolant commands and got frustrated. I have to modify something in my post to get these coolant options to work. I don't know what to modify in the post.

 

I tried the easy way - two M codes on one line. The machine ignores M51 every time.

Link to comment
Share on other sites

code:

  

fstrsel sm09 coolant$ scoolant 4 -1

# --------------------------------------------------------------------------

# 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 M7 #Coolant 2 on value

scool53 M9 #Coolant 2 off value

scool54 M51 #Coolant 3 on value

scool55 M09 #Coolant 3 off value

scool56 M8(Coolant4=ON) #Coolant 4 on value

scool57 M9(Coolant4=OFF) #Coolant 4 off value

scool58 M8(Coolant5=ON) #Coolant 5 on value

scool59 M9(Coolant5=OFF) #Coolant 5 off value

scool60 M8(Coolant6=ON) #Coolant 6 on value

scool61 M9(Coolant6=OFF) #Coolant 6 off value

scool62 M8(Coolant7=ON) #Coolant 7 on value

scool63 M9(Coolant7=OFF) #Coolant 7 off value

scool64 M8(Coolant8=ON) #Coolant 8 on value

scool65 M9(Coolant8=OFF) #Coolant 8 off value

scool66 M8(Coolant9=ON) #Coolant 9 on value

scool67 M9(Coolant9=OFF) #Coolant 9 off value

scool68 M8(Coolant10=ON) #Coolant 10 on value

scool69 M9(Coolant10=OFF) #Coolant 10 off value

scoolantx #Target for string

 

fstrsel scool50 coolantx scoolantx 20 -1

# --------------------------------------------------------------------------

#X coolant has the option - First coolant off command shuts off ALL coolant options

sall_cool_off "M09" #Coolant off command output with all_cool_off

Will give you this

 

 

code:

( T1 | 1/2 FLAT ENDMILL | H1 )

N100 G20

N102 G0 G17 G40 G49 G80 G90

N104 T1 M6

N106 G0 G90 G54 X-.8137 Y.8347 S1069 M3

N108 G43 H1 Z.25

N110 M7

N112 M51

N114 Z.1

N116 G1 Z0. F6.42

N118 X-1.3137

N120 G3 X-1.8137 Y.3347 R.5

N122 X.7523 R1.283

N124 X-1.8137 R1.283

N126 X-1.3137 Y-.1653 R.5

N128 G1 X-.8137

N130 Z.1

N132 G0 Z.25

N134 M09

N136 M5

N138 G91 G28 Z0.

N140 G28 X0. Y0.

N142 M30

Link to comment
Share on other sites

OOOPs! went back and reread your post....you're using mpmaster. My first post is from the 3axis vmc post that comes with X2

 

 

This is how I do it in MPMaster

 

 

quote:

# 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# This string select is setup using the "Coolant Commands" tab in the "General Machine Parameters"

coolant-1.jpg

Link to comment
Share on other sites

Thanks Lacky... I'm trying this right now. I'll let you know how it works. It's all starting to make sense now.

I should explain a bit more about the post I'm using. We modified a version 9 post for our takumi. When we upgraded to X, we converted that post. Now with X2, we had to convert it again. So we aren't using an X2 post. If I don't get the results I want using this "mickey mouse" post arrangement, I'll definitely be looking at going with the X2 mpmaster. Good learning experience though...

Link to comment
Share on other sites

OK... I gave up on the mickey mouse post. I switched to "Generic Fanuc 3X Mill.pst" I'll update the other minor changes after I get this going. Here's what I'm getting...

 

N112 T15 M6

N114 M7

N116 M51

N118 G0 G90 X-3.2281 Y-1.6275 S659 M3

N120 G43 H15 Z2.

N122 Z.22

N124 G1 Z.06 F150.

N126 X-3.2229 Y-.5275 F18.

N128 X-3.1829 Y8.0925

N130 X-3.0737 Y8.6436

N132 G2 X-1.875 Y9.5377 R1.35

N134 G1 X-1.4756 Y9.5873

N136 X-1.8317 Y19.4615

N138 X-2.7347 Y25.3946

N140 X-2.5995 Y26.1973

N142 X-2.4769 Y27.8012

N144 X-2.6655 Y28.0058

N146 X-3.086 Y26.3153

N148 X-2.2267 Y21.2694

N150 X-2.3399 Y19.8814

N152 X-2.8601 Y18.1484

N154 X-3.4178 Y16.8402

N156 X-3.4112 Y-.5253

N158 Z.16 F200.

N160 G0 Z2.

N162 M09

N164 M5

N166 G91 G28 Z0.

N168 G28 X0. Y0.

N170 M30

 

Here's the coolant block from my post.

 

fstrsel sm09 coolant$ scoolant 4 -1

# --------------------------------------------------------------------------

# 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 M7 #Coolant 2 on value

scool53 M9 #Coolant 2 off value

scool54 M51 #Coolant 3 on value

scool55 M52 #Coolant 3 off value

scoolantx #Target for string

 

fstrsel scool50 coolantx scoolantx 20 -1

 

I like it, except I want to output an M52 after the M09. Why won't my post output the M52 to turn the air blast off??

Link to comment
Share on other sites
  • 5 months later...

I think I have the same problem. High Pressure is turning on, but will not turn off. Ive tried many different ways, but always get M09, not M89. banghead.gif

 

I am even able to turn both on, but still get only M09.

 

See code and settings below.

 

code:

N3

T3 M06 H3 (.453 DRILL - HSS)

G54 G90 G00 X0. Y0.

S1517 M03

M88

G43 Z.1

T5

G94

G98 G81 Z-1.2361 R.1 F10.5

G80

M09

M05

G00 G91 Z2.

M01

 

N5

T5 M06 H5 (.325 DRILL - HSS)

G54 G90 G00 X0. Y0.

S2115 M03

M08

M88

G43 Z.1

T3

G94

G98 G81 Z-1.2361 R.1 F10.57

G80

M09

M05

G00 G91 Z2.

M01

Coolant.jpg

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...