re reading analog input
make that
http://code.google.com/p/sector67-sandbox/wiki/FrequencyBasedAnalogInput
thx
tomp\
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try
Thanks much for the correction, and you're certainly welcome to stop by
Madison any time and check out what we're doing.
http://code.google.com/p/sector67-sandbox/wiki/FrequencyBasedAnalogInput
--
Better than sec? Nothing
On 9 March 2012 03:46, Scott Hasse scott.ha...@gmail.com wrote:
My question is about this analog input.
One way to do this that I keep meaning to experiment with is to use a
PWM output to create a reference voltage, and a comparator to detect
whether it is above or below the voltage to be
Definitely an interesting idea. To answer Thomas' question from earlier, I
was able to read a 500-1000 Hz range reliably enough to successfully
control EDM plunge/retreat for successful EDM on our first try using the
simple conditional gcode I referenced on the wiki page describing this.
A lot
Scott,
thats great!
Your machine will have some response-ability
meaning it just wont react to a sine above a certain frequency
at some point the control signal is saying up/down so fast the machine
tool is just quivering,
not getting to the commanded position.
this is often a basic evaluation
On Sunday, April 15, 2012 03:01:56 PM Scott Hasse did opine:
Definitely an interesting idea. To answer Thomas' question from
earlier, I was able to read a 500-1000 Hz range reliably enough to
successfully control EDM plunge/retreat for successful EDM on our first
try using the simple
I think there might be some confusion about what we are reading in via
voltage to frequency using a software encoder velocity in this case. The
analog value read as a frequency between 500 and 1000Hz is a scaled version
of the voltage of the EDM process itself. Our relatively naive
understanding
Scott
I added loadrt threads name1=testthread period1=20
to a config before loading EMCMOT
it seemed to load fine.
What commands did you use?
Date: Sat, 17 Mar 2012 21:08:43 -0500
From: scott.ha...@gmail.com
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Voltage
2012/3/18 Chris Morley chrisinnana...@hotmail.com:
If I would do what you suggest and put my changes directly in the hal file,
then every change I make in pncconf would require me to manually re-merge
my custom changes. AFAIK, the recommended approach for custom hal via
pncconf is custom.hal
loadrt threads name1=testthread period1=20
to a config before loading EMCMOT
it seemed to load fine.
What commands did you use?
Date: Sat, 17 Mar 2012 21:08:43 -0500
From: scott.ha...@gmail.com
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Voltage to frequency
Scott, great. what Hz sine wave can you track?
regards
TomP
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
Thanks all for the input. I don't think I'm presenting the problem quite
right, so I'll try to provide more detail, but for those not interested in
that the specific technical problem I am hoping to solve is that I have
configured a software encoder that does not seem to handle frequencies
above
On Sat, 17 Mar 2012, Scott Hasse wrote:
snip--
It acts like it is sampling the encoder at the servo-thread frequency,
despite the update-counters function being bound to the base-thread. When
I view the configuration from
With respect to messing it up, the hal and ini file are as they are
directly generated from pncconf. The source simply does an input and I am
doing that to keep the configuration modular. I run various configurations
on this machine, and can pick and choose configurations by sourcing
different
But this is really really wasteful
Presuming my PC can handle a reasonable base-thread rate, is it really
wasteful of a scarce resource?
It seems if I want to use a real encoder counter given my configuration
I'll need a custom 5i23 firmware?
Thanks!
Scott
On Sat, Mar 17, 2012 at 10:01 AM,
It just makes difficult for any observer to understand, what is going on
there.
If it works and You understand it - very good. But remember that if
You will ever want somebody else to understand it, then it can cause
frustration. I think that in situations like this it is best to stick
to
-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Voltage to frequency for analog input
But this is really really wasteful
Presuming my PC can handle a reasonable
Scott
My understanding is that the simple and most well-traveled approach for
servo systems with Mesa hardware is to use pncconf. If you have a
recommendation for a simpler or stupider solution I am certainly open to
it. Personally I have found pncconf to be invaluable and just to clarify,
Stopped down to the shop tonight to try:
addf hm2_5i23.0.read_gpio base-thread
Debug file information:
HAL: ERROR: function 'hm2_5i23.0.read_gpio' needs FP
analog-in.hal:4: addf failed
To me this implies it is not a real time capable function? I tried
creating a separate thread, but I get:
2012/3/15 Scott Hasse scott.ha...@gmail.com:
with the frequency out going to an isolated I/O daughter
card input (Mesa 7i37 I believe) of a Mesa 5i23. The problem to me seems
to be the software encoder rate, which I believe I would hit with your
suggestion as well.
Any particular reason not
On Thu, 2012-03-15 at 09:50 +0200, Viesturs Lācis wrote:
2012/3/15 Scott Hasse scott.ha...@gmail.com:
with the frequency out going to an isolated I/O daughter
card input (Mesa 7i37 I believe) of a Mesa 5i23. The problem to me seems
to be the software encoder rate, which I believe I would
I'd prefer not to use the mesa encoder primarily because I want to use the
optical isolation I already have on the 7i37. Additionally with the firmware
setup I have (4 pwm, 4 encoders, 4 stepgens) and the 3rd 50 pin cable for io
like estop and limit I only have one Mesa-based encoder available
I'm not sure what your budget it, but the Mesa 7i65 card has a number of
analog inputs.
It isn't cheap (compared to other Mesa cards) but rarely have I found
good analog inputs that are cheap in any I/O system. Plus cheap is
relative when you consider other I/O systems.
I'm currently
On Thu, 2012-03-15 at 10:56 -0500, Scott Hasse wrote:
I'd prefer not to use the mesa encoder primarily because I want to use
the optical isolation I already have on the 7i37. Additionally with
the firmware setup I have (4 pwm, 4 encoders, 4 stepgens) and the 3rd
50 pin cable for io like estop
If you just want to go from analog to LinuxCNC, have you considered
using an ATmega to parallel port interface? The AVR can accept pure
analog or some pulsed variety, such frequency counting , PWM or PDM. A
dual parallel port PCI card is ~$15, Arduino Pro Mini for $20:
On Wed, 2012-03-14 at 21:56 -0500, Scott Hasse wrote:
... snip
Or are you suggesting not doing analog-to-frequency
but rather something like 8 digital inputs and using the weighted_sum
component?
... snip
Yes, analog to Arduino to parallel port. I didn't realize you already
had an Arduino in
On Tue, 2012-03-13 at 22:42 -0500, Scott Hasse wrote:
... snip
I understand I could run an encoder input with the counting done by the
Xilinx chip, but the way the standard 5i23 firmware images work I only have
one of those available (and not optically isolated) versus lots of
arbitrary
it is unclear, if the problem is with the hardware, or with the signal
handling within LinuxCNC...
Really both, but I've gotten solid advice on both as well. Hardware-wise,
the Mesa board looks good for my application.
Signal-handling-wise, I thought that an M66 analog read could be set to
I'm doing some volunteer work for a local hackerspace (sector67.org). We
recently completed conversion of two anilam knee mills to LinuxCNC, including
adding a 4th rotary stepper axis for one of the mills. We now want to do some
simple plunge EDM'ing, and ideally would reuse the LinuxCNC z
On Thu, 8 Mar 2012 21:46:16 -0600
Scott Hasse scott.ha...@gmail.com wrote:
I'm doing some volunteer work for a local hackerspace
(sector67.org). We recently completed conversion of two anilam knee
mills to LinuxCNC, including adding a 4th rotary stepper axis for one
of the mills. We now
2012/3/9 Scott Hasse scott.ha...@gmail.com:
Has anyone used a circuit with a voltage to frequency converter (LM331 or
similar) to create a digital pulse train read in linuxCNC as an encoder I
presume and then hooked that up to the analog m66 inputs?
I have it for nozzle-height-control. I
Mesa has their THC board that I believe does exactly what you are
looking for.
Look at the very last item on this page:
http://www.mesanet.com/
Dave
On 3/8/2012 10:46 PM, Scott Hasse wrote:
I'm doing some volunteer work for a local hackerspace (sector67.org). We
recently completed
2012/3/9 Dave e...@dc9.tzo.com:
Mesa has their THC board that I believe does exactly what you are
looking for.
Dave, I think that it is unclear, if the problem is with the hardware,
or with the signal handling within LinuxCNC...
Look at the very last item on this page:
33 matches
Mail list logo