Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: Tarak on October 04, 2007, 03:22:50 AM
-
Is there a code that would suit this equation?
If Mach is on Page1(G Code page) then
Set UserLED(1020,1)
Else
Set UserLED(1020,0)
End If
Can I also force it to stay on the same work coord after the software is restarted, rather that reverting to G54?
Also on another note, is it possible to force it to Fixture Save when exiting the program, rather than the dialog asking?
Thanks
-
There is the function GetPage() that will return the page number you are on.
Graham.
-
Thanks Graham, I'll give it a go.
-
Yep, she worked a treat Graham, Thanks again.