SysEthernetBurstSendGetMemory (FUN)ΒΆ

FUNCTION SysEthernetBurstSendGetMemory : RTS_IEC_RESULT

Writes the addresses where the application can write data and length into ppData and ppLen. Must be called after SysEthernetBurstSendReserve and before SysEthernetBurstSendRelease.

InOut:

Scope

Name

Type

Comment

Return

SysEthernetBurstSendGetMemory

RTS_IEC_RESULT

Returns the result of the operation

Input

hAdapter

SysTypes.RTS_IEC_HANDLE

Handle of the adapter. Must be retrieved using SysEthernetAdapterOpen

index

UDINT

Index of the slot. Must be between 0 and the result of SysEthernetBurstReceiveReserve

ppData

POINTER TO POINTER TO BYTE

Pointer to a variable where the address of the data will be stored. The program should write the data to this address

ppLen

POINTER TO POINTER TO UDINT

Pointer to a variable where the address of the length will be stored. The program should write the length of the data to this address.