Software construction guidelines released

The PLCopen Coding Guidelines version 1.0 has been released and contains 63 rules for software programming and are designed to train users and provide a basis for universities to help them teach IEC 61131-3 programming more efficiently.


The PLCopen Coding Guidelines version 1.0 has been released and is available for download. Version 1.0 contains 63 rules for software programming, which is spread over different sections such as naming rules, comment rules, coding practice, languages, and vendor specific IEC 61131-3 extensions. These rules are designed to train users and provide a basis for universities to help them teach IEC 61131-3 programming more efficiently.

Software today often absorbs half of the initial project costs and between 40 and 80% deals with maintenance over the life cycle costs of the software. In order to deal with the complexity of larger programs, modern software development processes supporting a structured approach and creating re-usable code are needed. Also, the efficiency in coding needs to be increased via re-use of pre-defined functionalities and to help to better understand the program over the life cycle.

Since the release of the first documents, further work was done on the following topics:

  • Creating PLCopen compliant function block libraries
  • Structuring and decomposition via sequential function charts (SFCs).

Both areas are close to publishing their first results. The libraries are giving guidance and examples to create own libraries. For this, templates are provided for the two basic function blocks operation differences: edge-triggered or level-triggered. This basis is extended with time-out functionality and a timer to spread an operation over multiple operating cycles. The included examples show the basic code as provided by the 3rd edition of the IEC 61131-3 standard.

Additional working groups active under the software construction guidelines will focus on the following topics:

  • Guidance for documentation in software programs
  • Software quality issues and software consistency
  • Software development process
  • Object orientation in the 3rd edition.


- Edited from a PLCopen press release by CFE Media. See more Control Engineering PLC and PAC stories.

ONLINE extra

Learn more about PLC Coding Guidelines version 1.0 here.

Tisha , MI, United States, 10/20/16 03:17 PM:

I am extremely excited for the guidelines!

Often I run into programs that are so fundamentally poorly written. This document provides a means for programmers to educate themselves. It gives a concrete way of holding each other, or even just yourself, accountable. And what might be most beneficial for me, it gives a concrete reference to what good programming practice looks like to which others can point to.

I cannot thank the group enough for creating this document.
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Big Data and IIoT value; Monitoring Big Data; Robotics safety standards and programming; Learning about PID
Motor specification guidelines; Understanding multivariable control; Improving a safety instrumented system; 2017 Engineers' Choice Award Winners
Selecting the best controller from several viewpoints; System integrator advice for the IIoT; TSN and real-time Ethernet; Questions to ask when selecting a VFD; Action items for an aging PLC/DCS
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.
Motion control advances and solutions can help with machine control, automated control on assembly lines, integration of robotics and automation, and machine safety.
This article collection contains several articles on the Industrial Internet of Things (IIoT) and how it is transforming manufacturing.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Future of oil and gas projects; Reservoir models; The importance of SCADA to oil and gas
Big Data and bigger solutions; Tablet technologies; SCADA developments
SCADA at the junction, Managing risk through maintenance, Moving at the speed of data
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
click me