F_GetVersionTcPlcCoupler

This function is obsolete and should not be used any longer. Use the global constant stLibVersion_Tc2_Coupler to read version information from the plc library.

F_GetVersionTcPlcCoupler 1:

This function reads version information from the plc library.

FUNCTION F_GetVersionTcPlcCoupler : UINT

VAR_INPUT
    nVersionElement : INT;
END_VAR

nVersionElement : Version element, that is 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_Coupler (IO)