Global_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:

VAR_GLOBAL CONSTANT
   stLibVersion_Tc3_Module : ST_LibVersion;
END_VAR

Name

Type

Description

stLibVersion_Tc3_Module

ST_LibVersion

Version information of the Tc3_Module library

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