DC Padgett Posted July 21, 2022 Posted July 21, 2022 Here is a sample of the code I am trying to run. The tool will move to the correct offset position, will spiral down to -0.180, completing the second line of the spiral, then it simply stops and I have an error. Error Status: Illegal move mode or command while cutter compensation active. G55 G17 G20 G40 G49 G80 G90 M6 T5 (.5 FINISH) M1 G43 H5 G53 Z0.0 M3 S2000 M8 G0 G90 X-4.0 Y0.0 Z3.0 G42 D5 G1 X-4.1885 Y0.0635 F5.0 Z1.0 F30.0 M1 G1 Z0.1 G3 X-4.1885 Y0.0635 Z-0.090 I0.0 J-0.0635 F4.0 G3 X-4.1885 Y0.0635 Z-0.18 I0.0 J-0.0635 F4.0 G3 X-4.1885 Y0.0635 Z-0.27 I0.0 J-0.0635 F4.0 G3 X-4.1885 Y0.0635 Z-0.35 I0.0 J-0.0635 F4.0 G3 X-4.1885 Y0.0635 I0.0 J-0.0635 F4.0 Quote
chrisvk Posted July 21, 2022 Posted July 21, 2022 Im getting the same error with cutter comp. Try it with G18 or G19. I have an XZ lathe but it would only work with and XY plane. Still working on figuring out why. Quote
DC Padgett Posted July 26, 2022 Author Posted July 26, 2022 I solved this problem. It was actually about 10 lines ahead. I did not have a G1 to come out of G42. At the end of the sequence, originally it went G0 Z7.0, G40. Changed it to G1 Z7.0 F100.0, G40 Y0.0 and it works now. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.