14
« on: June 11, 2009, 10:51:12 AM »
Sid,
On my machine the soft limits are set as follows:
X Min 0 Max 103
Y Min 0 Max 49.5
Z Min –12 Max 0
Yes, there is an inconsistency between the comments and the G code. The comments are in absolute values and describe the actual distance between the top of the board being cut and the bottom of the collet. But, to use that distance with a machine that homes at 0 (full up) and travels down 12”, I have to enter a negative number. Hence the G52 offset of Z-12.5625
As suggested, I loaded both programs into the toolpath screen and both show identical results:
X – 0 to 6
Y – 0 to 6
Z – 0 to 2.5
However, when I execute the programs, only #2 creates the soft limit error (at the start of the program). No error is ever generated in the body of the code while it is executing - nor does the program ever exceed the -12 soft limit set by the program.
But, you questions have caused me to do some additional testing. I changed the Z limit to –12.75. That eliminates the warning message. Although this isolates the problem, it does not fix the problem. The machine can only travel to an absolute distance of –12.
The G52 command sets the offset to –12.5625 (which is over the limit), however, the G43, tool length offset, adds 1.5” to that which results in a net travel of –11.0625.
What is interesting is that both programs display the same numbers on the toolpath screen, but only #2 creates the soft limit warning. And along that line of thinking, the “absolute z” values are 0 to 2.5 – but 2.5 is outside of the soft limits of the Z axis. By that logic, I would think that both programs would generate a warning.
Suggestions?