On Mon, 2008-03-10 at 20:15 -0400, John Kasunich wrote: > Gene Heskett wrote: > > Greetings all; > > > > I'm in the process of hooking up one of Steve Stallings #106 spindle ... snip > > So, what do I check next folks? > > > > Divide and conquer. Pwmgen is known to work, so thats not likely to be > the problem. Ditto for parport. Test the two individually. > > Parport first since its easy to test. Use halcmd to hook a signal to > it, something like: > > net testing parport.0.pin-whatever-out > > then toggle the signal: > > sets testing 1 > sets testing 0 > > check with a voltmeter to see if its toggling. > > Then pwmgen - read the man page and hal documentation. There are two > functions, one needs to be in the slow (servo) thread, the other needs > to be in the fast (base) thread. If you miss either one, no output. > There is an enable input - it needs to be true, or no output. You need > to select the right PWM mode. You need to provide a non-zero input value. > > Use halscope to examine the pwmgen output until you get want you want, > then connect it to the parport. > > Regards, > > John Kasunich
I think John said it above, and please forgive me if you have already checked this, but the S value needs to be bigger than 0. M3/4 alone won't spin your spindle. I doesn't mine. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe, Bridgeport mill conversion, doing XY now, Zubal lathe conversion pending) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users