Open notepad and type in your VB, for example to switch on OutPut 3 you would have
ActivateSignal(OutPut3)
Save the file as m****.m1s where the **** is a number you wish, for example it could be m1234.m1s.
Yousave it to the macro folder of the profile you are using, exaple if using standard Mach3Mill profile it would be saved to
C:\Mach3\macros\Mach3Mill
Then when you have m1234 in your code or call from MDI that output will be activated. Similarly for shutting it off write another macro as above and call it for example m1235.m1s. In the macro you would have
DeActivateSignal(OutPut3)
So when your code calls m1235 the output will switch off.
Hood