I've been doing more testing on this one and there is definitely
something really odd going on here. This is some test code I am using:
N0040 G21 (Units: Metric)
N0050 G40 G90
N0120 G43 H6
N0150 G00 X2177 Y884
N0160 G01 Z50 F2000.0
N0310 M30
Ignore the odd line numbers - it has been hacked out of a larger program.
If I run the above code the first time after starting LCNC it works. The
next time I get a Z maximum limit warning when I hit run though the code
runs as expected if I ignore the warning. None of the moves are anywhere
near the limits. If I remove N0120 it runs without a warning, even
though tool 6's offsets are currently active. The warning itself is
triggered by the next move after the G43.
I have had similar odd warnings on my lathe for many years but they have
only occurred very occasionally. Again the code ran fine if I ignored
the warning. On this machine for some reason it seems to happen pretty
much any time I run a program.
I don't know if it makes a difference but my tool lengths in the tool
table are generally fairly large negative numbers. Machine Z0 is near
the top of travel and the only Z offset I currently use is tool length
(G54,G92 etc are all 0). I have an auto tool setter which sets the tool
length so Z0 is at the top of the spoil board.
Les
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users