Infosys在阅读器中打开 / AI 翻译

PLC Libraries for PC based systems · 0 次阅读

F_GetVersionTcEtherCAT

F_GetVersionTcEtherCAT 1:

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

FUNCTION F_GetVersionTcEtherCAT : 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 system type

PLC libraries to be linked

TwinCAT v2.10.0 or higher

PC or CX (x86)

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

TwinCAT v2.10.0 Build >= 1301 or higher

CX (ARM)