Mastercam Post are asking you the questions

Having your post asking you questions as it is processing code, and either using the data to trigger other functions in the post or a little more down to earth as we are going to do today, inputting the programmers name in the post header is an easy way to assure that each program is earmarked with programmers name and not becoming a ghost program no one dare to run or modify.
5

Lets open up our mpmaster with our favorite editor…

1
Insert your personal string…
The post processor can seems a little messy, but there is believe or not some order and I recommend you pick a clean area to add you stuff. The fact that I place mine above the “Error message” is not a coincidence, at anytime I need to find my string I can easily remember to search the keyword “Error” (Yep just one of those silly tricks).
So lets go ahead and insert our line number 539 and 540 string and comment.
2
Question format…
Searching through the post for the “Question format statement” you will see that the mpmaster post is already set up for 2 questions and I am going to insert “fq sprogna” as number 3 with the command asked by the post in between ” “.
3
pheader…
The pheader is where the post processor gets all the different information it inputs in the beginning of our NC code such as file name, program number, date and it is also here we want to throw in our question.
4
Where is the answer…
So the question is asked by the post processor, now we need to tell where we want it to stick it in our output, and I picked right underneath “Time”.
5
6
Conclusion…
The Post asking questions is defiantly a fan favorite between programmers at my work place. You could also ask questions like program cycle times and/or information to setup guy about stock pickup etc.
Tweaking your post to eliminate hand editing is most defiantly beneficial to the company in the long run, and adding bells like the post asking questions can only make the whole process more lean.

This entry was posted in Mastercam Post Processor and tagged , , . Bookmark the permalink.
  • http://www.mastercamforum.com/ Mike in MN

    I have seen this on emastercam and definitely will try using it.

  • http://www.mastercamforum.com/ Mike in MN

    I have seen this on emastercam and definitely will try using it.

  • Pingback: seqylugonom

  • http://cadcamstuff.com/ Lars Christensen

    I believe it was on emastercam I learned about post questions also. Some great post stuff and very knowledgeable people that place. Best of luck with your post modifications :-)

  • http://cadcamstuff.com/ Lars Christensen

    I believe it was on emastercam I learned about post questions also. Some great post stuff and very knowledgeable people that place. Best of luck with your post modifications :-)

  • http://cadcamstuff.com/ Lars Christensen

    I believe it was on emastercam I learned about post questions also. Some great post stuff and very knowledgeable people that place. Best of luck with your post modifications :-)

  • http://ruerup-rente-vergleich.blogspot.com/ Rürup Rente Vergleich

    I really like your blog and i really appreciate the excellent quality content you are posting here for free for your online readers. thanks peace dale tuck

  • 1

    you have concluded the double quotes after D0.5000?

    please write nnikell@mail.ru

    Thanks

  • simon

    Hi,
    I tried it and it works well. It is very usefull.
    I wonder if it is possible so store the answer somewhere so we can call it back as default answer.
    Instead of defining a empty string we would define it as read the last answer.
    thanks

  • http://cadcamstuff.com/ Lars Christensen

    Hi Simon,
    Thank you for taking the time to write. I am glad you find this useful.
    I would recommend asking the question about storing an answer in the post on the emastercam forum. I have been out of the Mastercam Post modification game for a while.
    Have an awesome day!!!

  • simon

    thank for your help, I’ll try to get an answer on e-mastercam.