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_EtherCATDiag : ST_LibVersion;
END_VAR

Name

Type

Description

stLibVersion_Tc3_EtherCATDiag

ST_LibVersion

Version information of the Tc3_EtherCATDiag library

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