What is CoDeSys
What is CODESYS?
CODESYS is an open source programming language, used in physical and industrial computing. Its compliance with industrial standard IEC 61131-3 means that it is used by hundreds of hardware developers globally. It is a complete development environment for PLCs and PCs, that currently has over four million active licenses worldwide.
What does CoDeSys mean?
CoDeSys stands for Controlled Development System. Although recently the CoDeSys acronym has been dropped, and the system is now referred to simply as CODESYS.
Where does it come from?
CODESYS was developed by German software company 3S-Smart Software Solutions, based in Kempten. The first version of CoDeSys was released in 1994, although this version is no longer supported. Version 2.3 of CODESYS will be supported up to the end of 2019. Users can also currently chose from versions 3 and 3.5. CODESYS. Licenses are free, and can be installed legally, without copy protection on workstations without limit.
CODESYS contains an integrated visualisation system, a unique tool that supports the development and debugging of code. It should also be noted that all the applications of the programming controller are built according to the International industrial standard: IEC 61131-3
CODESYS uses five programming languages to enable applications. two of these are text based editors, the other three are graphical editors.
The text editors comprise of the following:
- Structured Text (ST): which is similar to programing languages like PASCAL or C.
- Instruction Lists (IL): A low-level programming language that closely resembles assembly.
The graphical editor has three units:
- Ladder Diagrams (LD) Which show a graphical representation of circuit elements such as switches, coils and motors.
- Function Block Diagrams (FBD) Illustrates functions as blocks with input and output connections.
- Sequential Function Charts (SFC) Supporting the coordination of large scale tasks into smaller processes.
Continuous Function Chart (CFC)
This is another graphical editor in CoDeSys, one which is not included in the IEC standard protocol. It can be seen as an extension of the function block diagram (FBD) editor. One limitation of FBD is that connections are set automatically by the application. However, in CFC connections are drawn manually by the programmer. This enables the programmer to place boxes freely, so feedback loops can be created without the need for interim variables.
CODESYS also has built-in PLC simulation, and built-in HMI (Human Machine Interface),capability. This reduces the need for additional applications.
XSoft – CODESYS version 3.5
This is Eaton’s version of the CODESYS programming environment, and it is used across Eaton’s range of XV and XC controllers.