magazine-button
Home>CAD/CAM Software>Columns>AUTOMATION SOFTWARE - CoDeSys V 3.0: IEC-based programming software

AUTOMATION SOFTWARE - CoDeSys V 3.0: IEC-based programming software

Written by  Jeremy Pollard March 08, 2007

CoDeSys software, first released in 2005, is designed for OEMs and hardware vendors who would rather use pre-built software than their own. The latest release of 3S Inc.'s flagship programming software, version 3.0, is an entirely re-written version from the previous release, version 2.3. Using the most recent development environments from Microsoft and the .Net framework, 3S has created a visually appealing and very functional integrated development environment (IDE) for programming in the IEC-61131 framework and specification.

This isn't, however, a column on IEC-61131. It's a re-visitation to IEC-based programming software, which historically lacked the features and functionality that more mature programming products have (e.g. RSLogix from Rockwell Automation).

The "Quick Start" on the company's website is still based on version 2.3, as is the demo program. But you can import the files as they are converted to the new file formats.

The installation went well. The software had to install Microsoft's .Net framework version 2.0, which suggests that my operating system software needs to be updated.

It automatically started two services - "Gateway" and "PLC Control." These services are used to provide communications between the IDE and the defined target PLC at runtime.

There is a lot to set up in an IEC environment. However, you only need to know the target PLC or PAC (programmable automation controller) at the end of the process to map the inputs and outputs to the variables that you have created.

The editor is very clean. There are many windows and menu selections, which, unlike the help system, are context sensitive.

From my experience, the help system did not provide easy access to things you need to know. It assumes that you are already familiar with some of the concepts of IEC and of 3S's software approach. In my opinion, this has always been the case with most IEC-based software environments, and one of the reasons why it has not been embraced by North American industry.

I did, however, like the way the help file was structured such that the links to certain topics were hidden until asked for.

The program organizational units (POUs) are the program files used for the logic in the control system, and the devices identify the hardware (target PLC). The POUs can have all five IEC languages, as well as a continuous function chart.

Once you have created a POU (e.g. ladder diagram), you can create the variables you need in the structured text window. The tabbed interface of the IDE makes it easy to navigate back and forth.

There is no real syntax checking, which was disappointing. An error message appeared because I used a semicolon instead of a colon. Line numbers from the source programs were given, however, which led me in the right direction. Another disappointment was that keyboards are not as well supported in this package compared to some other software packages. I find using the mouse for most functions tedious and time-consuming.

Creating ladder diagrams is painless, but I wouldn't say that it is a very fast development environment. Using the auto declare function allows you to enter variables on the fly, which aids in creating the database.

Building a function block diagram is also relatively painless. It might be my unfamiliarity with the software, but there doesn't seem to be any quick way of connecting devices and I/O points.

Once the project has been built and compiled without errors, you can run the project in simulation mode. This will help you in some basic application troubleshooting without having the physical hardware available.

One of my pet peeves is the lack of on-screen information. Anyone who has used RSLogix cannot do without the address descriptors. A tagname (which is the only way you can refer to a memory space) cannot adequately identify the input or output. Off project documentation is needed to assist the user to understand and troubleshoot the application.

There is a built-in HMI application that can be used for basic interface. The interface is much richer and more functional than the previous version; however, the phrase "not yet implemented" appears in the help file frequently. Some OEMs might wait for the completion of some of the functionality before migrating, but you can bet that they will.

I would not ignore this IEC-based software package. If you are an IEC user, you can't afford to stay in the dark.

PRODUCT SPECS:
Name: CoDeSys
Version: 3.0 SP2
Vendor: 3S Inc. (www.3s-software.com)
Application: Control device programming
Price: Development environment is free


Jeremy Pollard is a 25-year veteran of the industrial automation industry. He has worked as a systems integrator, consultant and an educator in the field. Jeremy can be reached at This e-mail address is being protected from spambots. You need JavaScript enabled to view it .

Last modified on June 15, 2009

Add comment


Security code
Refresh

SolidWorks: Reducing production time with game-changing solution The Company: Hockey rinks have come a long way since the wood and chicken-wire fence of the early days. As the preferred rink equipment supplier to the NHL, Sport Systems…
Category: Features
Read more...
Siemens PLM: Seamless integration of CAD and ERP cuts lead time The Company: JSP Industries is a Canadian-owned family business with 60 employees and $10 million in sales. The Quebec-based company, which has been designing furniture since 1989, manufactures wood furniture,…
Category: Features
Read more...
The Company: Polycontrols Technologies Inc. specializes in products and services related to process control and flow measurement. Its strength is designing gas mixture systems for applications that require precise concentrations.…
Category: Features
Read more...
Delcam: Competing with low-cost countries The Company: Windsor, Ont.-based NeoVision Technology Inc. is a leader in the machine, tool, die and mould market. Launched in 2005, the company and its staff of more than 20…
Category: Features
Read more...
Autodesk: Saving time and money with digital prototyping The Company: Since its founding in 1983, Benshaw, a division of Curtiss Wright Flow Control Company, has grown to become a world leader in the design, development and manufacture of…
Category: Features
Read more...
THE COMPANY: Mitchell Mill Systems Canada Ltd. designs and manufactures material handling equipment used in grain, livestock feed, pet food, fish food, fertilizer, seed cleaning and other industrial processes. THE…
Category: Features
Read more...
THE COMPANY: B.C.-based StructureCraft Builders Inc. harnesses master-craftsmen traditions, sophisticated engineering and modern construction techniques to create complex structures. The company recently demonstrated its engineering and design prowess in building…
Category: Features
Read more...
THE COMPANY: Magna Advanced Technologies is a division of Magna International Inc., a global automotive parts manufacturer based in Aurora, Ont. The company designs, develops and manufactures automotive systems, assemblies,…
Category: Features
Read more...
  • Latest News

    MA Online Resource Centre



    Featured Video

    More Videos...