Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: mgv1 on October 20, 2011, 03:42:00 PM

Title: How to get the onscreen MPG to stay up?
Post by: mgv1 on October 20, 2011, 03:42:00 PM
Hi All,

I searched as this question has been raised before but there were no answers so I'm trying again:

The onscreen MPG is activated by the Tab key bit when you go from screen to screen, e.g. If you go from the Run screen to the Offsets screen, the MPG drops off and then you have to Tab it back up. There is a further annoyance that it doesn't remember the size/place it was set to and so you have to re-size it to fit the space or else it overlaps the other graphics.

Any ideas of a way to make it stay up, or at least remember its size and place?

Thanks,

Mark
Title: Re: How to get the onscreen MPG to stay up?
Post by: Hood on October 20, 2011, 03:55:54 PM
Really the way to do it is add it to your screen as part of the main page, means a bit of work altering a screenset or making your own up.
Hood
Title: Re: How to get the onscreen MPG to stay up?
Post by: mgv1 on October 20, 2011, 03:58:54 PM
Thanks Hood,

I'm guessing there's no settings that can be adjusted to accomplish this. It seems very strange that it would have been programmed this way.
Title: Re: How to get the onscreen MPG to stay up?
Post by: Hood on October 20, 2011, 04:03:32 PM
Not that I know of, its been a long long time since I used it as I made my own screensets up a long time ago and incorporated MPG buttons on it. However the size definitely used to stick, but that was way back so seems like that at least is broken now.
Hood
Title: Re: How to get the onscreen MPG to stay up?
Post by: Overloaded on October 20, 2011, 04:09:38 PM
You can make a macro ... M108  DoOEMButton323 and put it in the initl string on the config page. The pendant will then pop up when you start Mach and hit RESET. Not sure if it will rem its size and place tho.
Russ
Title: Re: How to get the onscreen MPG to stay up?
Post by: Overloaded on October 20, 2011, 04:12:05 PM
screen to screen will still drop it though
shucks !
Title: Re: How to get the onscreen MPG to stay up?
Post by: BR549 on October 20, 2011, 07:06:16 PM
YOu could modify the screen buttons and include the code to pop up the MPG screen as it changes each time.

(;-) TP
Title: Re: How to get the onscreen MPG to stay up?
Post by: Overloaded on October 20, 2011, 07:15:46 PM
Hey TP, I was trying to do that !
How can one assign 2 oem codes to a single button .. or is that possible ? I tried but couldn't get it to work.
I also tried to overlay 2 buttons on top of each other with different oem codes in each but that didn't work either.
Just curious.
Thanks,
Russ
Title: Re: How to get the onscreen MPG to stay up?
Post by: Hood on October 20, 2011, 07:21:05 PM
Russ you would make it a VB button in Screen4 or MachScreen then write the VB to it in Mach.
Hood
Title: Re: How to get the onscreen MPG to stay up?
Post by: mgv1 on October 20, 2011, 07:38:30 PM
You guys have lost me with the programming stuff  :)  Although it would be fun to make a new screen I'm trying to get parts made at the moment and just don't have the time. If anyone does come up with a way that can be loaded easily please let me in on it?

Cheers,

Mark
Title: Re: How to get the onscreen MPG to stay up?
Post by: BR549 on October 20, 2011, 07:39:26 PM
Hood has the right idea(;-) I do that trick on screens where i NEED it to update teh toolpath when I change screen Pages.

(;-) TP
Title: Re: How to get the onscreen MPG to stay up?
Post by: Overloaded on October 20, 2011, 07:42:19 PM
SH00T Hood ... I knew that.  ::) :P :-[ >:D
Dooohhh ..  :)
Thanks Ol Buddy,
Russ

Title: Re: How to get the onscreen MPG to stay up?
Post by: Overloaded on October 20, 2011, 07:56:13 PM
VERY easy Mark,
 Open the Program Run button in Screen4, change it to Script, Then under OPERATOR click Edit Button Script, click on the flashing Prgrm Run button and put this in then save.

DoOEMButton 1
Sleep 100
DoOEMButton 323 

Works a treat. I like it, thanks for the suggestion.
Thanks TP,
Russ
Title: Re: How to get the onscreen MPG to stay up?
Post by: mgv1 on October 20, 2011, 09:23:34 PM
Awesome, I'll try it first thing in the am.

Mark
Title: Re: How to get the onscreen MPG to stay up?
Post by: ger21 on October 20, 2011, 10:09:23 PM
The jog "pendant" is a separate page of the screenset, and you can't display two pages at the same time.


Quote
There is a further annoyance that it doesn't remember the size/place it was set to and so you have to re-size it to fit the space or else it overlaps the other graphics.

Start Mach3, hit tab. Drag the pendant where you want it, and hit tab again. Then hit tab again, and again, drag it where you want. Tab again to close it, and close and restart Mach3. It will now remember where you want it. Little Mach3 quirk. :)
Title: Re: How to get the onscreen MPG to stay up?
Post by: mgv1 on October 21, 2011, 02:15:15 PM
VERY easy Mark,
 Open the Program Run button in Screen4, change it to Script, Then under OPERATOR click Edit Button Script, click on the flashing Prgrm Run button and put this in then save.

DoOEMButton 1
Sleep 100
DoOEMButton 323 


Excuse the Newbie factor, I tried to do this but I mistakenly thought it was done directly in the Mach3 program. Then I figured out Screen4 is a program and managed to download and open it, but I'm running into dangerous territory as I can open the screenset but don't know how to "Open the Program Run button in Screen4, change it to Script,"

Any help would be much appreciated.

Thanks

Mark
Title: Re: How to get the onscreen MPG to stay up?
Post by: Hood on October 21, 2011, 02:36:53 PM
Press Ctrl and double click it then you will see this (pic below), click the VB script........ then press OK. Next go to file and save as then choose a name you want. Next atart o Mach, View menu and LoadScreen and choose the renamed screen. Lastly go to Config Menu then Edit Button Scripts and it should flash, click on it and in the box that pops up place the script that Russ mentioned. Save and close and it should work.

Hood
Title: Re: How to get the onscreen MPG to stay up?
Post by: mgv1 on October 21, 2011, 03:23:40 PM
Thanks Hood, I tried it but the pendant still goes away in between screens. I double checked to see that the code is there and everything seems fine just it doesn't work.
Title: Re: How to get the onscreen MPG to stay up?
Post by: Hood on October 21, 2011, 03:25:56 PM
If you want the pendant on all screens you will have to do all the screen buttons (MDI, Toolpath ect).
Hood
Title: Re: How to get the onscreen MPG to stay up?
Post by: mgv1 on October 21, 2011, 04:14:11 PM
Yes!! Thanks guys for all the help, I finally got it to work. The screen blinks a bit during transition but the pendant stays up so that's the main thing.

Cheers,

Mark
Title: Re: How to get the onscreen MPG to stay up?
Post by: Hood on October 21, 2011, 04:17:13 PM
Now you have done a wee bit screen editing and are becoming confident  you could just add the buttons required to each page ;) Would possibly make it neater as unlikely you need all of the stuff thats on the tab screen.
Hood
Title: Re: How to get the onscreen MPG to stay up?
Post by: mgv1 on October 21, 2011, 04:18:39 PM
Good idea, I didn't think of that.
Title: Re: How to get the onscreen MPG to stay up?
Post by: Hood on October 21, 2011, 04:26:27 PM
I use separate buttons  for X (185) Y (186) and Z (187) instead of the toggle, makes it much easier to change say between X and Z as you dont have to toggle, just press the button you wish :)

Hood