587,249 active members*
3,655 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Surfcam > no line number in comment line in mpos
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2009
    Posts
    46

    no line number in comment line in mpos

    i want to be able to not have a line number in front of a comment. But in mpost the comments have to be on a line by itself. I want the rest of the program to have line numbers.

    this is what the code should look like at a tool change

    N50 ;--------------
    * - comments
    N51 ;--------------
    N52 G17 T2 S2500

    CODE SO FAR

    1st tool change
    ';-----------------'
    comments
    ';-----------------'
    i[arcplane] t[tool] s[speed]
    ect


    I want the comment line not to have a line number in front of it.

    anybody done this?


    thanks
    Marcus

  2. #2
    Join Date
    Sep 2004
    Posts
    264
    Hi,

    Put an exclamation mark enclosed in single quotes '!' at the line where you want to suppress the line number.

    1st tool change
    ';-----------------'
    '!' Comments
    ';-----------------'
    i[arcplane] t[tool] s[speed]

    --ch

  3. #3
    Join Date
    Apr 2009
    Posts
    46
    I tried that. but the comments have to be on a line by itself. it will error out and say cant understand word omments. That was the first thing I tried. I got it to work kinda. I changed the frequency switch to zero, and put a N[block] in every line witch meant defining a line code, but I get empty lines with line numbers in the canned cycles, which is weird.
    thank you though
    cheers Marcus

  4. #4
    Join Date
    Sep 2004
    Posts
    264
    Yeah you're correct, this does not seem to work with Comments - it does seem to work everywhere else... Maybe you need to contact your dealer... --ch

  5. #5
    Join Date
    Apr 2009
    Posts
    46
    figured it out with some help From Paul Andrews,
    you format your comment switch like this

    comments !( ) Start and ending comment characters

    this worked.
    cheers
    Marcus

  6. #6
    Join Date
    Sep 2004
    Posts
    264
    figured it out with some help From Paul Andrews
    Ah, Mr. Ground Support himself! Cool, glad you got it sorted. --ch

Similar Threads

  1. Replies: 3
    Last Post: 04-08-2011, 01:48 AM
  2. Line conditioners for CNC Equipment and poor line conditions
    By WSS in forum Waterjet General Topics
    Replies: 0
    Last Post: 01-14-2011, 03:07 AM
  3. omit line number
    By asjad in forum Mastercam
    Replies: 2
    Last Post: 05-10-2007, 12:18 PM
  4. G-code ploter with line number annotated?
    By webcruiser8 in forum G-Code Programing
    Replies: 3
    Last Post: 09-21-2006, 11:49 AM
  5. Line Number Range Error
    By gar in forum Haas Mills
    Replies: 2
    Last Post: 05-23-2006, 11:06 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
  •