104 Ethernet module User’s Manual
Chapter 6 Socket Interface Communication
6
6.4.2 UDP send request/broadcast send request (using the USEND_T 
instruction)
(1) Function
This request sends local node register data using an open UDP socket.
(2) Request command structure and error status
<Request command>
• Local station register is specified by the input operand P of the USEND_T function 
block.
• Transfer register size is specified by the input operand N of the USEND_T function.
Specify in words: 1 to 1000 words
• If the transmission destination IP address is set to "255.255.255.255", it will be 
broadcast.
<Error status>
Error status examples
(3) Considerations
• An error is returned if a send request is issued for a socket that is not yet opened.
Error status:  Unopened ••• 2945(16#B81)
• An error is returned if a socket identifier other than 1 to 8 is specified.
Error status:  Invalid socket identifier ••• 2946(16#B82)
• If the IP address of the local node is specified as the transmission destination IP 
address, it will be possible to send data, but it will not be possible to receive that data 
with a receive request.
F0
CMD Request destination EN311 module 
slot number
CMD+1 Command (16#0332)
CMD+2 Socket identifier Value:1-8
CMD+3 Transmission destination IP address (The input format is the same as that for 
the parameter setup request.)
CMD+4
CMD+5 Specified socket UDP port number of 
the local node
Value:1024-65535
F0
STATUS Socket identifier (1-8) or Error status
Error status number Description
-5004(16#EC74) Destination EN311 module slot number is missing or socket identifier is out 
of range
2819(16#B03) Local node standby
2864(16#B30) Length error
2912(16#B60) Transmission disabled
2945(16#B81) Socket not opened yet
3008(16#BC0) Resource insufficient error