Compiler Error C0001

Message: Constant '<constant value>‘ too large for type '<data type>‘

Possible error cause: A typed constant is too large for the given data type or a constant is too large for each possible data type.

Error correction: Use smaller constants or an appropriate data type for a typed constant.

Example of the error:

PROGRAM MAIN
VAR
    test1: INT;
    test2: INT;
    test3: LREAL;
END_VAR

test1 := 12345678912345566991923939292939911;
test2 := INT#123456;
test3 := 10E500;

Message: