587,941 active members*
3,164 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2015
    Posts
    9

    065 Illegal Command in G71-G73

    I'm trying to prep some stock for a job that I need to run on an Ikegai Genesis 1210 CNC lathe w/Fanuc 21i-T control. The stock is square and I want to make it round so I can grab it in the chuck. The part is too long for the machine so I need to enter the stock on a taper. But whatever I try, it either will not do it (alarm) or it will do the first pass and then go straight to finish numbers. Any insight would be greatly appreciated. The program is a follows:

    G28 U0
    G28 W0
    T0101
    G50 S1400
    G96 S300 M03
    G0 X3. Z.1 M08
    G71 U.05 R.01
    G71 P10 Q20 U.005 W0 F.02
    N10 G42 G1 X2.85 Z.1
    Z0
    X1.6 Z-1.3403
    Z-19.5
    X1.7
    N20 G40 G1 X1.75
    G0 X3.0 Z.1
    G70 P10 Q20 F.003
    G0 X3.0 Z.1 M09
    G28 U0
    G28 W0
    M30

  2. #2
    Join Date
    Aug 2011
    Posts
    2517

    Re: 065 Illegal Command in G71-G73

    I suspect your problem is the G40 needs to be outside the cycle (specifically, it should go below the G70 line)
    But if you are just roughing it round remove the G42/G40 altogether to simplify it.

  3. #3
    Join Date
    Jan 2015
    Posts
    9

    Re: 065 Illegal Command in G71-G73

    I tried that. Tried with X and Z on same line, X and W0, with cutter comp, no cutter comp. Still get the same error. Couldn't afford to waste anymore time so I had to go "old school" and wrote it point to point. More writing/typing, but I am finally making chips. I think that the problem lies within the controller itself. That option might not be turned on. It would be weird if it isn't, but I did have to get Fanuc out before to turn on some other options (Drill cycles). Will do a little more investigating come Monday and we'll see where it leads. Will post if I get an answer.

  4. #4
    Join Date
    Aug 2011
    Posts
    2517

    Re: 065 Illegal Command in G71-G73

    the official description of the error is.....
    065 ILLEGAL COMMAND IN G71–G73
    (T series)
    1. G00 or G01 is not commanded at the block with the sequence
    number which is specified by address P in G71, G72, or G73
    command.
    2. Address Z(W) or X(U) was commanded in the block with a
    sequence number which is specified by address P in G71 or G72,
    respectively.

    the #1 check is ok because you have a G1 on line N10
    the #2 check fails because you have X and Z on line N10. meaning your machine can't use Type II cycles (its an option).
    If you change line N10 G42 G1 X2.85 Z.1 to N10 G1 X2.85 it should work (omit the G42 for simplicity)
    if it doesn't work then you possibly don't even have Type I cycles option.
    in your previous post you said you tried X and Z then X and W. both of those are illegal if you dont have Type II cycles option.
    Just use an X on line N10 and it'll work.

  5. #5
    Join Date
    Jan 2015
    Posts
    9

    Re: 065 Illegal Command in G71-G73

    Unfortunately it doesn't. I did try that and numerous other combinations. Nothing worked. So I believe that the machine doesn't have that option. Which really ticks me off. I will be call Fanuc today and hopefully they will be able to shed some light on the situation. Can't understand why this would be an option, but like I stated in an earlier post, Fanuc had to come out before and turn on other "options".

  6. #6
    Join Date
    Jan 2015
    Posts
    9

    Re: 065 Illegal Command in G71-G73

    Well the verdict is in................................................ ...........and the answer is that we DO NOT have that option in the control!!!! So we must buy that option or continue to "old school" it, with point to point programming. Not looking forward to doing that, since the next job is a little complicated and I need that option for that job. Can't wait to see what the cost will be either!! LOL LOL But you got to do what you go to do to make the job. Thanks again!!

  7. #7
    Join Date
    Aug 2011
    Posts
    2517

    Re: 065 Illegal Command in G71-G73

    I'll send you a PM.....

Similar Threads

  1. 608 illegal process alarm
    By robert9264 in forum Mazak, Mitsubishi, Mazatrol
    Replies: 0
    Last Post: 04-15-2013, 08:55 AM
  2. Illegal I,J, or K
    By Kool Parts in forum Haas Lathes
    Replies: 10
    Last Post: 01-07-2013, 09:32 PM
  3. Error 065 Illegal Command in G71-G73
    By CNCALLthethings in forum Fanuc
    Replies: 9
    Last Post: 09-30-2011, 02:09 AM
  4. 065 Illegal command in G71-G73
    By jdgromi in forum Fanuc
    Replies: 4
    Last Post: 12-15-2008, 08:45 PM
  5. 032 illegal offset value in G10
    By mr-seiki in forum Mori Seiki lathes
    Replies: 7
    Last Post: 10-15-2008, 08:11 PM

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
  •