On Thu, 14 Jan 2021, Ralph Stirling wrote:
Date: Thu, 14 Jan 2021 18:13:57 +0000
From: Ralph Stirling <ralph.stirl...@wallawalla.edu>
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] measuring frequency with 7i90
Pulse widths are 16us or greater.
I am using a custom bitfile. For the pins I wanted to
connect my AD7740's to, I changed the NullTag lines
to:
IOPortTag & x"00" & QCountTag & QCountQAPin, -- I/O 21
IOPortTag & x"01" & QCountTag & QCountQAPin, -- I/O 22
The encoder #0 and #1 pin A's show up when loading
linuxcnc. I also tried adding QCountQBPin's to unused I/O's,
but that did not make any difference. Do I need to have
index pins loaded too? I didn't get any errors from the
Xilinx tools (except the sim error at the end after bitstream
generation is finished).
I've posted my configuration at:
https://gab.wallawalla.edu/~ralph.stirling/projects/linuxcnc/2gbp
-- Ralph
No, there is no requirement for all pins to be present in any hm2 module. In
fact, the plasma configurations that may use multiple THCADs replace the spindle
encoder A0,B0,Z0 pins with A0,A1,A2 pins to support up to three V-F converters.
Note that unconnected input pins will be terminated to a logic low level so the
unconnected 'B' input will be at a low level so the counting will be in the down
direction when in counter mode (and a negative velocity value)
________________________________________
From: Peter C. Wallace [p...@mesanet.com]
Sent: Thursday, January 14, 2021 9:59 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] measuring frequency with 7i90
On Thu, 14 Jan 2021, Ralph Stirling wrote:
Date: Thu, 14 Jan 2021 17:40:51 +0000
From: Ralph Stirling <ralph.stirl...@wallawalla.edu>
Reply-To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net>
To: "emc-users@lists.sourceforge.net" <emc-users@lists.sourceforge.net>
Subject: [Emc-users] measuring frequency with 7i90
I am using an AD7740 voltage-to-frequency converter
and Mesa 7i90 encoder input to measure an analog
voltage. The AD7740 circuit is working ok, with a 0-100kHz
pulse train output. I have the encoder function set to
counter-mode 1, and have the pulse train connected
to the encoder A input. I am not getting any velocity
or counts though. Is there some additional step needed
to enable frequency measurement? The encoder B input
is not connected. I have tried it with and without hires-timestamp.
Thanks,
-- Ralph
That should work, in fact, thats how our THCAD for plasma works.
what is the pulse length? if the encoder filter is enabled
it will ignore the pulses if they are shorter than 15 encoder
sample periods (nominally 600 ns at the default 25 MHz
encoder sample rate)
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=04%7C01%7Cralph.stirling%40wallawalla.edu%7C657c5e3643be49e0a6d208d8b8b62e30%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637462439894390107%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=E%2FlmOT0qiBleRoc8FpcMUJjbavayWPJlnBL7ZsGfTqQ%3D&reserved=0
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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=04%7C01%7Cralph.stirling%40wallawalla.edu%7C657c5e3643be49e0a6d208d8b8b62e30%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637462439894390107%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=E%2FlmOT0qiBleRoc8FpcMUJjbavayWPJlnBL7ZsGfTqQ%3D&reserved=0
_______________________________________________
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