2 Instruction Descriptions
SktUDPSend
The SktUDPSend instruction sends data from a UDP port for the built-in EtherNet/IP.
Instruction
Name
SktUDPSend
UDP Socket
Send
Variables
Name
Meaning
Socket
Socket
SendDat[]
Send data
(array)
Size
Send data
size
Bit strings
Socket
SendDat[]
OK
(array)
Size
Function
The SktUDPSend instruction sends send data SendDat[] from the socket that is specified with Socket.
The number of bytes to send is specified with Size. The remote node is specified with Socket.DstAdr.
Transmission of SendDat[] to the send buffer is completed when the instruction is completed normally
(i.e., when the value of Done changes to TRUE).
2-1056
FB/
Graphic expression
FUN
FB
SktUDPSend_instance
SktUDPSend
Execute
Socket
SendDat
Size
I/O
Description
Socket
Send data
Input
Send data size
Integers
Refer to Function for details on the structure _sSOCKET.
OK
SktUDPSend_instance(Execute,
Socket, SendDat, Size, Done,
Busy, Error, ErrorID);
Done
Busy
Error
ErrorID
Valid range
---
---
Depends on data
type.
0 to 2000
Bytes
NY-series Instructions Reference Manual (W560)
ST expression
Unit
Default
---
1
Times, durations, dates,
and text strings