Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: TM on October 04, 2016, 01:41:29 AM
-
Hello members of the forum,
I am experiencing a problem with a macro that I wrote recently. The macro is assigned to a M31(random number) function and when I call it in MDI it runs it, but when I call it as part of a whole g-code program, MACH3 doesn't even load the g-code. The macro is very simple, it activated and deactivated several inputs and output for a mechanical testing station that I created. Any ideas what may be the reason for that?
Thank you!
TM
-
Can you attach the code that is not working, also the macro as well.
Hood
-
Also worth mentioning, custom macros should really start with m101 and upwards, 100 and under are supposed to be reserved for Mach3 internal use.
Hood
-
Thank you for the feedback! I will try to change the number to M1 _ _ and if I dont have result I will upload the macro.