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:

Newbie question :)


-=ViBeZ=-
 Share

Recommended Posts

I'm just starting out with mastercam & learning to programme using cam software. I'm running through the tutorials provided with the software & have come unstuck on the post side of things.

 

I'm 99% sure that we use a Heidenhain tnc 355 control for our milling machine, but when I choose the MPHEID.PST file, the code it produces is nothing at all like what the codes we use to manually programme the machine frown.gif

 

Do I need a specific post for this control or I am doing something drastically wrong?

 

Thanx in advance

Link to comment
Share on other sites

Are you using ISO (G-code) or conversational(m-code)? I'm going through the same thing for a 370 control. I'm using ISO. You'll need to change the post to work for your machine. Contact you MC reseller they may have a better post. If your try to change your post yourself the people on this forum are very helpful. I've modified the post for my wire EDM and an old tnc150 with the help of this forum.

Link to comment
Share on other sites

Thanks for reply OPPIZ. I'm not 100% if it uses (G-code) or conversational(m-code) I'm guessing it would be classed as ISO as it uses G-codes for the axis movement & M-codes for spindle/coolant control ect....

 

I loaded the heid_I.pst & it looks a little more like the manaul code I use to programme the machine.

 

SO my question now is, whats the best way to go about finding & converting the post so that they both match?

 

TIA

Link to comment
Share on other sites

If you go to the posts folder inside mcam, all the posts are there. You can open up the .pst files with notepad and usually at the top of the page it'll tell you what machine the post was originaly created for.

 

[ 04-17-2002, 04:23 PM: Message edited by: Zero ]

Link to comment
Share on other sites

For a Heidenhain control, you should use a post that produces Heidenhain conversational code, as that works better than using ISO code. I recently had to make a post processor for Heidenhain ISO code (for a large company, there was a board level decision to use ISO code on all controls). I found, that there were a number of errors in the Mpheid_i.pst post processor, at least with respect to the machine I had to make a post processor for.

 

If you contact us at [email protected] we might be able to sell you a post processor which works correctly, if you tell us what type of control and machine it is.

Link to comment
Share on other sites

Thanx for the feedback smile.gif I think i'm getting nearer to my goal smile.gif

 

My employers are keen that the control stays in ISO for reasons I wont go into at the moment.

 

After a bit of playing around with the codes & trying a few test examples created using Mcam, I've found that the code it produces isn't actually that different from what we use when manually programming the machine. Below is a liat of the differences that I wish to change if possible???

 

A) Simple one to start with wink.gif I want the last M-code of the program to be M30, not M02 - this will rewind the program once it's finished running & makes it a little quicker for repeat jobs.

 

B) We work on the machine using absolute programming ONLY[G90), but the last few lines of the code that Mcad produces look like this

 

code:

 N484M5

N486G91Z0.

N488X0.Y0.A0.

N490M02

Why does it switch to incremental programming(G91) on the last Z move? & is it possible to force it not to do this?

 

and finally....

 

C) This is regarding tool Z lengths & offsets. The Mcad code includes lines such as this

 

code:

 N100G99T4L0.R12.5

N102G99T3L0.R5.

N104G99T5L0.R5.

But these are useless for our machine, as the tool lengths, rads etc... are inputted manually by the operator after touching on the job datum with the specified tool. The reference offsets are entered into a tooling chart on a seperate screen on the control.

 

So I would like to remove the G99 codes & instead, include a G17 on the same line as tool change. The G17 calls the offset of the tool from the reference chart & should look like this

 

N001 T3 M6 G17

 

I dont even know if any of these changes can be made or even if I've explained it very well.

 

Look forward to hearing your suggestions smile.gif

 

Thanks

 

[ 04-18-2002, 12:06 PM: Message edited by: -=ViBeZ=- ]

Link to comment
Share on other sites

quote:

I found, that there were a number of errors in the Mpheid_i.pst post processor, at least with respect to the machine I had to make a post processor for

"respect to the machine" is key here.

Many machine builders use the Heidenhain controllers. Which means the SAME control may need slighly different code formats dependant on the machine and/or machine builder.

 

-=ViBeZ=-

Email me your post and a list of changes needed.

If you have a sample MC8/MC9 and an edited NC file of those toolpath - even better.

 

I will also need to know your company name

and Mastercam HASP #

 

PostGuy

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

quote:

My employers are keen that the control stays in ISO for reasons I wont go into at the moment.

I'm going to go out on a limb here and state that ISO code is better and management is making the right decision. Why you ask? Because it makes more sense usually. When you have a bunch of conversational junk that really means nothing, you can're even take a look at it to make sure it's correct. You jusy dent it to the machine and hope everything is ok.

 

JM2C

Link to comment
Share on other sites

RE: ISO vs conversational code

 

Most of the machines in our workshop are programmed using ISO. We decided to keep the control running ISO codes because it means that once the operators has learned the codes for one machine, he has a good grounding for programming the other machine. It makes it easier regarding cnc training if all the machines talk the same language.

 

Anyway, I've mananged to edit the post to produce the output I wanted. Thanks for the help guys. If anyone needs help making similar changes just post a message & i'll try my best smile.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...