Hello Guest it is April 18, 2024, 06:02:46 PM

Author Topic: Outputs for Status Lights  (Read 7643 times)

0 Members and 1 Guest are viewing this topic.

Re: Outputs for Status Lights
« Reply #10 on: October 29, 2008, 12:56:53 PM »
I can't even get the enables to work by passing the ESTOP LED to enable 6
Re: Outputs for Status Lights
« Reply #11 on: October 29, 2008, 01:03:24 PM »
Wait a minute.  I see a problem.  When I hit the reset button in mach (not an actual e-stop switch) the text to the right says that the estop button is pressed, however, in the diagnostic screen the emergency led does not light up.  I thought that pressing the reset button in mach, had the exact same effect as hitting a physical e-stop button.  Apparently not, any ideas on how to make that true?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Outputs for Status Lights
« Reply #12 on: October 29, 2008, 02:15:14 PM »
I think the standard screenset is wrong, my screen has the E-Stop LED flashing when in ReSet.
 OK will go look at a Brain and see what options there are, a relay would work but hopefully a brain could do that as well.
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Outputs for Status Lights
« Reply #13 on: October 29, 2008, 02:34:06 PM »
I am wondering, did you actually set the outputs/enables up in ports and pins and monitor them with a meter? I know for a fact that the Enable definitely can output when Mach is in reset as that is how my drives enable. Unfortunately I cant test here as neither of the computers in the house have parallel ports.
Hood
Re: Outputs for Status Lights
« Reply #14 on: October 29, 2008, 02:37:08 PM »
I've just been monitoring it on the Mach diagnostics screen.  I will try a physical test as soon as I can.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Outputs for Status Lights
« Reply #15 on: October 29, 2008, 05:14:44 PM »
OK, let us know please as it may help someone else. If I get a chance (and if I remember ) I will test it out but working away from the workshop tomorrow so it will be Friday at the earliest.
Hood
Re: Outputs for Status Lights
« Reply #16 on: November 01, 2008, 05:08:54 PM »
Okay, its still a no go with the brain.  The green lights are no problem, working perfectly, but when mach is in emergency mode I cannot get it to output an led signal through outputs or enables.  However, when I am in emergency mode, and I hit reset, I get two blinks from the leds.  For some reason, mach does not output an led when in emergency mode.  I'm wondering what other variables are enabled whe mach is only in emergency mode?

Anybody?
Re: Outputs for Status Lights
« Reply #17 on: November 01, 2008, 05:23:04 PM »
Alright so here is what I did to have the red lights on only in emergency mode!!

Set whichever pin you are using (mine was 17) to Active low.

Create a brain as follows:

Normal On (LED) --> Invert flip signal -------------------------------------> Output/Enable (whichever you have associated with you pin)


I don't know why the estop led doesn't work, but i tried a bunch of different ways.  The above configuration has red leds off when mach is in normal mode, and red leds on when mach is in emergency mode.

I also have the brain set up to turn green leds on in normal mode and off in emergency mode.


Hope this helps anyone that needs it!