Sign in to follow this  
Followers 0
mhowasso

RSLogix500 Floating Point Differential

5 posts in this topic

Hi All, Using a ML1400 with RSLogix500. What is the best way to show the difference between two F8 (Floating Point) values..??? I have two pressures (or whatever) and I just want to track the value difference between the two. Thanks,

Share this post


Link to post
Share on other sites
Subtract one from the other. Then take the absolute value of the difference. See PDF abs.pdf

Share this post


Link to post
Share on other sites
I may be missing something but Subtract: F8:0 - F8:1 Destination = F8:2 Or you can get more elaborate and subtract the analog Raw values from each other and feed them to a scale block. I set this one up as scaled for PID (not sure why my screenshot has a black background)

Share this post


Link to post
Share on other sites
Subtracting one value from the other and using the ABS instruction worked wonderful. Thanks

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