Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering PLC Programming

You're reading from   Mastering PLC Programming The software engineering survival guide to automation programming

Arrow left icon
Product type Paperback
Published in Jan 2026
Publisher Packt
ISBN-13 9781836642558
Length 528 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
M. T. White M. T. White
Author Profile Icon M. T. White
M. T. White
Arrow right icon
View More author details
Toc

Table of Contents (26) Chapters Close

Preface
1. Part I: Advanced Structured Text
2. Advanced Structured Text: Programming a PLC in Easy-to-Read English FREE CHAPTER 3. Complex Variable Declaration: Using Variables to Their Fullest 4. Functions: Making Code Modular and Maintainable 5. Object-Oriented Programming: Reducing, Reusing, and Recycling Code 6. OOP: The Power of Objects 7. Best Practices for Writing Incredible Code 8. Libraries: Write Once, Use Anywhere 9. Part II: Software Engineering for Automation
10. Getting Started with Git 11. SDLC: Navigating the SDLC to Create Great Code 12. Architecting Code with UML 13. Testing and Troubleshooting 14. Advanced Coding: Using SOLID to Make Solid Code 15. Part III: HMI Design
16. Industrial Controls: User Inputs and Outputs 17. Layouts: Making HMIs User-Friendly 18. Alarms: Avoiding Catastrophic Issues with Alarms 19. Part IV: Putting Knowledge Into Action
20. DCSs, PLCs, and the Future 21. Putting It All Together: The Final Project 22. Unlock Your Exclusive Benefits
23. Answer Sheet
24. Other Books You May Enjoy
25. Index

Benefits of SOLID programming

As every automation engineer knows, automation systems can stay in production for decades on end. As every automation engineer also knows, during that time, the process will change, which will require new software, hardware will become obsolete and will need to be replaced, and so on, which, as you can guess, will require software modifications. As someone who has spent countless hours sifting through thousands of lines of code at a customer site for hours on end with multiple different employers, I can say that when it comes to architecture, the extra effort is worth it. Even when you’re working on well-organized and well-architected codebases, you’ll find that tracking down a single error can be quite daunting. When the codebase is poorly designed, tracking bugs can become a Herculean task.

When implemented properly, SOLID can produce code with the following qualities:

  • Easier to debug
  • Cheaper to maintain
  • Easier...
lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering PLC Programming
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon