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 #380 background imageLoading...
Page #380 background image
DoTCP :=FALSE;
Trigger :=FALSE;
END_CASE;
END_IF;
Remote Node Programming
The processing procedure at the remote node is as follows:
1 The SktTCPAccept instruction is used to make a request to accept the connection on the TCP
socket.
2 The SktTCPRcv instruction is used to make a receive request. The received data is stored in
RcvSocketDat[].
3 The SktTCPSend instruction is used to make a send request The data in SendSocketDat[] is
sent.
4 The SktClose instruction is used to close the socket.
ST
Internal
varia-
bles
Variable Data type Initial value Comment
Trigger BOOL False Execution
condition
DoTCP BOOL False Processing
Stage INT 0 Status
change
RcvSocketDat ARRAY[0..1999] OF
BYTE
[2000(16#0)] Receive da-
ta
WkSocket _sSOCKET (Handle:=0, SrcAdr:=(PortNo:=0,
IpAdr:=''), DstAdr:=(PortNo:=0,
IpAdr:=''))
Socket
SendSocketDat ARRAY[0..1999] OF
BYTE
[2000(16#0)] Send data
SktTCPAccept_instance SktTCPAccept
SktTCPSend_instance SktTCPSend
SktTCPRcv_instance SktTCPRcv
SktClose_instance SktClose
External
variable
Variable Data type Constant Comment
_EIP_EtnOnlineSta
*1
BOOL Online
*1. For an NX701 CPU Unit and an NX102 CPU Unit, replace the variable with _EIP1_EtnOnlineSta (Port1 On-
line) or _EIP2_EtnOnlineSta (Port2 Online), depending on the built-in EtherNet/IP port which is used.
For an NX1P2 CPU Unit, replace the variable with _EIP1_EtnOnlineSta (Port1 Online).
9 Socket Service
9-26
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