Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent!



Paul, Frank, Jon, etc,

I tried running a 132,000+ line test program to check the limit out (in 1
increments, one x or y move per line) EMC stops at line#s >99,999. Looking
in /src/rs274ngc/ and /src/rs274ngc_new/ that number is hard coded in.

The same basic 132,000 line program without line numbers runs fine.
(Actually, I'd made some code changes already, so maybe stock BDI EMC cuts
out after 99,999 non-numbered lines. Someone care to check that?)

The test statement is in the read_line_number function, rs274ngc/rs274ngc.cc
and rs274ngc_new/rs274ngc_pre.cc. I've dug into it somewhat, but still in
progress... Simply changing the 99999 to a higher value didn't work for me,
so I've been looking at other things. Among them, the line number global?
variable is an int. (in /src,  grep -u -n emcTaskPlanLine ./) Rather small
variable type for line numbers, unless a string array holder. EMC appears to
use that  as a placeholder to track line numbers to their related block in
the queue. (for routines, screen readout, etc.)

- Keith

Edited thread, CCED Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent!

Frank wrote:
> Seems EMC doesn't like N #'s greater than 99999. Changed them and all
> seems well. It least running verify. Thought Emc could care less about
> line numbering ? The file line lenght is around 55000. had N #'s by
> 5's. Gee wonder if it can run a 100,000 line file. Or maybe Emc
> doesn't like any # greater than 99999 in the file ?

Jon Elson wrote:
>It is the 99999.  You can probably fix this by changing one number in the
>nml setup file, but I'm no expert in that area.




_________________________________________________________
Do You Yahoo!?
Get your free -at-yahoo.com address at http://mail.yahoo.com




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact