F_GetVersionTcEtherCAT

F_GetVersionTcEtherCAT 1:

F_GetVersionTcEtherCAT 2:

Outdated function

This function is outdated. Use the global structure instance stLibVersion_Tc2_EtherCAT instead

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

FUNCTION F_GetVersionTcEtherCAT : UINT

F_GetVersionTcEtherCAT 3: Inputs

VAR_INPUT
    nVersionElement : INT;
END_VAR

Name

Type

Description

nVersionElement

INT

Version element to be read. Possible parameters:

  • 1 : major number;
  • 2 : minor number;
  • 3 : revision number;

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_EtherCAT