Skip to main content

Compiler Error C0030

Message: Direct Address expected after 'AT' instead of '<identifier>'

Possible error cause: Either an invalid address or no address is assigned after 'AT'.

Error correction: Specify a valid address.

Example 330. Example of the error:
PROGRAM PLC_PRG
VAR
     i AT ABC : INT;
END_VAR

Message:

C0030: Direct address expected after 'AT' instead of 'ABC'

Error correction:

i AT %IW0 : INT;