Library version
All libraries have a characteristic version. This version can also be seen in the PLC library repository.
A global constant contains information on the library version:
Global_Version
VAR_GLOBAL CONSTANT
stLibVersion_Tc2_TempController : ST_LibVersion;
END_VAR
The function F_CmpLibVersion (defined in the library Tc2_System) is offered to compare the existing version with a required version.
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT 3.1.4016 | PC or CX | Tc2_TempController |