Hello again all,
Short version: Within the last couple weeks, numbers have started appearing in my tool table that I did not put there, I don't use the tool table at all, every entry should be zero.
Full version:
I've been running mach3 on my machine for several
years, I've run thousands and thousands of programs through the machine, but something has started happening within the last couple weeks I just cannot seem to solve. I should probably first mention that I generally run the same gcode I've been using for a very long time, this is not new code. I haven't touched the mach configuration at all for many months.
I use my touch plate to zero my Z axis, it touches, retracts, and sets the Z to 5mm above the surface as expected.
- Sometimes - but not always - this oddity occurs when I start the program, right before the first tool change. If I watch the Z DRO on the main mach screen, it starts at 5mm, but when I run the code pictured below, the number suddenly changes, the first time I caught it a week ago, it was just over 26mm. It should stay at 5mm. I did some digging, and found an entry in the tool table length that matched the 26mm. The thing is, I have
never used the tool table for anything, all the entries should be zero. I set the offending entry back to zero, pushed apply, and went on with my work. Yesterday, it happened again. This time, the magic number was -33.7268 on tool number 46. Once again, I checked the tool table, and sure enough, -33.7268 was entered into tool length for number 46, while every other entry in the entire table was zero. Again, after setting the table cell back to 0.00, pressing apply, everything worked fine for the rest of the session.
I haven't found a pattern to the problem. It seems it can happen with any tool.
Thinking it must be caused by the gcode itself, I used the Linux grep command to search through file contents of all the files I use, trying to see if that -33.7268 number existed anywhere in any of my gcode, but it found nothing. I did some testing to make sure my grep command was right, and it works for other numbers. (Fyi, the files are stored on a Linux server, hence the grep command)
grep -r -e '-33.7268' /home/z/machine/
Here's the header from the file I ran when it happened last. All my files use the same post processor, and have the same header. I broke it up a bit to make it more readable.
Is there anything you guys can think of that would cause this? I'm drawing a blank here. How in the world are these numbers getting into the tool table?
Thanks for reading,
Z