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
Mastering PLC Programming
Mastering PLC Programming

Mastering PLC Programming: The software engineering survival guide to automation programming

eBook
$35.98 $39.99
Paperback
$49.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Mastering PLC Programming

Software Engineering for PLCs

Software engineering is a pivotal, yet often overlooked aspect of Programmable Logic Controller (PLC) programming. There is a core problem with automation engineering that stems from most PLC projects usually being viewed as hardware first. Many books, workshops, and so on are focused on PLC projects as hardware-first systems. Usually, programming is secondary to the overall hardware design of the system. In other words, the software is there to operate the hardware.

Many PLC programmers are not formally trained software developers and have backgrounds ranging from electricians to electrical and mechanical engineers. Though there is nothing wrong with a PLC developer not being a formally trained programmer, there are techniques that are usually taught in programming classes that are often lost when a non-formally trained programmer tries to program a PLC. This book aims to teach and apply software engineering practices to PLC programming. By learning these techniques, PLC developers can utilize the full gamut of the IEC 61131-3 standard and create advanced software faster and cleaner.

The hot topic in today’s fast-paced industrial world is Artificial Intelligence (AI) and automation. In short, machines are getting smart, and a major component of that is the software that controls the systems. The first PLC was introduced around the late 1960s and early 1970s; as such, PLCs (and by extension, automation) are nothing new. However, what has changed is the complexity of the systems that PLCs control. With the lower costs and rising computing power of PLCs, the applications that PLCs control are now becoming more complex seemingly by the day. The days of PLC programmers getting through the day with basic programming techniques and ladder logic are quickly becoming a thing of the past. To survive and be competitive in today’s market, a new way of thinking about PLC code is needed. Today’s world now needs PLC programmers that can function as software engineers.

In this chapter, we’re going to cover the following topics:

  • Software engineering for PLCs
  • The IEC 61131-3 standard
  • Ways of programming a PLC
  • CODESYS
  • A ladder logic Hello, World! program to test the installation of CODESYS
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Take a deep dive into object-oriented PLC programming to gain hands-on knowledge
  • Explore software engineering concepts such as SDLC, debugging, and SOLID programming
  • Get a thorough grasp on HMI development to build various HMI projects

Description

Object-oriented programming (OOP) is a new feature of PLC programming that has taken the automation world by storm. This book provides you with the necessary skills to succeed in the modern automation programming environment. The book is designed in a way to take you through advanced topics such as OOP design, SOLID programming, the software development lifecycle (SDLC), library design, HMI development, general software engineering practices, and more. To hone your programming skills, each chapter has a simulated real-world project that’ll enable you to apply the skills you’ve learned. In all, this book not only covers complex PLC programming topics, but it also removes the financial barrier that comes with most books as all examples utilize free software. This means that to follow along, you DO NOT need to purchase any PLC hardware or software. By the end of this PLC book, you will have what it takes to create long-lasting codebases for any modern automation project.

Who is this book for?

This book is for automaton programmers with a background in software engineering topics such as object-oriented programming and general software engineering knowledge. Automation engineers, software engineers, electrical engineers, PLC technicians, hobbyists, and upper-level university students with an interest in automation or robotics will also find this book useful and interesting. Anyone with a basic knowledge of PLCs can benefit from reading this book.

What you will learn

  • Find out how to write PLC programs using advanced programming techniques
  • Explore OOP concepts for PLC programming
  • Delve into software engineering topics such as libraries and SOLID programming
  • Explore HMIs, HMI controls, HMI layouts, and alarms
  • Create an HMI project and attach it to a PLC in CODESYS
  • Gain hands-on experience by building simulated PLC and HMI projects

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 24, 2023
Length: 386 pages
Edition : 1st
Language : English
ISBN-13 : 9781804619124
Category :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Mar 24, 2023
Length: 386 pages
Edition : 1st
Language : English
ISBN-13 : 9781804619124
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 169.97
Industrial Automation from Scratch
$49.99
Mastering PLC Programming
$49.99
PLC and HMI Development with Siemens TIA Portal
$69.99
Total $ 169.97 Stars icon

Table of Contents

24 Chapters
Part 1 – An Introduction to Advanced PLC Programming Chevron down icon Chevron up icon
Chapter 1: Software Engineering for PLCs Chevron down icon Chevron up icon
Chapter 2: Advanced Structured Text — Programming a PLC in Easy-to-Read English Chevron down icon Chevron up icon
Chapter 3: Debugging — Making Your Code Work Chevron down icon Chevron up icon
Chapter 4: Complex Variable Declaration — Using Variables to Their Fullest Chevron down icon Chevron up icon
Part 2 – Modularity and Objects Chevron down icon Chevron up icon
Chapter 5: Functions — Making Code Modular and Maintainable Chevron down icon Chevron up icon
Chapter 6: Object-Oriented Programming — Reducing, Reusing, and Recycling Code Chevron down icon Chevron up icon
Chapter 7: OOP — The Power of Objects Chevron down icon Chevron up icon
Part 3 – Software Engineering for PLCs Chevron down icon Chevron up icon
Chapter 8: Libraries — Write Once, Use Anywhere Chevron down icon Chevron up icon
Chapter 9: The SDLC — Navigating the SDLC to Create Great Code Chevron down icon Chevron up icon
Chapter 10: Advanced Coding — Using SOLID to Make Solid Code Chevron down icon Chevron up icon
Part 4 – HMIs and Alarms Chevron down icon Chevron up icon
Chapter 11: HMIs — UIs for PLCs Chevron down icon Chevron up icon
Chapter 12: Industrial Controls — User Inputs and Outputs Chevron down icon Chevron up icon
Chapter 13: Layouts — Making HMIs User-Friendly Chevron down icon Chevron up icon
Chapter 14: Alarms — Avoiding Catastrophic Issues with Alarms Chevron down icon Chevron up icon
Part 5 – Final Project and Thoughts Chevron down icon Chevron up icon
Chapter 15: Putting It All Together — The Final Project Chevron down icon Chevron up icon
Chapter 16: Distributed Control Systems, PLCs, and Networking Chevron down icon Chevron up icon
Assessments Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(7 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




James O. Rike Jul 31, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A great instruction manual as well as a reference book.
Amazon Verified review Amazon
Amanda McDonald May 04, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am a student at East Coast Polytechnic. The author is an instructor here, so I mostly bought it to be supportive. I was actually suprised when I cracked it open to take a gander. I thought it was going to be like all of the other PLC programming books filled with the same old content and silly routines. Upon examining it's content, I put this book up there with Frank Lambs "Advanced PLC Hardware and Programming", which is anohther project based learning book that holds it weight in real world value, just as this book here. The project based learning approach is the only way to go in PLCs. This book takes a free software called Codesys and steps you through the basics, fundamentals, and advanced level concepts in a silky smooth transition. I see the future of PLCs transiitoning towards ST programming to be quite blunt- if you want a future in automation you need to learn Structured text language. You also should buy this book. If you are an engineeering student or aspiring controls or automation engineer, you need this book. The software is free and the language is the same as any other high end software such as Studio5000 or Siemens TIA. I'm going to say this one more time. You need to learn to program and debug structured text, and you need to buy this book.
Amazon Verified review Amazon
Amazon Customer Oct 11, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book is not for a beginner PLC programmer. Most of the book focuses on the object-oriented programming (OOP) paradigm. The OOP is a relatively new paradigm in PLC programming, so the book is for practicing control engineers and graduate students. As the authors state, this is only the introduction to the advanced PLC programming paradigm, but it is excellent. The examples can be downloaded from GIT so the reader can practice. Every chapter ends with a project/challenge.
Amazon Verified review Amazon
Amazon Customer Jul 25, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A great book!!!
Amazon Verified review Amazon
Brandon Jun 18, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The author is an instructor at ECPI and I had the pleasure of being one of his students in a Python programming class. The way he explains the proper way to program in Python has poured over into this book. He takes the time to break everything down in a way it can be understood and provides explanations as to why it is better to program a specific way. Overall, great source material for PLC programming.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.