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

Reply via email to