Hello,
I am starting to program a waste water treatment plant. This one is really small, 5000gpd on a single skid for residential sewage. However it is an advanced membrane system with aeration blowers, circulation pumps, permeate pumps, pressure, flow, level, prox switches, float switches , temperature, DO, ORP and pH, VFDs, motorized valves, solenoid valves, proportional valves, plus remote access via cellular modem.
I have done extensive programming for the old DL305 platform, DL205 using stage logic and have done loads of these systems using AB Logix 500 on Slc500 and Logix 5000 on a CompactLogix PLC using Point block I/O. However this time since it was my choice, I have settled on using the Do-More Terminator I/O platform. I also have used the C-More panels extensively. I have the wiring schematic complete and the PLC wiring will actually finish in a day or two. The problem is that it has been 2 years since I last did PLC program and I am in really big hurry to get this new system running, like yesterday or the week before! Sound familiar?
PLCs allow lots of ways to get the job done and it easy to go off in a direction that later you realize boxed you in so I need to answer some basic questions before I start typing away. The PLC needs to monitor and alarm, perform a frequent backwash cycle and a fairly extensive automated chemical cleaning process, clearly a candidate for stage programming. In my previous programs I never used any I/O directly, always writing inputs to internal relays and memory locations and triggering all outputs by internal relays or defined memory. This made monitoring and revising I/O very easy. I ussually start programming by defining all the I/O. Is this still a good practice with DoMore? Is this Program logic or Task logic? It needs to happen every scan for most I/O. I'm thinking it is a Task, any downside to that?
How about Analog I/O? Should I write the WX words into a Real then use that everywhere in the program? Should I write a Speed word into the WY register and use Speed everywhere in the program?
I will need PID control of pumps and blowers. Is the code for that a Program or a Task? The blowers run all the time, the pumps all cycle on and off through various steps in the process.
Thanks,
Gary H. Lucas
Innovative Treatment Products