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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...