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

Name

Type

Description

stLibVersion_Tc2_SerialCom

ST_LibVersion

Version number of the Tc2_SerialCom 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

PLC libraries to include

TwinCAT v3.1.4012

PC or CX (x86, x64, Arm®)

Tc2_SerialCom