PLC Programming - Sort Table of registrs

chetanp2000

Member
Join Date
Sep 2006
Location
Surat-Gujarat
Posts
1
I am using Modicon PLC for process control. or one my application i have to sort Table of Register Ascending or descending. Values in this tables are changing at reagular interval so i have to sor the entire table after each value change.
 
Sorting a table.

This is something I have never had to do......

Interesting.

I'm thinking a lot of SUB blocks used to compare values..

how large is the table?


Brian.
 
I have done something similar, but don't have access to modicon now. (hopeless memory, need it in front of me to remember).

This wasn't sorting on value though, it was tracking positions and every now and then a new object would appear in the middle of the tracked items.

I had to empty out the table into a 'temp' table to the point I wanted to add something in, then after placing in moving the data back.

Actually its sounds a nice little problem to solve.
 

Similar Topics

Hello colleagues, Some time ago I started my adventure with programming. With your help and the courses, things are starting to come together...
Replies
13
Views
680
Dear All, I need a sample PLC program to count the output pulse of a mass flow meter so that a specific amount of mass (for example 100gm)can be...
Replies
2
Views
146
Hi Please I have zeilo smart relay #SR2A201BD but I don't have it's programming cable. Can I use any general usb/rs232 converter? Or need...
Replies
3
Views
152
Hi, Does anyone have thoughts or know of, can point in the right direction any published materials with a plumbing centric point of you explaining...
Replies
1
Views
164
@ All: what is your best guess on a potential range in increase in efficiency in % (i.e. saved programming hours, greater output, etc.) when...
Replies
5
Views
349
Back
Top Bottom