AT DeclarationΒΆ

In the variables declaration, the AT code assigns a project variable to a specific input address, output address or memory address of the controller that is configured in the device tree. You can also define the assignment of variables to an address in the I/O Mapping dialog box of the device in the controller configuration.

Syntax:

<identifier> AT <address>:<data type>;

This declaration allows you to give an informative name to the address. You can make any necessary changes for the input or output signals at just one location, for example in the declaration.

If you assign a variable to an address, please note the following:

See also