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

TS6xxx - Communication · 0 次阅读

F_GetVersionTcSocketHelper

F_GetVersionTcSocketHelper 1:

This function reads version information from the PLC library.

FUNCTION F_GetVersionTcSocketHelper : 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

PLC libraries to include

TwinCAT v2.9.0 Build >= 1030

PC or CX (x86)

TcSocketHelper.Lib

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

TwinCAT v2.10.0 Build >= 1301

CX (ARM)