Thread: AndyUK's Build - 1.2x1.0m Gantry
Hybrid View
-
31-01-2020 #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.
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:
And lists the OSSD as just another output that is controlled by the safety circuit:
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?
-
31-01-2020 #2
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
-
BUILD LOG: 8x4 router build. Steel base & Aluminium gantry gantry
By D-man in forum DIY Router Build LogsReplies: 57Last Post: 13-12-2019, 10:43 AM -
BUILD LOG: Build Log: 4'x4' Moving Gantry CNC Router
By GeorgeW21 in forum DIY Router Build LogsReplies: 14Last Post: 20-01-2019, 09:33 AM -
BUILD LOG: Ar last!!! Started my Gantry 3-Axis CNC Build
By MikeyC38 in forum DIY Router Build LogsReplies: 74Last Post: 16-06-2018, 11:29 PM -
Any sugestions how to build my gantry
By masinecc in forum Gantry/Router Machines & BuildingReplies: 8Last Post: 20-09-2015, 05:17 PM -
BUILD LOG: Flying Gantry Build Diary
By geoff.sim in forum DIY Router Build LogsReplies: 8Last Post: 29-05-2008, 02:53 AM
Bookmarks