Re: [Emc-users] mesaflash problem, Peter plz comment

2020-10-22 Thread Gene Heskett
On Thursday 22 October 2020 07:55:04 andy pugh wrote:

> On Thu, 22 Oct 2020 at 02:00, Gene Heskett  
wrote:
> > No, that steers the pwm which modulates the bottom half of the
> > bridge, and not externally separated, both sides on these full H
> > bridge cards.
>
> The step outputs are a differential pair, not PWM and /PWM. I am not
> sure if that is a real distinction.
> But you might need to be careful of the common-mode voltage limits of
> the differential pair driver on the 7i76.

The output swing of the stepgen outputs, both step and dir, is rail to 
rail, with the rail at around 5.1 volts. I've no reason to believe the 
corresponding inputs are any different. For the spindle encoder, which I 
inadvertantly bought with differential outputs, has a pair of rs485 
teeny boards, rigged as rx only, making rail to rail out of that diff 
pair.  Works flawlessly at speeds that cannot even begin to get thru the 
input opto's on the average bob. Clue?  The spindle tach dies, and the 
pid drives the spindle wide open at speeds above 400 revs.  The 7i76 
encoder inputs have no speed killing opto's. So it Just Works. This 
motor I'll use on the BS-1, has a maximum of 5.4 Kilohertz, pushing the 
opto's speed limits a bit but should work.  If needed, I can bypass the 
opto's on the bob, the need yet to be determined. NBD IOW.

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 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] mesaflash problem, Peter plz comment

2020-10-22 Thread andy pugh
On Thu, 22 Oct 2020 at 02:00, Gene Heskett  wrote:

> No, that steers the pwm which modulates the bottom half of the bridge,
> and not externally separated, both sides on these full H bridge cards.

The step outputs are a differential pair, not PWM and /PWM. I am not
sure if that is a real distinction.
But you might need to be careful of the common-mode voltage limits of
the differential pair driver on the 7i76.

-- 
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


Re: [Emc-users] mesaflash problem, Peter plz comment

2020-10-21 Thread Gene Heskett
On Wednesday 21 October 2020 19:59:37 Gene Heskett wrote:

> On Wednesday 21 October 2020 19:33:54 Peter C. Wallace wrote:
> > On Wed, 21 Oct 2020, Gene Heskett wrote:
> > > Date: Wed, 21 Oct 2020 19:18:37 -0400
> > > From: Gene Heskett 
> > > Reply-To: "Enhanced Machine Controller (EMC)"
> > > 
> > > To: emc-users@lists.sourceforge.net
> > > Subject: Re: [Emc-users] mesaflash problem, Peter plz comment
> > >
> > > On Wednesday 21 October 2020 17:36:43 Peter C. Wallace wrote:
> > >> On Wed, 21 Oct 2020, Gene Heskett wrote:
> > >>> Date: Wed, 21 Oct 2020 17:06:10 -0400
> > >>> From: Gene Heskett 
> > >>> Reply-To: "Enhanced Machine Controller (EMC)"
> > >>> 
> > >>> To: emc-users@lists.sourceforge.net
> > >>> Subject: Re: [Emc-users] mesaflash problem, Peter plz comment
> > >>>
> > >>> Greetings;
> > >>>
> > >>> I have now written the 5i25_7i76_7i78.bit file to 3 different
> > >>> 5i25's, the one that has been in the machine for several years,
> > >>> and 2 of the 3 Peter sent me in about 2015.
> > >>>
> > >>> none of them will admit there is a pwmgen feeding P3, all show
> > >>> the first one feeding p2. But there are 2 listed in the
> > >>> corresponding .pin file, and with the 5i25_7i76_1px2d.bit file
> > >>> installed, the first one replaces stepgen #4 on p3. But with
> > >>> that firmware, I have no pwmgen.01.dir on p2.
> > >>
> > >> There would normally not be a PWMGen on a 7I76 interface
> > >> Except for specific firmware that replaces the stepgen with a
> > >> PWMGen Like the 5i25_7i76_1px2d.bit. The 7I78 will always have a
> > >> PWMGen for its spindle interface.
> > >
> > > But now I need a 2nd pwmgen, which with the other
> > > 5i25_7i76_1px2d.bit file installed comes out where stepgen4 would
> > > be.  But there is no dir from the 2nd one on p2 with that bit file
> > > installed.  So I'm screwed either way,
> > >
> > > Can you fix the 5i25_7i76_1px2d.bit to make it work with 2 active,
> > > independent pwmgen's? Or, since that bit file is old, has it been
> > > fixed? But that file does not exist in the latest 5i25.zip. If you
> > > can take that old file and make the 2nd pwmgen on p2 work, that
> > > would be the simplest fix for me. A pair of complementary dir's
> > > would be the icing on the cake.  That would allow it to control a
> > > full H bridge.
> >
> > "1p" indicates that it just has 1 PWMGen
> >
> > Also that bitfile does not seem to be in the current distribution
> >
> > What do you actually need?
>
> 2 fully functional pwmgens, pwmgen.00 on the 7i76-tb3-05 and 06 which
> would give me the complements to run an h-bridge for axis A, all
> showing up one pins stolen from unused stepgen's 3 and 4 as I only
> need 3, and a fully functional pwmgen.01 on the 5i25's p2 plug at pins
> 5 and 6 to control the spindle. That would be the icing on the cake.
> Along with two encoders and 3 stepgens.  And an accurate matching .pin
> file would be nice.
>
> > Are you sure you need complmentary directions

A PS of sorts:

I'll get them automaticly from the unused stepgen4 pins

But, I am useing this same card combo on a 4 axis 6040 mill, so I will 
need stepgen3 on that machine, but not 4.  And that does have a vfd to 
control its 24k rpm spindle. 

> > (That is will the up/dowm PWM mode work?)

No, that steers the pwm which modulates the bottom half of the bridge, 
and not externally separated, both sides on these full H bridge cards. 
The top half is switched from side to side by whichever dir line is 
true. That would tie up more pins the minute it leaves the 7i76 tb2/3 
area. Because those are already complemented, I'll use the pwmgen.00 on 
p3 for axis A, and the pwmgen.01's pwm/dir on p2 5 & 6 for the spindle.

Thanks Peter.
> > >
> > >>> I have a 5i25, with a 7i76D on p3. and a std bob on p2.
> > >>>
> > >>> What do I do next besides fix dinner and take a nap? Wake up and
> > >>> see if I can make the 420 watt audio amp work.
> > >>>
> > >>> Thanks.
> > >>>
> > >>> 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 (

Re: [Emc-users] mesaflash problem, Peter plz comment

2020-10-21 Thread Gene Heskett
On Wednesday 21 October 2020 19:33:54 Peter C. Wallace wrote:

> On Wed, 21 Oct 2020, Gene Heskett wrote:
> > Date: Wed, 21 Oct 2020 19:18:37 -0400
> > From: Gene Heskett 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > To: emc-users@lists.sourceforge.net
> > Subject: Re: [Emc-users] mesaflash problem, Peter plz comment
> >
> > On Wednesday 21 October 2020 17:36:43 Peter C. Wallace wrote:
> >> On Wed, 21 Oct 2020, Gene Heskett wrote:
> >>> Date: Wed, 21 Oct 2020 17:06:10 -0400
> >>> From: Gene Heskett 
> >>> Reply-To: "Enhanced Machine Controller (EMC)"
> >>> 
> >>> To: emc-users@lists.sourceforge.net
> >>> Subject: Re: [Emc-users] mesaflash problem, Peter plz comment
> >>>
> >>> Greetings;
> >>>
> >>> I have now written the 5i25_7i76_7i78.bit file to 3 different
> >>> 5i25's, the one that has been in the machine for several years,
> >>> and 2 of the 3 Peter sent me in about 2015.
> >>>
> >>> none of them will admit there is a pwmgen feeding P3, all show the
> >>> first one feeding p2. But there are 2 listed in the corresponding
> >>> .pin file, and with the 5i25_7i76_1px2d.bit file installed, the
> >>> first one replaces stepgen #4 on p3. But with that firmware, I
> >>> have no pwmgen.01.dir on p2.
> >>
> >> There would normally not be a PWMGen on a 7I76 interface
> >> Except for specific firmware that replaces the stepgen with a
> >> PWMGen Like the 5i25_7i76_1px2d.bit. The 7I78 will always have a
> >> PWMGen for its spindle interface.
> >
> > But now I need a 2nd pwmgen, which with the other
> > 5i25_7i76_1px2d.bit file installed comes out where stepgen4 would
> > be.  But there is no dir from the 2nd one on p2 with that bit file
> > installed.  So I'm screwed either way,
> >
> > Can you fix the 5i25_7i76_1px2d.bit to make it work with 2 active,
> > independent pwmgen's? Or, since that bit file is old, has it been
> > fixed? But that file does not exist in the latest 5i25.zip. If you
> > can take that old file and make the 2nd pwmgen on p2 work, that
> > would be the simplest fix for me. A pair of complementary dir's
> > would be the icing on the cake.  That would allow it to control a
> > full H bridge.
>
> "1p" indicates that it just has 1 PWMGen
>
> Also that bitfile does not seem to be in the current distribution
>
> What do you actually need?
>
2 fully functional pwmgens, pwmgen.00 on the 7i76-tb3-05 and 06 which 
would give me the complements to run an h-bridge for axis A, all showing 
up one pins stolen from unused stepgen's 3 and 4 as I only need 3, and a 
fully functional pwmgen.01 on the 5i25's p2 plug at pins 5 and 6 to 
control the spindle. That would be the icing on the cake. Along with two 
encoders and 3 stepgens.  And an accurate matching .pin file would be 
nice.

> Are you sure you need complmentary directions
> (That is will the up/dowm PWM mode work?)
>
> > Thanks Peter.
> >
> >>> I have a 5i25, with a 7i76D on p3. and a std bob on p2.
> >>>
> >>> What do I do next besides fix dinner and take a nap? Wake up and
> >>> see if I can make the 420 watt audio amp work.
> >>>
> >>> Thanks.
> >>>
> >>> 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
> >>
> >> Peter Wallace
> >> Mesa Electronics
> >>
> >> (\__/)
> >> (='.'=) This is Bunny. Copy and paste bunny into your
> >> (")_(") signature to help him gain world domination.
> >>
> >>
> >>
> >> ___
> >> 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 d

Re: [Emc-users] mesaflash problem, Peter plz comment

2020-10-21 Thread Peter C. Wallace

On Wed, 21 Oct 2020, Gene Heskett wrote:


Date: Wed, 21 Oct 2020 19:18:37 -0400
From: Gene Heskett 
Reply-To: "Enhanced Machine Controller (EMC)"

To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] mesaflash problem, Peter plz comment

On Wednesday 21 October 2020 17:36:43 Peter C. Wallace wrote:


On Wed, 21 Oct 2020, Gene Heskett wrote:

Date: Wed, 21 Oct 2020 17:06:10 -0400
From: Gene Heskett 
Reply-To: "Enhanced Machine Controller (EMC)"

To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] mesaflash problem, Peter plz comment

Greetings;

I have now written the 5i25_7i76_7i78.bit file to 3 different
5i25's, the one that has been in the machine for several years, and
2 of the 3 Peter sent me in about 2015.

none of them will admit there is a pwmgen feeding P3, all show the
first one feeding p2. But there are 2 listed in the corresponding
.pin file, and with the 5i25_7i76_1px2d.bit file installed, the
first one replaces stepgen #4 on p3. But with that firmware, I have
no pwmgen.01.dir on p2.


There would normally not be a PWMGen on a 7I76 interface
Except for specific firmware that replaces the stepgen with a PWMGen
Like the 5i25_7i76_1px2d.bit. The 7I78 will always have a PWMGen for
its spindle interface.


But now I need a 2nd pwmgen, which with the other 5i25_7i76_1px2d.bit
file installed comes out where stepgen4 would be.  But there is no dir
from the 2nd one on p2 with that bit file installed.  So I'm screwed
either way,

Can you fix the 5i25_7i76_1px2d.bit to make it work with 2 active,
independent pwmgen's? Or, since that bit file is old, has it been fixed?
But that file does not exist in the latest 5i25.zip. If you can take
that old file and make the 2nd pwmgen on p2 work, that would be the
simplest fix for me. A pair of complementary dir's would be the icing on
the cake.  That would allow it to control a full H bridge.


"1p" indicates that it just has 1 PWMGen

Also that bitfile does not seem to be in the current distribution

What do you actually need?

Are you sure you need complmentary directions
(That is will the up/dowm PWM mode work?)




Thanks Peter.


I have a 5i25, with a 7i76D on p3. and a std bob on p2.

What do I do next besides fix dinner and take a nap? Wake up and see
if I can make the 420 watt audio amp work.

Thanks.

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


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



___
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



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] mesaflash problem, Peter plz comment

2020-10-21 Thread Gene Heskett
On Wednesday 21 October 2020 17:36:43 Peter C. Wallace wrote:

> On Wed, 21 Oct 2020, Gene Heskett wrote:
> > Date: Wed, 21 Oct 2020 17:06:10 -0400
> > From: Gene Heskett 
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > 
> > To: emc-users@lists.sourceforge.net
> > Subject: Re: [Emc-users] mesaflash problem, Peter plz comment
> >
> > Greetings;
> >
> > I have now written the 5i25_7i76_7i78.bit file to 3 different
> > 5i25's, the one that has been in the machine for several years, and
> > 2 of the 3 Peter sent me in about 2015.
> >
> > none of them will admit there is a pwmgen feeding P3, all show the
> > first one feeding p2. But there are 2 listed in the corresponding
> > .pin file, and with the 5i25_7i76_1px2d.bit file installed, the
> > first one replaces stepgen #4 on p3. But with that firmware, I have
> > no pwmgen.01.dir on p2.
>
> There would normally not be a PWMGen on a 7I76 interface
> Except for specific firmware that replaces the stepgen with a PWMGen
> Like the 5i25_7i76_1px2d.bit. The 7I78 will always have a PWMGen for
> its spindle interface.

But now I need a 2nd pwmgen, which with the other 5i25_7i76_1px2d.bit 
file installed comes out where stepgen4 would be.  But there is no dir 
from the 2nd one on p2 with that bit file installed.  So I'm screwed 
either way,

Can you fix the 5i25_7i76_1px2d.bit to make it work with 2 active, 
independent pwmgen's? Or, since that bit file is old, has it been fixed? 
But that file does not exist in the latest 5i25.zip. If you can take 
that old file and make the 2nd pwmgen on p2 work, that would be the 
simplest fix for me. A pair of complementary dir's would be the icing on 
the cake.  That would allow it to control a full H bridge.

Thanks Peter.

> > I have a 5i25, with a 7i76D on p3. and a std bob on p2.
> >
> > What do I do next besides fix dinner and take a nap? Wake up and see
> > if I can make the 420 watt audio amp work.
> >
> > Thanks.
> >
> > 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
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
>
> ___
> 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


Re: [Emc-users] mesaflash problem, Peter plz comment

2020-10-21 Thread Peter C. Wallace

On Wed, 21 Oct 2020, Gene Heskett wrote:


Date: Wed, 21 Oct 2020 17:06:10 -0400
From: Gene Heskett 
Reply-To: "Enhanced Machine Controller (EMC)"

To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] mesaflash problem, Peter plz comment

Greetings;

I have now written the 5i25_7i76_7i78.bit file to 3 different 5i25's, the
one that has been in the machine for several years, and 2 of the 3 Peter
sent me in about 2015.

none of them will admit there is a pwmgen feeding P3, all show the first
one feeding p2. But there are 2 listed in the corresponding .pin file,
and with the 5i25_7i76_1px2d.bit file installed, the first one replaces
stepgen #4 on p3. But with that firmware, I have no pwmgen.01.dir on p2.


There would normally not be a PWMGen on a 7I76 interface
Except for specific firmware that replaces the stepgen with a PWMGen
Like the 5i25_7i76_1px2d.bit. The 7I78 will always have a PWMGen for
its spindle interface.



I have a 5i25, with a 7i76D on p3. and a std bob on p2.

What do I do next besides fix dinner and take a nap? Wake up and see if I
can make the 420 watt audio amp work.

Thanks.

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



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] mesaflash problem, Peter plz comment

2020-10-21 Thread Gene Heskett
Greetings;

I have now written the 5i25_7i76_7i78.bit file to 3 different 5i25's, the 
one that has been in the machine for several years, and 2 of the 3 Peter 
sent me in about 2015.

none of them will admit there is a pwmgen feeding P3, all show the first 
one feeding p2. But there are 2 listed in the corresponding .pin file, 
and with the 5i25_7i76_1px2d.bit file installed, the first one replaces 
stepgen #4 on p3. But with that firmware, I have no pwmgen.01.dir on p2.

I have a 5i25, with a 7i76D on p3. and a std bob on p2.

What do I do next besides fix dinner and take a nap? Wake up and see if I 
can make the 420 watt audio amp work.

Thanks.

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 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users