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

Page 603

Advertising
background image

L-force | PLC Designer

Compiler Errors and Warnings



DMS 3.2 EN 02/2011 TD29

601

3752

More than 9 dimensions are not allowed for nested arrays"

An array can be 1- 2- or 3-dimensional. The number of dimensions reached by nesting
of arrays (e.g "arr: ARRAY [0..2,0..2,0..2] OF ARRAY [0..2,0..2,0..2] OF ARRAY
[0..2,0..2,0..2, 0..2] OF DINT" maximum may be 9 and is exceeded in the current error
case. Reduce appropriately to max. 9 dimensions.

3760

"Error in inital value"

Use an initial value which corresponds to the type definition. To change the
declaration you can use the declaration dialog for variables (Shift/F2 or
'Edit''Autodeclare').

3761

"'VAR_IN_OUT' variables must not have an inital value."

Remove the initialization at the declaration of the VAR_IN_OUT variable.

3780

"'VAR', 'VAR_INPUT', 'VAR_OUTPUT' or 'VAR_IN_OUT' expected"

The first line following the name of a POU must contain one of these keywords.

3781

"'END_VAR' or identifier expected"

Enter a valid identifier of a END_VAR at the beginning of the given line in the
declaration window.

3782

"Unexpected end"

In the declaration editor: Add keyword END_VAR at the end of the declaration part.

In the texteditor of the programming part: Add an instruction which terminates the
last instruction sequence (e.g. END_IF).

This error message already might be created together with error 3703, if there are two
identic declarations at the end of the declaration part.

Advertising