Machsupport Forum
Mach Discussion => Mach Screens => Topic started by: brianhatley on May 20, 2020, 05:54:17 PM
-
I am looking to add a DRO to the main page that i can set the material thickness on. then call for it on my auto tool zero.
Something like [+0.7500] as the dro setting i set.
Then since my touch plate is 1/4 i can name the variable Tool0 = .250 - (what ever i need to call for my dro setting)
I have a vague idea of what i am doing. just need help connecting the dots. pretty please
-
In the screen editor (machscreen or Screen4) place a DRO and give it a number in the 'Standard code' section of 1800 to 1850 you can then add a label saying what it is.
In your macro you read it by
var = GetOEMDRO(1800)
and update it by
SetOEMDRO(1800,val)
That is the short version