On Mon, 26 Oct 2020, Gene Heskett wrote:
Date: Mon, 26 Oct 2020 04:00:31 -0400
From: Gene Heskett <[email protected]>
Reply-To: EMC developers <[email protected]>
To: [email protected]
Subject: Re: [Emc-developers] pwmgen, mesa version, man page is?
On Monday 26 October 2020 00:27:31 Peter C. Wallace wrote:
On Sun, 25 Oct 2020, Gene Heskett wrote:
Date: Sun, 25 Oct 2020 23:54:34 -0400
From: Gene Heskett <[email protected]>
Reply-To: EMC developers <[email protected]>
To: [email protected]
Subject: Re: [Emc-developers] pwmgen, mesa version, man page is?
On Sunday 25 October 2020 22:51:15 Peter C. Wallace wrote:
On Sun, 25 Oct 2020, Gene Heskett wrote:
Date: Sun, 25 Oct 2020 21:50:25 -0400
From: Gene Heskett <[email protected]>
Reply-To: EMC developers <[email protected]>
To: EMC developers <[email protected]>
Subject: [Emc-developers] pwmgen, mesa version, man page is?
Greetings all;
Some confusion about useing the mesa pwmgens in a 5i25 with the
5i25_7i76_1px2d.bit file loaded. this bitfile fails to wire up
the dir output, but is as close to driveing a stock bob on p2 as
there is.
I dont think this is the case, Both PWMgens have direction outputs
If my tracing is correct, pwmgen.01's dir s/b on the std bob at
Zdir, adjacent to its output on Zstep from the pwmgen.01. Its dir
is nowhere to be found that I can find. pwmgen.00 s/b step/dir4 in
both polarities. These may be working but I'm haveing a hard time
correlating the mouse clicks to check both and hold a meter or scope
probe at the same time.
I just tried the 7i76_1px2d pinfile source code on a 7I92
and it works as expected:
setting PWM 00 or 01 to a 0.5 value results in a 50 % duty cycle
waveform with DIR low
setting PWM 00 or 01 to -0.5 value results in a 50 % duty cycle
waveform with DIR high
But. But. I don't have a 7i92, nor do I have a free ethernet port to
drive it with. I have a std sainsmart bob on the 5i25's p2. The crimp on
cable was bad at first but thats been repaired with new connectors.
The 7I92 config will work identically to the 5I25 config, that was my point
That pwmgen.01's dir output s/b on the 5i25.0.gpio.021, aka header pin5,
aka YDIR. So I've edited the .hal slightly different, and I can now see
the signals at the 5i25.0.gpio.006.in and gpio.007.in for axis A with a
halmeter.
?? using 5i25_7i76_1px2d:
PWMgen00s direction is on GPIO 8 (P3 DB25 pin 5)
PWMgen00s PWM is on GPIO 9 (P3 DB25 pin 6)
PWMgen01s direction is on GPIO 25 (P2 DB25 pin 5)
PWMgen02s PWM is on GPIO 26 (P2 DB25 pin 6)
Note I anm not referencing header pins but always DB25 pins
And dittos for pwmgen.01 for gpio pins 25 & 26 for the spindle. Now to
wire it that way since it isn't. These sainsmart BoB boards are cheap,
well built and almost indestructable, but chasing a signal thru one that
doesn't name outputs by pin # is a cast iron bitch.
Thank you, Peter.
[...]
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers
Peter Wallace
Mesa Electronics
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers