Skip to main content

Compiler Error C0077

Message: Unknown type: '<data type>'

Possible error cause: Invalid data type in the declaration (maybe a syntax error)

Error correction: Specify valid data types only.

Example 363. Example of the error:
PROGRAM PLC_PRG
VAR
    i : INTEGER;
END_VAR

Message:

C0077: Unknown type: 'INTEGER'

Error correction:

arr1 : ARRAY[1..2] OF STRUCT1 := (p1:=1,p2:=10);