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 (type: ST_LibVersion).
Global_Version
VAR_GLOBAL CONSTANT
stLibVersion_Tc2_TcpIp : ST_LibVersion;
END_VAR
The F_CmpLibVersion function (in the Tc2_System library) is used to compare the existing and required version.
![]() | Compatibility with TwinCAT 2 Query options for TwinCAT2 libraries are no longer available! |
Requirements
Development environment | Target system type | PLC libraries to include (category group) |
---|---|---|
TwinCAT v3.1.0 | PC, or CX (x86, X64, Arm®) | Tc2_TcpIp (communication) |