. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    m_c's Avatar
    Lives in East Lothian, United Kingdom. Current Activity: Viewing Forum Superstar, has done so much to help others, they deserve a medal. Has been a member for 9-10 years. Has a total post count of 2,910. Received thanks 360 times, giving thanks to others 8 times.
    Kit, going by Dan's second post (relevant bit quoted below to save you scrolling up!), the drives must already have internal pull-ups, so there shouldn't be any need for a pull-up resistor to the 24V.

    Quote Originally Posted by Dan-27 View Post
    I've drawn out 2 circuits, the first it the one I have already tried and it failed, but when I connected the 2K resistor directly to the 5V source on the breakout board, rather than the X step output (Pin 2) it did cause the X axis to step once.
    Click image for larger version. 

Name:	IMG_20190827_200606.jpg 
Views:	178 
Size:	124.0 KB 
ID:	26322
    Avoiding the rubbish customer service from AluminiumWarehouse since July '13.

  2. #2
    m_c,
    I think you're right, I did suggest Dan check for 24v on the mill input to check. It's the lack of a pull-up on the input side that is most important here.

    For those who might worry about it, two pull-ups in parallel will not cause a problem as long as the total current through the relevant transistor when on is within limits, so adding an external resistor for testing purposes will not harm anything. 2Kohms per volt (gives half a milliamp of current) is a good rule of thumb.

    Kit
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  3. #3
    It's not playing ball unfortunately.

    I believe I have replicated the circuit correctly, and the X axis does step once when I connect the wire from the base leg to pin 2 on the BOB, but jogging the X axis has no impact. I have also moved the wire from Pin 2 to 3 on the BOB, with no affect. Pin 2 is the X axis step and 3 the X axis direction.

    The mill does have just shy of 24V on the signal input. On the picture of the breadboard touching 'X step' to 'Mill GND' causes one step.

    How can I test if Mach 3 is making any impact on the BOB? I think all the results I have currently achieved could be been done with just the 5V and GND. I only have a multimeter for testing.

    Also I don't think the BOB is capable of switching 24V. Aside from it being very cheap, I think the IC's in the middle handle the output switching (the 5 on the left are opto isolators) Searching 74HC245D found they are 'Octal bus transceiver's capable of handling 2 - 6v. Again way outside my electrical understanding, but I think that's correct.

    Click image for larger version. 

Name:	IMG_20190829_201611 (2).jpg 
Views:	215 
Size:	562.7 KB 
ID:	26342

    Click image for larger version. 

Name:	IMG_20190829_201611 (2).jpg 
Views:	215 
Size:	562.7 KB 
ID:	26342

  4. #4
    Click image for larger version. 

Name:	Breadboard.PNG 
Views:	155 
Size:	1.34 MB 
ID:	26343

  5. #5
    Having a think about a suitable test to confirm whether or not the BOB is being changed by Mach 3. If I took a red LED and a 150ohm resistor and connected them between the 5V supply on the BOB and pin 3, the x axis Dir, would it light when the axis was moving on one direction and not in the other? I was under the impression the BOB would give a High output for one direction on the motor and a Low output for the other?

    Many thanks

  6. #6
    Dan,
    Strictly speaking the BOB open-collector outputs are either a low impedance path to earth or a high impedance. This is why you need the pull-up resistors to get the required 0v or +5v output to your external transistors.

    The LED circuit should work. The LED must be connected the correct way round, test it first. You probably already know that but just in case there's somebody reading who doesn't know about diodes.

    Check that all three outputs, STEP, DIR and ENABLE are under MACH3 control. The step output will make the LED glow less bright than dir or enable when jogging since it will be pulsing when you tell an axis to move. This is a good sign!

    I don't use MACH3 and obviously know nothing about your individual mill so I'm at the limit of how much help I can offer.

    Kit
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  7. The Following User Says Thank You to Kitwn For This Useful Post:


  8. #7
    A quick update, after much head scratching I've worked out that the Mach 3 software will run on a 64bit windows OS, but it will not send any commands to the BOB as I am unable to install the drivers. I'm in the process of sourcing a 32bit copy of Windows then we should be in business.

    Thanks again to everyone for their input.

    Dan

  9. #8
    Ive just skim read this so might have missed something but I had that exact same bob several years ago and couldn’t get any pulses out at all. Given that I have made quite a few machines I should know how to wire them up and how to configure Mach and what to expect. Only cost me £8 so not much lost other than time. I tried lots of things but that was my conclusion in the end. Did a straight swap for my current (even cheaper!) board and everything worked. These boards are made to Kit’s strap line.

    To answer one of your earlier questions a multimeter on the direction pin of the bob and on the ground pin of the bob (the terminal blocks that go to the driver) will read 5V or 0V depending on direction. If that is not happening no amount of downstream circuits with get it going.

    Another thought is to get the pin out diagram for the parallel port connector, unplug from Bob (but still in at PC end) and check direction pin vs ground in the cable end. Then toggle direction of that axis in Mach3 using the cursor keys (should see DRO move accordingly) and read 5V or 0V on the cable pin according to the direction. If this works then Mach3 is working and bob is under suspicion.

    Also the parallel cable needs to be the right type, one is crossed over and one is straight through. Can’t remember which you need but a quick search should find it.
    Last edited by routercnc; 07-09-2019 at 10:53 AM.
    Building a CNC machine to make a better one since 2010 . . .
    MK1 (1st photo), MK2, MK3, MK4

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. complete conversion kit for AMA25LV
    By Fatoftheland in forum Milling Machines, Builds & Conversions
    Replies: 31
    Last Post: 10-04-2021, 04:31 PM
  2. Denford Triac VMC w/ ATC conversion
    By stallone in forum Milling Machines, Builds & Conversions
    Replies: 27
    Last Post: 08-12-2015, 10:26 AM
  3. Needing advice on linear rail blocks
    By oldmam4m80s in forum Rails, Guideways & Bearings
    Replies: 0
    Last Post: 27-10-2013, 07:57 AM
  4. NEW MEMBER: Complete Beginner requiring advice!
    By Robduffer in forum New Member Introductions
    Replies: 13
    Last Post: 07-05-2013, 04:17 PM
  5. Complete conversion kits?
    By leitzscope in forum General Discussion
    Replies: 3
    Last Post: 01-05-2010, 07:57 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
  •