Machsupport Forum

Mach Discussion => Mach Screens => Topic started by: MaxPorter on April 14, 2017, 10:45:47 PM

Title: Knee Mill Mach3 On Screen Calculator
Post by: MaxPorter on April 14, 2017, 10:45:47 PM
I am trying to build a basic calculator on a manual mill "3 Axis Digital Readout" screenset. The calculator is built (buttons and DRO) And I understand how to write the VB script to the buttons, but I don't see how the DRO will work or how to Identify it in my script.
Any help will be greatly appreciated,
Max ?
Title: Re: Knee Mill Mach3 On Screen Calculator
Post by: Klaus1311 on October 12, 2017, 04:11:42 PM
Hi Max,

have a look at my samples, one of them is just doing what you want to do.
Download: http://www.kd-dietz.com/klausphp/index_eng.html (http://www.kd-dietz.com/klausphp/index_eng.html)

Klaus
Title: Re: Knee Mill Mach3 On Screen Calculator
Post by: MaxPorter on October 30, 2017, 05:52:41 AM
Thanks Klause,
The calculator is very nice! I have a screenset that I want to use with a calculator that is built in to the screen that I use for a digital read out when the mill is being used in manual mode. I would like the calculator to be part of that screen and not a pop up window. Do you know how to do this?
Thanks,
Max
Title: Re: Knee Mill Mach3 On Screen Calculator
Post by: Klaus1311 on October 30, 2017, 06:39:23 PM
Hi Max

the keyboard sample isn't a popup window, it's a screenset page . Just put the keyboard part of the sample to your screenset page and adapt it to your needs.

Klaus
Title: Re: Knee Mill Mach3 On Screen Calculator
Post by: TPS on December 22, 2017, 01:32:55 PM
Hello Max,

if you can post your Screen, maybe we can get some more ideas what you are trying to do.
for the moment i am no able ,maybe depending on my bad english, what you are trying
to do.
Regards Thomas
Title: Re: Knee Mill Mach3 On Screen Calculator
Post by: MaxPorter on May 21, 2019, 09:35:34 PM
Guys,
My screenset is attached, I did not know how to attach the Bitmap folder so some of the bitmaps may not show up. If you look at the screen labeled DRO, or screen 8, you will see what I am trying to do. Make an on screen calculator.
Any help would be appreciated.
Max
Title: Re: Knee Mill Mach3 On Screen Calculator
Post by: TPS on May 22, 2019, 03:49:33 AM
here is my quick and dirty solution, not realy tested for all cases, but i think you can get the idea
Title: Re: Knee Mill Mach3 On Screen Calculator
Post by: MaxPorter on May 22, 2019, 07:08:25 PM
TPS,
That is great! It works! I have made no progress on this

Thank you!
Max 8)