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

Using the Git CLI

Before we get started, it is important to note that systems such as CODESYS do have tools that can integrate with GitLab and other systems. These tools are GUI-based, integrate directly with the platform, and are easy to use. However, they are often specific to a singular system and vary in their functionality and operations. Some of these plugins are also proprietary, which can further hamper their adaptation. So, if you’re using one of these plugins, especially in a production environment, be careful you are not violating any terms of usage.

For this chapter, we’re going to stick with the classic Git command line because it’s vendor-neutral as far as programming languages go and can be used with pretty much any file type. Git has a lot of functionality to offer, and learning the CLI can give us great control over what we’re doing. This section is going to cover the basic operations that Git offers. To begin getting our feet wet,...

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