for those who would like this macro...
'Axis Motion LED Control**********************
' X axis LED = 1120
' Y axis LED = 1121
' Z axis LED = 1122
'X axis LED Control***************************
If GetOEMDro(806) > 0 And GetUserLED(1120) = 0 Then
SetUserLED(1120,1)
End If
If GetOEMDro(806) = 0 And GetUserLEd(1120) = 1 Then
SetUserLed(1120,0)
End If
'Y axis LED Control***************************
If GetOEMDro(807) > 0 And GetUserLED(1121) = 0 Then
SetUserLED(1121,1)
End If
If GetOEMDro(807) = 0 And GetUserLEd(1121) = 1 Then
SetUserLed(1121,0)
End If
'Z axis LED Control*****************************
If GetOEMDro(808) > 0 And GetUserLED(1122) = 0 Then
SetUserLED(1122,1)
End If
If GetOEMDro(808) = 0 And GetUserLEd(1122) = 1 Then
SetUserLed(1122,0)
End If
'End of File************************************
End