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 have no way to check now, what
exact model of voltage to frequency converter chip was used, but You
are right - the pulses were treated as an encoder signal and then
"actual encoder velocity" was compared to a requested value in THC
module and Z position was adjusted.

It does not make sense to me to feed the pulses in encoder module and
then hook the encoder module output to m66 analog input pins. M66 will
expect the pin to be either true or false, that is not going to happen
with encoder output pins.

I think that something like a comparator is needed, which compares the
actual encoder signal with some preset value and then drives its
output true or false.
It would be a very simple HAL component with less than 10 lines of
code. Let know, if You do not know, where to start.

Viesturs

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to