QUOTE(fcflores1 @ Aug 17 2006, 10:51 AM) [snapback]38425[/snapback]
Hey, Guys
I have an application where i will be using -10v to +10v (-32,768 to 32767) Input card. And i would like to convert my raw data to mm.
Thanks..........
Somehow you need to establish a voltage to mm linear relationship. The easiest way I do this, is connect to analog card. Move device 1 mm, and see what the voltage change is. Let's say it is 106. So it's safe to say 1 mm = 106. Now do the math from there.
If you want your integer value to be mm, then convert it. 1/106 is 0.009433 conversion factor.
Make a ladder rung COMPUTE (analog INPUT value * 0.009433) and put that into a real register, now that real register will be actual mm.
-