2 Instruction Descriptions
SktTCPSend
The SktTCPSend instruction sends data from a TCP port for the built-in EtherNet/IP.
Instruction
Name
SktTCPSend
TCP Socket
Send
Variables
Name
Meaning
Socket
Socket
SendDat[]
Send data
(array)
Size
Send data
size
Bit strings
Socket
SendDat[]
OK
(array)
Size
Function
The SktTCPSend instruction sends send data SendDat[] from the socket that is specified with Socket.
The number of bytes to send is specified with Size.
2-1074
FB/
Graphic expression
FUN
FB
SktTCPSend_instance
SktTCPSend
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
SktTCPSend_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