Skip to main content

CODESYS Static Analysis

With CODESYS Static Analysis, a check of the IEC source code can be performed using defined rules, naming conventions, or metrics. As a result, indications of possible development problems are highlighted and errors can be identified and corrected before a field test. This can save a lot of time during application development and error checking.

In CODESYS Static Analysis, more than 100 rules (some of which can be parameterized) are already implemented.These rule can be combined to create customized rule sets. In some rules, the rule sets defined in "PLCopen Coding Guidelines" are included. You can also define a naming convention for each possible data type, which is then checked for compliance. Furthermore, more than 20 metrics are available which, if calculated regularly, can analyze the underlying source code and provide indications of negative trends and deviations from quality targets.

You can download the CODESYS Static Analysis from CODESYS Store International or CODESYS Store North America. There you will also find the data sheet for the product. The product is subject to licensing.

Note

If CODESYS Static Analysis is installed but no license is activated, then a reduced interface with the functionality of Static Analysis Light is displayed.

Tip

As an alternative to CODESYS Static Analysis, CODESYS Development System provides the Static Analysis Light add-on. The add-on is automatically part of CODESYS when no CODESYS Static Analysis is installed.

Static Analysis Light

Static Analysis Light has a severely limited feature set and provides only 7 compilation checks. The product is freely available. You can enable compilation checks individually in the Project → Project Settings menu, in the Static Analysis Light category.

For more information see: Project Settings: Static Analysis Light