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

Page 573

Advertising
background image

L-force | PLC Designer

Compiler Errors and Warnings



DMS 3.2 EN 02/2011 TD29

571

Example:

Variable Configuration:

VAR_CONFIG
plc_prg.aprg.ainst.in AT %IB0 : INT;
END_VAR

plc_prg:

index := INDEXOF(aprg);

The program aprg is referenced but not called. Thus plc_prg.aprg.ainst.in never will
get the actual value of %IB0.

1412

"Unexpected token NameName in pragma {pragma name}"

You are using a pragma which is not written correctly resp. which cannot be used at
this location. See keyword 'pragma' in the PLC Designer Online Help or Users Guide for
getting help for a correction.

1413

"'<Name>' is not a valid key for list '<Name>'. The key will be ignored"

In the pragma a nonexistent parameter list is specified. Check the list name resp. have
a look in the Parameter Manager for the currently available lists.

1414

Too many component definitions in pragma '<name>'

The Pragma contains more definitions (in square brackets) than there are elements in

the corresponding array, functionblock or structure.

1415

’<Name>’ (<Number>): The literal '<Number>' is assigned to more than one
enumeration

In the declaration of enumeration <Name> the same number is assigned to more than

one enumeration components (e.g. TYPE aenum (a:=1, b:=1); END_TYPE).

1500

"Expression contains no assignment. No code was generated."

The result of this expression is not used. For this reason there is no code generated for
the whole expression.

Advertising