rta53
Lifetime Supporting Member
I am working on an RSLogix 500 project that has me very frustrated. I had already done this program for a ML1200 and it works fine. The basic program opens 5 different solenoids at 5 minute intervals to measure water quality. I won't get into the specifics of the system. All I am doing is opening SV-101 for 5 minutes and then at the end of the cycle I move an analog value into a word buffer and then close the solenoid. I then open SV-102 for 5 minutes........and so on until I cycle through all 5 solenoids and then start back at the first one. This process continually repeats itself. I just have the done bit of one timer start the next timer. Pretty simple. Well now I have been told to come up with a way to change the order of the sampling. Instead of 1-2-3-4-5 they want to be able to do 3-1-2-5-4 or whatever. I have tried and tried to figure out a way to do this but nothing has worked so far. Oh, the way the operator will change the order is to have 5 multistate push buttons each numbered 1 to 5 on a PanelView. Below is part of my existing program. B3:0/0 starts the process and after solenoid SV-105 timer (T4:5.DN) finishes it resets the process. I have spent several hours trying different solutions.