Originally Posted by
Dan Fritz
What happens when you try to program a G-code that is not recognized? Do you get an alarm # 010 (Illegal G-code) ? If so, you may have many of the option parameters turned off. Believe it or not, circular interpolation with G02 and G03 is an OPTION. So are many of the other functions that use G-codes. M30 is an interface signal, and if that's the only M-code not working, it may simply be a wiring problem
Try to obtain a correct parameter list from OKK for this machine. If you can get one, verify the settings of parameters 000 through 005 and also parameters 300 through 305. These are all option parameters.
Also, you may have a programmable controller (PC) installed, which means that many interface functions have timers, counters, and/or data tables. If you dump the parameters in a Fanuc 6M, you not only lose the normal parameters, but you also lose these "PC parameters". Press the PARAM key twice to see if you get a screen for "PC Parameters" or not. If all the timers & counters are set to zero, you may have lost this information and you'll have to key it back in.