586,100 active members*
2,670 visitors online*
Register for free
Login

Thread: Line numbers

Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2008
    Posts
    27

    Line numbers

    I searched today for a way to post a file without having line numbers....

    N100 G20
    N110 G0 G17 G40 G49 G80 G90
    N120 T9 M6
    N130 G0 G90 G54 X-.435 Y.1625 A0. S4800 M3
    N140 G43 H9 Z.1
    N150 M8
    N160 G99 G81 Z-.05 R.1 F30.
    N170 X-.585
    N180 X-.735
    N190 X-1.99 Y.98
    All those N110, N120, N130, etc seem to be increasing the file size by at least 25%.

    Thanks,

    Gerame

  2. #2
    Join Date
    Nov 2007
    Posts
    1702
    When you post the file, click the 'edit' check box.

    When it posts, it should open the saved file in the MC editor.

    In the MC Editor, pulldown the NC Functions menu and select Remove Block Numbers

    You can also add them back in, or renumber them if you do cut & paste editing after the fact.

    And if you're really worried about file size, you can also remove all the spaces in the file (under the same menu).
    Greg

  3. #3
    Join Date
    Mar 2006
    Posts
    1013
    Helps to know what version of Mastercam your using.

    If it's V9 or older, open the post in the editor and search for "omitseq" and set it to "1" or "yes". It will post the file without block numbers.

    If it X you would open the Control Def - go to NC Output and uncheck "Output Sequence Numbers".

    Mike Mattera
    Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More
    http://www.tipsforcadcam.com

  4. #4
    Join Date
    Jul 2008
    Posts
    139
    I've changed my post for the same reason, memory usage.
    I have taken the "0"'s out that don't need to be there.
    G00-G01-G02-G03-M09-M08 to G0-G1-G2-G3-M9-M8,etc.

    You would be suprised how much memory you can save.

  5. #5
    Join Date
    Dec 2008
    Posts
    27
    I run X2. I will play with the setting in the morning, thanks for the advise:cheers:

  6. #6
    Join Date
    Mar 2006
    Posts
    1013
    Set "spaces" = to 0. You'd be amazed how much the file size can be reduced by just turning this....

    G1 X1. Y1.

    into this...

    G1X1.Y1.

    Mike Mattera
    Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More
    http://www.tipsforcadcam.com

  7. #7
    Join Date
    Dec 2008
    Posts
    1
    You can do it by going to the control def manager through the machine def manager and going to "nc output" and un checking sequence numbers. that should do it.
    Jeremy

Similar Threads

  1. Line Smoothing, point /line no identification
    By dz1 in forum Visual Basic
    Replies: 8
    Last Post: 12-15-2007, 12:03 PM
  2. Line numbers
    By batmill in forum G-Code Programing
    Replies: 11
    Last Post: 09-16-2007, 09:25 AM
  3. Line numbers Fanuc OMD
    By Gncc50 in forum Fanuc
    Replies: 1
    Last Post: 08-22-2007, 07:30 PM
  4. How to get rid of line numbers in NC code
    By mcoughlin in forum CamWorks
    Replies: 1
    Last Post: 04-17-2007, 04:30 AM
  5. G-Code Line Numbers?
    By Imagineering in forum G-Code Programing
    Replies: 3
    Last Post: 08-17-2005, 01:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •