Library version
All libraries have a certain version. This version is displayed in the repository of the PLC library.
The version number of the library is stored in a global constant.
Global_Version
VAR_GLOBAL CONSTANT
stLibVersion_Tc2_Standard : ST_LibVersion;
END_VAR
Name | Type | Description |
---|---|---|
stLibVersion_Tc2_Standard | ST_LibVersion | Version number of the Tc2_Standard library |
The function F_CmpLibVersion is used to compare the existing and required version.
![]() | Compatibility with TwinCAT 2 Query options for TwinCAT 2 libraries are no longer available. |
Requirements
Development environment | Target platform | PLC library to include |
---|---|---|
TwinCAT v3.0.0 | PC or CX (x86) | Tc2_Standard |