Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: glengeniii on July 18, 2010, 03:34:54 AM

Title: M98 and M99 VBScript
Post by: glengeniii on July 18, 2010, 03:34:54 AM
Does anyone know how to access the VBScript for the M98 and M99 macros?  They are not found in the Macros Folder.  I don't want to change them, I would just like to see how Mach3 Find the M98 O word when the M98 P word is called, and how Mach3 exits the subroutine with the M99 comand.
Title: Re: M98 and M99 VBScript
Post by: BR549 on July 18, 2010, 10:00:21 AM
The M98/99 macros are internal code inside the mach kernal they are not available to users.
Title: Re: M98 and M99 VBScript
Post by: cncstep on July 26, 2010, 12:46:16 AM
C:\Mach3\macros\(Name of your profile)
To create in this folder two files with names M98.m1s and M99.m1s and to fill their contained by the necessary scripts. To call commands as usually from g-code M98 and M99.
Title: Re: M98 and M99 VBScript
Post by: Tweakie.CNC on July 26, 2010, 02:33:38 AM
Quote
To create in this folder two files with names M98.m1s and M99.m1s and to fill their contained by the necessary scripts. To call commands as usually from g-code M98 and M99.

This is not a very good idea - M98 & M99 are reserved GCode commands and are not user configurable without the risk of locking/crashing the application if there is a conflict.

Tweakie.