beckhoff TE1200 — 4.3.2 Options

Configuration | Naming conventions 2) Recursive prefixes for combinable data types If enabled: Variables of combinable data types (POINTER, REFRENCE, ARRAY, SUBRANGE) must have a composite data type prefix . The composite prefix is formed from the individual prefixes configured for the individual components of the combined data type. If disabled: Only the prefix of the outermost data type is expected as the date type prefix . Default setting: enabled Examples: see below 3) Combine scope prefix with data type prefix (Namespace = scope) If enabled: A variable must have the prefix for its scope defined in the naming conventions, followed by its data type prefix . If disabled:

The expected overall prefix depends on whether or not a scope prefix is defined for a variable. ◦If the associated scope prefix is defined for a variable, the variable must have only the prefix for its scope defined in the naming conventions. The data type prefix is not expected after the scope prefix. ◦If the associated scope prefix is not defined for a variable, the variable must have only the data type prefix defined for it. Default setting: enabled Examples: see below Samples Prefix configuration for data types: ◦POINTER (26) = "p" ◦ARRAY (30) = "a" ◦INT (14) = "n" ◦BOOL (3) = "b" Prefix configuration for scope ◦Case 1: Function block variables (54) = "_local_" ◦Case 2:

Function block variables (54) = empty field/not configured INFO : Further examples of a scope include VAR_GLOBAL (51), VAR_INPUT (56) and VAR CONSTANT (62). Declaration: FUNCTION_BLOCK FB_Sample VAR var1 : POINTER TO ARRAY[1..3] OF INT; var2 : ARRAY[10..20] OF ARRAY[3..5] OF BOOL; END_VAR Option scenario 1: Explanation: TE1200 90 Version: 2.11.1 Option State Expected overall prefix for case 1 (NC0054 = " local ") _ _ Expected overall prefix for case 2 (NC0054 = empty) Recursive prefixes for combinable data types Enabled For var1: ' local pan' _ _ For var2: ' local aab' _ _ For var1: 'pan' For var2: 'aab' Combine scope prefix with data type prefix Enabled