F_GetVersionTcSystem

F_GetVersionTcSystem 1:

This function is obsolete and should not be used. Use the global constant stLibVersion_Tc2_System instead to read version information of the PLC library.

F_GetVersionTcSystem 2:

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

FUNCTION F_GetVersionTcSystem : UINT

F_GetVersionTcSystem 3: Inputs

VAR_INPUT
    nVersionElement : INT;
END_VAR

Name

Type

Description

nVersionElement

INT

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)