Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: japrenticeuk on May 22, 2007, 03:20:05 AM

Title: How to find if Mach is in G90 or G91 mode
Post by: japrenticeuk on May 22, 2007, 03:20:05 AM
Greetings

I am struggling with a bug in a plugin for the Shuttle XPress - It makes funny step moves from inner wheel if machine is in G91 (Inc move) mode and I need to find a Mach variable to tell me when G91 is active.

Has anyone any idea? Reading the .H files has not help so far but there is an awful lot of them :=)

Thanks

John Prentice
Title: Re: How to find if Mach is in G90 or G91 mode
Post by: Chaoticone on May 22, 2007, 07:17:55 AM
Does this help?

Brett
Title: Re: How to find if Mach is in G90 or G91 mode
Post by: japrenticeuk on May 22, 2007, 08:03:37 AM
Brett

Thanks but - No it does not.  I am after G90/G91 not CV

John Prentice
Title: Re: How to find if Mach is in G90 or G91 mode
Post by: Chaoticone on May 22, 2007, 11:05:23 AM
I'm sorry Mr. Prentice, i jumped the gun. This is a screen shot of a friends screen. I don't know how they are reading but will try to find out for you.

Brett
Title: Re: How to find if Mach is in G90 or G91 mode
Post by: Chaoticone on May 22, 2007, 11:14:02 AM
I found the OEM led numbers.

Brett
Title: Re: How to find if Mach is in G90 or G91 mode
Post by: japrenticeuk on May 22, 2007, 11:59:19 AM
Brett - that's magic

Thanks - I should have thought to look at LEDs  - Looking for SDK variables was being to difficult.

Best wishes

John Prentice