5

Designing Programs – Unleashing Pseudocode and Flowcharts

Believe it or not, a quality program requires a design. Not designing a program is a lot like driving to work without knowing where you’re going. This is something that is often overlooked by inexperienced programmers and, especially, PLC programmers. To ensure you have a quality, efficient program on your hands, you need to design the algorithm before you even think about touching a keyboard.

Much like an electrical engineer would never start building a circuit without creating a diagram, a programmer should never start writing a program before at least a rough design is implemented. A program design is a lot like a roadmap for the programmer. Similar to the way a map will save a driver ...

Get PLCs for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.