Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: jguillen on October 01, 2007, 05:05:54 PM
-
Hello All,
Does any one know how to light up an external led with Mach3?. What I am trying to do is have 3 LEDs on my home made MPG light up with the corresponding active axis. I looked at the oem codes for the the LEDs on the Tab screen and figured out that they are 59 for the x axiis, 60 for the y axis, and 61 for the z. This is as far as I can get. I cant figure out how to relate these codes to an output signal.
Thanks,
Jose.
-
you will need to do it in a VB script or brain.
VB in macro pump the x axis as an example
If GetOEMLED(59) Then
ActivateSignal(OUTPUT1)
End If
In Brian,
pick a LED input led59 for example,
then your lobe is straight through
termnation is OUTPUT1
so get these outputs and drive them trough your amp to your leds on your pendant
scott
-
I created the attached brain and when I enable it, it causes Mach3 to shut down. Any suggestions?
-
What version of Mach are you using, I had similar problems with 2.47 I think it was but 2.48 cured it and I now have the update installed and am at 2.52 which seems to work fine.
Hood
-
Rename your file. Take the space out that is between led and output. Brains don't like blank spaces in their name, or didn't a few releases back. Hood knows all about it. ;)
Brett
-
Thanks for the replies. Yep, getting rid of the spaces in the file name fixes the problem. I'm on verssion 2.48.