F_GetVersionTcSystem
This function is obsolete and should not be used. Please use the global constant stLibVersion_Tc2_System in order to read version information from the PLC library.

This function can be used to read PLC library version information.
FUNCTION F_GetVersionTcSystem : UINT
VAR_INPUT
nVersionElement : INT;
END_VAR
nVersionElement: Version element to be read. Possible parameters:
- 1 : major number;
- 2 : minor number;
- 3 : revision number;
Requirements
Development environment |
Target system type |
PLC libraries to include (Category group) |
---|---|---|
TwinCAT v3.1.0 |
PC or CX (x86, x64, ARM) |
Tc2_System (System) |