Michael Jones wrote:

>I may have figured out the issue..  I took for granted that the  
>stepconf wizard would put the right values in for the step timing.   
>The values that come up as a default when you select a G540 device are  
>wrong.
>  
>
Did you select the G540 device from the drop-down list of stepper types, 
or did you start with the timing from the G540.stepconf file?  The 
numbers in the drop-down list are actually within spec for the device, 
though they're quite short.  The numbers in the G540.stepconf file are 
larger than the minimum required times (as provided by Mariss of 
Geckodrive), worked perfectly during testing.  (I tested by attaching a 
laser to the shaft, and pointing at a wall 10 feet away.  After running 
G0 moves back and forth several hundred times, there was no error, and 
using that setup I could detect a single microstep of rotation)

>What should the Step Time, Step Space, Direction Hold, and Direction  
>setup be for a Gecko G540?
>  
>
The actual drives only need 200 ns to guarantee that they see a step.  
As long as the DIR signal is valid for 200 ns before and 200 ns after 
the step is issued, the direction is guaranteed to be interpreted 
correctly.  Note that there's no way for EMC2 to output pulses this 
short with a parallel port - the minimum output time is between 800 and 
1200 ns for a parallel port pin.  What I found worked well was 1000 for 
all four values, so your settings will also work, since they're longer.

>I happened upon the settings of:
>
>Step Time: 2000
>Step Space: 2000
>Direction hold: 1000
>Direction Setup: 1000
>  
>
I suspect that you have the step polarity wrong.  The step outputs need 
to be inverted, or you will get very erratic results.  If you invert the 
step outputs, you should be able to reduce all of these numbers to 
1000.  Note that this also depends on you running the latency test and 
entering the max latency numbers from that in stepconf.  If you don't do 
that, then stepconf can't calculate correct thread timing for you.

>These SEEM to work. Is there something better/optimized for the G540?
>  
>
Yeah, the G540.stepconf file :)

- Steve


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to