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 5 axis slight post issues?


bassn_07
 Share

Recommended Posts

I'm still new to the machine and Mastercam and I;m having slight issues with the post. The post I'm using is pretty much dialed in except for one minor flaw. I'll do my best to explain...sometimes when I'm working with the trunnion at 90 degrees at the end of my operation my X and Y wants to move first, which is dangerous at times if my A axis needs to index. I would like for the tool to go home after every operation or at least on every A or C move.Is this something that could be dialed in on the post or possible am I doing something wrong? Here a sample of the code I'm getting.

 

N173M6T173

M1

M46

M43

G0G54.1P2G90M8

(.082 DRILL TOOL - 173)

(TAP DRILL M2.5 X .45 P2)

C0.A0.S10000M3

X-.0565Y-.0394

G43H173Z11.

G61.1

M47

M44

G83G98Z9.5317R10.1827Q.0164F13.9097

G80

(TAP DRILL M2.5 X .45 P3)

G0G28G91Z0

G90G0G54.1P3

C0.A-90.

X-.5473Y-9.4134

Z2.

G83G98Z-.8135R.5921Q.0164F13.9097

Y-9.9252

G80

(DRILL .082 HOLES P4)

G0G28G91Z0

G90G0G54.1P4

C90.A-90.

X-.5118Y-9.4134

G83G98Z.4914R1.1Q.0164F13.9097

Y-9.9252

G80

(TAP DRILL M2.5 X .45 HOLES P6)

Z3.

X.5118Y-9.4134

G0G28G91Z0

G90G0G54.1P6

C270.A-90. Z3.

G83G98Z-.5359R.5567Q.0164F13.9097

Y-9.9252

G80

M9

M5

G64

G0G28G91Z0

G0G28G91X0Y0

G28C0.A0.

/9M35

 

G64

M1

 

G90

G10L2P0X0Y0Z0

 

G90

M99

%

Link to comment
Share on other sites

This is what my ptlchg$ looks like

 

code:

ptlchg$          #Tool change

pcuttype

toolchng = one

toolcount = toolcount + 1

if toolcountn <= tooltotal, nexttool = rbuf(4,toolcountn)

else, nexttool = first_tool$

if wcstype = one, #Work coordinate system

[

pfbld, n$, "G28", "X0.", "Y0.", "Z0.", e$

pfbld, n$, "G92", *xh$, *yh$, *zh$, e$

]

if mi10$=one, n$, *sm00, e$

if mi10$=zero & mi4$ <> 1, pbld, n$, *sm01, e$

if mi4$=one, pbld n$, *sm00, "(CHECK BORE)", e$

ptlchg_com

This gives me on my horizontal (but only 4 axis) a complete return to home for each tool change. What does yours look like?

Link to comment
Share on other sites
  • 2 weeks later...

Sorry it took so long to get back to this but I must have overlooked it.

 

I couldn't even begin to tell you how my post looks because I don't know how to access it. How would I access the internal information of the post processor? Also, what would be the best way to learn how to edit the post...trial and error?

Link to comment
Share on other sites

Any editor will open the .pst file. The .psb file is encrypted and you can look at it. This is to protect the work of those who made the post.

 

I have been messing with posts over 5 years and learn stuff all the time about them. This forum is a great resource. Do a search when you are looking to do something. I have made me a big old notebook and have several smaller notebooks from stuff I got off the forum, from other people, from the Internet, copied from books, and just trying things to see if they work. Necessity is the mother of all invention. Not needing to go to the dealer everytime for a post mod is a nice thing.

 

HTH

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