On Tuesday 20 October 2020 03:33:58 andy pugh wrote: > On Tue, 20 Oct 2020 at 04:31, Gene Heskett <[email protected]> wrote: > > My first ever config use sw steppers, has those addf's. But no > > config in the last 4 or so years has it. > > You still need it if using software pwmgen.
Which I am not, this is the 2nd pwmgen in a 5i25, and it shows up in the dmesg report as: [485180.220426] hm2/hm2_5i25.0: IO Pin 025 (P2-05): PWMGen #1, pin Out1 (Dir or Down) (Output) [485180.220434] hm2/hm2_5i25.0: IO Pin 026 (P2-06): PWMGen #1, pin Out0 (PWM or Up) (Output) I have the A axis FF0 set to 1, and have expanded the ferror etc to allow a static feed thru of the pid, which should be generating some pulses I could see on pin 6 of that bob. But its not there. And was a week ago because I had both pwmgens fed in parallel. Now I have separated them so I can use this one to drive an h bridge on a $12 olimex card. I have sussed out how to drive the spindle from the first pwmgen, which is on unused gpio's of the 7i76, bypassing the analog spindle control on the 7i76D. This is actually quite nice since the 7i76D gives both polarity's of the signal. Un-ducumented in the 7i76D .pdf, so the only signal I'm actually useing for the spindle stuff on tb4 is the enable as Jons servo needs 12 volts for enable. The undocumented pwmgen.0 stuff actually controlling the spindle are on the 7i76D's tb3, but show up in dmesg as: [485180.220310] hm2/hm2_5i25.0: IO Pin 008 (P3-05): PWMGen #0, pin Out1 (Dir or Down) (Output) [485180.220317] hm2/hm2_5i25.0: IO Pin 009 (P3-06): PWMGen #0, pin Out0 (PWM or Up) (Output) Which is NOT where they actually are on the 7i76D! with 4 terminals on the 7i76D tb3 as theres both true and complement available there. Nice. I wish the interface box I built for the GO704 had room for a 2nd 7i76D but it doesn't so I've had to cobble up a pair of comp's to get the sigs for inA and inB of this olimex board. About the size of an airmail stamp, its a 40 volt, 30 amp H bridge. Should run a 4 amp 24 volt motor just fine. So yes, I'm carving new ground here. :) I'll start later today by removing the p2 cable and giving its connectors a fresh squeeze in the vise. It won't be the first time a 26 pin IDC ribbon cable connector has failed in the middle of the connector. It seems like the life of those is about 3 years. And that cable is about 3 years old now. Actually has a higher failure rate than the 40 pin version here at the Heskett Holdings, but there's no 40 pinner's left now, the drives have all expired. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
