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:
Global_Version
VAR_GLOBAL CONSTANT
stLibVersion_Tc2_ModbusSrv : ST_LibVersion;
END_VARThe F_CmpLibVersion function (in the Tc2_System library) is used to compare the existing and required version.
Name | Type | Description |
|---|---|---|
stLibVersion_Tc2_ModbusSrv | Version number of the Tc2_ModbusSrv library |