Description
![]() | Requirements This functionality is only available for Data Access devices based on TwinCAT 3 and the import of TMC and TMI symbol files, as well as the online symbolism. |
The following TwinCAT 3 PLC pragma can be used to set the OPC UA attribute "Description" for a symbol.
{attribute 'OPC.UA.DA' := '1'}
{attribute 'OPC.UA.DA.Description' := 'Some description for the symbol'}
nMyCounter : INT;

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

