LD Module_Number
FCT_RECEIVE Socket_Number, Pbuf_Index, Gest_Index, Management_Param, Received_Data
FCT_RECEIVE(Module_Number, Socket_Number, Pbuf_Index, Gest_Index, Management_Param, Received_Data);
Parameter
|
Type
|
Comment
|
---|---|---|
Module_Number
|
Slot number of network module in rack 0.
|
|
Socket_Number
|
Socket number
|
|
Pbuf_Index
|
Index of first word in Received_Data array
|
|
Gest_Index
|
Index of first word in Management_Param array
|
Parameter
|
Type
|
Comment
|
---|---|---|
Received_Data
|
ARRAY [0... n] OF INT
|
Array of maximum of 240 bytes containing the data read on the socket
|
Parameter
|
Type
|
Comment
|
---|---|---|
Management_Param
|
ARRAY [0... 3] OF INT
|
The operation report can have the following values:
The fourth word of the array should contain the number of bytes received if no error has occurred.
|