Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Flipz01 on April 04, 2007, 01:51:53 PM

Title: Driver Fault
Post by: Flipz01 on April 04, 2007, 01:51:53 PM
I don't see a standard input to read a driver fault.

How do folks out there read this?  I'm adding it as an E-stop input, but that's not quite what I want.
Title: Re: Driver Fault
Post by: Brian Barker on April 04, 2007, 09:45:36 PM
We set them up as an Estop... but if you wanted you could do the following:

   If (OEMTrig3 and getLED(0)) Then
       doButton(21)
       MsgBox("Drive crapped out")
       Exit Sub
   end if


You would put this code in the macro pump

Thanks
Brian