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:

Max Characters in NC Comment


Jake L
 Share

Recommended Posts

4 minutes ago, Jake L said:

Is there any reason not to increase this value in the CD from 256 to 512, or even bigger? Will it slow down the software, or the posting? MC2023 TIA

image.thumb.png.e8963ebcaf0d56c1e2434693a7e2aacf.png

Yes, increasing the comment size will increase the nci file,

this will depend on how often you output comments in your post,

once per operation, it will probably be okay, if its once per line you will find the size will be much larger

  • Thanks 1
Link to comment
Share on other sites
Just now, Colin Gilchrist said:

No reason not to increase it. This controls the "Max String Length" that you can "pass in the NCI to the Post". It does not handle comment length processing. Considering the speed of modern computers, you shouldn't notice any affect on Posting.

I would think that would be more of a controller limitation.

  • Thanks 1
  • Like 1
Link to comment
Share on other sites
1 minute ago, Colin Gilchrist said:

No reason not to increase it. This controls the "Max String Length" that you can "pass in the NCI to the Post". It does not handle comment length processing. Considering the speed of modern computers, you shouldn't notice any affect on Posting.

There is no reason to increase it unless you need too, in my opinion,

looking for trouble

I have seen posts that output one comment for each nci line, to pass extra parameters for some machines, this is actually good information for me

 

  • Like 1
Link to comment
Share on other sites
2 minutes ago, Jake L said:

Thanks for the quick replies. 

I just realized this wasn't the setting I was looking for. Is there a way to increase the max number of characters allowed in the Comment section of a toolpath?

image.thumb.png.2287b6ab12ff66bace6a472d02d4974d.png

#define COMMENT_SIZE            120 //!< Comment size

TCHAR comment[COMMENT_SIZE];    //!< operation description

//from the sdk

 

AFAIK the comment is a fixed array of size 120 characters and there is no way to expand it,

usually i use manual entry for extra comments

  • Thanks 1
  • Like 3
Link to comment
Share on other sites

Byte is correct, you can't increase the max "Operation Comment String Length". That is a fixed length.

I also use "Manual Entry" Toolpaths when needed to add significant comments. The max "Manual Entry" length is 750 characters, however you can simply add multiple back-to-back Manual Entry Ops if you need additional comments.

  • Like 2
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...