Chapter 8 Logic Instructions
8-217
8.14.2.10 ETH_Socket_Send
FB
ETH_Socket_Send is used for sending Socket data.
ETH_Socket_Send
Execute
ETH_Socket_Send_instance
Abort
Done
Sent
Sending
SocketNum
CyclicRun
CycleTime
Send_Buffer_Address
Send_Length
Busy
Active
Aborted
Error
ErrorID
Input Parameters
Parameter name Function Data type
Validation timing
Execute
executed when Execute
changes from FALSE to
TRUE.
BOOL
TRUE or FALSE
(FALSE)
Abort
Abort the instruction
execution.
BOOL
(FALSE)
SocketNum
Specify the number of the
Socket.
USINT
1~8
(0)
changes from
CyclicRun
Set whether to cyclically
send data or not.
TRUE: Cyclic sending,
FALSE: Only one-time
BOOL
TRUE or FALSE
(FALSE)
When Execute
changes from
FALSE to TRUE
CycleTime
Set the time of a cycle.
Unit: ms
UINT
0~65535
(0)
changes from
Send_Buffer_Addre
ss
Specify the start register
for storing the sent data.
USINT
%MB0~%MB65
535
changes from
Send_Length
Set how many Bytes of
data to be sent.
UINT
0~200
(0)
changes from
Note:
The input parameter Send_Buffer_Address represents the first register address where the data the controller
sends are stored, and the parameter Send_Length is the length of the data sent by the controller. The two
input values must be set.