Global_Version

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

VAR_GLOBAL CONSTANT
stLibVersion_Tc2_SerialCom : ST_LibVersion;
END_VAR

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

Global_Version 1:

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