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

Page 607

Advertising
background image

L-force | PLC Designer

Compiler Errors and Warnings



DMS 3.2 EN 02/2011 TD29

605

4000

"Identifier expected"

Enter a valid identifier at this position.

4001

"Variable '<Name>' not declared"

Declare variable local or global.

4010

"Type mismatch: Cannot convert '<Name>' to '<Name>'."

Check what data type the operator expects (Browse Online Help for name of operator)

and change the type of the variable which has caused the error, or select another
variable.

4011

"Type mismatch in parameter '<Name>' of '<Name>': Cannot convert '<Name>' to
'<Name>'."

The data type of the actual parameter cannot be automatically converted to that of
the formal parameter. Use a type conversion or use another variable type.

4012

"Type mismatch in parameter '<Name>' of '<Name>': Cannot convert '<Name>' to
'<Name>'."

A value with the invalid type <Typ2> is assigned to the input variable '<Name>'.
Replace the variable or constant to one of type <Typ1> or use a type conversion
respectively a constant with type-prefix.

4013

"Type mismatch in output '<Name>' of '<Name>': Cannot convert '<Name>' to
'<Name>'."

A value with the invalid type <Typ2> is assigned to the output variable '<Name>'.
Replace the variable or constant to one of type <Typ1> or use a type conversion

respectively a constant with type-prefix.

Advertising