Overview and description - (naming conventions)

On the following documentation pages, you will find explanations and examples illustrating where these naming conventions are used (i.e. at which points in the project). The declarations samples illustrate cases for which the corresponding prefix would be expected if a prefix was defined with the corresponding naming convention. It should become clear where and how a type or variable can be declared so that the naming convention NC<xxxx> is checked at this point. However, the samples do not show which concrete prefix is defined for the individual naming conventions and would therefore be expected in the sample declarations. There is therefore no OK/NOK comparison.

For concrete examples with a defined prefix, please refer to the page Options.

Prefixes for variables

Prefixes for types:

Please note: The description of NC0003: BOOL is transferable to the other basic data types mentioned without their own documentation page.

Prefixes for the scope of variable declarations:

Please note: The description of NC0051: VAR_GLOBAL is transferable to the other areas of validity mentioned without a separate documentation page.

Prefixes for POUs

Prefixes for POU type:

Please note: The description of NC0102: PROGRAM is transferable to the other POU types mentioned without their own documentation page.

Method/property scope:

Please note: The description of NC0121: PRIVATE is transferable to the other areas of validity mentioned without a separate documentation page.

Prefixes for DUTs

Please note: The description of NC0151: Structure is transferable to the other DUT types mentioned without their own documentation page.

Prefixes for user-defined types