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

Page 610

Advertising
background image

L-force | PLC Designer

Compiler Errors and Warnings

608

DMS 3.2 EN 02/2011 TD29



4031

"'ADR' is not allowed on bits! Use 'BITADR' instead."

Use BITADR. Please note: The BITADR function does not return a physical memory
address.

4032

"’<number>’ operands are too few for '<name>'. At least ‘<number>’ are needed"

Check how many operands the named operator requires and add the missing
operands.

4033

"’<number>’ operands are too many for '<name>'. At least ‘<number>’ are needed"

Check how many operands the named operator requires and remove the surplus
operands.

4034

"Division by 0"

You are using a division by 0 in a constant expression. If you want to provocate a
runtime error, use – if applicable - a variable with the value 0.

4035

"ADR must not be applied on 'VAR CONSTANT' if 'replaced constants' is activated"

An address access on constants for which the direct values are used, is not possible. If
applicable, deactivate the option ‚Replace Constants’ in ‚Project’ ‚Options’ ‚Build’.

4040

"Label '<name>' is not defined"

Define a label with the name <LabelName> or change the name <LabelName> to that
of a defined label.

4041

"Duplicate definition of label '<name>'"

The label '<Name>' is multiple defined in the POU. Rename the label or remove one of
the definitions.

Advertising