Request someone to verify AOI for me

I think you have swapped around the input values for Pct_RH and Pbaro_kPa.

The Pbaro_kPa should be 99.98 on each test.

Pct_RH should be 50.77 for test 1,2,3 and 39.61 for Test4
 
I put one more copy up there. I had one last typo. I'm pretty confident in the fix, but if you'd like you can grab and test. I really owe you a beer. Thanks for the help.
 
It is interesting on how inaccurate the values are coming from the controller. The math in this AOI is doing lots of powers, log, ln, etc. The floating point error in these controller is giving values that are only seemingly a match to about 2 decimal places.
 
It is interesting on how inaccurate the values are coming from the controller. The math in this AOI is doing lots of powers, log, ln, etc. The floating point error in these controller is giving values that are only seemingly a match to about 2 decimal places.

Yes, 32 bit reals are pretty course. How's this?

Capture.JPG
 

Similar Topics

So I had an odd request from a customer for the above. I have written the logic and tested it all in one PLC with only using 7 outputs and 7...
Replies
15
Views
428
Hello all, I hope you're all doing well. I am a complete newbie with a program sent by the manufacturer. I want to use it on a different plc, as...
Replies
3
Views
317
I know it is fairly simple to post a screenshot, but many of us have large screens, so perhaps y'all could take the time to trim those screenshots...
Replies
4
Views
520
Good afternoon all I'm a bit puzzled. 19 inch AB HMI. addressed 192.168.1.22. laptop 192.168.1.10. I can see it in Linx. I can download .mer to...
Replies
3
Views
628
Hi. I am trying to understand some old code for B&R 2005 PLC created in PG2000 software. There are procedures concerning axes but I cannot find...
Replies
2
Views
723
Back
Top Bottom