Saffa
Member
Hi All,
First project using the Schneider M221. Simple valve control where I have to open a valve to a fixed position depending on time of day. There are 17 different "time slots".
What I was hoping to do was simply build an array of valve positions, and step through it using a timer. After the timer expires, move next timer value into present, move valve position from array to valve positioner. Re-sync to RTC once a day (accuracy is not super important).
If I had a Micrologix I'd use indirect addressing. I can't seem to find anything similar for the M221? The drum instruction is laughable - only 8 steps!
I can brute force it but it's just nasty. This is only going to be running this system until summer when we can get a proper system installed.
Thanks!
First project using the Schneider M221. Simple valve control where I have to open a valve to a fixed position depending on time of day. There are 17 different "time slots".
What I was hoping to do was simply build an array of valve positions, and step through it using a timer. After the timer expires, move next timer value into present, move valve position from array to valve positioner. Re-sync to RTC once a day (accuracy is not super important).
If I had a Micrologix I'd use indirect addressing. I can't seem to find anything similar for the M221? The drum instruction is laughable - only 8 steps!
I can brute force it but it's just nasty. This is only going to be running this system until summer when we can get a proper system installed.
Thanks!