Chapter 8 Logic Instructions
8-221
8.14.2.11 ETH_Socket_Receive
FB ETH_Socket_Receive is used for receiving Socket data.
ETH_Socket_Receive
Execute
ETH_Socket_Receive_instance
Abort
Done
Received
Receiving
SocketNum
ReceiveMode
DataSaveMode
Receive_Buffer_Address
Receive_Length
Received_Length
Busy
Active
Aborted
Error
ErrorID
Input Parameters
Parameter name Function Data type
Validation timing
Execute
executed when Execute
changes from FALSE to
BOOL
TRUE or FALSE
(FALSE)
Abort
execution.
BOOL
SocketNum
Specify the number of the
Socket.
USINT
1~8
(0)
changes from
ReceiveMode
data.
0:Keep receiving data
1:Only receive one
USINT
0, 1
(0)
When Execute
changes from
FALSE to TRUE
DataSaveMode
data.
0:Splicing
1:Covering
USINT
0, 1
(0)
When Execute
changes from
FALSE to TRUE
Receive_Buffer_Ad
dress
Specify the start register
for storing the received
USINT
%MB0~%MB65
535
changes from
Receive_Length
Set how many Bytes of
data to be received.
UINT
0~200
(200)
changes from