Global constants

Constant

Value

Description

LISTEN_MODE_CLOSEALL

16#00000001

FORCED close of all previous opened sockets

LISTEN_MODE_USEOPENED

16#00000002

Try to use already opened listener socket

CONNECT_MODE_ENABLEDBG

16#80000000

Enables/Disables debugging messages

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)