On Mon, 18 Apr 2022, gene heskett wrote:

Date: Mon, 18 Apr 2022 18:11:54 -0400
From: gene heskett <ghesk...@shentel.net>
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] nother Q for Peter

On Monday, 18 April 2022 17:33:48 EDT Peter C. Wallace wrote:
On Mon, 18 Apr 2022, gene heskett wrote:
Date: Mon, 18 Apr 2022 16:37:48 -0400
From: gene heskett <ghesk...@shentel.net>
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] nother Q
for Peter

On Monday, 18 April 2022 13:49:36 EDT gene heskett wrote:
On Monday, 18 April 2022 10:38:10 EDT Peter C. Wallace wrote:
On Mon, 18 Apr 2022, gene heskett wrote:
Date: Mon, 18 Apr 2022 04:19:27 -0400
From: gene heskett <ghesk...@shentel.net>
Reply-To: "Enhanced Machine Controller (EMC)"

    <emc-users@lists.sourceforge.net>

To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net> Subject: [Emc-users] nother Q
for
Peter

Greetings;

How does the A/D on a 7i76D handle overvoltage? I'm considering a
long
tailed vfet pair with a 22k pullup to 42 volts. Does it just goto
full
scale at an $FF output, or will that blow something?

Full scale (inputs will take up to 100V indefinitely)
but adjacent inputs  may read incorrectly if more than about
50V is suppled (due to current injection into parasitic
transistors related to the input ESD diodes of the CPU)

Excellent news Peter, I'm off to the races then.

But the starting gate won't open. I've re-read 7i76man.pdf several
times w/o the method of actually getting the digital value from one
of the 4 ports it works for. I have something tied to port-0, but I
think that may be a leftover from before I used the hy-485 module to
drive the spindle, so it looks like I should figure on using port-1.

How does reading an A/D derived digital value from port-1 get done in
the hal file?

Thank you.

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

The pins are:

hm2_5i25.0.7i76.0.0.analogin0
hm2_5i25.0.7i76.0.0.analogin1
hm2_5i25.0.7i76.0.0.analogin2
hm2_5i25.0.7i76.0.0.analogin3


You need to set the 7I76 in a mode that enables the analog inputs
(modes 1 or 2)

That sounds like it should be a setp, but it doesn't jump off of page 31
at me. Looking at the analogin0, I'm seeing a flash of noise at about 1
second intervals which I assume is the update rate.  And I don't
currently have any setp's that seem to address the 7i76. Do I need to dl
a fresh copy of the 7i76man.pdf?  I've had this one for 3, maybe 4 years.

The analog update rate is the servo thread rate (the aquisition rate is about 50 KHz)

If you have a analogin0 pin you are have already setup a mode that includes analog input

(the mode setup is done in the sserial_port_0=NNNXXXX line in the driver command line)




_______________________________________________
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





_______________________________________________
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

Reply via email to