Software Awareness and the Journey to Better PLC Coding


Without standards and adherence to strict practices, modern-day food distribution wouldn’t work.

Imagine a trip to the supermarket.  Selections are made based on individual tastes, dietary requirements and price. During each trip we take for granted that products are safe for consumption and pose no health risk.  Now, imagine the same trip where one of every five items purchased could make us sick. Without standards and adherence to strict practices for food handling and processing, modern-day food distribution from farm to retail wouldn’t work.  Yet for companies heavily dependent upon automated control system this is the risk faced by control engineers where programming flaws have been estimated to account for 20% of the root causes of accidents.   

How Did We Get Here?

Reaching this point has been more revolutionary than evolutionary.  As the world moved from mechanical controls and electrical relays to sophisticated controllers guided by software, many of those responsible for logic design failed to keep up.  Control systems were based on mechanical controls with basic logical requirements for functionality. In the beginning, coding was primitive, consisting of basic ladder diagram representing relays to control mechanical components.

As the computer age advanced, so did the capabilities of software. However, programming for PLCs remained stuck in the same programming mindset. Additionally, many of the electrical engineers writing code for existing controllers were not formally trained in advanced methodologies of software coding, magnifying the problem and increasing chances for error.

Danger of Lagging Behind

As newer and more sophisticated systems are developed, automated control systems rely as much on software to run the equipment as on the equipment itself.  Efficiency, control, monitoring and safety are affected by the programming of the software to maximize the utilization of equipment. Poor coding of PLCs can therefore have a powerful negative impact on the entire system.

Some of the inherent dangers in the coding lag include:

  • Safety: Trying to implement sophisticated software requirements using primitive coding can result in  seriousand entirely avoidableincidents and accidents.
  • System Gaps: Today’s factories are highly interconnected, and primitive programming of PLCs can lead to gaps in the system.  As companies move to become connected enterprises, software required to run the different elements is becoming more complex.  Without better programming, the traditional method of coding could wind up akin to trying to use a vacuum tube to repair an integrated circuit on television.  At some point the advancement of technology will diverge to the point that the old methodology simply won’t work.
  • Multiplier Effect: Factories today are so sophisticated and so interconnected that the problem of using an archaic coding framework is not a linear one.  The amount of software required to run modern automated control systems is so huge that the deficiency can multiply the problem exponentially.

It’s About the Software

The root cause of many failures and incidents lies in failure to understand that we are dealing with software.  To close the gap between the archaic, haphazard style of coding will require adopting protocols, goals and methodologies available to software engineers.  Some variations exist, but generally, there are five goals of software design used by software engineers that should be incorporated in PLC programming:

  • Correctness:  The software should satisfy its requirements each time.
  • Robustness:  Software should tolerate misuse without catastrophic failure.
  • Flexibility:  Requirements may change over the lifespan of the software and it should be able to change or adapt to new functionality.
  • Reusability:  To save cost of code production, the software should reuse object codes, source codes and frameworks.
  • Efficiency:  Software should make use of available processing power, memory and speed.

PLC code is much more about software than it is about electrical engineering.  Understanding this reality and utilizing the goals, principles, methodologies and tools available to software engineers will allow for better and safer creation of code. This was one of the driving forces behind development of the WonderLogix Enterprise platform and one that we’ll continue to cover in future blog posts.[/vc_column_text][/vc_column][/vc_row][vc_row fullwidth=”true” css=”.vc_custom_1544543091635{padding-top: 50px !important;background-color: #b636e8 !important;}”][vc_column][mk_fancy_title color=”#000000″ size=”48″ margin_bottom=”0″ font_family=”none”]

Want More Automation Innovation?

[/mk_fancy_title][mk_fancy_title tag_name=”h3″ color=”#000000″ size=”22″ font_family=”none”]

Get the insights you need to stay competitive.

Subscribe to get our weekly-ish newsletter right to your inbox.

[/mk_fancy_title][mk_button dimension=”flat” corner_style=”rounded” size=”medium” letter_spacing=”2″ url=”” align=”center” button_custom_width=”300″ margin_top=”30″ margin_bottom=”60″ margin_right=”0″]CONTACT US[/mk_button][/vc_column][/vc_row]

We deal exclusively with the highest five cheap football shirts main manufacturers recognized for their dedication to grassroots soccer – adidas, Nike, Mitre, Prostar and Stanno – supplying branded Cheap football shirts soccer kits, tracksuits, rain jackets, footballs and accessories. All pretend soccer shirts are very low-cost however the original ones 20/21 Arsenal Adult Home Shirts in sports outlets are very expensive. Buy official Lionel Messi football shirts for adults, youngsters and infants.
Get cheap football kits, green football kits , soccer kits new online 20/21 Chelsea Adult Home Shirts from China children football kits wholesalers. A globally-famend soccer specialist Manchester City football shirts and authority in our field, is house to a wealth of official 20/21 Juventus Adult Home Shirts replica equipment for English Premier League giants Arsenal, Chelsea, Everton, Liverpool, Manchester City, Manchester United, Tottenham Hotspur and others.Thus, we are up to date with present trends that apply to skilled football kits, tools and accessories. Check out our full vary of soccer shirts at £20 and under to seek out out more. We offer huge discounts on 20/21 Manchester United Adult Home Shirts multibuy football kit deals from a spread of prime brands and will even throw in free UK-wide supply, which means your whole staff may very well be equipped and able to take the game to the opposition in a single easy transaction.

Leave a Replay


did you hear about our upcoming CERTIFIED USER COURSE?

Starting on August 1st, join and become a key user of our community!