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_TcXmlDataSrv : ST_LibVersion;
END_VARName | Type | Description |
|---|---|---|
stLibVersion_Tc2_TcXmlDataSrv | Version number of the Tc2_ModbusSrv library. |
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 TwinCAT 2 libraries are no longer available. |
Requirements
Development environment | Target system type | PLC libraries to be linked |
|---|---|---|
TwinCAT v3.1 Build 4011 | PC or CX (x86, x64, Arm®) | Tc2_XmlDataSrv |
