L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 601

Advertising
background image

L-force | PLC Designer

Compiler Errors and Warnings



DMS 3.2 EN 02/2011 TD29

599

3729

"Invalid type '<name>' at address: '<Name>' "

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;

This error message also might indicate that an array is assigned to the address of a
direct variable, which is not allowed.

3740

"Invalid type: '<Name>' "

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 '<name>' 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.

Advertising