181
General Mach Discussion / Re: Attaching a macro to OEM input trigger OEM code 301?
« on: January 28, 2009, 08:35:02 AM »
From OEM Button Codes in MachCustomizeWiki--- "Code for OEMTriggers runs the macro in SetTriggerMacro 301"
And from "Communications Routes" in MachCustomizeWiki
VB Script programs
A VB Script program can be used in three ways:
By being "attached" to a screen button and so be run when the button is clicked or its hotkey is pressed
By being put in a macro and called from within a part program, the MDI line of the G-code attached to a button. The last of these methods being suitable if the program is too big to attach directly to the button or is required to be used as a macro from a part program as well as a button.
By being a macro attached to an OEM input trigger by OEM code 301.
Tony
And from "Communications Routes" in MachCustomizeWiki
VB Script programs
A VB Script program can be used in three ways:
By being "attached" to a screen button and so be run when the button is clicked or its hotkey is pressed
By being put in a macro and called from within a part program, the MDI line of the G-code attached to a button. The last of these methods being suitable if the program is too big to attach directly to the button or is required to be used as a macro from a part program as well as a button.
By being a macro attached to an OEM input trigger by OEM code 301.
Tony