Skip to main content

Compiler Error C0005

Message: Constant overflow in address '<address>'

Possible error cause: At least one component in the address does not fit into a 32-bit integer value.

Error correction: Use a valid address expression.

Example 315. Example of the error:
PROGRAM PLC_PRG
VAR
    X: BYTE;
END_VAR

X := %QB5555555555;

Message:

C0005: Constant overflow in address '%??'