It should be several ways to do that, my option would be:
Make your own led number (your specific led).
Make also the button that turns on the led and the button that turns off the led editable in mach3 as a script.
Edit the script, and for each button put the led on and off (after or before the script to do set variable position and goto variable position)
Filipe