EasyManua.ls Logo

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 Users Manual (W506)

Table of Contents

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
ModelNX102-12 Series
Power Supply24 VDC
Built-in EtherNet/IP portYes
Built-in EtherCAT portYes
SD Memory Card SlotYes
Communication PortsUSB
Programming LanguageIEC 61131-3 (LD, FBD, ST, SFC)
Data Capacity64 KB
Memory for Variables64 KB
Operating Temperature0°C to 55°C
Storage Temperature-25°C to 75°C
Humidity10% to 90%
Vibration Resistance10 to 57 Hz, 0.075 mm amplitude, 57 to 150 Hz
TypeProgrammable Logic Controller (PLC)
Number of I/O12
I/O Points12

Summary

Terms and Conditions Agreement

Warranty, Limitations of Liability

Details Omron's warranty, limitations, and buyer remedies for products.

Safety Precautions

Precautions for Safe Use

Lists manuals to refer to for safety precautions, covering safe usage of the product.

Precautions for Correct Use

Lists manuals to refer to for correct usage, covering proper operation and performance.

Section 1 Introduction

1-3 Built-in EtherNet/IP Port

Covers specifications and part names/functions of the built-in EtherNet/IP port.

Section 2 Installing Ethernet Networks

2-1 Selecting the Network Devices

Recommends Ethernet switches and twisted-pair cables for EtherNet/IP use.

Section 3 System-defined Variables Related to the Built-in EtherNet/IP Port

3-1 System-defined Variables Related to the Built-in EtherNet/IP Port

Explains how to use system-defined variables to check the status of the built-in EtherNet/IP port.

Chapter 4 Determining IP Addresses

4-1 IP Addresses

Explains IP address configuration, allocation, subnet masks, and CIDR.

4-2 Built-in EtherNet/IP Port IP Address Settings

Details methods for setting IP addresses, including user-specified and BOOTP server options.

Chapter 5 Sysmac Studio Settings for the Built-in EtherNet/IP Port

5-1 TCP/IP Settings Display

Explains how to configure TCP/IP settings, including IP address and gateway.

Chapter 6 Testing Communications

6-1 Testing Communications

Describes how to use the PING command to test communications with the built-in EtherNet/IP port.

Chapter 7 Tag Data Link Functions

7-2 Setting Tag Data Links

Outlines the step-by-step procedure for setting tag data links, including network, tags, and connections.

Chapter 8 CIP Message Communications

Chapter 9 Socket Service

9-4 Settings Required for the Socket Services

Lists the settings required in the Unit Setup to use socket services, such as IP address and subnet mask.

Chapter 10 Modbus TCP Master Function

Chapter 11 FTP Server

11-3 Using the FTP Server Function

Outlines the procedure and required settings for using the FTP server function.

Chapter 13 Automatic Clock Adjustment

13-1 Automatic Clock Adjustment

Explains how the built-in EtherNet/IP port reads clock information from an NTP server to update the internal clock.

13-2 Procedure to Use the Automatic Clock Adjustment Function

Outlines the steps to use the automatic clock adjustment function and required settings.

Chapter 14 SNMP Agent

14-2 Procedure to Use the SNMP Agent

Outlines the steps to use the SNMP agent and the required settings in Sysmac Studio.

Chapter 15 Communications Performance and Communications Load

15-2 Adjusting the Communications Load

Explains how to adjust communications load by managing Ethernet switch functions and settings.

Chapter 16 Troubleshooting

16-1 Overview of Troubleshooting

Explains how to detect errors and find corrections for NJ/NX-series Controllers by managing errors as events.

16-2 Checking Status with the Network Configurator

Details how to check communication status and identify errors using the Network Configurator's Device Monitor function.

Appendix A Appendices

A-2 Use the Sysmac Studio to Set the Tag Data Links (EtherNet/IP Connections)

Guides users on setting up EtherNet/IP connections and tag data links using Sysmac Studio.

A-7 TCP State Transitions

A-8 Example of NX Unit Setting Using NX Configuration Object Service

Related product manuals