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:

Sh503 Mori Post


PROG_MAN_DO
 Share

Recommended Posts

Hey guys,

 

If there is anyone familiar with the M300 macro on the Mori-Seki horizontal you will know what I am after here, even if you're not I am sure someone will be able to help me out. Currently I have set up our post to hard code the M300 at the beginning of the program which looks like this:

 

G90G10L2P0X0Y0Z0B0

G90G10L20P1X Y Z B0.

M300A54.01 B C54.02

 

The B values in the M300 lines must be put in manually, as well as changing the C value which corresponds to the work coordinate system. One of my stupid human tricks is I can be dyslexic and input the wrong rotation. Can someone direct me as to how I might be able to have the B rotation output as well as the C54.02 change according to the corresponding work offset. For example:

 

 

G90G10L2P0X0Y0Z0B0

G90G10L20P1X-12.401Y-11.497Z6.0775B0.

(the x,y,z values in the line above will still need to be put in by the set up person)

M300A54.01B90.C54.02

M300A54.01B85.043C54.03

M300A54.01B274.899C54.04

 

I will check back here periodically for your help.

 

Thanks in advance

 

wink.gif

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Are you sure that Ellison did not make you a custom Macro that uses M300?

 

I have 4 Mori Horizontals (1 is an SH-503 as well) and none of them use this M-Code. I can't even find it on my manuals. I found up to M201 in the Electrical Diagram Manual.

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Well, if there's a problem with the Macro yes it does matter. Brian is one of the best Macro writers on the face of the planet, and I'm sure he can dial it in for your specs.

 

Now, if your question is "How do I get the values output in the G-Code without having to put anything in", then you have to look at using a T/C plane to emulate that rotation then you have a post that supports that. MPMaster will support one rotation output but not two. If you need two then you'll have to go with MPGen5x in Version 9 and you'll have to get it set up to match your machine configuration. Probably going to cost you some bucks from your reseller but well worth the investment IMHO.

 

HTH

Link to comment
Share on other sites

I guess I was unclear, I too have been programming for quite some time and have a fully operational post (except for a little editing as I was referring to) All I want to know is how to modify the post to do what I asked in my first message.

 

I know Brian's abilities are very exceptional and have been in contact with him for many years, there is no problem with the macro, just the post. Can you help me now?

 

Thanks for the lecture/3rd degree.

 

confused.gifconfused.gif

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Basically from what I gather from your first post, you want an "A" value, "B" Value and a "C" Value. Now, if those values are known beforehand, then you could actually use the "Home Position" field, put your values for A in X, B in Y and C in Z, but, if those values come from a rotation relative to your part, then you will need some serious work on your post because you then need a 6 axis Post. X,Y,Z,A,B,and C. For plan A, you'll need to have a similar line to this

 

n, "M300", *xh, *yh, *zh"

 

This probably is an overly simplistic solution but with the limited inromation you've provided I can't really offer more. I have no idea where these values are/should be derived from, how/if they relate to the part and it's orientation.

 

Just trying to figure out exactly whay you want.

Link to comment
Share on other sites

If I am understanding your request correctly, then

 

A = 54.01 always ?

B = whatever rotation(index) is ?

C = A + .01 at every rotation(index)?

 

Is your post currently outputing B ?

 

If you can verify some of this info it would help.

 

My other .02, Have you ever thought about programming from cl of rotation and hard tooling your fixtures ? We have an MH63 and it works quite well without all the macro's. Just a thought.

Link to comment
Share on other sites

Thanks for the replies guys..

 

Here's the deal. Yes I have programmed from centerline for years and if the tooling is not dead on you know the drill of re-posting. With the M300 macro you program to part origins and the macro does all the calculations behind the scenes and you only have to post once for the rest of your life, provided you are a perfect programmer. wink.gif We do use hard tooling IMHO M300 is the way to go.

 

Here is an explanation of the output.

 

A54.01 refers to extended wcs G54.1 p1 This is the part origin position @ B0 in this case

 

the B value is the rotation set by your tool plane however many they may be.

 

C is the wcs you wish to write to C54.02 writes to G54.1 P2

 

Therefore the M300 A54.01 will be the same at the beginning of every line only the B value and the C value will change according to your rotations.

 

I don't think a 6 axis post is required, a lot of post work I suspect, that's why I'm asking

 

You could learn a lot from a dummy like me. tongue.gif

 

Does that help you guys cool.gif

Link to comment
Share on other sites
Guest CNC Apps Guy 1

quote:

I don't think a 6 axis post is required, a lot of post work I suspect, that's why I'm asking

No, you don't need a 6 axis post. But when I see ABC that's what I'm thinking. Now we're getting somewhere. You've made things pretty much crystal clear.

 

Ok, it's going to take a bit of work but it is doable by an intermediate post guy. Basically for A you need to modify p_wcs so that you get A54 and the "." value gets called when workofs is 6 or greater.

 

To get B you need to call "pcout" and get it's value.

 

To get C you basically need to be looking at the same thing you were looking for to get A.

 

HTH

Link to comment
Share on other sites

Thanks James I will try it out first chance I get. wink.gif

 

As far as the benefit of the M300 macro it stops the need for reposting even if the part is not in the same location on a tombstone for instance, at which point you would only need to change your X,Y, and Z values in the initial G10 line at the beginning of the program which the M300 macro uses to calculate the x and y changes for a given rotation and then automatically writes it to the corresponding wcs based on the C value. No input by the operator/set up person is needed. It makes verification easier for multiple op parts since you don't have to move the geo as far via stlxform. In the unlikely event we have to move the fixture to a different location we will use our probe to pick up a new origin.

 

All that being said, if there is a better way and as I said before, I have done extensive centerline programming, I would love to hear about it. I am always open to new ideas. wink.gif

 

I will keep you posted as to my progress with the post and respond to any other inquiries as soon as I can.

 

Much appreciated

smile.gifsmile.gif

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