JohnnyBaccus
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by JohnnyBaccus
-
-
I'm searching for a way to easily display a "float" in a scientific way on my V1210. For example, I'm measuring pressures in the ranges of 1E-07 mbar and my pressure gauge gives me a 0-10 volt signal and the formula to find the pressure = 10^(1.667xU-11.33).
The way I do it now is with finding the "exponant" range first by looking directly at my analog input and to tell the system that between certain values there's a certain exponant.
For finding the mantissa I use a workaround which is - to my opinion - way to complicated.
So on my display is written "A x E $$ mbar" in which "A" is my mantissa, "x E" is just text and "$$" is my exponant.
I'm sure there must be a better, faster, easier way, but I have no idea how to solve this problem.
Any help would be great.
Johnny
Float to Scientific Notation on Display
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
Hi,
the formula => P=10^(1.667xU-11.33) in which P is in mbar and U is in Volt.
The range of the pressure gauge is 1013 mbar (10 Volt) till 1E-09 mbar (0 Volt)
Thanks,