Jump to content

Display analogue inputs as REAL/FLOAT with decimal precision


Ballza

Recommended Posts

Hello, I have a USP-156-x10 controller and using some URB remote I/O.  In particular I have a 4 channel analogue input module URA-0400T which I have some temperatures and flows wired into.

When I create these modules the default data type is UINT16.  I would like to display the temperatures on the HMI with one decimal point accuracy, for example 0.0 to 100.0 Deg C rather than 0 to 100 Deg C.  Is this possible with this type of analogue input and how would I go about doing that?

Thank you.

Link to comment
Share on other sites

Ballza,

URA-0400T -> 4 inputs 0..20mA or 4..20mA

You use a  linearize function with

a = reading input URA 0400T, b= value 0 (if it's 0mA) c= depends of your analog device when it's 0mA D=65535 (16 bits = 20mA) and E the value of your analog device when he outputs 20mA

if your device is 20mA = 100°C of 100 bar -> then you say value E=100x10 = 1000

When showing the value on screen or webserver -> you choose decimal point location= 1

it's that simple....

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.