CD0805_IECbutton
CD0805_IECbutton
CD0805_IECbutton
CD0805_IECbutton
CD0805_IECbutton

What IEC 61131 Isn’t—Part II

April 18, 2008
Ethernet Standards Are Global. Standards Regarding Power Plugs Are Local. In Which Corner Does IEC 61131 Belong?
By Jeremy Pollard, CET

The published IEC 61131 standard encourages extensibility, meaning any company that writes an IEC 61131-based product can add things to its “standard” product as long as it tells the user what changes and additions have been made relative to the standard.

IEC 61131 isn’t a standard. It is a specification for vendors that want to develop a control software programming environment according to a set of guidelines.

PLCopen, the global association supporting IEC 61131, says you can’t have a standard without certification. Yet, no one and no company can claim that its ladder logic editor creates compliant code. There’s no way to certify it. Yet a Rockwell Web page for RSLogix 5 makes claims about the “RSLogix family of IEC-1131-compliant ladder logic programming packages.”

Even if it did create compliant code, Rockwell would just need to tell you where the extensions are and what effect they have on that compliancy; then they can claim compliance.

To read Jeremy Pollard's multiple-part saga on IEC 61131 and other related articles, 
visit our IEC 61131 resource page
To be sure I wasn’t being overly biased, I enlisted colleagues on the Automation List at Control.com. “The conformance criteria are so general, it is virtually meaningless,” says Michael Griffin, an independent consultant, about compliancy.

A published PLCopen document reads: “The overall requirements of IEC 61131-3 are not easy to fulfill. For that reason, the standard allows partial implementations in various aspects. This covers the number of supported languages, functions and function blocks. This leaves freedom at the supplier side, but a user should be well aware of it during his selection process.” This doesn’t help us much.

The original intent of the specification or standard was to create a common platform for control software development. When the industry emerged in the ’70s, all software was written using dedicated hardware and firmware. With the advent of the personal computer, vendors developed their own development environments. It is no different today. The software programs that have been developed support only the vendor’s hardware. There is no common platform here. We are no further along than we were 20 years ago
Using RSLogix 5000 and Schneider’s Unity is no different than when we used fixed programming terminals. You can’t share programs, although PLCopen is trying to develop an XML transfer specification.

I anticipate that vendors will have import routines, but few, if any, will have export routines.

The spec does not cover off-the-scan issues and program-execution methods. Process behavior most likely will change on different hardware platforms since the software environment is different.

Some of the visualizations of the code are supposed to be close. If you look at ControlLogix5000, which Rockwell states is IEC 61131-compliant, and compare the visualization with that of KW Software, for instance, there won’t be much similarity.

Tag-based programming is a plus, but even in the 1980s many products had the ability to use symbols. With IEC 61131, you have to use symbols, but the length of the tag names is variable. You can’t use a 40-character symbol with a product that supports only 20.

To me, IEC 61131 is similar to SQL, UNIX or C. They’re standard products to some degree, but they’re not called standards. The varying flavors don’t interoperate, as some compilers, before the world went Microsoft, had very different syntax and ways to do things.

One Automation List contributor who wanted to remain anonymous says, “Siemens currently sells two different PLC product lines, the S7-300/400 and the S7-200. Both supposedly support IEC 61131-3, but let's compare them to two non-1131 PLCs: Siemens S5 and Koyo DL series. The S7-300/400 and the S7-200 both use I,Q, and M as part of their memory addressing. However, if you compare overall features, you find that the S7-300/400 resembles the S5 more closely than it does the S7-200. The S7-200 resembles the Koyo DL series more closely than it does the S7-300/400. So why do two IEC 61131-3-compliant PLCs from the same manufacturer each more closely resemble two different non-1131 PLCs than they do each other? Given the above, what does being IEC 61131-3-compliant offer me?”

And Julien Chouinard, managing director of ICS Triplex–ISaGRAF, calls IEC 61131 a compromise.

IEC 61131 has fallen short of expectations, but that doesn’t mean there are no benefits to the specification. My final installment of this report will examine actual potential benefits.