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:

M00 in canned text posting twice


Recommended Posts

Hello,

 

I have a mpmaster post for my X5 that posts two M00's when I use canned text add after with #1 M00... It works fine with add with and add before...It only post one M00 with these.. I have been trying to edit it to only post one but can't figure out what to change. I found the lines that posts the two M00's but making it post one is more difficult then I thought.... Thanks

Link to comment
Share on other sites

Good catch! This is something that actually needs to be edited in the pcom_movea postblock. The problem is during the tool change the post is calling pcan2 twice, so you need to add the if statement to pcom_movea as shown below:

 

pcom_movea      #Common motion preparation routines, after              
     prestart
     if not(toolchng), pcan2 <--add if statement
     if abs2incflg = 1,
       [
       absinc$ = 0
       abs2incflg = 0
       ]
     pe_inc_calc

 

HTH

Link to comment
Share on other sites

Good catch! This is something that actually needs to be edited in the pcom_movea postblock. The problem is during the tool change the post is calling pcan2 twice, so you need to add the if statement to pcom_movea as shown below:

 

pcom_movea      #Common motion preparation routines, after              
     prestart
     if not(toolchng), pcan2 <--add if statement
     if abs2incflg = 1,
       [
       absinc$ = 0
       abs2incflg = 0
       ]
     pe_inc_calc

HTH

 

 

 

 

 

Thanks.... Worked perfect..

Link to comment
Share on other sites
  • 6 years later...
  • 2 weeks later...
On 12/27/2017 at 4:54 PM, dmaier said:

This must never of been a fix added in later posts. I just had to add this line to stop double posting of M00 now using the MPMASTER .pst file for 2018.

Thank you for drawing attention to this dmaier, I have corrected the issue in our internal master post and uploaded a new version to the website!

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