. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Thanks Jazz. Apologies, that came across wrong, ill try to explain. I wanted any fault signal to disable all movement and I could not figure out an easy way to combine the 4 stepper driver fault signals into one so I got them to switch 4 small relays and then wired the relay switches in serial so if any one opens it cuts my 5v enable circuit etc.

    There are probably better solutions but I replaced those 4 relays with the arduino using 4 inputs and 1 output. Arduino Inputs connected to stepper driver fault outputs and the 1 output connected to all driver enables and spindle relay. The few lines of code check the inputs and if any change is detected it takes the output pin low disabling all drivers and switch the spindle off. Ive tested this to death and it works like a charm.

    Not sure I understand what you mean about the spare IOs. I do have spare inputs available on my controller but i dont want to rely on mach3 alone to stop everything or is that not what you mean?

  2. #2
    Quote Originally Posted by mitchejc View Post
    Not sure I understand what you mean about the spare IOs. I do have spare inputs available on my controller but i dont want to rely on mach3 alone to stop everything or is that not what you mean?
    What I mean is that there's no difference between Mach3 inputs and Arduino inputs Both are using and relying on Computers for safety.(BAD news) So if you had the spare inputs you may have well just used I/O on controller.

    Regards the Drive fault signal and Relay then you only needed 1 relay and wire the drive fault signals in parallel so if any drive faulted it turned on the relay. The relay NO or NC contacts would be used to control other things like E-stop relay and send signals to control saying fault happened.!! . . . Much safer.
    Last edited by JAZZCNC; 16-06-2015 at 05:04 PM.

  3. The Following User Says Thank You to JAZZCNC For This Useful Post:


  4. #3
    Thanks for the advise, Jazz. Keep in mind we rely on computers for safety all the time, in fact in some cases we use computers to make mechanical things safer :-) I do not really agree with you comparing an arduino with a pc as they are worlds apart in terms of complexity and things that can go wrong etc but its not a topic I want to labour.

    I believe what you are trying to get across is that the relay solution is ultimately more reliable and I'd still like to get that working if possible. I thought this was going to simple as pie and its not like I did not try and I spent more than a full day to get it working and failed to do so reliably. My challenge is the following: Fault output on the driver is a sinking type output. I connected it as per the manual with a simple little 5V circuit containing only a current limiting resistor and I got 0.7V on the driver fault output pin when in fault and 4.7V when not. I can swap these around in the driver setup when I set fault to "active high". I used this setup with a small relay board that basically contains a transistor and a diode but it switches even at 0.7V and its at that point where I started fiddling and burning time and eventually chucked in favor of the simple arduino setup which I got working in 30mins. So what's the right way to do this? Can you perhaps please help me out with a description or diagram or close-up pick of your fault signal setup if you are using Leadshine drivers?

  5. #4
    Quote Originally Posted by mitchejc View Post
    Thanks for the advise, Jazz. Keep in mind we rely on computers for safety all the time, in fact in some cases we use computers to make mechanical things safer :-) I do not really agree with you comparing an arduino with a pc as they are worlds apart in terms of complexity and things that can go wrong etc but its not a topic I want to labour.
    Well if your so sure it's safe then you don't need any other system so why waste each others time.!. . . . Carry On.

  6. #5
    Jazz I dont mind spending more time in the name of improvement but you are right, why keep on fiddling if its tested to death and working. Im going to leave it as is and maybe revisit it when I fit a better controller at some point.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. advise options needed on laser upgrade/add on
    By george uk in forum Laser Machines & Building
    Replies: 9
    Last Post: 19-07-2014, 10:54 PM
  2. Newbie design need advise
    By mogu in forum Gantry/Router Machines & Building
    Replies: 3
    Last Post: 15-07-2014, 04:52 PM
  3. Welding Advise Needed - Can this welder cope?
    By cncJim in forum Welding, Brazing & Equipment
    Replies: 4
    Last Post: 20-02-2014, 01:25 PM
  4. Chinese 6040 CNC Router Advise Needed
    By Bob Hepple in forum Chinese Machines
    Replies: 24
    Last Post: 27-11-2013, 12:00 PM
  5. Flappy machine - Advise needed please!
    By cncJim in forum Machine Discussion
    Replies: 22
    Last Post: 01-11-2013, 03:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •