get the highest value

Because I seldom use the FSC instruction I spent a few minutes taking a look. Having a 1756-L61 for a desk toy is great !

The SRT instruction in ControlLogix has no ascending/descending options: it always places the largest value in the last index.

FSC is really a little embedded FOR loop with a comparison expression. The function of the .IN bit can trip you up if you have not used it before.

This should do what OP wants:

Excellent programming!!!
 
guys thank you very much i really appreciate your help i will try all the ideas and will see also

user L33er i couldnot open the Findmax program zip file it shows error when i am trying to extract all
 
yes i did but it didnt ask for password when i download it. but when i tried to ectract it it gave me an error.

i might be missing a step ?
 
That's because you are using windoze zipper.
Do any of these terms ring a bell: Kodak moment, Xerox copy, Googling, Winrar, Winzip, 7-Eleven, 7-zip?
 

Similar Topics

Hello Currently have a project in which I have to find the highest value in a dint array. Once the highest value is found I will have to move...
Replies
20
Views
11,486
This is a Citect SCADA question I have Six variables of type REAL (Float) to compare and determine (identify) which variable has the highest...
Replies
4
Views
1,422
Plc: RX3i Cpu: CPE305 I want to search a range of real registers for highest value. The range is R1050 to R1525. I thought it would be an array...
Replies
4
Views
1,613
I am trying to find a function block to determine the second highest value ( i need the second highest value out of 16 thermocouple temperatures)...
Replies
6
Views
2,562
Is there a way to record the highest value in a certain time frame? For example an analog input card.
Replies
32
Views
6,278
Back
Top Bottom