darcys...@gmail.com pravi:
> Hi all,
>
> I am experiencing some odd direction changes on a home-brew CNC  
> machine that I have on loan.
> The machine was apparently purchased off ebay, and all the settings I  
> dug out from data sheets for the driver chips and motors.
>
> X and Y are working well, but Z (which has a similarly spec'ed but  
> different motor from the other two) decides to change direction at  
> random.
> The basic behavior is that when you push the jog button in a certain  
> direction you don't know which direction it will go.
> It will maintain it's course in that direction, but when releasing the  
> button and pressing it again, it will again choose a random direction.  
> Thus the problem it is very easy to reproduce.
>
> I am interested to hear what you think this problem may be caused by?
> I have yet to pull out the oscilloscope, but being a relative newcomer  
> I wanted to ask for advise on how best to debug this problem.
>
> I should add that I did have this CNC set up briefly on Mach3, and  
> encountered the same issue.
>
> Thanks in advance,
>   
Just check the wires again. That can be caused by bad connection of DIR 
signal or even replaced dir/step signal or shorted together. If you 
don't have scope then just use earphone. Connect earphone trought 10k 
resistor to direction signal and ground. You should hear nothing when 
motor moves. But must hear click when you change direction. On the step 
pin you should hear clear tone without clicking. That's works even 
betterthan scope!. As all interrupts are heard as clicking in steady 
signal. On scope is very easy to miss that glitch.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to