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.

04/21/2016


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.

PLCopen

www.plcopen.org 

- 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.
Sensor-to-cloud interoperability; PID and digital control efficiency; Alarm management system design; Automotive industry advances
Make Big Data and Industrial Internet of Things work for you, 2017 Engineers' Choice Finalists, Avoid control design pitfalls, Managing IIoT processes
Engineering Leaders Under 40; System integration improving packaging operation; Process sensing; PID velocity; Cybersecurity and functional 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!

SCADA at the junction, Managing risk through maintenance, Moving at the speed of data
Flexible offshore fire protection; Big Data's impact on operations; Bridging the skills gap; Identifying security risks
The digital oilfield: Utilizing Big Data can yield big savings; Virtualization a real solution; Tracking SIS performance
click me