I've got generator module and stepper driver connected with two power source 24v(driver) and 5v(generator) like in the picture
I use PUL-, DIR-, and ENB-, 3 cables connected to the M542 driver
In this setup I should join all pluses together and connect to common anode(+)
I do not why but everything works without this cable - common anode(+).
I am confuse here. I send only positive signals to the module
I can change direction of the motor (DIR) and switch on/off the motor (ENA)
Not the same situation if I use only PUL+ DIR+ ENB + without common cathode this time(-).
Without common cathode I can only run one direction (like having only PUL+ and (-)cathode or PUL- and (+)anode two cables connected)
I can have on/off function (ENA, because module send HI signal and disable(off) the driver.
I know that signal I get is PWM square wave, multimeter allows to check polarity of such a signal (all + or -)
Can anyone explain how this works please, many should benefit too.
System got all function start/stops using ENA and Direction using DIR all done by 3 cable connected to (-) without having common anode(+)
Last edited by Tom J; 10-01-2016 at 01:02 PM.
You only need pulse and direction signals, when step pulses are applied with a direction signal also applied the motor will run in the opposite direction to that in which it runs without the direction signal.
Last edited by magicniner; 09-01-2016 at 09:14 PM.
Thanks magicniner, that part I understand.
I modified my first post as wasn't clear.
DIR signal Hi 5v change motor direction, same Hi signal 5V on ENA input disable drive (so system can ran without ENA as LOW signal is needed to run, but we loose on/off function)
My question was why everything works when PUL- DIR- ENA- are connected without common anode(+)
but when using only PUL+ DIR+ ENA+ without common cathode only ENA function works (start/stop) direction switch switching everything off as has missing common cathode(-). When cathode is connected all works as should.
Have you tried not using the enable? It typically needs to be low for the drive to be enabled and high to be disabled.www.emvioeng.com
Stocking more goodies than just Smoothsteppers
If your Driver has Pull-Up/Pull-Down you could be swamping your controller with twice the Pull current required ;-)
Last edited by magicniner; 10-01-2016 at 04:23 PM. Reason: Change "BOB" to "Driver"
yes komatias, I tried not to use enable and works all the time without on/off function as described in first post.
Than I use only PUL- and common anode and works or PUL+ and common cathode.
I checked again the signals and if I use only PUL and DIR or PUL and ENA from generator module (so motor runs in one direction) than all those signal have positive potential against common cathode i.e. When I check them between each other one is plus other minus - and that is why this works i think. I missed that bit when I checked option with 2 or 3 cables connected to PUL DIR ENA without + or -. What I knew was that whatever signal is send has to have opposite polarity (when 2 cables PUL- ENA or DIR has + and oposite)
the M542 stepper drive enable is a negative logic input
the driver is enabled by no input to the enable terminals !
(+EN &-EN being at the same voltage or left disconnected )
do you have a link to the instructions for the pulse generator ?
its not obvious from the picture the function of the terminals you have connected to the stepper driver
since the M542 driver +ENABLE , +PULSE & +DIRECTION terminals are linked they should be connected to +5V from the pulse generator
grounding the -ENABLE will DISABLE the driver
now I can see and edit my first post
the stepper driver opto isolator LED's have a diode in inverse parallel
with the three positive terminals linked
if the - direction is at a logic 1 (+5V) for example
the - enable and - step inputs will appear to work until the - direction is switched to logic 0 (0V)
Last edited by john swift; 11-01-2016 at 10:37 AM. Reason: add diagram
Last edited by john swift; 13-01-2016 at 12:26 AM.
By swood1 in forum Stepper & Servo MotorsReplies: 7Last Post: 21-09-2014, 04:40 PM
By craynerd in forum Motor Drivers & ControllersReplies: 1Last Post: 16-03-2014, 06:29 PM
By gavztheouch in forum Resources & HelpReplies: 3Last Post: 19-02-2013, 11:39 AM
WANTED: stepper driver moduleBy tinshak in forum Items WantedReplies: 0Last Post: 16-01-2013, 08:31 AM
By wiatroda in forum General DiscussionReplies: 10Last Post: 08-08-2011, 09:17 PM