Sign in to follow this  
Followers 0
Conor

Analogue input % error check

3 posts in this topic

Hi all, I am measuring pH and reading via an Analogue input. I have a setpoint that the pH should be, and I want to generate an error when the actual value is 10% below/above the SP. Can anyone point me in the right direction as to how to code this? I am using a SLC500. Thanks, Conor

Share this post


Link to post
Share on other sites
Error = SP*1.1 or SP*.9. You could place these two values in a LIM instruction or put the SP*1.1 in a GRT and the SP*.9 in a LES.

Share this post


Link to post
Share on other sites
See attached, in this example F8:0 contains your PH setpoint, F8:10 is the scaled value from your analog input. I used two compares, because you may want to know if its high or low also. Ken PH_CHK.pdf

Share this post


Link to post
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
Sign in to follow this  
Followers 0