Abstract
Programmable Logic Controller (PLC) based process control automation projects are a multiphase task requiring months of planning, specification documentation, design, implementation, debugging, and final commissioning. Debugging real time process control implementation is a three-phase process; logic simulation debugging, field static checkout, and in plant final testing and tuning. This paper briefly discusses the fundamental techniques used in the first two stages of implemented ladder logic debugging [5, 6]. A wastewater treatment facility for the processing of high flow storm rainwater using the Allen Bradley (AB) SLC 500 PLC is used to illustrate the concepts discussed. The rainwater is channeled to two large wet wells, the east wet well and the west wet well. The water is pumped to the river from the two connected wells at constant rate using a predefined process sequence control. Pumping station with multi motors deriving constant speed immersed pumps are used to regulate the discharge water flow and the level in the two wells. Only two pumps are assumed here; one in the east wet well and the other in the west wet well. The motors provide an input discrete signal indicating if the motor is running or not. The motors can also start by activating the Push Button located on the local panel if the AUTO/MAN switch is in Manual. Three float switches are used to provide an accurate indication of the water level at three prespecified critical east / west wet well locations. The Low-Level Float switch triggers the stopping of the running pump. The High-level Float switch triggers the starting of the scheduled pump. If the scheduled pump fails to start within more than 5 seconds, a backup pump is selected and started (not shown in this paper). An alarm must be issued in order to alert the operator of any motor failure. The Very High-level float switch triggers the starting of both pumps. If either of the two pumps fails to start the corresponding alarm is activated by the control. Pumps are scheduled to run according to an operator pre-defined calendar. This input is expected in hours of accumulated total pump run time. The two pumps must alternate while the water level is below the Very High Level and above the Low Level. Cascaded timers are not altered during the time when the two pumps are running. This paper shows the static and simulation debugging an abbreviated version of the typical original system used in wastewater facilities.
References
- Eman Kamel and Khaled Kamel, “Hands-On PLC Programming with RSLogix 500 and LogixPro”, McGrew-Hill professional, (ISBN-13: 978-1259644344), August 2016.
- Khaled Kamel and Eman Kamel, “Programmable Logic Controllers: Industrial Control”, First Edition, McGraw-Hill Professional (ISBN: 0071810455 / 9780071810456), August 2013.
- Khaled Kamel and Eman Kamel, “Waste Water Treatment Wet wells Pump Station PLC Control”, International Journal of Science and Engineering Technology, Vol. 1, October 2015.
- Khaled Kamel and Eman Kamel, “PLC Motor Control Fundamentals and Safety Features: A Case Study”, Journal of Computer Science Applications and Information Technology, December 2018.
- Drives & Systems, “Troubleshooting Industrial Control Systems – Tips and Pointers”, December 6, 2017.
- Dave Perkon, Technical Editor Control Design, “How to document a PLC program”, May 20, 2019.
- Edvards Csanyi, EEP Electrical Engineering Portal, “PLC start up and checking procedures before applying the power”, September 23, 2016.
- “Diagnosis and debugging of programmable logic controller control programs by neural networks”, proceedings of the 2005 IEEE Conference on Automation Science and Engineering.
