ItpGetVersion

ItpGetVersion 1:

ItpGetVersion is a function that returns the version number of the TwinCAT PLC library TcNC.lib as string.

ItpGetVersion 2:

Outdated version

The sole purpose of this function is to ensure compatibility with existing projects. For new projects please use the global structure stLibVersion_Tc2_NCI.

VAR_INPUT

FUNCTION ItpGetVersion

VAR_INPUT
END_VAR

Return value

ItpGetVersion: Version number

Sample

VAR
    strVersion: STRING(20);
END_VAR
strVersion := ItpGetVersion(); 

Requirements

Development environment

Target platform

PLC libraries to be linked

TwinCAT v3.1.0

PC or CX (x86 or x64)

Tc2_NCI