Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: dgraybeal on April 12, 2009, 01:51:26 PM

Title: Gcode Line Count Overflow
Post by: dgraybeal on April 12, 2009, 01:51:26 PM
Using a GCode file that has about 100,000 Lines. The line counter counts up to 32768 and then counts down from -32767 back to zero and then up again (Signed 16Bit Integer Problem). Anyone have a fix for this. I want to display the total lines count from the GCode file when it is originally loaded so that the user can compare the current line count to the total lines as an estimate of the time left for the run.