F_GetTcVersion

This function returns an interface of type I_LibVersionRead. The TwinCAT version that is active on the executing system can be queried via the interface.
![]() | Query process is asynchronous The query process of the TwinCAT version is asynchronous. Therefore, the function does not return a valid version the first time it is called after system startup.
|
Syntax:
FUNCTION F_GetTcVersion : I_LibVersionRead
Outputs
Name | Type | Description |
|---|---|---|
F_GetTcVersion | I_LibVersionRead | Interface to an object of type FB_LibVersion. |
Requirements
Development environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT 4026 >= v3.1.4026.16 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v12.12.3.0) |
