F_GetVersionTcIoFunctions
This function is obsolete and should not be used. Please use the global constant stLibVersion_Tc2_IoFunctions in order to read version information from the PLC library.
This function reads version information from the PLC library.
FUNCTION F_GetVersionTcIoFunctions : 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 platform | IO hardware | PLC libraries to be integrated (category group) |
---|---|---|---|
TwinCAT v3.1.0 | PC or CX (x86, x64, ARM) | All IO devices | Tc2_IoFunctions (IO) |