Sign in to follow this  
Followers 0
mhollida

Peak analog

2 posts in this topic

Hello all need some help with a project. Am using a 1200 with IF2OF2 analog card. One channel of analog input reads a pressure transducer for machine hydraulic pressure. I already have it set up and scaled to read pressure on a display (Proface operator panel). WHAT I need to do is capture the peak reading during a segment of the machine cycle. I have bits that define the start and end of the measuring period. Any ideas on this. Thanks for your help Mark

Share this post


Link to post
Share on other sites
Do a compare of the analogue and an integer, if the analogue is GRT than the integer and it is the sample period then MOV analogue to integer. SOR XIC B3:0/0 GRT N7:0 N7:1 MOV N7:0 N7:1 EOR B3:0/0 is the sample period bit N7:0 is the analogue N7:1 is the integer that strores the max PS you can copy paste the line above into RSlogix by selecting to the left of the ladder (goes red) then pasting. Edited by Snerkel

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