Hello Guest it is April 19, 2024, 03:18:07 PM

Author Topic: M98 and M99 VBScript  (Read 3613 times)

0 Members and 1 Guest are viewing this topic.

M98 and M99 VBScript
« 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.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: M98 and M99 VBScript
« Reply #1 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.
Re: M98 and M99 VBScript
« Reply #2 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.

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: M98 and M99 VBScript
« Reply #3 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.
PEACE