584,812 active members*
5,395 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2007
    Posts
    13

    Question Enable voltages on M1 pin 1

    I emailed Bruce this question also but I know he's a very busy man so I figured I'd post here and on the brain forum also just incase I'm not the only one with this question...

    I'm having issues with getting my drivers to turn on and off with the Master Enable. My drivers require 0v for them to work. Applying any voltage disables them and they power off. Right now I have 5v when the e-stop is engaged and about 1.8v when Master Enable is activated. Either voltage leaves the drivers powered down and only by disconnecting one of the leads on the driver can I get them to power up. Is there any way of getting the 1.8v down to 0v by changing something in the code of the control panel or is this better resolved by adding a relay to the enable line?

    A few specs on what I have connected:

    Shizuoka ST-N mill
    Keling Technology Drivers Model: MD2278-g (they have them listed on their site as
    KL-11078 Microstepping Driver)
    Keling Technology Steppers Model: KL42H2150-42-8A

    Windows XP running the control panel
    CNC Brain
    M1 pin 1 => Ena-(ENA) on x, y, & z drivers
    XA pin 7 => Ena+(+5v) on x driver
    YA pin 7 => Ena+(+5v) on y driver
    ZA pin 7 => Ena+(+5v) on z driver

    I'm most likely missing something really simple. Right now though, I'm still very green and none of this is simple.

  2. #2
    Join Date
    Jul 2008
    Posts
    25

    Answered on CNC Brain forum

    Duplicate posting...

  3. #3
    Join Date
    Jan 2010
    Posts
    1
    Quote Originally Posted by dodgy74 View Post
    I emailed Bruce this question also but I know he's a very busy man so I figured I'd post here and on the brain forum also just incase I'm not the only one with this question...

    I'm having issues with getting my drivers to turn on and off with the Master Enable. My drivers require 0v for them to work. Applying any voltage disables them and they power off. Right now I have 5v when the e-stop is engaged and about 1.8v when Master Enable is activated. Either voltage leaves the drivers powered down and only by disconnecting one of the leads on the driver can I get them to power up. Is there any way of getting the 1.8v down to 0v by changing something in the code of the control panel or is this better resolved by adding a relay to the enable line?

    A few specs on what I have connected:

    Shizuoka ST-N mill
    Keling Technology Drivers Model: MD2278-g (they have them listed on their site as
    KL-11078 Microstepping Driver)
    Keling Technology Steppers Model: KL42H2150-42-8A

    Windows XP running the control panel
    CNC Brain
    M1 pin 1 => Ena-(ENA) on x, y, & z drivers
    XA pin 7 => Ena+(+5v) on x driver
    YA pin 7 => Ena+(+5v) on y driver
    ZA pin 7 => Ena+(+5v) on z driver

    I'm most likely missing something really simple. Right now though, I'm still very green and none of this is simple.
    Thanks you for the post.
    Hi guys, Im a newbie. Nice to join this forum.
    __________________
    Movies Online Free

  4. #4
    Join Date
    Jul 2008
    Posts
    25

    Enable on M1

    I think you can select if it's active high or active low in one of the setup tabs. It should pull down very close to 0v if it's set up right.
    You need to give more detail about the enable input circuit this connects to.
    For example is it optically isolated or just a TTL logic level input. If it's optically isolated, you need to know the value of the series resistor and the forward voltage drop of the opto LED to be able to figure out what the drive really needs.
    Do you have a datasheet you could post for the drive showing this information?
    If you are still stuck, I'll brave the cold and fire up my system to see how it's set up in the control panel.
    I had posted loads of useful stuff on the Brain Forum but it's vanished for the time being. You really need to opto-isolate all the enables and limits and make sure there are no earth loops. Don't forget that the USB connection from the PC will ground the 0V of your interface circuit! If you ground the 0v anywhere else you will have a whole lot of problems. I've opto-isolated everything including the USB port and now have a stable system. It's still only open loop but that should be fixed with the new update when it finally arrives.
    Good luck with your machine.

  5. #5
    Join Date
    Nov 2004
    Posts
    29
    How do you opto-isolated the USB port?

    BR
    Antonio




    Quote Originally Posted by striplar View Post
    I think you can select if it's active high or active low in one of the setup tabs. It should pull down very close to 0v if it's set up right.
    You need to give more detail about the enable input circuit this connects to.
    For example is it optically isolated or just a TTL logic level input. If it's optically isolated, you need to know the value of the series resistor and the forward voltage drop of the opto LED to be able to figure out what the drive really needs.
    Do you have a datasheet you could post for the drive showing this information?
    If you are still stuck, I'll brave the cold and fire up my system to see how it's set up in the control panel.
    I had posted loads of useful stuff on the Brain Forum but it's vanished for the time being. You really need to opto-isolate all the enables and limits and make sure there are no earth loops. Don't forget that the USB connection from the PC will ground the 0V of your interface circuit! If you ground the 0v anywhere else you will have a whole lot of problems. I've opto-isolated everything including the USB port and now have a stable system. It's still only open loop but that should be fixed with the new update when it finally arrives.
    Good luck with your machine.

  6. #6
    Join Date
    Jul 2008
    Posts
    25

    USB Optical Isolation

    This is an expensive thing to do. I bought a fibre optic extender for another application so used it for this because I was having so many problems. I had a quick look on the net for the one I bought but can't see it at the moment. There are others like http://www.blackbox.com/Store/Detail...solator/SP380A but that's very expensive.
    I have since found that one of my limit switches was connecting 0v to earth which I think was the main reason for my problems. I decided to keep the USB isolation in place since I already had it.
    I would opto-isolate everything else to start with and only go down the USB isolation route if you are still in trouble.
    Don't assume that you are fully isolated until you can measure an open circuit between the 0V on the PC, the 0V on the interface board and the frame of your machine. Once you know for sure you are isolated, plugging in the PC will at least only ground the 0V at one end hence no loops.
    I know this sounds like a lot of hassle but it's easier to do this in the first place than have to back over it and do it later.
    The errors show themselves as spurious E-Stop error messages which cause the machine to drop out.
    I think the Brain is particularly sensitive to mains born noise. Even with my setup, the Brain drops out to E-Stop if I turn on a Flourescent nearby. There's still more work to do on this.

  7. #7
    Join Date
    Jul 2008
    Posts
    25

    USB Optical Isolation

    I just found a link to the USB isolator I used.
    http://www.ramelectronics.net/comput...prodM2100.html
    there are two versions, I used the one that had a small power supply at one end ie a fibre-only connection.
    Although this is expensive, it's the cheapest method I've found. Most of the others are hubs with 4 outlets which I guess is what makes them expensive.

Similar Threads

  1. Fanuc 5 Voltages
    By wassa64 in forum Fanuc
    Replies: 11
    Last Post: 12-12-2008, 04:46 AM
  2. PSU with 2 different Output Voltages ?
    By Joey in forum CNC Machine Related Electronics
    Replies: 4
    Last Post: 06-10-2007, 02:02 AM
  3. Fixed Drive Voltages
    By The Speaker Guy in forum Stepper Motors / Drives
    Replies: 5
    Last Post: 12-28-2006, 10:13 PM
  4. Help! Triggering with very small voltages
    By vacpress in forum CNC Machine Related Electronics
    Replies: 30
    Last Post: 11-07-2006, 12:10 AM
  5. Confused about Steppers and Voltages.
    By cap9qd in forum Stepper Motors / Drives
    Replies: 8
    Last Post: 06-03-2006, 03:17 PM

Posting Permissions

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