Good morning all i am developing a Post and was wondering if anyone can give me a reason that the post would give an error "Illegal use of G-CODE" on a Doosan Lynx 220LYA?
The code stops around where the file is marked red (with (G09- EXACT STOP active)
G9 only works on the single line it is stated on, it is NOT modal
G61 is for all lines until a G64 is stated
lathes are G18 by default XZ plane, some machine controls do not allow that code if it cannot switch planes in turning mode,
- try placing the G18 after switching to milling mode ( or comment it to not read it )
Easiest way to find the faulty line is to single step through the program ( stopping the read-ahead functionality )
Could you have used O(letter) instead of 0 (number) ?