Library version

All libraries have a certain version. The version is indicated in the PLC library repository, for example. A global constant contains the information about the library version:


    stLibVersion_Tc2_IoFunctions : ST_LibVersion;

stLibVersion_Tc2_IoFunctions: Version number of the Tc2_IoFunctions library (type: ST_LibVersion).

To check whether the version you have is the version you need, use the function F_CmpLibVersion (defined in Tc2_System library).

All other options for comparing library versions, which you may know from TwinCAT 2, are outdated!


Development environment

Target platform

IO hardware

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

All IO devices

Tc2_IoFunctions (IO)