that fixed it - I am an idiot. The smaller amc drives don't have that option (switching the enable with a switch)
On Wed, Jan 29, 2025 at 6:28 PM Sam Sokolik <samco...@gmail.com> wrote: > oof.. Read the manual sam.... > > This TTL level input signal turns off all power devices of the “H” > bridge when pulled to ground with SW1-6=ON. If SW1-6 = OFF pulling this pin > to ground will enable the amplifier. This inhibit will cause a fault > condition and a red LED. > > On Wed, Jan 29, 2025 at 6:19 PM Peter Wallace <p...@mesanet.com> wrote: > >> On Wed, 29 Jan 2025, Sam Sokolik wrote: >> >> > Date: Wed, 29 Jan 2025 18:13:26 -0600 >> > From: Sam Sokolik <samco...@gmail.com> >> > Reply-To: "Enhanced Machine Controller (EMC)" >> > <emc-users@lists.sourceforge.net> >> > To: "Enhanced Machine Controller (EMC)" < >> emc-users@lists.sourceforge.net> >> > Subject: Re: [Emc-users] 7i97 issue with pwmgen.04 >> > >> > It also would enable your drive >> (OPTO off) on a watchdog bite or at power up. >> >> I have a relay that powers the drives that are run from an estop/mesa >> ssr... So this would not be a problem as if the watchdog bits or whatever >> - that relay drops out >> >> sam >> >> >> A spare SSR output may do (no issue inverting it) >> >> >> >> On Wed, Jan 29, 2025 at 5:54ÿÿPM Sam Sokolik <samco...@gmail.com> wrote: >> >> > ok - Maybe I can invert it at the drive.. AMC seems to be willy nilly >> on >> > how it is setup (the 2 drives I have are totally opposite enable.) >> > >> > On Wed, Jan 29, 2025 at 5:52ÿÿPM Peter Wallace <p...@mesanet.com> wrote: >> > >> >> On Wed, 29 Jan 2025, Sam Sokolik wrote: >> >> >> >> > Date: Wed, 29 Jan 2025 17:41:45 -0600 >> >> > From: Sam Sokolik <samco...@gmail.com> >> >> > Reply-To: "Enhanced Machine Controller (EMC)" >> >> > <emc-users@lists.sourceforge.net> >> >> > To: "Enhanced Machine Controller (EMC)" < >> >> emc-users@lists.sourceforge.net> >> >> > Subject: Re: [Emc-users] 7i97 issue with pwmgen.04 >> >> > >> >> > ugh - I had mouse pads.. >> >> >> >> Anyway - I did some testing. >> >> If you set 'setp hm2_7i97.0.pwmgen.04.enable.invert_output true' >> >> >> >> the output instantly goes to -10v >> >> When you enable the pwmgen - then it goes to 10v.. >> >> >> >> It works normally if you don't invert the enable. >> >> It does invert the enable though (this drive needed an inverted enable >> to >> >> work) >> >> >> >> sam >> >> >> >> Yeah, you cannot do that (invert the enable) on a 7I97/7I97T/7I36 as >> the >> >> PWM >> >> enable also effects the analog circuitry. It also would enable your >> drive >> >> (OPTO off) on a watchdog bite or at power up. >> >> >> >> Probably need to use an external relay or form B opto >> >> >> >> >> >> >> >> >> >> On Wed, Jan 29, 2025 at 5:11ÿÿÿÿPM Sam Sokolik <samco...@gmail.com> >> wrote: >> >> >> >> > >> >> > >> >> > On Wed, Jan 29, 2025 at 9:56ÿÿÿÿAM Sam Sokolik <samco...@gmail.com> >> >> wrote: >> >> > >> >> >> I thought that inverted the enable output? (I mean - it worked for >> >> this >> >> >> drive...) The reason I switched to the 4th pwm is that the enable >> is >> >> >> separated compared to 0-3.. >> >> >> >> >> >> sam >> >> >> >> >> >> On Wed, Jan 29, 2025 at 9:53ÿÿÿÿAM andy pugh <bodge...@gmail.com> >> wrote: >> >> >> >> >> >>> On Wed, 29 Jan 2025 at 14:28, Sam Sokolik <samco...@gmail.com> >> wrote: >> >> >>> > setp hm2_7i97.0.pwmgen.pdm_frequency 75000 >> >> >>> > setp hm2_7i97.0.pwmgen.00.offset-mode TRUE >> >> >>> > setp hm2_7i97.0.pwmgen.00.output-type 1 >> >> >>> > setp hm2_7i97.0.pwmgen.04.output-type 1 >> >> >>> > setp hm2_7i97.0.pwmgen.04.offset-mode TRUE >> >> >>> > setp hm2_7i97.0.pwmgen.04.enable.invert_output true >> >> >>> > #setp hm2_7i97.0.pwmgen.00.enable true >> >> >>> >> >> >>> > what am I doing wrong? >> >> >>> >> >> >>> The obvious difference is the "invert output" >> >> >>> What happens without that? >> >> >>> >> >> >>> >> >> >>> -- >> >> >>> atp >> >> >>> "A motorcycle is a bicycle with a pandemonium attachment and is >> >> >>> designed for the especial use of mechanical geniuses, daredevils >> and >> >> >>> lunatics." >> >> >>> ÿÿÿÿ George Fitch, Atlanta Constitution Newspaper, 1912 >> >> >>> >> >> >>> >> >> >>> _______________________________________________ >> >> >>> Emc-users mailing list >> >> >>> Emc-users@lists.sourceforge.net >> >> >>> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> >>> >> >> >> >> >> >> >> _______________________________________________ >> >> Emc-users mailing list >> >> Emc-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> >> >> Peter Wallace >> >> Mesa Electronics_______________________________________________ >> >> Emc-users mailing list >> >> Emc-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> >> > >> >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> Peter Wallace >> Mesa Electronics_______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users