View Full Version : Modify Mastercam MPFAN post


COPO427
05-19-2004, 06:31 AM
Hi,

I have a AB 9/240 controller on a EXCELLO verticle mill and need to modify the MPFAN postprocessor that Mastercam supplies you with.

Can someone walk me through some mods I need?? Or is it too difficult?? I have tried numerous times with no success..

Such things like I have no line numbers.. Can't find where you would put them in.

I have posted this in the POST forum also..

Thanks for any help

Rekd
05-19-2004, 09:38 AM
Line numbers are a switch. Look for omitseq : 1 #Omit sequence no.
and change it to 0 instead of 1

Lots of the basic stuff is right there, just switches you toggle on or off. There's pretty good descriptions of what they do with them.

Feel free to as any other questions you might have, I've got MP running thru meh veins. ;)

'Rekd

COPO427
05-21-2004, 06:12 AM
Rekd, I tried to switch the yes/no statement to a "1". I still get no line numbers.. Not even the begining "N". If I put in a "0" I get "N0" at the begining of each line.. I also tried other numbers with the same results... No line numbers, just coordinates..

I guess I need to get that CD from my dealer..


Thanks again for any help..

Rekd
05-21-2004, 09:14 AM
What version of MC? Can you send me a copy of the post and a copy of the code THE WAY YOU WANT IT?

Rekd
05-21-2004, 09:31 AM
BTW, omitsiq = NO does leave them turned on. You might try just commenting out that whole line. (Put a pound sign in front of it.. " # " )

'Rekd

COPO427
05-21-2004, 09:42 AM
Yes, I will send you a copy of the post and a copy of my program the way I would like it..


Thanks again
pete

Rekd
05-21-2004, 09:52 AM
Your welcome.

COPO427
05-21-2004, 09:54 AM
Should I post it here?? Or send email??

Thanks

Rekd
05-21-2004, 10:02 AM
Send it mail, I want the complete post so I can run it thru my machine. I'll post what I find here.

Rekd
05-26-2004, 11:11 AM
You should be all set with this, Pete. Open your post and change this line


seqmax : 2 #Max. sequence number


To this.


seqmax : 9999 #Max. sequence number


Make sure you leave "omitseq" set @ "0"
I posted a file right from the original post and got

N1
N2
N1
N2
etc.

By changing "seqmax" to 9999 it will go from N1 to N9999 then restart at N1 again. If your controller supports more/less than that, you can change it.

Also, read thru the text towards the top of the post, it may guide you to making more simple changes. Just back up your original first. ;)

HTH, and if you have more ?'s or !'s let me know.

'Rekd

COPO427
05-26-2004, 11:45 AM
Rekd,

I did exactly as you said and no dice.. I went back to the original MPFAN.PST and guess what.. No line numbers.. All I get is..

N0 X???
N0 Y??
N0..Z??

:confused:

The settings in my original MPFAN post are just what you told me to do to my modified post..

"seqmax : 9999 #Max. sequence number"

Think maybe something else is wrong??

Thanks again for all your time and patience
Pete

COPO427
05-26-2004, 11:48 AM
Oh ya this is located in the "general output settings" paragraph correct??

Thanks

Rekd
05-26-2004, 11:53 AM
I will send you back the post you sent me, modified along with a posted file from that post.

The only other thing I can think of is there's a problem with the MP.dll. Get an update here.. http://www.emastercam.com/patches/v91/mp/mpv912.exe

Rekd
05-26-2004, 11:57 AM
Yes it's in General Output Settings

COPO427
05-26-2004, 12:32 PM
loaded the patch and still no good.. Got yours and it works fine with all the line numbers.. I dunno

Gotta be something else wrong with my system..

I'm going to try and contact CNC solutions..

Thanks again for your help Rekd

Rekd
05-26-2004, 12:59 PM
That post I sent you is the one you sent me, with the changes to seqmax and omitseq. You should be good to go with that post.