ItpGetVersion

ItpGetVersion is a function that returns the version number of the TcNC.lib TwinCAT 2 PLC library as a string.
![]() | Outdated version The sole purpose of this function is to assure compatibility with existing projects. For new projects, please use the stLibVersion_Tc2_NCI global structure. |
Interface
FUNCTION ItpGetVersion
VAR_INPUT
END_VAR
Return value
Name | Type | Description |
|---|---|---|
ItpGetVersion | String(20) | 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 |
