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:

No Comment Output


Recommended Posts

Check the first tab of the Machine Group Properties dialog. There will be a section that looks amazingly like the comment settings that you previously looked at in the CD (for bonus points, guess where the defaults for the Machine Group Properties dialog come from). Make sure you have the correct comment types selected.

 

The next thing to check is to make sure that the operation comment is in the .nci file. Look for the comment that you entered (it should appear just under a 1008 line).

 

If it is there and you have the correct check boxes selected in the Machine Group Properties dialog, take a look at the pcomment$ post block in your post. It should contain a call to pcomment2 and pcomment2 is the postblock that determines how the comments are formatted for output. Make sure that there are no problems in those post blocks (go ahead and post them up here using the code button if you're not sure what to look for).

 

comment$ is not an output variable. It is a command that tells MP to dump the comments (all of the comments) currently held in scomm$.

Link to comment
Share on other sites

I checked in the machine group properties and the operation comments are selected there, as well as in the CD. With the NCI, I am not getting an NCI created when I post. It posts some NCI's out but not all of them. I don't know what's going on there.

 

And here is my pcomment sections;

 

code:

pcomment$       #Comment from manual entry (must call pcomment2)

pcomment2 #Required if doing boolean 'if' logic testing!

 

pcomment2 #Comment from manual entry

#1005 - As Comment

#1006 - As Code

#1007 - As Comment with output line, change at point

#1026 - As Code with output line, change at point

#1008 - Operation comment

#1051 - Machine Name

#1052 - Group Comment

#1053 - Group Name

#1054 - File Descriptor

spaces$ = 0

scomm$ = ucase (scomm$)

#if sof & gcode$ >= 1051, pbld, "(", scomm$, ")", e$

if gcode$ = 1005, pbld, "(", scomm$, ")", e$

if gcode$ = 1006, pbld, scomm$, e$

if gcode$ = 1007, "(", scomm$, ")"

if gcode$ = 1026, scomm$

if gcode$ = 1008 & header = zero, pbld, "(", scomm$, ")", e$

if gcode$ = 1008, scomm_sav = ucase(scomm$)

spaces$ = sav_spc

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