On Friday 23 August 2019 20:20:22 John Dammeyer wrote: > Well that turned out to be easier than I thought except for the > spindle direction signal. > > Here's what's in the HAL > # PWM gen signals/setup > setp hm2_7i92.0.pwmgen.00.scale [SPINDLE_9]PWM_SCALE > setp hm2_7i92.0.pwmgen.00.output-type 1 > > net spindle-enable => hm2_7i92.0.pwmgen.00.enable > net spindle-vel-cmd-rps => hm2_7i92.0.pwmgen.00.value > net spindle-cw => hm2_7i92.0.gpio.005.out > > And in the INI file PWM_SCALE is set to 50. That gives me 100% PWM at > 3000 RPM (50RPS) and 50% PWM at 1500 RPM according to my scope. > > Once I remember to add this > setp hm2_7i92.0.gpio.005.is_output true > > The spindle-cw was correctly mirrored out to the DB25-16 pin. > > Now just to change the 5 Volt PWM into 0V to 10V analogue. > Thats a mesa spinx1. > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users
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 Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users