ST_BA_EnumInfo
To describe enumerations in more detail textually, you can assign an element of the structure ST_BA_EnumInfo to each value of an enumeration in a global list. This is done, for example, in the global variable list BAComn_EnumDE.
The value of the enumeration refers to the element of the list that describes the element of the enumeration in more detail.
Syntax
TYPE ST_BA_EnumInfo :
STRUCT
sName : STRING;
sDescription : T_MaxString;
sShortcut : STRING(16);
END_STRUCT
END_TYPE
Name | Type | Description |
---|---|---|
sName | STRING | Name |
sDescription | T_MaxString | Description |
sShortcut | STRING(16) | Abbreviation |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |