Hi all, I am trying my first stepper configuration, but also need a 5khz pwm, so I am using the m5i20 controller rather than the other more typical stepper configurations. I created a hybrid configuration which mostly works, except the stepper motors are running much to slowly and stop moving entirely above a certain speed.
The stepper motors are 200 steps per revolution with 16 micro-steps per step, or 3200 micro-steps per revolution. One revolution moves the axis 2.5 inches, so I set scale for AXIS_0 in the ini file to 1280 (units is inch). I also ran the latency test which showed that I could set BASE_PERIOD to 22000. I looked at the step signal on halscope and adjusted the jog speed to where I was getting one step per msec, which should move the axis at a rate of 2.5" per second. In fact it just crawls (2-4 RPM for example). I also ran stepconf and transferred some of the step parameters it calculated, including: steplen 1 stepspace 0 dirhold 27000 dirsetup 27000 On halscope, the steps look like very quick spikes when using 1msec per division. Is it possible the step duration is too short and if so, which parameter lengthens the step duration? I expect the step signal to stay below 10khz (25 ips), so I just linked stepgen to ordinary m5i20 outputs. I saw there was a hostmot2 configuration that might do this too, but did not try it. Any ideas? Thanks, Eric ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
