On 2/18/2010 3:15 AM, Viesturs Lācis wrote:
> hello!
>
>    
>>>>          
>>> EMC only really understands digital signals, that is the problem. The
>>> sensors you show have analogue outputs.
>>> There are a number of ways to get analogue signals into EMC, but they
>>> all involve some form of signal conversion. The simplest is probably a
>>> voltage-frequency convertor IC wired to one of your digital IO pins
>>> and an Encoder in HAL set to Counter Mode. The encoder.velocity then
>>> represents the value of your analogue voltage.
>>> Alternatively you could use a PWM generator of some form.
>>>
>>> Another approach that I have not seen used yet would be to cannibalise
>>> a USB gamepad and wire your sensor in the place of one of the analgue
>>> joystick potentiometers. There is a lot of good info on the
>>> linuxcnc.org wiki on interfacing gamepads with EMC2
>>>
>>> Andy
>>>
>>>        
>> There are also some ready made industrial analog to frequency converters on 
>> the market that clip onto a 35mm din rail and they are in the $100-$200 
>> range.
>>
>> Dave
>>
>>      
> Andy, thanks for suggestions!
>
> ok, i understand that i need to convert sensor's output of 0-10V to
> digital signal. and i would prefer solution with lowest cost possible.
> is Pixsys DRR 245 controller suitable for this purpose?
>
> thanks!
>
> Viesturs
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>    
Another way to do it is to use a cheap PLC like the Automation Direct 
Click PLC that has onboard analog and connect to it via Modbus and get 
the values that way. Sure the PLC is smart but who cares as it is dirt 
cheap.
Better to have too much intelligence than not enough.. ;-)

Dave

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to