Beckhoff Automation GmbH & Co. KG TX1200 — 7.5 Compiler Errors

Reference programming TX1200 238 Version: 1.3 Number Error Message Possible Cause 3705 : VAR IN OUT in Top-Level-POU not _ _ allowed, if there is no Task-Configuration Create a task configuration or make sure that there are no VAR IN OUT variables used in _ _ PLC PRG. _ 3720 Address expected after 'AT' Add a valid address after the keyword AT or modify the keyword. 3721 Only 'VAR' and 'VAR GLOBAL' can be located _ to addresses Put the declaration to a VAR or VAR GLOBAL _ declaration area. 3722 Only 'BOOL' variables allowed on bit addresses Modify the address or modify the type of the variable to which the address is assigned.

3726 Constants can not be laid on direct addresses Modify the address assignment correspondingly. 3727 No array declaration allowed on this address Modify the address assignment correspondingly. 3728 Invalid address: ' ' This address is not supported by the PLC configuration. Check PLC configuration resp. modify address. 3729 Invalid type ' ' at address: ' ' The type of this variable cannot be placed on the given address. Example: For a target system working with ‘alignment 2’ the following declaration is not valid: var1 AT %IB1:WORD; 3740 Invalid type: ' ' An invalid data type is used in a variable declaration.

3741 Expecting type specification A keyword or an operator is used instead of a valid type identifier. 3742 Enumeration value expected In the definition of the enumeration type an identifier is missing after the opening bracket or after a comma between the brackets. 3743 Integer number expected Enumerations can only be initialized with numbers of type INT. 3744 Enum constant ' ' already defined. Check if you have followed the following rules for the definition of enumeration values: - Within one enum definition all values have to be unique. - Within all global enum definitions all values have to be unique.

- Within all local enum definitions all values have to be unique 3745 Subranges are only allowed on Integers! Subrange types can only be defined resting on integer data types. 3746 Subrange ' ' is not compatible with Type ' ' One of the limits set for the range of the subrange type is out of the range which is valid for the base type. 3747 unknown string length: ' ' There is a not valid constant used for the definition of the string length. 3748 More than three dimensions are not allowed for arrays More than the allowed three dimensions are given in the definition of an array. If applicable use an ARRAY OF ARRAY.

3749 lower bound ' ' not defined There is a not defined constant used to define the lower limit for a subrange or array type. 3750 upper bound ' ' not defined There is a not defined constant used to define the upper limit for a subrange or array type. 3751 Invalid string length ' ' The here defined string length exceeds the maximum value which is defined for the currently set target system.