Skip to main content

Compiler Error C0206

Message: BIT is not allowed as base type of an array

Possible error cause: An attempt is made to declare a BIT array.

Error correction: Do not declare BIT arrays.

Example 432. Example of the error:
PROGRAM PLC_PRG
VAR
    arr : ARRAY[1..2] OF BIT;
END_VAR

Message:

C0206: BIT is not allowed as base type of an array