New Machine Build Illegal use of G-CODE


Results 1 to 4 of 4

Thread: Illegal use of G-CODE

  1. #1
    Registered
    Join Date
    May 2017
    Location
    United Kingdom
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Illegal use of G-CODE

    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)

    G3 X39.501 C-11.272 R0.8 F515.66
    G1 X39.311 C-11.315 Z-11.793
    X39.124 C-11.357 Z-11.773
    X38.944 C-11.398 Z-11.739
    X38.773 C-11.437 Z-11.693
    X38.615 C-11.473 Z-11.635
    X38.472 C-11.506 Z-11.566
    X38.346 C-11.535 Z-11.487
    X38.24 C-11.559 Z-11.4
    X38.156 C-11.578 Z-11.306
    X38.095 C-11.592 Z-11.207
    X38.058 C-11.6 Z-11.104
    X38.045 C-11.603 Z-11.
    X38.045 Z16. F8000.
    G18
    G0
    M35


    N103
    (2D Contour3)
    G98
    (Milling from Z+ G17)
    G0 C0.
    M35
    G1 X46.615 C-11.1 Z16. F8000.
    Z3.
    X46.615 Z2. F600.
    Z-12.1
    X36.615 F350.
    X22.2
    C-15.272
    C-23.308
    X22.2 Z16. F8000.
    G0
    M35

    any help would be appreciated.

    Thanks Sean

    Similar Threads:


  2. #2
    Registered
    Join Date
    May 2017
    Location
    United Kingdom
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: Illegal use of G-CODE

    Or on this does a G0 have to have a operator afterwards? as in X0, Y0, ect. ect.



  3. #3
    Flies Fast Superman's Avatar
    Join Date
    Dec 2008
    Location
    Antarctica
    Posts
    3109
    Downloads
    0
    Uploads
    0

    Default Re: Illegal use of G-CODE

    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) ?



  4. #4
    Registered
    Join Date
    May 2017
    Location
    United Kingdom
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: Illegal use of G-CODE

    Thank you Superman (rofl)

    I will give this a try.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Illegal use of G-CODE

Illegal use of G-CODE