beckhoff TE1200 — 4.3.1 Overview and description - (naming conventions)

Configuration | Naming conventions "NC0014: Invalid variable name 'iCounter'. Expected prefix 'n'" Temporary deactivation of naming conventions Individual conventions can be disabled temporarily, i.e. for particular code lines. To this end you can add a pragma or an attribute in the declaration or implementation part of the code. For variables of structured types you may specify a prefix locally via an attribute in the data type declaration. For more information see: Pragmas and attributes [ } 121] . Overview of naming conventions For an overview of naming conventions, see Overview and description - (naming conventions) [ } 82] .

4.3.1 Overview and description - (naming conventions) | 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 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 [ } 89] . Prefixes for variables Prefixes for types: NC0003: BOOL [ } 84] NC0004: BIT NC0005: BYTE NC0006: WORD NC0007: DWORD NC0008: LWORD NC0009: USINT NC0010: UINT NC0011: UDINT NC0012: ULINT NC0013: SINT NC0014: INT NC0015: DINT NC0016: LINT NC0017: REAL NC0018: LREAL NC0019: STRING NC0020: WSTRING NC0021: TIME NC0022: LTIME NC0023: DATE NC0024: DATE_AND_TIME NC0025: TIME_OF_DAY TE1200 82 Version: 2.11.1