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:

air blast switching


riverracer
 Share

Recommended Posts

we have an external air blast valve on our haas tm1 and control it by user relays M51/M61.

 

we would like to able to set it in the drop down box on the tool coolant parm page, so we have 'flood' on/off(M8/M9) and change the 'mist'(?) option to 'air' and have it insert the correct code for on/off(M51/M61) in the post.

 

is this possible?

 

if so, how do i change the generic haas 4X mill post and change mastercam parm to insert the codes in the correct positions in the post output so that it turns on (@ retract height), an off b4 tool changing (like the M8/M9 does now)?

 

example

quote:

%

O0( TEST )

( DATE=24-08-09 TIME=16:55 )

( T2 | 10. DRILL | H20 )

( T14 | 12. BULL ENDMILL 1. RAD | H142 )

G21

G0 G17 G40 G49 G80 G90

T2 M6 ( 10. DRILL )

G0 G90 G54 X12.277 Y-9.383

G43 H2 Z25. S1145 M3

M8

G99 G81 Z-12. R25. F100.

G80

M9

M5

G91 G28 Z0.

M01

T14 M6 ( 12. BULL ENDMILL 1. RAD )

G0 G90 G54 X.189 Y30.

G43 H14 Z25. S2500 M3

Z5.
M51

G1 Z0. F400.

Y18.

***

G1 Y30.

G0 Z25.
M61

M5

G91 G28 Z0.

G28 Y0.

M30

%


i am a fairly new user, so a walk though how on what an where to change would be helpful.

 

we are using X3 at the moment, but upgrading to X4 before the end of the year.

 

at the moment we are hand editing for the tools we want to have the air blast on.

 

thanks all

Link to comment
Share on other sites

X style coolant will do what you want you will have 3 options of where to turn it on (before , with , after)

go into the machine def> general machine parameters> coolant commands tab> uncheck support for old posts> edit coolant command as needed> pick your coolant option in MC and see where before, with , after posts to see which one you want to use

 

HTH

Link to comment
Share on other sites

I just did this recently on a mori fanuc. In machine definition manager click on edit general machine parameters. Check coolant commands and change "mist" to "air blast". Save and exit. In post search for "mist" command and change m codes to what you want. This new option will appear on new operations as air blast in coolant drop down. For existing opps just click to mist. You will get proper m codes.

Link to comment
Share on other sites

had a look at tony35's post, and a quick play, but can some1 explain what 'ignore, before, with, after' do?

didnt make sense to us! did some funny things.

placed the m51 in the correct position eventually, but couldn't get the m61/off in the right place or even in the post.

 

didnt even know about X style coolant options! was just used to the 'flood on/off, mist, thru tool' placing it correctly

 

was hoping it was going to b as simple as the 'flood m8/m9' option is, but with air m51/61.

 

mayb its just me! need to have a longer play i think.

 

thanks

Link to comment
Share on other sites

in your post if you dont like where the on /off is search for pcan and move it where you want it

#pcan #MOVED COOLANT BEFORE DOWN TK

if mi1$ = 1, n$, *sm00, e$ ##added for Paper Machinery mjs

if stagetool >= zero,

[

if omitseq$ = 1 & tseqno > 0,

[

if tseqno = 2, n$ = t$

pbld, *n$, *t$, "M6", ptoolcomm, e$

]

else, pbld, n$,*t$, "M6", e$ #remove 8/19/08 mjs, *t$, ptoolcomm MOVED BACK TK 5/26/09

]

#pbld, n$, if toolcount < tooltotal, next_tool$, else, if toolcount >= tooltotal,"T0",e$ #ADDED TOOL 0 TK

#pbld, n$, *next_tool$, e$

if nextdc$ <> 3, pbld, n$, pfspindleout, e$

pcan #MOVED COOLANT BEFORE TO HERE TK

spaces$=0

this is how i have my makino post setup

ignore=off no coolant/air

 

before> is right after spindle on

N16 S0 M5

N21 M8*****************

N26 M11

with> is right before G54 line

N151 M10

N156 M8****************

N161 G0 G90 G54 X-1.6334 Y.9353

after> is right after G43

N281 G43 H1 Z3. T1

N286 M8****************

N291 G94

N296 G5 P10000

 

X style works good just take a little time and set it up. i have all of our machines coolant/air options setup so i can pick what i want for what operation

hope that clears it up a bit

Link to comment
Share on other sites

I have been meaning to do this for a while. I did change machine def to say air blaster in place of mist. I then changed the post for the mist code to m57 but in the post there is only 1 option to turn the coolant off. How do I tell it to use a m67 to turn the air blaster off???

 

Thanks

Link to comment
Share on other sites

Both of the options on top the coolant command page are checked. My enable/disable options are on or off. Not m-codes.I tried putting m57/m67 in the to turn on my air and unchecking the 2 options on the top of the page but then it did not post anything. Is there somthing in the post I would need to change?

Link to comment
Share on other sites

this is from the post

# 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"

 

HTH

Link to comment
Share on other sites

search for scool50 it is right above that

if you want to force M67 change it here

# Coolant M code selection

sm09 : "M9" #Coolant Off (Use sm09_0 through sm09_2)

sm08 : "M8" #Coolant Flood

sm08_1 : "M7" #Coolant Mist

sm08_2 : "M8" #Coolant Tool

sm09_0 : "M9" #Coolant Flood Off

sm09_1 : "M9" #Coolant Mist Off********

sm09_2 : "M9" #Coolant Tool Off

scoolant : "" #Target for string

 

HTH

Link to comment
Share on other sites

ok, i have disabled the 2 check boxes, put "" in all the other options, altered the post in the xcoolant section to have m8/m9-m51/m61 in the code.

think i have it working ok now.

is there a way 2 set it to 'after' automatically, so u just choose 'on' or leave it at 'ignore'?

 

thanks again

Link to comment
Share on other sites

riverracer

you can set the tool to use "after" so when you pick the tool it will use the coolant options you have set for that tool

i dont know of a way to set after as a default you could maybe set it in the defaults for the ops

maybe somebody else could chime in on that

 

i didnt have to alter my post for the m-codes but whatever works for you

 

HTH

Link to comment
Share on other sites

This is what I did but it still doesnt use the m67 to shut of the air. What am I doing wrong. I have tried checking both boxes and unchecking 1 or both on the machine def page.

 

# Coolant M code selection

sm09 : "M9" #Coolant Off

sm08 : "M8" #Coolant Flood

sm08_1 : "M57" #AIR BLASTER

sm08_2 : "M8" #Coolant Tool

sm09_1 : "M67" #Air Blaster Off

scoolant : "" #Target for string

 

I did search for scool50 and not found

Thanks again.

Link to comment
Share on other sites

how old is your post?

you dont have this section?

 

# 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

Link to comment
Share on other sites

at the top of the posts what does yours say

 

# Post Name : MPMASTER

# Product : MILL

# Machine Name : MACHINE MAKINO a71 HMC

# Control Name : CONTROL

# Description : IHS MASTER GENERIC MILL G-CODE POST

# 4-axis/Axis subs. : YES

# 5-axis : NO

# Subprograms : YES

# Executable : MP v11.0

# Post Revision : 11.0.06347 (MC_FULL.MC_MINOR.YYDDD)

Link to comment
Share on other sites

# Post Name : MPHAAS

# Product : MILL

# Machine Name : HAAS

# Control Name : GENERIC

# Description : GENERIC HAAS MILL POST

# Associated Post : NONE

# Mill/Turn : NO

# 4-axis/Axis subs. : YES

# 5-axis : NO

# Subprograms : YES

# Executable : MP 9.0

Link to comment
Share on other sites

yes it might be labeled generic HAAS

 

open it up and see what version its supports

this is what mine is

 

# Post Name : Generic Haas 4X Mill.pst

# Product : Mill

# Machine Name : Haas

# Control Name : Hass

# Description : Generic 4 Axis Mill Post

# 4-axis/Axis subs. : Yes

# 5-axis : No

# Subprograms : Yes

# Executable : MP 13.0

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