Thread: Run a stepper from 2 DM542 drive
-
23-12-2021 #31
I have something similar with this:
https://www.amazon.co.uk/gp/product/...?ie=UTF8&psc=1
It is a good candidate for what I need?
Or this one is better:
https://www.amazon.co.uk/General-Pur.../B0087ZTGNNext I need to wire an on/off button. I need to have a way to change the state of the relay to use one or another sets of inputs.
Thank you
Gabi
-
23-12-2021 #32
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.
-
23-12-2021 #33
No. All you need is a 4-pole relay. Pul -, Dir - and Ena - are all connected together to GND. You are controlling only Step, Dir and Ena.
I know you don't need the Arduino. The Arduino is generating the pulses I need for the lathe operation, but that's just for your information on my use. All you need is what my drawing shows, i.e. a 4 pole relay and a switch. The one I am using is DS4E-M-DC5V made by SDS. It is a low power signal relay, fast and requires very little current, but it is obsolete so maybe hard to find. Anyway, there are plenty small signal relays which can be used, and it is not critical that all the contacts are in the same casing, so you can use 4, 2 or 1 relay depending on what you find. Here is an example which works also, but you need to wire it:
https://www.amazon.se/Yizhet-kanal-r...03086861&psc=1
-
23-12-2021 #34
-
23-12-2021 #35
-
23-12-2021 #36
Use a 4 pole double throw relay. Known as 4PDT.
If you do not understand this do a google search about relay basics.
-
24-12-2021 #37
I've not really been following this thread, but the simplest option is a 4PDT relay as has been suggested, but you only need to switch the Dir+/-, and Step +/- signals.
Driver is permanently enabled, so you don't have to worry about it losing power and the Z dropping.
And the GND is only needed for the main power, as the driver inputs are optoisolated.
The only issue with using a relay is with switching such a small current, the contacts will likely oxidise with use due to lack of current to wet/clean the contacts, eventually leading to lack of continuity,
For a circuit only switching occasionally, it'll likely be a long time before failure is likely to be an issue, but it's something to bear in mind.Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
-
The Following User Says Thank You to m_c For This Useful Post:
-
24-12-2021 #38
Yeah so basically go for a relay rather than a contactor.
-
24-12-2021 #39
That is only true if he ALWAYS wants to have the stepper energised and always holding. That is not always desirable or even advised. So unless you absolutely certain that he doesn't care about enabling/disabling the driver it is indeed necessary to switch the enable signal also. Regardless of which, there is no harm in switching it, but there can be harm in not switching it.
And the GND is only needed for the main power, as the driver inputs are optoisolated.
The only issue with using a relay is with switching such a small current, the contacts will likely oxidise with use due to lack of current to wet/clean the contacts, eventually leading to lack of continuity,
For a circuit only switching occasionally, it'll likely be a long time before failure is likely to be an issue, but it's something to bear in mind.
-
24-12-2021 #40
Or if you want to be really simple, a 4PDT switch. Which would mean a human having to do the change over. Would do even during just testing.
Thread Information
Users Browsing this Thread
There are currently 3 users browsing this thread. (0 members and 3 guests)
Similar Threads
-
How to wire the enable pin on a stepper drive?
By cncJim in forum General ElectronicsReplies: 8Last Post: 01-01-2016, 05:10 PM -
WANTED: parker CD20 stepper drive
By drumsticksplinter in forum Items WantedReplies: 0Last Post: 29-03-2014, 03:35 PM -
Wanted: Parker CD20 Stepper Drive
By drumsticksplinter in forum Classified Ads, Buy, Sell & SwapReplies: 0Last Post: 29-03-2014, 03:33 PM -
What voltage for stepper drive?
By Davek0974 in forum Plasma Table MachinesReplies: 1Last Post: 22-01-2014, 10:49 PM -
BOB & Stepper Drive
By GTJim in forum General ElectronicsReplies: 9Last Post: 22-08-2013, 07:17 PM
Bookmarks