CLCommunicatorClient.Send (METH)ΒΆ

METHOD Send : SysTypes.RTS_IEC_RESULT

Sends data to sIPAddressTo and uiPortTo

InOut:

Scope

Name

Type

Comment

Return

Send

SysTypes.RTS_IEC_RESULT

Input

IPAddress

ARRAY [0..3] OF BYTE

uiPortNr

UINT

OPTIONAL: Port to send the data to (Property SendPort is the default)

pbyData

POINTER TO BYTE

Pointer to user data

diDataSize

__XINT

Size of the user data

Output

diSent

__XINT

Number of Bytes that have been sent