UDP_ReceiveBuffer (FB)ΒΆ
FUNCTION_BLOCK UDP_ReceiveBuffer EXTENDS CBM.LTrig
Like UDP_Receive this function block serves to receive data.
The function block
returns the handle of the buffer containing the data. As long as
xReady is TRUE a new handle for the
buffer can arrive. ipFrom and uiPortFrom indicate the ip and port the data was received from. The
buffer is passed on and not copied like at UDP_Receive.- InOut:
Scope
Name
Type
Comment
Inherited from
Input
xEnableBOOLTRUE: Action startsFALSE: Action stops, outputsxDone,xBusy,xErrorare resettedLTrig
Output
xDoneBOOLTRUE: Action successfully completedLTrig
xBusyBOOLTRUE: Function block activeLTrig
xErrorBOOLTRUE: Error occurred, function block aborts actionFALSE: No errorLTrig
Input
hPeerCAA.HANDLEOutput
eErrorxReadyBOOLipFromuiPortFromUINThBufferCAA.HANDLE