Project Information

_images/ProjectInfoNew.png

Please do not check “Automatically generate ‘Project Information’ POUs”!

Note

The option “Automatically generate ‘Project Information’ POUs” results in huge memory footprint and require WSTRING support. WSTRING support is not optimal for PLC controllers with a small footprint. In the past, this option was useful for having a simple way to get the version and the release status of a project.

With CODESYS V3.5 SP8 are now a new set of functions called ‘Library Information’ available, consisting of three functions:

  • GetLibVersion: VERSION

  • GetLibVersionNumber: DWORD

  • IsLibReleased: BOOL

Please check “Automatically generate ‘Library Information’ POUs”.

The table below lists some useful Library Properties:

Property name (Key,Type)

Description (Value)

LanguageModelAttribute (string)

Access only over the namespace (qualified-access-only)

ShowSmartCodingInfo (bool)

The Smartcoding feature of CODESYS will include the symbols.

IsContainerLibrary (bool)

Define the current lib as a Container Library

IsInterfaceLibrary (bool)

Define the current lib as a Interface Library

IsEndUserLibrary (bool)

Define the current lib as a End User Library

Placeholder (string)

Define the current lib as a Common Library

DocFormat (string)

Activate Generation of Library Documentation (reStructuredText)