F_GetVersionTcDrive

F_GetVersionTcDrive 1:

This function can be used to read PLC library version information.

FUNCTION F_GetVersionTcDrive : UINT

VAR_INPUT
    nVersionElement : INT;
END_VAR

nVersionElement : Version element to be read. Possible parameters:

Requirements

Development environment

Target system type

PLC libraries to be linked

TwinCAT v2.10.0 Build >= 1329

PC or CX (x86)

TcDrive.lib
(TcEtherCAT.lib, TcUtilities.Lib, TcSystem.lib, Standard.Lib, TcBase.Lib are included automatically)

TwinCAT v2.10.0 Build >= 1329

CX (ARM)