Jump to content

Recommended Posts

Hi,

I have some analog inputs (temperature and pressure measurements) and I wanted to show them in decimals.

Picture of one of scalling is attached. So, my MI11 is displaying as whole number, but I need it more precise (one decimal point).

In my situation, when I enter that pump power off after pressure is higher than 5bar, it shuts off after 4.5bar and that makes me problems...

Ilinear.jpg.153aa3c51fa028a703648ed7c24aab99.jpg

I tried to change how it shows in display variable format, but I can't do anything as my result of scalling is whole number, right?

Link to post
Share on other sites

Multiply your scaling (x2, y2) by 10 then display the result with 1 decimal place. Easy peasy. If your x2 & y2 are user inputs, be sure they are input with a decimal place, then your linearization result will have a decimal place automatically.

Link to post
Share on other sites

Thank you for the reply. I'm not currently near office to try that, but...

If I understand you well - when I multiply my scaling x10, in my case that will be MI11, istead of (for example) reading of 5bar, I will be getting 50bar, so when I put decimal place, it will be 5,0.

In that case I didn't get anything...

Link to post
Share on other sites
1 hour ago, Oldskuler said:

In that case I didn't get anything...

Sure you did. If your scaling is 0-5bar and you put 0-50 in your linearization block, then your resulting value after linearization will be in increments of 0.1bar.

  • Upvote 1
Link to post
Share on other sites
  • 2 weeks later...
On 8/14/2020 at 4:54 PM, Flex727 said:

Sure you did. If your scaling is 0-5bar and you put 0-50 in your linearization block, then your resulting value after linearization will be in increments of 0.1bar.

I'm sorry I didn't write earlier. Thank you very much for this tip, I got exactly what I needed.

Once again, thank you.

Cheers,

Petar

Link to post
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...