Oldskuler Posted August 13, 2020 Report Share Posted August 13, 2020 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... I 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? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted August 13, 2020 MVP 2022 Report Share Posted August 13, 2020 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. Quote Link to comment Share on other sites More sharing options...
Oldskuler Posted August 14, 2020 Author Report Share Posted August 14, 2020 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... Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted August 14, 2020 MVP 2022 Report Share Posted August 14, 2020 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. 1 Quote Link to comment Share on other sites More sharing options...
Oldskuler Posted August 27, 2020 Author Report Share Posted August 27, 2020 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.