Messaggio
Only structures and function blocks can contain variables of the type BIT.
Causa messaggio
È stato effettuato un tentativo di dichiarare una variabile del tipo BIT fuori dalle strutture e dai blocchi funzione.
Soluzione
Dichiarare solo le variabili di tipo BIT in strutture e blocchi funzione.
Esempio di errore
PROGRAM PLC_PRG
VAR
b : BIT;
END_VAR
--> C0203: Only structures and function blocks can contain variables of the type BIT.