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

TS6xxx - Communication · 0 次阅读

F_GetVersionTcpIp

F_GetVersionTcpIp 1:

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

FUNCTION F_GetVersionTcpIp : 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 version 2.8.0 or higher

PC or CX (x86)

TcpIp.Lib

( Standard.Lib; TcBase.Lib; TcSystem.Lib are included automatically )

TwinCAT v2.10.0 Build >= 1301

CX (ARM)