2 Instruction Descriptions
2-780
NJ-series Instructions Reference Manual (W502)
SktTCPSend
The SktTCPSend instruction sends data from a TCP port for the built-in EtherNet/IP.
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.
Instruction Name
FB/
FUN
Graphic expression ST expression
SktTCPSend TCP Socket
Send
FB None SktTCPSend_instance(Execute,
Socket, SendDat, Size, Done,
Busy, Error, ErrorID);
Variables
Name Meaning I/O Description Valid range Unit Default
Socket Socket
Input
Socket
---
--- ---
SendDat[]
(array)
Send data Send data Depends on data
type.
Size Send data
size
Send data size 0 to 2000 Bytes 1
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
Socket Refer to Function for details on the structure _sSOCKET.
SendDat[]
(array)
OK
Size OK
Function