. .
Page 3 of 6 FirstFirst 12345 ... LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    But, depending on the weight, disabeling the Z-axis may cause it to lose position.

  2. The Following User Says Thank You to Snowtech For This Useful Post:


  3. #2
    Yes a very good point.

  4. #3
    If losing position after switching is a problem then you need to zero after each switch. Regardless how you do it you can't expect that the position is the same after switching.

    However several people mentioned switching only STEP and DIR. That will not work well. You MUST also switch the GND as a minimum, but if you use the EN for any of the drivers then you must include that also.

  5. #4
    They're have been a couple of methods put forward.

    Unfortunately with no actual information on the controller boards only a generic answer can be given. The actual way to implement a specific method is up to the person/persons that have the hardware sitting in front of them. That's usually the situation with these issues. A question is asked without a lot of information regarding the hardware involved so only a generic answer can be given.

    Maybe the best answer would be to ask the person/persons that designed your setup, or try and think of a way of not having to change the stepper driver or inputs.

    The best option would for the main control software\hardware to operate\adjust the Z axis and be able to read the output from the system that adjusts your focal length. Of course this would depend on the main control software\hardware.

  6. #5
    I assume you are manually selecting between the two devices rather than using both systems at once. Then I would suggest using a single driver with step and dir inputs switched as previously suggested but use standard logic gates to do the selecting between sources, possibly with optical or other isolators on the inputs to keep the grounds of the two boards separate if required. Power the logic and provide it's ground from the same board that powers the driver.

    This way you could avoid any contact bounce on a mechanical switch and remove the need to common the logic grounds of your two boards. The enable line (if used) could also be buffered/switched/maintained during the changeover by your logic if required.
    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. #6
    Diagram looks like some kind of 4 pole contactor type where the coil activates all the contacts at once.
    Positioned all 4 NO for UC300 use and NC for arduino.

    I'd suggest the most used one of the 2 controls be on the NO side then power the switch to the coil to flip it NC for the other.

    Step/Dir could be a problem if the logic I/O flips with contactor switch over could it not?.

  8. #7
    Quote Originally Posted by dazp1976 View Post
    Diagram looks like some kind of 4 pole contactor type where the coil activates all the contacts at once.
    Positioned all 4 NO for UC300 use and NC for arduino.

    I'd suggest the most used one of the 2 controls be on the NO side then power the switch to the coil to flip it NC for the other.

    Step/Dir could be a problem if the logic I/O flips with contactor switch over could it not?.
    I don't know what would be the point of changing to your suggestion. The way I do it works fine. The switch is manual, has actually nothing to do with Arduino. Step/dir/en is controlled by Arduino or UCCNC, depending on the position of the switch. Why would Step/Dir be a problem...? As I said, it works and I use it.

  9. #8
    But surely the original question concerned one stepper and two drivers? And that's the question that's been answered - best way is one driver, one motor, and switch the inputs to the driver. However, the precise way of doing this - couple of logic chips, relays, switches, etc - depends so much on what you have already. Need to isolate common grounds, whether opto-isolation is needed, a bunch of things like that, are trivial to sort out - but only with a full understanding of where you are coming from, and I appreciate that this is difficult for someone with no knowledge of electronics so no insight into what info is needed.

    But please don't change the question!

  10. #9
    Hi,

    I din't change the question. I simply follow the advices given. Now I understand is easy to use one driver and switch the inputs. Sorry for confusion since I am very new to this and obviously electronic circuitry are not my forte (IT software background here).

  11. #10
    Use a 4 pole double throw relay. Known as 4PDT.

    If you do not understand this do a google search about relay basics.

Page 3 of 6 FirstFirst 12345 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to wire the enable pin on a stepper drive?
    By cncJim in forum General Electronics
    Replies: 8
    Last Post: 01-01-2016, 05:10 PM
  2. WANTED: parker CD20 stepper drive
    By drumsticksplinter in forum Items Wanted
    Replies: 0
    Last Post: 29-03-2014, 03:35 PM
  3. Wanted: Parker CD20 Stepper Drive
    By drumsticksplinter in forum Classified Ads, Buy, Sell & Swap
    Replies: 0
    Last Post: 29-03-2014, 03:33 PM
  4. What voltage for stepper drive?
    By Davek0974 in forum Plasma Table Machines
    Replies: 1
    Last Post: 22-01-2014, 10:49 PM
  5. BOB & Stepper Drive
    By GTJim in forum General Electronics
    Replies: 9
    Last Post: 22-08-2013, 07:17 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
  •