File will not run in EMC
For some reason LinuxCNC thinks that there is a comment within a comment in the file. I don't know why it considers that to be a problem, but you probably have a bracketed expression in a comment line with a ; at the beginning or something similar.I have changed the .nc to ngc with no success. Selecting "all files" in the dialogue box allows the file to load, but I still receiver the same message "nested comment found" when I attempt to run the machine.
It goes in the INI file, in the section suggested in the documentation I posted a link to initially.ArcEye's suggestion of inserting; " PROGRAM_EXTENSION = .nc , .NC" confuses me as I do not know exactly where to install it.
www.linuxcnc.org/docs/html/config/ini_co...sub_filter_section_a
Please Log in or Create an account to join the conversation.
i would look for (start( a message)) don't think you can have double parentheses. only (start)
Please Log in or Create an account to join the conversation.
I realized that it is poor etiquette and keeping with my poor programming practices ( I prefer not to do it this way ) I deleted the first 3 or 4 lines in the .nc file and the program ran. ?????????????
I wish that I knew what I was doing.
Please advise
Unfortunately, unless you post the file , or at least the start of it, we cannot assist you.
The output from CAM programs is often poor, no 'punctuation' or spacing etc. which makes it quite hard to read.
I was always taught that you should never mix comments with code.
If that were adhered to, the interpreter could just ignore any line with a ; or ( character, which would make life a lot simpler for all.
regards
Please Log in or Create an account to join the conversation.
Thank you
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
( 120512 FCP cambam (11) (1) 12/5/2012 11:06:00 AM )
Comment within a comment.
I have no idea why that is considered to be a problem.
Change that to say
( 120512 FCP cambam 11 1 12/5/2012 11:06:00 AM )
And I suspect that it will run fine.
Please Log in or Create an account to join the conversation.
In some controllers this simply means stop and rewind, but it is subtly different with Linuxcnc
linuxcnc.org/docs/2.5/html/gcode/m-code.html#sec:M2-M30
Probably won't make any difference just be aware of it
regards
Please Log in or Create an account to join the conversation.
Many thanks for all your input. Andy hit the nail on the head with the advice of changing the deleting the ( ) 's
Regards,
Jerry
Please Log in or Create an account to join the conversation.