CAD CAM EDM DRO - Yahoo Group Archive

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

Posted by Keith Rumley
on 2001-12-21 08:19:52 UTC
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

(the G-code file was a simple back and forth square, copied & pasted to get
desired file length)

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 @... address at http://mail.yahoo.com

Discussion Thread

chewy8833 2001-12-20 06:56:36 UTC EMC Help ,.. Urgent! chewy8833 2001-12-20 08:25:32 UTC Re: EMC Help ,.. Urgent! William Scalione 2001-12-20 09:41:48 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent! Keith Rumley 2001-12-20 09:55:15 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent! chewy8833 2001-12-20 10:21:12 UTC Re: EMC Help ,.. Urgent! Jon Elson 2001-12-20 11:31:46 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent! Paul 2001-12-20 12:41:26 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent! chewy8833 2001-12-20 17:16:57 UTC Re: EMC Help ,.. Urgent! Paul Jon Elson 2001-12-20 22:50:00 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent! Keith Rumley 2001-12-21 08:19:52 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent! Matt Shaver 2001-12-21 09:11:49 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent! Paul 2001-12-21 13:22:34 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent! Jon Elson 2001-12-22 00:04:17 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC Help ,.. Urgent! ballendo 2001-12-22 01:24:08 UTC Re: EMC Help ,.. Urgent!