2934
« on: December 21, 2013, 09:22:04 AM »
Comp in Mach3 has several bugs. Based on your code, it appears that it doesn't like G92 (or G52)
I'm not sure if any of the bugs are actually documented anywhere. The only ones I've ever really encountered where with specific geometry that the comp just wouldn't deal with.
Basically, if you do a proper lead in and lead out, it works about 99% of the time.
As for the manual, (and Mach3 to an extent), it is what it is. The manual was written by a third party many years ago, and is woefully out of date. I believe that the comp section was taken directly from the LinuxCNC Manual (LinuxCNC was the basis for mach3's trajectory planner)
The manual has never been updated, and never will be. Mach3 is currently in a similar state. Over the years, it evolved into such a complex package that bug fixes become nearly impossible to do without adding more bugs. For the last few years, the programmers have been working on Mach4, which is a complete re-write.
One thing about the G91.1 that most people don't realize.
It MUST be on a separate line from G90 or G91. They are in the same modal group, and if they are both on the same line, the first one will be ignored. Try this as a test, using MDI.
Type G91 and hit enter.
Type G90.1 and hit enter.
Type G90 G91.1 and hit enter.
You'll notice that you're still in G91 (incremental) mode.