Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: wakedabed on March 11, 2015, 04:27:12 AM
-
Hello guys
I want to ask you if there are someone to tell me how i can change an integer on a macro file from the main screen?
For ex. i have on an macro file an integer for time (sleep 1000), in all my work project this integer is the same time, now i want to change it every time i want to enter Mach3 without to open it from the main menu, i want to change it through the main screen.
Can someone help me please?
Thanks so much!
-
just put a digital inputbax in your main screen,
format it to only 4 digits , for example OEMDRO 2000.
in the macro you can read the dro with
timer=GetOEMdro(2000)
sleep(timer)
Thomas
-
What a nice reply!! Thanks so much brother!!
So amazing this program!