Well if you wanted to put a VB button on screen its easy, just add a button in screen4 or Machscreen and choose for it to be a VB button instead of choosing the OEM code or function option.
Then when back in Mach3 you go to Operator menu and choose Edit Button Scripts and it will flash, click it and enter the following
If GetOemLED(854) Then
DeActivateSignal(OutPut3)
Else
ActivateSignal(Output3)
End If
Then save and exit the editor and you have just made a toggle button that will switch Output 3 on or off depending on whether its already on or off.
The LED will be Output 3 LED and you can add that to the screen page beside your button if you wish, just add a LED in Screen4 and set it as OEM 854
Hood