Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: jve on June 22, 2012, 08:46:51 AM
-
is it possible mach3 trigger an output when i have a g31 and when g31 is ready the output will go off
-
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
-
i try this at home and it works now i have to go to the machine to check i have to say more than thankyou i wasted 3days working on this banging my head to the wall
regards
jekran