View Full Version : Mastercam X updatepost help


JWWalthall
05-04-2006, 05:35 PM
I have just run the update post chook to update a V9 post to X . Everything worked fine and a new machine groupe was defined. When I go to post a file I get no code. When the Post is run I get no errors . I have the Debug turned on . Any help out there?

Thanks,


Jim Walthall

psychomill
05-04-2006, 06:00 PM
Thats happened to me a few times too on updated posts. Not sure what the deal is. I just created (or started over) a new MMD file and updated the post through the C-hook again. Now its all good. Haven't figured out why it does that though.....

Rek'd??? :stickpoke :confused:

:cheers:

Alex_Cole
05-04-2006, 07:51 PM
there are many variables that could be affecting your post. The errors will only show up if in the control definition it is set to display errors to the screen. Otherwise it will generate an .err file in the directory of where the nc file would be placed. I recommend going into the control definition and setting the error file to always be saved and to log all errors to file not to screen.

Without seeing your post it is hard to really give a fix type answer. The info about the error files above should help you at least see the error log to see if there are really any errors.

HTH

ac

JWWalthall
05-04-2006, 09:07 PM
Thanks for the quick responces. Ok here is where it gets wierd. I have the error report set to screen and I don't get any errors. I have the control config set to output the code to the editor and when the file gets done posting I get a blank editor screen,no code. I can use a different machine definition with the same toolpaths and I get code. This post was updated from V8 to V9 and ran with no problem.

MMD? psycomill I don't understand this abbreviation its been a long day

Thanks for all of the help

JimW

psychomill
05-04-2006, 09:53 PM
Alex, ... As Jim was saying... its already set to display the errors and logs but there are none. I had the same issue a few times on updated posts. No errors but also no code. It goes through all of the motions though and even creates the file. But when you open the file, its empty and even the file size will validate that.

Jim, the MMD is in other words your Machine Definition file. (Its created/saved as a .MMD). But try this first.... Hope you still have the original post that you were updating. Delete the updated post and the V9_P (MCX generated copy of the original PST file). Then run the updater again. Try this post now. In the Machine Definition, you'll need to re-select this post and save the new file(even though the name may already appear in the box - that's because of the one you had that didn't work).

If that still doesn't work, I've actually had to recreate the machine definition and update the post.

It's probably some dumb switch somewhere or something but I haven't figured it out and its caught me two, maybe three times out of about 20 posts I've done.

Ymryl
05-04-2006, 09:53 PM
zip2go the thing and post it up here so we can have a look. I'm sure someone can help.

psychomill
05-04-2006, 09:59 PM
Also as an added note,... Have you installed any of the MCX updates? Because I believe I noticed the problem going away after MR1 was installed....

JWWalthall
05-04-2006, 10:38 PM
Thanks for the help I will try it first thing in the morning. Its been a very long day and I just can't get into Ver X . To many years running the old MasterCam. X has been very frustrating for me.

Cheers,

JimW

Alex_Cole
05-05-2006, 08:46 AM
The reason I had him gointo the control def to change the errors it to set it NOT to show errors to screen set it to always save to file. There are other messages that are stored in the .err file that the system uses wich can help in the issue. When the option to send to screen is set then it doesn't show you all messages. I agree with the others about trying to re-update your post....carefully read the log file that is generated when you update...or better yet copy it up here so we can read it. There is critical info in the updatepost.log file as to how sucessful of an update it was. You may have outdated logic in your post and these log files are the 1st step in letting us know if there are.

HTH

Alex

JWWalthall
05-05-2006, 08:54 AM
Guys, Thanks for all the suggestions. I am back at it this morning with a new outlook. I will update the post again and if I still have trouble I will put everything here for you to look at. I do need to say that the post is for a Thermwood router but it uses a mill post not a router. Leets see what I can do today. Thanks again for all of your help.


Cheers,

Jim W

psychomill
05-05-2006, 12:03 PM
Alex, all of that I tried as well (to save it to file). In my case though, no errors and no nc code. I thought about the "old logic" not working as well. Except that when I went to re-update the post, it started working. This is post that was written on V8. Funny thing though, I also have posts written from V6, V7,... updated and they work fine with no problems in MCX....

Alex_Cole
05-05-2006, 02:56 PM
In mastercam X there is a new header line that starts the post. it looks like the following.

[POST_VERSION] #DO NOT MOVE OR ALTER THIS LINE# V10.00 E1 P0 T1114789915 M10.00

If you accidently alter or (as I have done many many times) type a letter or number (like I just did thismorning) then you will get no gcode program and it will see like it posted ok. This is just another thing for you to check.

ac

Ymryl
05-05-2006, 07:20 PM
If you are running a Thermwood post that you bought from them you will have to contact them to update it. They have logic in the binned portion (.psb) that checks the version of the software and bails out if it does not match the version that the post was written for.

JWWalthall
05-05-2006, 10:53 PM
I would like to thank everyone that responded to my problem. I did get the post to output code after I removed the old update and re-ran the C-hook. I am now comparing the code with code that was made using V9 that I know is good. Thanks Again!

Jim W