Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: awander on November 08, 2016, 08:52:00 PM

Title: G91 is not recognized in M4 Turn 4.2.0.3196
Post by: awander on November 08, 2016, 08:52:00 PM
When I try to execute a G91 from the MDI window, I get "Unknown G code used" error.

The Status line still shows the machine is in G90 mode.
Title: Re: G91 is not recognized in M4 Turn 4.2.0.3196
Post by: MachMotion Development Team on November 11, 2016, 11:11:05 PM
Mach4 Turn is Fanuc style not Mach3 style...  U is the incremental axis for X and W is the incremental axis for Z.  If you command "G01 U1 Z1" the X will move out 1 inch from its current position and Z will move to part coord Z1.0.

You will also see that G99 is feed per rev and G98 is feed per min.

I attached the MachMotion lathe Gcode manual.. There should be one that also on the MachSupport website.

Thanks,
Andrew
Title: Re: G91 is not recognized in M4 Turn 4.2.0.3196
Post by: awander on November 11, 2016, 11:17:35 PM
Andrew:

Thanks for this info.

So then, why does the status line in Mach4 Turn show G90?
Title: Re: G91 is not recognized in M4 Turn 4.2.0.3196
Post by: MachMotion Development Team on November 11, 2016, 11:21:30 PM
Andrew:

Thanks for this info.

So then, why does the status line in Mach4 Turn show G90?

I think that is a display issue...
Title: Re: G91 is not recognized in M4 Turn 4.2.0.3196
Post by: awander on November 11, 2016, 11:22:37 PM
I'm not sure what you mean by that.
Title: Re: G91 is not recognized in M4 Turn 4.2.0.3196
Post by: awander on November 11, 2016, 11:49:15 PM
I just went through all the codes shown in my "Modals" line, and the following codes are there, but don't appear in the Mach4 Lathe reference:

G15, G49, G67, G69, G90