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:

Post debug question


dwsz71
 Share

Recommended Posts

Dave,

What you are seeing there is coming from the box in your Control def under NC output. it's the button to enable post debug information.

 

The specific output can be switched within the post under the bug 1-4 settings to tell you different things

for example, the pcomment$ is the post block being executed calling for this line of the program to be printed. this is set by bug 2, which when set to a number above 0 calls for the exact collumn to put this in, say collumn 30.

 

other outputs can include the postline no. and the line number from the NCI file.

 

you can also turn this off by de-selecting the "enable post debug information" button, or set the fastposting to yes from within the post, as the post in fastmode disables the reading of the bug values.

 

HTH

Link to comment
Share on other sites

Dave,

 

You may have noticed the many places in your post where your code is grouped between two square brackets. The technical term for this is an “Implied Postblock”. Implied postblocks are most commonly found following “if” statements. When MP processes your post internally, implied postblocks are treated just like independent postblocks rather than as a nested section of code.

 

When data is output from within an implied postblock and debugging is turned on, MP is unable to give you the name of the implied postblock, because it does not have one. What MP gives us is a postblock number such as “p__3” and the starting line of the implied postblock “741”.

 

If you go to line 741 of your post, you should find the opening square bracket that begins the associated implied postblock.

 

I hope this helps.

 

Ed

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