Library version

All libraries have a certain version. This version is displayed in the repository of the PLC library.
The version number of the library is stored in a global constant.

Global_Version

VAR_GLOBAL CONSTANT
    stLibVersion_Tc2_IoFunctions : ST_LibVersion;
END_VAR

Name

Type

Description

stLibVersion_Tc2_IoFunctions

ST_LibVersion

Version number of the Tc2_IoFunctions library

The F_CmpLibVersion function (in the Tc2_System library) is used to compare the existing and required version

Library version 1:

Compatibility with TwinCAT 2

Query options for TwinCAT 2 libraries are no longer available.

Requirements

Development environment

Target platform

IO hardware

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

All IO devices

Tc2_IoFunctions (IO)