Provide PDF Format
AWWA IMTECH51422
- A Comparison of Two Structured Approaches to Programmable Logic Controller Software Development
- Conference Proceeding by American Water Works Association, 03/01/2000
- Publisher: AWWA
$12.00$24.00
Practitioners using a structured approach in the coding of programmable logic controllers (PLCs) provide benefits to themselves and the end users of the PLC. These include productivity, quality, maintainability and scalability. Two different types of structured approaches are described in this paper. The first, and more prevalent, can be used when code is organized by control loop. Using a structured approach in this context offers the practitioner many productivity and scalability benefits; however, the organization by control loop can often result in long repetitive code which consumes large amounts of memory. The second approach organizes the program code into a function-based structure that provides a single, logical pattern for many similar loops. Function programming offers the practitioner a reduction in file size and development time, but reduces scalability. The relative advantages and disadvantages of the two approaches are discussed. The paper concludes with recommendations for application of either approach. Includes figures.