Friend is setting up a new lathe and was trying to turn relays on and off and was getting nowhere. He had defined macros m205.mcs and m206.mcs to turn output2 on and off. When the macro m205 was run in the zeroBrains editor output2 would get voltage and the led on the diagnostics page would light but when m205 was run in either the mdi or in a gcode file nothing would happen.
Deleted the mcc files, shut down Mach4 and restarted. No change.
Renamed m205.mcs and m206.mcs to m2005.mcs and m2006.mcs and changed the functions in the macros to m2005() and m2006() and they ran as expected. What could have caused the m205 and m206 to not work?