Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: robertspark on August 12, 2019, 06:35:16 AM

Title: Mach4 (4.2.0.4284) Status Bar .... confused (wxLathe.set) ?
Post by: robertspark on August 12, 2019, 06:35:16 AM
Mach4 (4.2.0.4284) Status Bar (wxLathe.set)

Any reason why G99 shows up twice on the current active status Bar??

When I change to G98, one of the G99's changes to G98, but the other remains at G99?
Title: Re: Mach4 (4.2.0.4284) Status Bar .... confused (wxLathe.set) ?
Post by: joeaverage on August 12, 2019, 02:41:00 PM
Hi,
that initialization string is part of the profile and is not easily overwritten or changed. This thread is broadly similar:

https://www.machsupport.com/forum/index.php?topic=41351.msg271124#msg271124 (https://www.machsupport.com/forum/index.php?topic=41351.msg271124#msg271124)

Craig
Title: Re: Mach4 (4.2.0.4284) Status Bar .... confused (wxLathe.set) ?
Post by: jbuehn on August 12, 2019, 03:48:50 PM
You can use the ModalWizard to see which modal groups those are coming from.
Title: Re: Mach4 (4.2.0.4284) Status Bar .... confused (wxLathe.set) ?
Post by: robertspark on August 13, 2019, 05:16:57 AM
Craig, no its not the same thing

jbuehn, thanks that gave me the clue I was looking for.

It is definitely a bug, and it affects all releases from 4.2.0.4284 back to 4.2.0.4162

Attached is the screenshots from the Modal Wizard and the status line/ bar from 4.2.0.4162.

The wizard also appears to have a bug too....

As you can see modal group 05 says feedrate mode G99 (which is correct), which the wizard says is "R return point", which is a wizard bug...... it should read "Feed Per Revolution"

And then when you look at modal group 10 it says Active GCode "G99.0", this is a Mach4 bug as it should say G99.1 , which is "R Point Return"

These are covered in the Lathe GCode Programming Manual, Chapter 2: GCodes (PDF page 7, 8 & 9)

The problem is its lathe and turning and not many people are probably interested..... hence why it gets missed / not put right.
Title: Re: Mach4 (4.2.0.4284) Status Bar .... confused (wxLathe.set) ?
Post by: Brian Barker on August 14, 2019, 09:53:11 AM
This was showing Mill modal's, I have added some code to swap to show lathe modals. I also kill groups that are not in Lathe mode so you will not see an extra data.
Title: Re: Mach4 (4.2.0.4284) Status Bar .... confused (wxLathe.set) ?
Post by: robertspark on August 14, 2019, 10:12:37 AM
thanks Brian, much appreciated, us lathe users tent be be a forgotten minority in the CNC world