. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hi All,

    So, I thought I had the machine all ready to make its first self-powered movements this evening, however I've stumbled!

    I'm pretty sure the problem is that the drives are not enabling, because they worked before I reprogrammed the enable to be active high rather than active low, so one of the things I'll do to test is reprogram a drive enable to be active low again and retest.

    I thought I'd throw this out to people to see if you can see where I've gone wrong. The drives are wired as per the EM806 manual (below) and my circuit diagram two posts ago.

    Click image for larger version. 

Name:	Screen Shot 2020-01-31 at 21.39.24.png 
Views:	3837 
Size:	77.9 KB 
ID:	27264

    So, each drive has a line from +24V on the UB1 to ENABLE + on the drive via a 2k ohm resistor. The ENABLE - lines are then commoned, and fed into the OSSD output on the UB1. This is the output of the safety circuit, which I can override with a button (so I know the cause isn't limits etc).

    The UB1 manual says this about the outputs:

    Click image for larger version. 

Name:	Screen Shot 2020-01-31 at 21.44.13.png 
Views:	3799 
Size:	110.9 KB 
ID:	27265

    And lists the OSSD as just another output that is controlled by the safety circuit:

    Click image for larger version. 

Name:	Screen Shot 2020-01-31 at 21.53.26.png 
Views:	3860 
Size:	145.8 KB 
ID:	27266

    My thoughts were, that when the output is off (i.e. safety circuit broken), no current can flow through the enable optocoupler, so its a logic low. When the output is on current can flow, logic high, drive enabled.

    The drives target 10mA on those optocouplers, so 40mA approximately should be within the 70mA sink of the output.

    I know the OSSD output is doing its thing because I can see the LED come on when I press the override.

    Have I missed something?

  2. #2
    Quote Originally Posted by AndyUK View Post

    My thoughts were, that when the output is off (i.e. safety circuit broken), no current can flow through the enable optocoupler, so its a logic low. When the output is on current can flow, logic high, drive enabled.
    I haven't ploughed my way through the UB1 manual, but in general terms it looks like the internal "switch" in the UB1 shorts the pin to earth (in which case current can flow) or not, in which case no current flows. What might be causing confusion is that when the switch is on, current flows, and the output voltage on the pin is more-or-less at earth potential. When the switch is off, the output pin is high voltage (as the resistor and enable output path on the driver form a pull-up circuit). So is your logic the wrong way round? :Low and high usually refer to the voltage on the pin, not current flow.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. BUILD LOG: 8x4 router build. Steel base & Aluminium gantry gantry
    By D-man in forum DIY Router Build Logs
    Replies: 57
    Last Post: 13-12-2019, 10:43 AM
  2. BUILD LOG: Build Log: 4'x4' Moving Gantry CNC Router
    By GeorgeW21 in forum DIY Router Build Logs
    Replies: 14
    Last Post: 20-01-2019, 09:33 AM
  3. BUILD LOG: Ar last!!! Started my Gantry 3-Axis CNC Build
    By MikeyC38 in forum DIY Router Build Logs
    Replies: 74
    Last Post: 16-06-2018, 11:29 PM
  4. Any sugestions how to build my gantry
    By masinecc in forum Gantry/Router Machines & Building
    Replies: 8
    Last Post: 20-09-2015, 05:17 PM
  5. BUILD LOG: Flying Gantry Build Diary
    By geoff.sim in forum DIY Router Build Logs
    Replies: 8
    Last Post: 29-05-2008, 02:53 AM

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
  •