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 - xEnable- BOOL- TRUE: Action starts- FALSE: Action stops, outputs- xDone,- xBusy,- xErrorare resetted- LTrig - Output - xDone- BOOL- TRUE: Action successfully completed- LTrig - xBusy- BOOL- TRUE: Function block active- LTrig - xError- BOOL- TRUE: Error occurred, function block aborts action- FALSE: No error- LTrig - Input - hPeer- CAA.HANDLE- Output - eError- xReady- BOOL- ipFrom- uiPortFrom- UINT- hBuffer- CAA.HANDLE
