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:

MAZAK POST FROM C.D.


polishman
 Share

Recommended Posts

MPMAZAKM.PST

(version 9)

 

I AM TRYING TOU USE MAZAK POST FROM THE C.D. BUT I GET AN ALARM WHEN I try to post some code

"warning output name is being changed to program number"

"press enter to continue "

I press enter and it doesnt post anything it just brings me back to op manager

Ultimately what I need is to change my tapping code to output the feed as the pitch.

I am mofifying the mpfanuc .I was hoping to cheat and use the mazak post to copy from .

Any assistance in finding the answer to the alarm or my post?

Thanks

Stan

Link to comment
Share on other sites

The Mazak post names the file the same as the program number. If you do not save the file as a program number, it gives you the alarm. To avoid that, look for this in the post:

 

#ppost #Rename the NC file if not the progno name

# if snamenc <> snameprg,

# [

# result = fclose(sorgncfile)

# result = remove(sprgncfile)

# result = rename(sorgncfile, sprgncfile)

# result = mprint(snameerror)

# ]

 

Add the "#" symbols in front of these lines in your post and you won't get the alarm anymore.

 

As for the tap feed, I believe the post is already set for feeding in IPR. Look in your post for "ptap" and you should see something like this:

 

feed = 1 / n_tap_thds

 

 

cheers.gif

Link to comment
Share on other sites

O.K. now I two other issues

I need the feed rate to be 4 plcs not 2!

secondly

it puts the feed on the first line but the next has a feed F10.(how do I get rid of that?)

 

G0 G90 G54.1 P2 X-.3 Y-1.093 Z4.

Z-.031

G84 Z-.381 R-.031 F.02

X-.5 Y-.868 F10.

Y-1.318

 

Thanks for your help

Can anyone help on this?

Link to comment
Share on other sites

Make sure to create a backup of this post in case theres a problem with the edits.

 

Look in your post for " pdrill_2 " .....

 

You'll see a call up for feed, delete it. That should get rid of the feedrate on the second line.

 

About the feed rate....

 

Look in your post for where the "F" is formatted. Something like this:

 

fmt F 15 feed #Feedrate

 

The number 15 outputs only to 2 places. Change that to a 12 (or whichever number will create the 4 place decimal). Now you should get 4 places if needed. Just use the number that the format statement will create a 4 place.

 

fs2 12 0.4 0.4 #Decimal, absolute, 4 place

 

If you don't have one, then you'll need to create one. I wouldn't change an existing line though. Its possible that other things in the post are using the same and you may end up with unwanted code elsewhere.

 

Now, this will affect all feedrates (formatting "F"). If you have an endmill that for some reason feeds at "5.6519" in your cut, thats what will post. If you want to avoid this then make sure to check your feeds in the cut,.... OR..... if you want the post to round off the feed for you, then you'll need to create a new variable in the post for tap feeding.

 

cheers.gif

Link to comment
Share on other sites

Psycomill,

I really appreciate your help on this ! cheers.gif

So far I have removed the additional feedrate.I dont quite understand completely the next thing to do,to change to a 3 place (format?)I only want 3 places on the tapping

********

ptap #Canned Tap Cycle

pdrlcommonb

feed = 1 / n_tap_thds

result = newfs(17, feed) # Set for tapping Feedrate format

pcan1, pbld, n, *sgdrill, pxout, pyout, pfzout, pcout,

prdrlout, *feed, strcantext, e

pcom_movea

*************

pdrill_2 #Canned Drill Cycle, additional points

pdrlcommonb

pcan1, pbld, n, pxout, pyout, pzout, pcout, prdrlout, dwell,

strcantext, e

pcom_movea

################

 

 

This is what my post looks like now

...Is this

where I need to add /change the additional format below?

_______________________________

fs2 11 0.3 0.3 #Decimal, absolute, 3 place

_________________________________

As you can see I'm pretty green to this post mod thing.

My reseller is pretty busy with traing on X that I can't get timely feedback.

I am looking like a hero mofifying the post for the guys on the floor.They have been editing all sorts of repeative tasks ... which little by little I will address .

thanks again

Stan

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