This should get you started, (;-) TP
'M31 macro
ActivateSignal(output1 )
If GetOemLed(825) Then
MsgBox"Probe already active,Reset and Retry"
End
Else
Code"G31 Z-10 F30"
While Ismoving()
Wend
End If
If NOT GetOemLed(825) Then
MsgBox"Probe failed to fire"
End
Else
DeactivateSignal(output1)
End If
End