Hello All,
I’m working on a project that requires filling/discharging from 30 batch tanks that are the exact same. Simplifying things some here but each tank will have an inlet valve, an outlet valve, and a cooling jacket valve (all 3 valves have open and closed feedback). Only 1 tank can be filling at a time and only 1 tank can be discharging at a time. At no point will the same tank be filling and discharging. Each tanks' valves are named very similar where they follow the format XV-1XXA where XX represents the tank number and A represents the valve function. I’m looking for some pointers in how to write my logic the best way (possibly utilizing indirect addressing) so as to eliminate the amount of rewriting/troubleshooting/organizing onsite. I have the availability to use a 1756-L8X PLC and will be utilizing pre-developed AOIs.
I was thinking of making a UDT with length of 31 (30 tanks so will use [1]-[30]) and under that UDT also have a UDT for all the valve I/O on each tank so when we set the active batch tank, we can use indirect addressing in the UDT to open the proper tank’s valves and check the open/closed inputs. But this requires me to map all the valves inputs into the UDT which will be very time consuming. I’ve done quite a bit of research on this site and have seem some good threads but most seem to focus on PLC5/SLC and not CLX. Is there a better way than the above to do this for CLX? I would like to make things as clear and concise as possible without copy and paste 30 times.
I’m working on a project that requires filling/discharging from 30 batch tanks that are the exact same. Simplifying things some here but each tank will have an inlet valve, an outlet valve, and a cooling jacket valve (all 3 valves have open and closed feedback). Only 1 tank can be filling at a time and only 1 tank can be discharging at a time. At no point will the same tank be filling and discharging. Each tanks' valves are named very similar where they follow the format XV-1XXA where XX represents the tank number and A represents the valve function. I’m looking for some pointers in how to write my logic the best way (possibly utilizing indirect addressing) so as to eliminate the amount of rewriting/troubleshooting/organizing onsite. I have the availability to use a 1756-L8X PLC and will be utilizing pre-developed AOIs.
I was thinking of making a UDT with length of 31 (30 tanks so will use [1]-[30]) and under that UDT also have a UDT for all the valve I/O on each tank so when we set the active batch tank, we can use indirect addressing in the UDT to open the proper tank’s valves and check the open/closed inputs. But this requires me to map all the valves inputs into the UDT which will be very time consuming. I’ve done quite a bit of research on this site and have seem some good threads but most seem to focus on PLC5/SLC and not CLX. Is there a better way than the above to do this for CLX? I would like to make things as clear and concise as possible without copy and paste 30 times.