Compiler Error C0215

Message: Direct address declaration is not possible in persistent list

Possible error cause: Persistent variables are not allowed to have a direct address.

Error correction: Remove the direct address assignment in the persistent variable list.

Example of the error:

VAR_GLOBAL PERSISTENT RETAIN
    directAddressVar AT %QB7 : BYTE;
END_VAR

Message:

C0215: Direct address declaration is not possible in persistent list