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:

M09 on retract line question


Joeyls319
 Share

Recommended Posts

Morning all you unfortunate folks working today.

 

I have a post question.

 

I would like to put the M09 on the retract line at the end of the operation but I can't figure out how to do it in the post. Everything I try doesn't work. It's a Haas post. I'm using MC9.

 

Any help would great.

 

Joey

Link to comment
Share on other sites

Do you mean on your G91 G28 Z0. point line.

 

quote:

pbld, n, sgabsinc, sgcode, "G28", "Z0.", scoolant, e

Look in your pretract section of your post.

make sure the scoolant is added in there.

 

If that's not what your looking for post a little sample of how you would like it to look.

 

As always backup your post before making any changes.

Link to comment
Share on other sites

John

 

Here's what I'm trying to accomplish.

 

X27.1525 Y.1215 Z.3745 A-173.25 F402.46

X27.1767 Z.3742 A-174.152 F401.54

X27.1967 Z.375 A-174.891 F485.11

X27.2168 Y.1216 A-175.63 F484.8

G94 X27.4494 Y1.0941 F25.

G00 Z6.0 M09

M05

G91 G28 Z0.

G90 G00 A0.

X10 Y4.0

T10 M06

M30

%

 

Joey

Link to comment
Share on other sites

John

 

Here's what it looks like.

Is this where I should be looking?

 

 

ptlchg0 #Call from NCI null tool change (tool number repeats)

pcuttype

pcom_moveb

c_mmlt #Multiple tool subprogram call

" ",e

comment

" ",e

pcan

pbld, n, sgplane, e

pspindchng

pbld, n, scoolant, e

if mi1 > one & workofs <> prv_workofs,

[

sav_absinc = absinc

absinc = zero

pbld, n, sgabsinc, pwcs, pfxout, pfyout, pfzout, pfcout, e

pe_inc_calc

ps_inc_calc

absinc = sav_absinc

]

if cuttype = zero, ppos_cax_lin

if gcode = one, plinout

else, prapidout

pcom_movea

c_msng #Single tool subprogram call

 

 

Joey

Link to comment
Share on other sites

OK, make sure your prapidout section has a scoolant callout in it.

 

I have a post here that outputs it the way you want and I am trying to track it to where it calls it for that line.

 

 

it shows as being output on this line

quote:

N48 G00 Z2. M09 -- pzrapid prapidout

Link to comment
Share on other sites

what's the matter, don't like coolant getting hosed into your changer? biggrin.gif

 

here's from my haas post that does what your after.

 

code:

pretract        #End of tool path, toolchange              

sav_absinc = absinc

sav_coolant = coolant

coolant = zero

#cc_pos is reset in the toolchange here

cc_pos = zero

gcode = zero

pbld, n, sccomp, *sm05, psub_end_mny, e

absinc = zero

# pbld, n, sgabsinc, "G49", pfzout, e

absinc = one

pbld, n, sgabsinc, sgcode, *sg28ref, "Z0.", scoolant, e

pbld, n, *sg28ref, "Y0.", protretinc, e

absinc = sav_absinc

coolant = sav_coolant

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