On Monday 10 March 2008, Kirk Wallace wrote: >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.
I haven't even gotten that far, this is trying to use axis to enable it and 'spin' it by issueing the pwm and dir sigs. I don't have the outputs of Steve's card even connected to the spindle controller card yet, I'm at the point of trying to get the card to actually recognize that its supposed to do something, like run the relays etc. But there is nothing coming out of the pwm pin on the parport but a nice, solid at 50 mv, logic zero. I assume you meant the gcode S'number' command? I'm printing the hal manual right now. It might have a clue or 7, if I can recognize it when it bites me on the ankle. :) This is something that I configured the last time I ran stepconf, so theoretically, all I should have to do is hook it up and go unless theres a bug in stepconf or I have some duff hardware. These are pins that have not been previously utilized. Side note, this is a reversable motor and controller, and I was surprised to see that there isn't any provision for reversing it in axis. And I have used it in reverse a few times when sharpening a bit with a diamond wheel. However, with the A axis working so I can rotate the bit I'm sharpening accurately, I shouldn't have to do that any more. -- Cheers Kirk, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Function reject. ------------------------------------------------------------------------- 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