Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 28, 2012, 10:42:18 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
Direction pulse
Pages:
1
Go Down
« previous
next »
Author
Topic: Direction pulse (Read 199 times)
0 Members and 1 Guest are viewing this topic.
simon67
Active Member
Offline
Posts: 6
Direction pulse
«
on:
January 12, 2012, 02:16:22 PM »
I need a little help....
I am wrestling with a problem with my direction pulse.
When I connected my BOB to my stepper drivers no matter how they are connected the motors will not turn under power.
After reading as much as I could find that was relative, I went back to my test setup and checked the outputs.
I have a lovely pulsed output from the step pin, but from what I read I should have a pulse from the direction pin which leads the pulses for the step signal by a time interval.
Well thats as I understood the theory anyway.
What I have got is a pulsed output on the step pin, however the direction pin merely changes from a high to a low state and vice versa on changing the direction of jogging.
Is this correct? If it is not correct how do I adjust the Mach3 settings to produce the required pulse?
If the pulse is not required then do I need to change the wirring to the BOB?
I am a total novice at this, and what does not help is the number of permutations that stepper motors can work with little regard to how to apply it.
Ie. CW/CCW mode step and direction mode, and that you have to wire this gear either pos or negative depending on your breakout board.
I have Totally covered all bases with the wiring, and tried every permutation, yet so far all I am able to achieve is a motor which is held once the power is applied, and so far as I understand or misunderstand am missing a specific pulse on the direction to make it run.
Am I barking up the wrong tree?
One final question for now, the enable input to the stepper drive, is this needed or is it optional? the reason I ask is because all I currently want to do is prove the motors actually work under Mach3, so I can complete the mechanical part of the conversion then faff about with this electronic stuff after the conversion is complete.
Regards
Simon
Logged
ger21
Global Moderator
Online
Posts: 2,619
Re: Direction pulse
«
Reply #1 on:
January 12, 2012, 03:05:18 PM »
Quote
What I have got is a pulsed output on the step pin, however the direction pin merely changes from a high to a low state and vice versa on changing the direction of jogging.
Is this correct?
Yes, that is correct.
The direction pin is not keeping your motors from spinning. Even if it wasn't working, the motor should still turn, but in only one direction.
The fact that you're seeing the direction pin means that Mach3 is working correctly, and the problem is probably with your wiring.
What drives are you using? Some drives are enabled by default, some are not. It all depends on the drive, and how it's wired.
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
simon67
Active Member
Offline
Posts: 6
Re: Direction pulse
«
Reply #2 on:
January 13, 2012, 02:32:07 AM »
Many thanks for that.
I have connected the enable line to the VCC 5 volt line and ground and this produces a held motor and also with it not connected when the rotor is then free to turn.
So if the direction signal is not required to get the motor to turn under power I'll double check the pulse timings and output voltage.
BTW the stepper drivers are model DQ860MA, I have already contacted the supplier for details on the stepper drivers, so fingers crossed all should become clear soon.
Logged
stirling
Global Moderator
Online
Posts: 1,190
UK
Re: Direction pulse
«
Reply #3 on:
January 14, 2012, 06:11:52 AM »
Hey simon67 - is the attached pic your drive? If so connect 5Vdc to PUL+, DIR+ and ENBL+, then connect PUL- to your step pin and set Mach to active low. Connect DIR- to your dir pin - doesn't matter whether Mach's set to active high or low for this - you can swap it later if your motors sping the "wrong" way. Connect ENBL+ to ground for now.
Make sure you have SW4 ON - (though these have been known to be wrong way round on the screen print)
Set SW1,2,3 to your desired motor current and 5,6,7,8 to your required microsteps - I'd suggest 1600 pulse/rev.
You should be good to go.
Ian
EDIT: If your BOB has optocouplers you'd be best to bypass them if you can as these drivers have optocouplers already.
DQ860MA.JPG
(60.09 KB, 666x521 - viewed 12 times.)
«
Last Edit: January 14, 2012, 06:18:58 AM by stirling
»
Logged
simon67
Active Member
Offline
Posts: 6
Re: Direction pulse
«
Reply #4 on:
January 15, 2012, 02:02:07 AM »
Many thanks for that.
The drivers are now wired and working.
Simon
Logged
stirling
Global Moderator
Online
Posts: 1,190
UK
Re: Direction pulse
«
Reply #5 on:
January 15, 2012, 04:42:23 AM »
Ideal
Ian
Logged
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...