PLCopen Software Construction Guidelines released

May 16, 2016
It contains 63 rules for software programming, and is spread over different sections, such as: naming rules, comment rules, coding practice, languages and vendor specific IEC 61131-3 extensions.

The PLCopen Coding Guidelines version 1.0 ─ as part of PLCopen's Software Construction Guidelines initiative ─ have been released to the public and are available on the association's website for downloading.

According to PLCopen, although there are guidelines for many programming languages out there, it's hard to find guidelines for the area of industrial control, e.g. IEC 61131-3 and its PLCopen extensions. Even without this, PLCopen points out, the software in the industrial environment is becoming more important, software projects are becoming larger and the costs of errors are increasing.

In order to deal with the complexity of larger programs, one needs modern software development processes supporting a structured approach and creating re-usable code, says PLCopen. There is also a need to increase efficiency in coding via re-use of pre-defined functionalities.

In an effort to support his goal, PLCopen created its Software Construction Guidelines initiative. The first official version of the Coding Guidelines has been released. It contains 63 rules for software programming, and is spread over different sections, such as: naming rules, comment rules, coding practice, languages and vendor specific IEC 61131-3 extensions.

According to PLCopen, since the release of the first documents, further work has also been done on the following topics:

    • Creating PLCopen compliant Function Block Libraries
    • Structuring and decomposition via SFC (do’s & don’ts)

Both areas are close to publishing their first results.

[javascriptSnippet]

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

The results of the different subgroups will be made available on the PLCopen website on an on-going basis.

Sponsored Recommendations

2025 State of Technology Report: HMIs, IPCs and Enclosures

Industrial manufacturing equipment often relies on human-machine interfaces, industrial PCs and enclosures to ensure system reliability and optimal performance. These components...

Custom Encoder Created for Large Rotational Applications

Large rotational applications like MRI machines, excavators, mobile equipment, forklifts and stagecraft require precise motion feedback for optimal performance, safety and efficiency...

See How One Company Customized Motion Feedback for Material Handling Applications

Encoders can be used in material handling on sorters, conveyors, in automated storage retrieval systems, on mobile equipment, automated mobile robots and more. See how one company...

Absolute vs Incremental Encoders: Which One Does Your System Need?

The right encoder makes all the difference. Incremental encoders are perfect for tracking speed and direction in dynamic motion. Absolute encoders? They remember exact positioning...