Quantcast
Channel: Modicon / Telemecanique / Schneider Electric Latest Topics
Viewing all articles
Browse latest Browse all 446

Sorting Memory Words

$
0
0

Hey Guys,

Modicon M221 PLC, programming with Machine Expert.

I have a project that I must create shifts for heating elements, requiring that some heating elements, those who were on for the longest period, do not turn on in the next shift.

I'm looking for a sorting mechanism to determine what %MW (6 words of 8 total) have the largest value.

I would like an array of 8 words, sort them, and retrieve the highest 6 or highest 4 or highest 2.

 

Thanks.

 


Viewing all articles
Browse latest Browse all 446

Trending Articles