Hi.
M6, M7, M8 and M9 are are already KNOWN to the "MACH4 GUI" modules. User defined Macros are NOT.
This is a red herring. m6, m7, m8 and m9 are predefined.Please not the DELIBERATE use of lowercase, that's how Machs
Gcode interpreter expects all m codes to be expressed.....use lowercase or you can expect some curly errors.
When the Gcode interpreter encounters a m code call it in the first instance searches for the m code macro in the macros
folder of the current profile. If it does not find a macro that matches the call is searches up the directories until it finds
the required macro.
Lets say you program calls an m8. If you do not have an m8() macro in your macros folder Mach will use the default
NFS supplied m8() macro. If you decide for whatever reason that you want to include some custom behavior in the m8()
macro then you would write a m8() which by necessity duplicates the expected default behavior plus whatever extra functionality
you require.
My understanding is that it was not possible to write an m0(), m1(), and m2() for instance. That is no longer the case,
although why you would want to modify these m codes is beyond me.
The important point is that
NO macros, be they built in or user written are co-routines.
Have you investigated the noise issue? 24V does not preclude noise, careful attention to circuit impedance is also required.
Post a circuit of the output of the BoB, including what you know about of the BoB output the output driver and the input
circuit of your dust hood mechanism.
Craig