Re: [Emc-users] question for Peter C. W.

2023-09-07 Thread gene heskett

On 9/7/23 12:36, Peter Wallace wrote:

On Thu, 7 Sep 2023, gene heskett wrote:


Date: Thu, 7 Sep 2023 12:11:19 -0400
From: gene heskett 
Reply-To: "Enhanced Machine Controller (EMC)"
    
To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] question for Peter C. W.

Greetings Peter;

Where on the 7i76, does pwmgen.00 of the 5i25 come out on?


Normally, nowhere, standard 7I76 firmware doesnt use a PWMgen for its 
analog output, its part of the field I/O sserial remote. Its control 
pins/parameters

would be:

pins:

hm2_5i25.0.7i76.0.0.spindir  # direction output
hm2_5i25.0.7i76.0.0.spinena  # high to enable ENA pin and Analog out
hm2_5i25.0.7i76.0.0.spinout  # analog value (positive only)


I don't think I've ever used these, setting up a pwmgen.00 to do that. 
If I interpret this correctly, those signal pins can be substituted and 
used in place of any pwmgen outputs? The controller is one of Jon's 
pwm-servo's with extra toroids. That was setup to run the pwmgen at 4 
kilohertz because I have carhart notches in my hearing 130db deep at 4 
kilohertz, I could hear it with 100 wats to the speaker.


This will then have a servo-thread update rate. Or 1 kilohertz. So I 
will feed them what would have been the pwmgen.00's inputs, right? The 
enable for jon's part is a 12 volt signal that I had to hardware invert 
IIRC so I can feed the spinena out to that. I assume its a 5 volt signal?


I have other stuff ahead of the pwmgen that modify the turnaround 
profile, and that run the spindle motor at about 40 rpms if neither gear 
tally is true which allow me to reach up and switch gears, at full song 
if that what its doing. Jon's controller is a 4 quadrant controller, so 
as soon as both gear switch tally's are off, the motor is down to 40 
revs long before I can turn the knob, and its still doing 40 revs as 
those nylon gears re-engage the other gear, with full speed being 
reapplied only in the last 2 or 3 degrees of the knob setting into the 
detent. All that stuff is in front of the pwmgen.  If this works, I 
won't need any pwmgen's. I'll find out by first moving the wires.


Thanks Peter.

parameters:

hm2_5i25.0.7i76.0.0.spinout-scalemax  # sets scaling of analog value
hm2_5i25.0.7i76.0.0.spinout-minlim    # sets minimum analog value, 
typically 0
hm2_5i25.0.7i76.0.0.spinout-maxlim    # sets maximum analog value, 
typically

  same as scalemax = max RPM




Can I hal route the pwmgen.00 to the spindle pins on the 7i76 if not 
already there?  I'm putting a 3 phase stepper/servo, driving a 5/1 
worm as an A drive on my GO704.  That means pwmgen.01 had to go, which 
I was using to run the spindle cuz I needed the stepgen-4 outputs that 
are overriding stepgen4 when 2 pwmgens are loaded, Now I need that 
stepgen-4 for this A drive.


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
Genes Web page <http://geneslinuxbox.net:6309/>


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


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
Genes Web page <http://geneslinuxbox.net:6309/>



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


Re: [Emc-users] question for Peter C. W.

2023-09-07 Thread gene heskett

On 9/7/23 12:36, Peter Wallace wrote:

On Thu, 7 Sep 2023, gene heskett wrote:


Date: Thu, 7 Sep 2023 12:11:19 -0400
From: gene heskett 
Reply-To: "Enhanced Machine Controller (EMC)"
    
To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] question for Peter C. W.

Greetings Peter;

Where on the 7i76, does pwmgen.00 of the 5i25 come out on?


Normally, nowhere, standard 7I76 firmware doesnt use a PWMgen for its 
analog output, its part of the field I/O sserial remote. Its control 
pins/parameters

would be:

pins:

hm2_5i25.0.7i76.0.0.spindir  # direction output
hm2_5i25.0.7i76.0.0.spinena  # high to enable ENA pin and Analog out
hm2_5i25.0.7i76.0.0.spinout  # analog value (positive only)

exactly what I had before I added the bs-1 I believe. Using one of Jon's 
pwm-servo drivers with extra toroids.  Thanks Peter.



parameters:

hm2_5i25.0.7i76.0.0.spinout-scalemax  # sets scaling of analog value
hm2_5i25.0.7i76.0.0.spinout-minlim    # sets minimum analog value, 
typically 0
hm2_5i25.0.7i76.0.0.spinout-maxlim    # sets maximum analog value, 
typically

  same as scalemax = max RPM


on dead tree FFR.



Can I hal route the pwmgen.00 to the spindle pins on the 7i76 if not 
already there?  I'm putting a 3 phase stepper/servo, driving a 5/1 
worm as an A drive on my GO704.  That means pwmgen.01 had to go, which 
I was using to run the spindle cuz I needed the stepgen-4 outputs that 
are overriding stepgen4 when 2 pwmgens are loaded, Now I need that 
stepgen-4 for this A drive.


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
Genes Web page <http://geneslinuxbox.net:6309/>


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


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
Genes Web page <http://geneslinuxbox.net:6309/>



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


Re: [Emc-users] question for Peter C. W.

2023-09-07 Thread Peter Wallace

On Thu, 7 Sep 2023, gene heskett wrote:


Date: Thu, 7 Sep 2023 12:11:19 -0400
From: gene heskett 
Reply-To: "Enhanced Machine Controller (EMC)"

To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] question for Peter C. W.

Greetings Peter;

Where on the 7i76, does pwmgen.00 of the 5i25 come out on?


Normally, nowhere, standard 7I76 firmware doesnt use a PWMgen for its analog 
output, its part of the field I/O sserial remote. Its control pins/parameters

would be:

pins:

hm2_5i25.0.7i76.0.0.spindir  # direction output
hm2_5i25.0.7i76.0.0.spinena  # high to enable ENA pin and Analog out
hm2_5i25.0.7i76.0.0.spinout  # analog value (positive only)

parameters:

hm2_5i25.0.7i76.0.0.spinout-scalemax  # sets scaling of analog value
hm2_5i25.0.7i76.0.0.spinout-minlim# sets minimum analog value, typically 0
hm2_5i25.0.7i76.0.0.spinout-maxlim# sets maximum analog value, typically
 same as scalemax = max RPM




Can I hal route the pwmgen.00 to the spindle pins on the 7i76 if not already 
there?  I'm putting a 3 phase stepper/servo, driving a 5/1 worm as an A drive 
on my GO704.  That means pwmgen.01 had to go, which I was using to run the 
spindle cuz I needed the stepgen-4 outputs that are overriding stepgen4 when 
2 pwmgens are loaded, Now I need that stepgen-4 for this A drive.


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
Genes Web page <http://geneslinuxbox.net:6309/>


___
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] question for Peter C. W.

2023-09-07 Thread gene heskett

Greetings Peter;

Where on the 7i76, does pwmgen.00 of the 5i25 come out on?

Can I hal route the pwmgen.00 to the spindle pins on the 7i76 if not 
already there?  I'm putting a 3 phase stepper/servo, driving a 5/1 worm 
as an A drive on my GO704.  That means pwmgen.01 had to go, which I was 
using to run the spindle cuz I needed the stepgen-4 outputs that are 
overriding stepgen4 when 2 pwmgens are loaded, Now I need that stepgen-4 
for this A drive.


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
Genes Web page 


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