Machsupport Forum
Mach Discussion => Mach Screens => Topic started by: Tarak on April 11, 2007, 06:00:23 PM
-
I've got a button that runs g code
e.g
CODE "G90 G00 X10.0"
Before the code runs I would like it to close any open G code program (just in case).
I noticed on the CLOSE G CODE BUTTON the OEM code is 169.
How do I use this OEM with VB?
Thanks.
-
Not sure at all but think it is (Do Button #XX). Look at the ref all home button with the Vb script editor, that might help.
Brett
-
Use:
DoButton(169), in a button or other script