-

Lexical Error (LEX0011): Invalid Partial Access of ANY_BIT Variable '...'.

The syntax of a partial access to the ANY_BIT variable (also known as implicit addressing) mentioned in the error message is invalid because it is not complete.

Example:

In ST, the assignment MyBoolVar :=MyByteVar.%X; is invalid because the bit position after %X is missing. Correct use for this example: MyBoolVar :=MyByteVar.%X3;

Further Info
Refer to the topic "Partial Access to ANY_BIT Variables" for detailed information.