hey JohnHaine, thanks so much for your prompt help, I did no answer earlier because I have been too busy at work but anyway.
yes I have tested and double checked the probe and is working fine, the pin light illuminates when touching the probe to my bit. this is the original script I was using and the second one I have tried after the first one stop working but also without any positive outcome.
Message ( "Auto zeroing...
If IsSuchSignal (22)Then
code "G31 Z-3 F20"
While IsMoving()
Wend
Call SetDRO( 2, .125)
code "G1 Z1"
End If
and the second one
PlateThickness =GetUserDRO (.125)
If GetOeled (825)<>0 Then
DoOEMButton (1010)
Code "G4 P5"
Code G31 Z-.75 F10"
While IsMoving()
Wend
ZProbePos =GetVar(2002)
Code"G0 Z" &ZProbepos
While IsMoving()
Wend
Call SetDro (.125)
Code "G4 P0. 125"
Code "G0 Z1"
Code"(Z axis is now zeroed)"
Code "(Z-Plate is grounded, check connection and try again)"
I hope that you can help with a good one. and thanks a million in advance
good luck