On Fri, 20 May 2022, gene heskett wrote:
Date: Fri, 20 May 2022 14:41:53 -0400
From: gene heskett <[email protected]>
Reply-To: "Enhanced Machine Controller (EMC)"
<[email protected]>
To: "Enhanced Machine Controller (EMC)" <[email protected]>
Subject: Re: [Emc-users] For Peter
On Friday, 20 May 2022 13:52:30 EDT Peter C. Wallace wrote:
On Fri, 20 May 2022, gene heskett wrote:
Date: Fri, 20 May 2022 13:10:25 -0400
From: gene heskett <[email protected]>
Reply-To: "Enhanced Machine Controller (EMC)"
<[email protected]>
To: "Enhanced Machine Controller (EMC)"
<[email protected]> Subject: [Emc-users] For Peter
Greetings Peter;
Is there any way I can use pwmgen.00 in a 5i25-7i76 lashup while
using
stepgen_3 for a B axis?
If you only use 4 axis total, yes, there is firmware that uses
the 7I76's stepgen4 outpus for PWM/DIR
Or do I have to use a pwmgen module, software IOW, and feed it to a
gpio. This will make me use a much lower frequency. I had plans to
use 4 kilohertz because I can't hear that due to Carhart notches
120+db deep in both ears.
I only need 1 pin, the pwm output. No use of a dir for air
compressing.
Thank you Peter.
Yes you would want a 5i25_7i76x1pd firmware. I see the source but the
bitfile is not on the distribution. This firmware replaces stepgen 4
outputs with PWM 0 outputs:
http://freeby.mesanet.com/5i25_7i76x2_1pd.zip
Note that you may need to choose the -step output and invert the PWM
to get a PWM output that is low at startup or watchdog bite and has the
desired polarity
Okaayy.
Further playing, I've also enabled pwmgen.01, moving the enable and value
settings to it, but I still can't find its outputs, which s/b on the BOB
beside the 7i76. Where does its output go?. That zip has been installed
on both of these 5i25-7i76 combo's.
The output is on 7i76's Stepgen 4
5I25 P3 (DB25) 7I76 stepgen 4 step/dir = PWM 0 PWM/dir
5i25 P2 (HDR26) 7I76 Stepgen 4 step/dir = PWM 1 PWM/dir
You can verify this with:
sudo mesaflash --device 5i25 --dbname1 7i76 --dbname2 7i76
And on the GO704, which is what I am looking at to see how I did it, I am
actually useing both pwmgens as I'm now useing 01 to drive the spindle
and 00 to drive the A/B servo, so thats using stepgen-3's pins on the
7i76. But on this 6040 machine I'm useing stepgen-3 to run the 3 phase
axis B. So it seems as if I ought to be able to use 01, which doesn't
comeout of the 7i76, but should be findable on the BoB. But I can't find
it with the halscope.
So I'm obviously doing something wrong yet. But what?
Thany you Peter. Take care & stay well.
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, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
_______________________________________________
Emc-users mailing list
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users