4881
General Mach Discussion / Re: Adding UserLED to Change State from M10/M11
« on: March 05, 2014, 04:09:00 AM »
Hi Adam,
I am not absolutely certain because Mach3 is always full of surprises but I don't think you will be able to use the M11/M10 in that way because they have been more or less designated for laser control.
If you use the command M11P1 this will switch ON Output#1 and the command M10P1 will switch OFF Output#1 but both these commands only take effect at the instant of an axis (any axis) movement (ie. they must be followed by an axis movement on the next line in the GCode. The numeral following the P will determine which Output# is switched).
Hope this helps.
Tweakie.
I am not absolutely certain because Mach3 is always full of surprises but I don't think you will be able to use the M11/M10 in that way because they have been more or less designated for laser control.
If you use the command M11P1 this will switch ON Output#1 and the command M10P1 will switch OFF Output#1 but both these commands only take effect at the instant of an axis (any axis) movement (ie. they must be followed by an axis movement on the next line in the GCode. The numeral following the P will determine which Output# is switched).
Hope this helps.
Tweakie.