Posted 10 Nov 2005 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
Posted 10 Nov 2005 (edited) 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 10 Nov 2005 by Snerkel Share this post Link to post Share on other sites