EasyManuals Logo
Home>Omron>Controller>NX102-12 Series

Omron NX102-12 Series User Manual

Omron NX102-12 Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #358 background imageLoading...
Page #358 background image
Furthermore, once a socket is opened in UDP, communications with other remote nodes is possible
without closing the socket.
TCP Communications Procedure
You execute socket communications instructions in sequence to perform TCP communications for the
built-in EtherNet/IP port.
Socket interface
Packets sent by higher layers
Packets sent by the TCP/IP layer
Socket
FIN
ACK
ACK
ACK
SYN ACK
SYN
Send
Close
Connect
Socket
Bind
Listen
Accept
Recv
Client Server
SktTCPAccept Instruction
• Execution of Socket Functions
Socket(), Bind(), Listen(), and
Accept()
• Timeout monitoring until Connect is
completed
The connection is established by the
normal completion of the SktTCPAc
-
cept instruction.
SktTCPRcv Instruction
• Execution of Socket Function Recv()
• Timeout monitoring until data is
received from the remote node
Writing the received data to the variable
is completed by the normal completion
of the SktTCPRcv instruction.
SktTCPConnect Instruction
• Execution of the Socket Function
Connect()
The connection is established by
the normal completion of the
SktTCPConnect instruction.
SktTCPSend Instruction
• Execution of the Socket Function
Send()
The data is stored in the send
buffer by the normal completion of
the SktTCPSend instruction.
Instruction
completed.
Instruction
completed.
Instruction
completed.
Instruction
completed.
SktClose Instruction
• Execution of the Socket Function
Close()
The acknowledgment (ACK) of
FIN from the remote node is
received by the normal comple
-
tion of the SktClose instruction.
However, RST (not FIN) is sent if
the Linger Option is specified.
Setopt
SktSetOption Instruction
• Execution of the Socket Function
setsoketopt()
The option for TCP socket is set
by the normal completion of the
SktSetOption instruction. (Note)
SktSetOption Instruction
• Execution of the Socket Function
setsoketopt()
The option for TCP socket is set
by the normal completion of the
SktSetOption instruction. (Note)
Setopt
Note Set the socket option as required. Refer to the NJ/NX-series Instructions Reference Manual (Cat. No.
W502) for the socket option.
9-2-2
Fragmenting of Send Data
The receive buffer for the built-in EtherNet/IP port is a maximum of 9,000 bytes per socket handle. If
any data that is larger than 9,000 bytes is received, the data is discarded.
9 Socket Service
9-4
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX102-12 Series and is the answer not in the manual?

Omron NX102-12 Series Specifications

General IconGeneral
BrandOmron
ModelNX102-12 Series
CategoryController
LanguageEnglish

Related product manuals