Alias

Alias 1:

Requirements

This functionality is only available for Data Access devices based on TwinCAT 3 and the import of TMC symbol files, as well as the online symbolism.

Alias 2:

Obsolete feature

This feature has been classified as "deprecated" and may be removed in future server versions. A better alternative is our TE6100 TC3 OPC UA Nodeset Editor, which provides the same functionality (and more).

With the following pragma, a symbol can have a different name in the OPC UA address space. Please note that this functionality is only available for simple data types, but not for arrays or structures.

{attribute 'OPC.UA.DA' := '1'}
{attribute 'OPC.UA.DA.Alias' := 'MyFancyOpcUaAlias'}
nMyCounter : INT;

The NodeID as well as the BrowseName and DisplayName are set to the alias value accordingly.

Alias 3:

In the case of TwinCAT 3 C++, you can also use this pragma in the TMC Code Generator to set an alias for the node. Please note that this feature is only available under TwinCAT 3 C++ when using online symbols.

Alias 4:
Alias 5: