All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior
written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because
OMRON is constantly striving to improve its high-quality products, the information contained in this manual is
subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages
resulting from the use of the information contained in this publication.
Trademarks
• Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other
countries for OMRON factory automation products.
• Microsoft, Windows, Excel, and Visual Basic are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries.
• EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.
• ODVA, CIP, CompoNet, DeviceNet, and EtherNet/IP are trademarks of ODVA.
• The SD and SDHC logos are trademarks of SD-3C, LLC.
• Intel and Intel Core are trademarks of Intel Corporation in the U.S. and / or other countries.
Other company names and product names in this document are the trademarks or registered trademarks of their
respective companies.
Copyrights
Microsoft product screen shots reprinted with permission from Microsoft Corporation.
Page 3
Introduction
Thank you for purchasing an NY-series IPC Machine Controller Industrial Panel PC / Industrial Box PC.
This manual provides a collective term of Industrial Panel PC and Industrial Box PC which are applicable products as the NY-series Industrial PC. This manual also provides the range of devices that are
directly controlled by the Controller functions embedded the Real-Time OS in the NY-series Industrial
PC as the Controller.
This manual contains information that is necessary to use the NY-series Controller. Please read this
manual and make sure you understand the functionality and performance of the NY-series Controller
before you attempt to use it in a control system.
Keep this manual in a safe place where it will be available for reference during operation.
Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of introducing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of installing and maintaining FA systems.
• Personnel in charge of managing FA systems and facilities.
For programming, this manual is intended for personnel who understand the programming language
specifications in international standard IEC 61131-3 or Japanese standard JIS B 3503.
Introduction
Applicable Products
This manual covers the following products.
• NY-series IPC Machine Controller Industrial Panel PC
• NY532-15
• NY532-14
• NY532-13
• NY532-5400
• NY-series IPC Machine Controller Industrial Box PC
• NY512-15
• NY512-14
• NY512-13
Part of the specifications and restrictions for the Industrial PC are given in other manuals. Refer to Relevant Manuals on page 2 and Related Manuals on page 21.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
1
Page 4
Relevant Manuals
Relevant Manuals
The following table provides the relevant manuals for the NY-series Controller.
Read all of the manuals that are relevant to your system configuration and application before you use
the NY-series Controller.
Most operations are performed from the Sysmac Studio Automation Software. Refer to the Sysmac Stu-dio Version 1 Operation Manual (Cat. No. W504) for information on the Sysmac Studio.
NY-series IPC Machine Controller
Industrial Panel PC
Hardware User’s Manual
Purpose of use
Hardware User’s Manual
Basic information
NY-series IPC Machine Controller
Industrial Box PC
NY-series IPC Machine Controller
Industrial Panel PC / Industrial Box PC
Setup User's Manual
NY-series IPC Machine Controller
Industrial Panel PC / Industrial Box PC
Software User’s Manual
Manual
NY-series
Instructions Reference Manual
NY-series IPC Machine Controller
Industrial Panel PC / Industrial Box PC
Motion Control User's Manual
NY-series Motion Control
Instructions Reference Manual
NY-series IPC Machine Controller
Industrial Panel PC / Industrial Box PC
Built-in EtherCAT Port User’s Manual
NY-series IPC Machine Controller
Industrial Panel PC / Industrial Box PC
Built-in EtherNet/IP Port User's Manual
NJ/Y-series NC Integrated Controller
User's Manual
Troubleshooting Manual
NY-series
Introduction to NY-series Panel PCs
Introduction to NY-series Box PCs
Setting devices and hardware
Using motion control
Using EtherCAT
Using EtherNet/IP
Making setup
Making initial settings
Preparing to use Controllers
Software settings
Using motion control
Using EtherCAT
Using EtherNet/IP
Using numerical control
Writing the user program
Using motion control
Using EtherCAT
Using EtherNet/IP
Using numerical control
Programming error processing
Testing operation and debugging
Using motion control
Using EtherCAT
Using EtherNet/IP
Using numerical control
Learning about error management and
corrections
Maintenance
Using motion control
Using EtherCAT
Using EtherNet/IP
*1
*2
*1 Refer to the NY-series Industrial Panel PC / Industrial Box PC Setup User’s Manual (Cat. No. W568) for how to set up and
how to use the utilities on Windows.
*2 Refer to the NY-series Troubleshooting Manual (Cat. No. W564) for the error management concepts and the error items.
2
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 5
Manual Structure
4-9
4 Installation and Wiring
NJ-series CPU Unit Hardware User’s Manual (W500)
stinU gnitnuoM 3-4
4
stnenopmoC rellortnoC gnitcennoC 1-3-4
4-3Mounting Units
The Units that make up an NJ-series Controller can be connected simply by pressing the Units together
and locking the sliders by moving them toward the back of the Units. The End Cover is connected in the
same way to the Unit on the far right side of the Controller.
1 Join the Units so that the connectors fit exactly.
2 The yellow sliders at the top and bottom of each Unit lock the Units together. Move the sliders
toward the back of the Units as shown below until they click into place.
Precautions for Correct UsePrecautions for Correct Use
4-3-1 Connecting Controller Components
Connector
Hook
Hook holes
Slider
Lock
Release
Move the sliders toward the back
until they lock into place.
Level 1 heading
Level 2 heading
Level 3 heading
Level 2 heading
A step in a procedure
Manual name
Special information
Level 3 heading
Page tab
Gives the current
headings.
Indicates a procedure.
Icons indicate
precautions, additional
information, or reference
information.
Gives the number
of the main section.
This illustration is provided only as a sample. It may not literally appear in this manual.
The sliders on the tops and bottoms of the Power Supply Unit, CPU Unit, I/O Units, Special I/O
Units, and CPU Bus Units must be completely locked (until they click into place) after connecting
the adjacent Unit connectors.
Some of the descriptions of functions in this manual are common to NJ/NX-series. Therefore, note the
following conditions.
• The same function names are used for the common functions of the NJ/NX/NY-series. If the term
“CPU Unit” is included in the function names, such as the CPU Unit names, CPU Unit write protection
and other functions, it indicates the “Controller” in the NY-series.
• The “CPU Unit” that is described in a list of function specifications in this manual also indicates the
“Controller” in the NY-series.
Page Structure
The following page structure is used in this manual.
Manual Structure
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
3
Page 6
Manual Structure
Special Information
Special information in this manual is classified as follows:
Precautions for Safe Use
Precautions on what to do and what not to do to ensure safe usage of the product.
Precautions for Correct Use
Precautions on what to do and what not to do to ensure proper operation and performance.
Additional Information
Additional information to read as required.
This information is provided to increase understanding or make operation easier.
Version Information
Information on differences in specifications and functionality for Controller with different unit versions
and for different versions of the Sysmac Studio is given.
Note References are provided to more detailed or related information.
Precaution on Terminology
In this manual, “download” refers to transferring data from the Sysmac Studio to the physical Controller
and “upload” refers to transferring data from the physical Controller to the Sysmac Studio.
For the Sysmac Studio, synchronization is used to both upload and download data. Here, “synchronize”
means to automatically compare the data for the Sysmac Studio on the computer with the data in the
physical Controller and transfer the data in the direction that is specified by the user.
4
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 7
FTP Client
Determining
IP Addresses
System-defined Variables
Related to the Built-in EtherNet/IP Port
Sysmac Studio Settings
for the Built-in EtherNet/IP Port
Testing Communications
Tag Data Link Functions
CIP Message
Communications
Socket Service
FTP Server
SNMP Agent
Checking Communications
Status of Network and
Troubleshooting
Communications Performance and Communications Load
Appendices
Index
1
10
2
11
3
12
4
13
5
7
8
9
1
10
2
11
3
12
4
13
5
14
6
7I
9
14
I
7
I
Introduction
Installing Ethernet
Networks
6
A
A
8
Sections in this Manual
Sections in this Manual
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
A-5-2Important Case Examples ........................................................................................................A-59
A-6 Precautions When Accessing External Outputs in Controllers ........................................A-63
A-7 TCP State Transitions............................................................................................................A-64
Index
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
11
Page 14
Terms and Conditions Agreement
Terms and Conditions Agreement
Warranty, Limitations of Liability
Warranties
Exclusive Warranty
Omron’s exclusive warranty is that the Products will be free from defects in materials and workmanship for a period of twelve months from the date of sale by Omron (or such other period expressed in
writing by Omron). Omron disclaims all other warranties, express or implied.
Limitations
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, ABOUT
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OF
THE PRODUCTS. BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE
PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE.
Omron further disclaims all warranties and responsibility of any type for claims or expenses based
on infringement by the Products or otherwise of any intellectual property right.
Buyer Remedy
Omron’s sole obligation hereunder shall be, at Omron’s election, to (i) replace (in the form originally
shipped with Buyer responsible for labor charges for removal or replacement thereof) the non-complying Product, (ii) repair the non-complying Product, or (iii) repay or credit Buyer an amount equal
to the purchase price of the non-complying Product; provided that in no event shall Omron be
responsible for warranty, repair, indemnity or any other claims or expenses regarding the Products
unless Omron’s analysis confirms that the Products were properly handled, stored, installed and
maintained and not subject to contamination, abuse, misuse or inappropriate modification. Return of
any Products by Buyer must be approved in writing by Omron before shipment. Omron Companies
shall not be liable for the suitability or unsuitability or the results from the use of Products in combination with any electrical or electronic components, circuits, system assemblies or any other materials or substances or environments. Any advice, recommendations or information given orally or in
writing, are not to be construed as an amendment or addition to the above warranty.
See http://www.omron.com/global/ or contact your Omron representative for published information.
Limitation on Liability; Etc
OMRON COMPANIES SHALL NOT BE LIABLE FOR SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR PRODUCTION OR COMMERCIAL LOSS IN ANY
WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED IN CONTRACT,
WARRANTY, NEGLIGENCE OR STRICT LIABILITY.
Further, in no event shall liability of Omron Companies exceed the individual price of the Product on
which liability is asserted.
12
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 15
Application Considerations
Suitability of Use
Omron Companies shall not be responsible for conformity with any standards, codes or regulations
which apply to the combination of the Product in the Buyer’s application or use of the Product. At
Buyer’s request, Omron will provide applicable third party certification documents identifying ratings
and limitations of use which apply to the Product. This information by itself is not sufficient for a complete determination of the suitability of the Product in combination with the end product, machine, system, or other application or use. Buyer shall be solely responsible for determining appropriateness of
the particular Product with respect to Buyer’s application, product or system. Buyer shall take application responsibility in all cases.
NEVER USE THE PRODUCT FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO
ADDRESS THE RISKS, AND THAT THE OMRON PRODUCT(S) IS PROPERLY RATED AND
INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
Terms and Conditions Agreement
Programmable Products
Omron Companies shall not be responsible for the user’s programming of a programmable Product, or
any consequence thereof.
Disclaimers
Performance Data
Data presented in Omron Company websites, catalogs and other materials is provided as a guide for
the user in determining suitability and does not constitute a warranty. It may represent the result of
Omron’s test conditions, and the user must correlate it to actual application requirements. Actual performance is subject to the Omron’s Warranty and Limitations of Liability.
Change in Specifications
Product specifications and accessories may be changed at any time based on improvements and other
reasons. It is our practice to change part numbers when published ratings or features are changed, or
when significant construction changes are made. However, some specifications of the Product may be
changed without any notice. When in doubt, special part numbers may be assigned to fix or establish
key specifications for your application. Please consult with your Omron’s representative at any time to
confirm actual specifications of purchased Product.
Errors and Omissions
Information presented by Omron Companies has been checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical or proofreading errors or omissions.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
13
Page 16
Safety Precautions
Safety Precautions
Refer to the following manuals for safety precautions.
• NY-series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558)
16
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 19
Regulations and Standards
Conformance to EU Directives
Applicable Directives
• EMC Directives
Concepts
EMC Directive
OMRON devices that comply with EU Directives also conform to the related EMC standards so that
they can be more easily built into other devices or the overall machine. The actual products have
been checked for conformity to EMC standards.*
Whether the products conform to the standards in the system used by the customer, however, must
be checked by the customer. EMC-related performance of the OMRON devices that comply with EU
Directives will vary depending on the configuration, wiring, and other conditions of the equipment or
control panel on which the OMRON devices are installed. The customer must, therefore, perform
the final check to confirm that devices and the overall machine conform to EMC standards.
* Applicable EMC (Electromagnetic Compatibility) standards are as follows:
EMS (Electromagnetic Susceptibility): EN 61131-2
EMI (Electromagnetic Interference): EN 61131-2 (Radiated emission: 10-m regulations)
Regulations and Standards
Conformance to EU Directives
The NY-series Controllers comply with EU Directives. To ensure that the machine or device in which
the NY-series Controller is used complies with EU Directives, the Controller must be installed as follows:
• The NY-series Controller must be installed within a control panel.
• You must use the power supply in SELV specifications for the DC power supplies connected to
DC Power Supply Units and I/O Units.
• NY-series Controllers that comply with EU Directives also conform to the Common Emission Standard (EN 61000-6-4). Radiated emission characteristics (10-m regulations) may vary depending
on the configuration of the control panel used, other devices connected to the control panel, wiring, and other conditions.
You must therefore confirm that the overall machine or equipment complies with EU Directives.
Software Licenses and Copyrights
This product incorporates certain third party software. The license and copyright information associated with this software is available at http://www.fa.omron.co.jp/nj_info_e/.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
17
Page 20
Versions
ID information indication
Unit version
Ver.1.
Versions
Hardware revisions and unit versions are used to manage the hardware and software in NY-series Controllers and EtherCAT slaves. The hardware revision or unit version is updated each time there is a
change in hardware or software specifications. Even when two Units or EtherCAT slaves have the
same model number, they will have functional or performance differences if they have different hardware revisions or unit versions.
Checking Versions
You can check versions on the ID information indications or with the Sysmac Studio.
Checking Unit Versions on ID Information Indications
The unit version is given on the ID information indication on the back side of the product.
The ID information on an NY-series NY52- Controller is shown below.
Checking Unit Versions with the Sysmac Studio
You can use the Sysmac Studio to check unit versions. The procedure is different for Units and for EtherCAT slaves.
Checking the Unit Version of an NY-series Controller
You can use the Production Information while the Sysmac Studio is online to check the unit version
of a Unit. You can only do this for the Controller.
1 Right-click CPU Rack under Configurations and Setup - CPU/Expansion Racks in the
Multiview Explorer and select Production Information.
The Production Information Dialog Box is displayed.
18
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 21
Versions
Changing Information Displayed in Production Information Dialog Box
1 Click the Show Detail or Show Outline Button at the lower right of the Production Information
Dialog Box.
The view will change between the production information details and outline.
Outline ViewDetail View
The information that is displayed is different for the Outline View and Detail View. The Detail View
displays the unit version, hardware revision, and other versions. The Outline View displays only the
unit version.
Checking the Unit Version of an EtherCAT Slave
You can use the Production Information while the Sysmac Studio is online to check the unit version
of an EtherCAT slave. Use the following procedure to check the unit version.
1 Double-click EtherCAT under Configurations and Setup in the Multiview Explorer. Or, right-
click EtherCAT under Configurations and Setup and select Edit from the menu.
The EtherCAT Tab Page is displayed.
2 Right-click the master on the EtherCAT Tab Page and select Display Production Information.
The Production Information Dialog Box is displayed.
The unit version is displayed after “Rev.”
Changing Information Displayed in Production Information Dialog Box
1 Click the Show Detail or Show Outline Button at the lower right of the Production Information
Dialog Box.
The view will change between the production information details and outline.
Outline ViewDetail View
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
19
Page 22
Versions
Unit Versions of Controllers and Peripheral Tool Versions
When you set tag data links for the built-in EtherNet/IP port on NY-series Controller, use the versions of
the Network Configurator and the Sysmac Studio that are given in the following table.
CPU Unit
ModelVersi on
NY52- Version 1.12
or later
Network Configurator
for EtherNet/IP
Version 3.59
or lower
NAOKNAOK
Version 3.60
Version 1.16
Sysmac Studio
or lower
Version 1.17
20
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 23
Related Manuals
The followings are the manuals related to this manual. Use these manuals for reference.
NY-series
IPC Machine Controller
Industrial Panel PC
Hardware User’s Manual
NY-series
IPC Machine Controller
Industrial Panel PC
Hardware User’s Manual
NY-series
IPC Machine Controller
Industrial Panel PC / Industrial
Box PC
Setup User's Manual
NY-series
IPC Machine Controller
Industrial Panel PC / Industrial
Box PC
Software User’s Manual
NY-series Instructions Reference Manual
NY-series
IPC Machine Controller
Industrial Panel PC / Industrial
Box PC
Motion Control User's Manual
NY-series
Motion Control Instructions
Reference Manual
NY-series
IPC Machine Controller
Industrial Panel PC / Industrial
Box PC
Built-in EtherCAT Port
User’s Manual
W557
W556
W568
W558
W560
W559
W561
W562
NY532-
NY512-
NY532-
NY512-
NY532-
NY512-
NY532-
NY512-
NY532-
NY512-
NY532-
NY512-
NY532-
NY512-
Learning the basic
specifications of the
NY-series Industrial
Panel PCs, including
introductory information, designing, installation, and
maintenance.
Mainly hardware information is provided.
Learning the basic
specifications of the
NY-series Industrial
Box PCs, including
introductory information, designing, installation, and
maintenance.
Mainly hardware information is provided.
Learning the initial settings of the NY-series
Industrial PCs and
preparations to use
Controllers.
Learning how to program and set up the
Controller functions of
an NY-series Industrial
PC.
Learning detailed
specifications on the
basic instructions of
an NY-series Industrial PC.
Learning about motion
control settings and
programming concepts of an NY-series
Industrial PC.
Learning about the
specifications of the
motion control
instructions of an NYseries Industrial PC.
Using the built-in EtherCAT port in an NYseries Industrial PC.
Related Manuals
An introduction to the entire NY-series system
is provided along with the following information on the Industrial Panel PC.
• Features and system configuration
• Introduction
• Part names and functions
• General specifications
• Installation and wiring
• Maintenance and inspection
An introduction to the entire NY-series system
is provided along with the following information on the Industrial Box PC.
• Features and system configuration
• Introduction
• Part names and functions
• General specifications
• Installation and wiring
• Maintenance and inspection
The following information is provided on an
introduction to the entire NY-series system.
• Two OS systems
• Initial settings
• Industrial PC Support Utility
• NYCompolet
• Industrial PC API
• Backup and recovery
The following information is provided on the
NY-series Controller functions.
• Controller operation
• Controller features
• Controller settings
• Programming based on IEC 61131-3 language specifications
The instructions in the instruction set (IEC
61131-3 specifications) are described.
The settings and operation of the Controller
and programming concepts for motion control
are described.
The motion control instructions are described.
Information on the built-in EtherCAT port is
provided.
This manual provides an introduction and provides information on the configuration, features, and setup.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Using the built-in EtherNet/IP port in an
NY-series Industrial
PC.
Performing numerical control with
NJ/NY-series Controllers.
Learning about the
specifications of the
G code/M code
instructions.
Learning about the
errors that may be
detected in an NYseries Industrial PC.
Learning about the
operating procedures and functions
of the Sysmac Studio.
Learning an introduction of the CNC Oper-
D
ator and how to use
it.
Information on the built-in EtherNet/IP port is
provided.
Information is provided on the basic setup, tag
data links, and other features.
Describes the functionality to perform the
numerical control. Use this manual together
with the NJ/NY-series G code Instructions Reference Manual (Cat. No. O031) when programming.
The G code/M code instructions are
described. Use this manual together with the
Concepts on managing errors that may be
detected in an NY-series Controller and information on individual errors are described.
Describes the operating procedures of the
Sysmac Studio.
An introduction of the CNC Operator, installation procedures, basic operations, connection
operations, and operating procedures for
main functions are described.
22
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 25
Revision History
W563-E1-03
Revision code
Cat. No.
A manual revision code appears as a suffix to the catalog number on the front and back covers of the
manual.
Revision codeDateRevised content
01September 2016 Original production
02April 2017• Added information on functional support for unit version
03October 2017Corrected mistakes.
Revision History
1.14 of the CPU Units.
• Corrected mistakes.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
23
Page 26
Revision History
24
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
1-1
Page 28
1 Introduction
EtherNet/IP System Configuration Example
Ethernet (LAN) port
100 m
max.
(1) Built-in EtherNet/IP
port on NY-series
Controller
(2) Twisted-pair cable
(3) Ethernet switch
Sysmac Studio
(Support Software)
(1) Built-in EtherNet/IP
port on NJ/NX-series Controller
(1) Built-in EtherNet/IP
port on NJ/NX-series Controller
1-1Introduction
1-1-1EtherNet/IP Features
EtherNet/IP is an industrial multi-vendor network that uses Ethernet. The EtherNet/IP specifications are
open standards managed by the ODVA (Open DeviceNet Vendor Association), just like DeviceNet. EtherNet/IP is not just a network between Controllers. It is also used as a field network. Because EtherNet/IP uses standard Ethernet technology, various general-purpose Ethernet devices can be used in
the network.
High-speed, High-capacity Data Exchange through Tag Data Links
The EtherNet/IP protocol supports implicit communications, which allows cyclic communications
(called tag data links in this manual) with EtherNet/IP devices.
Tag Data Link (Cyclic Communications) Cycle Time
Tag data links (cyclic communications) operate at the cyclic period specified for each application,
regardless of the number of nodes. Data is exchanged over the network at the refresh cycle set for
each connection, so the communications refresh cycle will not increase even if the number of nodes
is increased, i.e., the concurrency of the connection’s data is maintained. Because the refresh cycle
can be set for each connection, each application can communicate at its ideal refresh cycle. For
example, interprocess interlocks can be transferred at high speed, while the production commands
and the status monitor information are transferred at low speed.
1-2
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 29
1 Introduction
1-1-2Features of Built-in EtherNet/IP Port on NY-series Industrial PCs
Tag Data Links
Cyclic communications between Controllers or between Controllers and other devices are possible
on an EtherNet/IP network. Tag data links can quickly perform data exchanges.
Message Communications
You can send CIP commands to devices on the EtherNet/IP network when required by execution of
CIP communications instructions in a program. As a result, it is possible to send and receive data
with devices on the EtherNet/IP network.
BOOTP Client
If the NY-series built-in EtherNet/IP port is set in the BOOTP settings, the BOOTP client operates
when the Controller power is turned ON, and the IP address is obtained from the BOOTP server. It is
possible to set all of the IP addresses of multiple built-in EtherNet/IP ports at the same time.
Built-in FTP Server for File Transfers to and from Host Computers
An FTP server is built into the Controller. You can use it to read and write data within the Controller
as files from workstations and computers with FTP clients. The FTP server enables the transfer of
large amounts of data from a client without any additional ladder programming.
FTP Client for File Transfers to and from Host Computers
1-1 Introduction
1
1-1-2 Features of Built-in EtherNet/IP Port on NY-series Industrial PCs
An FTP client is built into the Controller so that you can read and write files on workstations and
computers that have an FTP server from the Controller.
You can use the FTP client communications instructions to transfer one or more files between the
Controller and an FTP server.
Socket Services
Socket services can be used to send/receive data between general-purpose applications and Controllers. You can use these communications services to send and receive any data to and from
remote nodes, i.e., between host computers and Controllers or between Controllers. You can execute socket communications instructions in order in a program to execute communications processes with the socket services. There are two socket services, the UDP socket service and TCP
socket service.
Host Names
You can directly specify IP addresses, but you can also use the host names instead of the IP
addresses for SNMP managers, or the destinations of socket instructions and CIP communications
instructions (DNS client or hosts settings). This is useful, for example, when server IP addresses
change for system revisions because the IP addresses are automatically found when host names
are used.
* A separate DNS server is necessary to use host names with the DNS client.
* The DNS server is specified directly using its IP address.
Network Management with an SNMP Manager
The SNMP agent passes internal status information from the built-in EtherNet/IP port to network
management software that uses an SNMP manager.
* A separate SNMP manager is necessary for network management.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
1-3
Page 30
1 Introduction
Additional Information
Complete Troubleshooting Functions
A variety of functions are provided to quickly identify and handle errors.
• Self-diagnosis at startup
• Event log that records the time of occurrence and other error details
Transfer of IP Packets to Devices on Other Network Segments
The built-in EtherNet/IP ports have an IP routing function that sends IP packets to devices on other
IP network segments.
* To use the function, you must set the IP router table and default gateway settings for each device on the net-
work appropriately for your network configuration. For details on the settings, refer to 5-1 TCP/IP SettingsDisplay.
CIP (Common Industrial Protocol)
CIP is a shared industrial protocol for the OSI application layer. The CIP is used in networks
such as EtherNet/IP, CompoNet, and DeviceNet. Data can be routed easily between networks
that are based on the CIP. You can therefore easily configure a transparent network from the
field device level to the host level. The CIP has the following advantages.
• Destination nodes are specified by a relative path, without fixed routing tables.
• The CIP uses the producer/consumer model. Nodes in the network are arranged on the same
level and it is possible to communicate with required devices whenever it is necessary. The
consumer node will receive data sent from a producer node when the connection ID in the
packet indicates that the node requires the data. Because the producer can send the same
data with the same characteristics in a multicast format, the time required for the transfer is
fixed and not dependent on the number of consumer nodes. (Either multicast or unicast can
be selected.)
1-4
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 31
1-2System Configuration and
100 m
max.
Ethernet (LAN) port
(1) Built-in EtherNet/IP
port on NY-series
Controller
(2) Twisted-pair cable
(3) Ethernet switch
Sysmac Studio
(Support Software)
(1) Built-in EtherNet/IP
port on NJ/NX-series Controller
(1) Built-in EtherNet/IP
port on NJ/NX-series Controller
Configuration Devices
1-2-1Devices Required to Construct a Network
The basic configuration for an EtherNet/IP system includes one Ethernet switch to which nodes are
attached in star configuration using twisted-pair cable.
1 Introduction
1-2 System Configuration and
Configuration Devices
1
1-2-1 Devices Required to Construct a Network
The following products are also required to build a network. Obtain them in advance.
OMRON PLCs
CJ2 (built-in EtherNet/IP port)
(CJ2H-CPU-EIP or CJ2M-CPU3)
CJ-series EtherNet/IP Unit*
(CJ1W-EIP21)
CS-series EtherNet/IP Unit
(CS1W-EIP21)
(2) Twisted-pair cableThe twisted-pair cable has a RJ45 Modular Connector
(3) Ethernet switchThis is a relay device that connects multiple nodes in a
These Units are used to connect to an EtherNet/IP network.
at each end. This cable is used to connect the built-in
EtherNet/IP port or EtherNet/IP Unit to an Ethernet
switch. Use an STP (shielded twisted-pair) cable of category 5, 5e, or higher.
star LAN. For details on recommended devices to configure a network, refer to 2-1-1 Recommended Network Devices.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
* The CJ1W-EIP21 can be mounted only to an NJ-series CPU Unit with unit version 1.01 or later and Sysmac Stu-
dio version 1.02 or higher.
1-5
Page 32
1 Introduction
Additional Information
Built-in EtherNet/IP port
NY-series Controller
Tag Data Link Settings
(non-volatile memory)
Edit Device
Parameters
Dialog Box
Windows computer with
Network Configurator
Transferred.
1-2-2Support Software Required to Construct a Network
This section describes the Support Software that is required to construct an EtherNet/IP network. The
built-in EtherNet/IP port has Ethernet Settings and Tag Data Link Settings, which are stored in the nonvolatile memory of the Controller. Support Software is provided for each, as described below.
Built-in Ethernet/IP Settings: Sysmac Studio
Use the Sysmac Studio to set the basic settings, such as the local IP address and subnet mask of
the built-in EtherNet/IP port. The Sysmac Studio can also be used to check if data I/O is being performed correctly for tag data links.
Windows Computer
Sysmac Studio
Built-in EtherNet/IP port
settings (non-volatile memory)
Transferred.
Built-in EtherNet/IP port
NY-series Controller
Edit Parameters
Dialog Box
Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504) for details on the Sysmac
Studio.
Tag Data Link Settings: Network Configurator
Use the Network Configurator to set the tag data links for the built-in EtherNet/IP port. (The Network
Configurator is included in the Sysmac Studio Standard Edition.) The main functions of the Network
Configurator are given below.
1) Setting and Monitoring Tag Data Links (Connections)
The network device configuration and tag data links (connections) can be created and edited. After
connecting to the network, the device configuration and tag data link settings can be uploaded and
monitored.
2) Multi-vendor Device Connections
1-6
EDS files can be installed and deleted so that you can construct, set, and manage networks that
contain EtherNet/IP devices from other companies. The IP addresses of EtherNet/IP devices can
also be changed.
For details on the Network Configurator, refer to Section 7 Tag Data Link Functions.
You can also use the Sysmac Studio to set the tag data links. Refer to A-2 Use the Sysmac Stu-dio to Set the Tag Data Links (EtherNet/IP Connections) for details on setting the tag data links in
the Sysmac Studio.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 33
1-3Built-in EtherNet/IP Port
1-3-1Specifications
Item
Communications protocolTCP/IP or UDP/IP
Sysmac Studio connection, tag data link, CIP message communi-
Supported services
Number of ports1 (With IP routing function)
Physical layer
Media access
method
ModulationBaseband
Transmission
paths
Transmission
specifications
CIP service: Tag
data links (cyclic
communications)
Baud rate1,000 Mbps (1000Base-T)
Transmission
media
Transmission distance
Number of cascade
connections
Number of connections
Packet interval
(refresh cycle)
Allowed communications bandwidth
per Unit
Number of registrable tags
Tag t y p e s
cations, socket services, FTP server, FTP client, SNMP agent,
DNS client, and BOOTP client
100Base-TX, 10Base-T or 1000Base-T (1000Base-T or 100BaseTX is recommended.)
CSMA/CD
Star form
Shielded twisted-pair (STP) cable, Category 5, 5e, or higher
100 m max. (distance between hub and node)
There is no limitation when an Ethernet switch is used.
128
1 to 10,000 ms in 1-ms increments
Packet intervals can be set independently for each connection.
(Data is refreshed over the network at the preset interval and does
not depend on the number of nodes.)
20,000 pps
Note The heartbeat is included.
256
Network variables
CIO, Work, Holding, DM, and EM Areas cannot be used.
*2
NY52-
Unit version 1.12 or later
*1
1 Introduction
1-3 Built-in EtherNet/IP Port
Specifications
1
1-3-1 Specifications
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
1-7
Page 34
1 Introduction
CIP service: Tag
data links (cyclic
communications)
CIP message service: Explicit mes-
*6
sages
SNMP
EtherNet/IP conformance testConforms to CT13
Ethernet interface
Item
Number of tags per
8 (7 tags when the tag set contains the Controller status)
connection (= 1 tag
set)
Maximum link data
184,832 bytes
size per node
*3
Maximum data size
per connection
1,444 bytes
Data concurrency is maintained within each connection. Refer to
7-1-7 Concurrency of Tag Data Link Data for methods to maintain
concurrency.
Number of regis-
128 (1 connection = 1 tag set)
trable tag sets
Maximum size of 1
tag set
Changing tag data
722 words (The Controller status uses 1 word when the tag set
contains the Controller status.)
Supported
*4
link parameters
when Controller is
in RUN mode
Multi-cast packet
*5
filter
Class 3 (con-
Supported
Number of connections: 64 (clients + servers)
nected)
UCMM (unconnected)
Number of clients that can communicate at one time: 32 max.
Number of servers that can communicate at one time: 32 max.
Supported.
CIP routing is supported for the following remote Units: NY52-
, NX701-, NJ501-, NJ301-,
CIP routing
NJ101-, CS1W-EIP21, CJ1W-EIP21, CJ2H-CPU-EIP,
and CJ2M-CPU3.
Using a combination of any Units above, communication can be
extended up to a maximum of 8 levels.
AgentsSNMPv1 or SNMPv2c
MIBMIB-II
10Base-T, 100Base-TX, or 1000Base-T
Auto negotiation or fixed settings
Specifications
NY52-
Unit version 1.12 or later
1-8
*1 If tag data links are being used, use 100Base-TX or 1000Base-T.
*2 Here, pps means “packets per second” and indicates the number of packets that can be processed in one sec-
ond.
*3 To use a data size of 505 bytes or higher, the system must support a large forward open (an optional CIP spec-
ification). The CS, CJ, NJ, NX, and NY-series Units support a large forward open, but before connecting to
nodes of other companies, confirm that those devices also support it.
*4 If the parameters of the built-in EtherNet/IP port are changed, the port is restarted. When other nodes are in
communications with the affected node, the communications will temporarily time out and automatically
recover after the restart.
*5 Because the built-in EtherNet/IP port is equipped with an IGMP client (version 2), unnecessary multicast pack-
ets can be filtered by an Ethernet switch that supports IGMP snooping.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 35
1 Introduction
*6 The built-in EtherNet/IP port uses the TCP/UDP port numbers shown in the following table.
Do not set the same port number for more than one TCP/UDP service.
ServiceProtocolPort numberRemarks
EIP data linksUDP2222Fixed values
Used by systemUDP2223, 2224
TCP9610
TCP9900
CIP messagesTCP44818
FTP client data transfer portTCP20
DNS clientTCP/UDP53
BOOTP clientUDP68
HTTP serverTCP80
Used by system, otherTCP/UDP9600You can change the port number in
FTP client control portTCP21
SNMP agentUDP161
SNMP trapUDP162
the Unit Settings on the Sysmac
Studio.
1-3 Built-in EtherNet/IP Port
1
1-3-1 Specifications
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
1-9
Page 36
1 Introduction
1-3-2Part Names and Functions
Parts and Names
MAC Address Notation
Built-in EtherNet/IP port
A specific MAC address is allocated to each device connected to the Ethernet network.
A MAC address of the built-in EtherNet/IP port is given in 6-digit hexadecimal on the ID information
indication on the back side of the product as shown below.
ID information indication
MAC ADDRESS
PORT 1
PORT 2
PORT 3
MAC address of built-in EtherNet/IP port
1-10
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 37
1 Introduction
Additional Information
10/100/1000LINK/ACT
Indicators (LEDs)
The following provides information on indicators associated with the built-in EtherNet/IP port on NYseries Controllers.
LINK/ACT/10/100/1000
• LINK/ACT indicator: This shows the Ethernet communications status.
• 10/100/1000 indicator: This shows the baud rate status.
IndicatorColorStatusOperating status
Link not established.
LINK/ACT
10/100/1000
---Not lit
Yello w
--Not lit
GreenLitLink established with a baud rate of 100 Mbps.
OrangeLitLink established with a baud rate of 1000 Mbps.
FlashingData communications in progress after establishing link.
LitLinks established.
• The cable is not connected.
• The power supply is OFF or was reset.
Link established with a baud rate of 10 Mbps, or link not
established.
1-3 Built-in EtherNet/IP Port
1
1-3-2 Part Names and Functions
When the built-in EtherNet/IP port is set to disable, all the indicators will not light. Refer to 5-1TCP/IP Settings Display for the information on setting the built-in EtherNet/IP port.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
1-11
Page 38
1 Introduction
NY-series Industrial PC
Windows
Controller
Internal port
IP packets
Internal
communications
network
1-4Introduction to Communications
Services
1-4-1IP Communications with Windows
In an Industrial PC, both the Controller and Windows have an internal port, by which they can perform
IP communications to exchange data in IP packets over the internal communications network.
Refer to the NY-series Industrial Panel PC / Industrial Box PC Setup User’s Manual (Cat. No. W568) for
details on data exchange between Windows and the Controller.
A program is not required to perform cyclic data exchanges with other devices on the EtherNet/IP network. Normally, a connection is started with the target device for each tag set that was created with the
Network Configurator to start communications for tag data links for a built-in EtherNet/IP port. One connection is used per tag set.
Connection Information
• Target IP address
• Target tag set
• Originator tag set
• Packet interval (RPI)
Tag Set (Input)
Tag set name: SP1_IN
Controller status
Tag a
Tag b
Tag c
Connection
Data flow
Tag Set (Output)
Tag set name: SP1_OUT
Controller Status
Tag i
Tag ii
1-12
Originator deviceTarget device
* In this example, a connection is established with the originator’s tag list with tags a to g (inputs), which are in a
tag set called SP1_IN, and the target’s tag list with tags i and ii (outputs), which are in a tag set called SP1_OUT.
Tag g
EtherNet/IP
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 39
1 Introduction
Additional Information
CIP command
CIP response
Built-in EtherNet/IP port
EtherNet/IP
NY-series Industrial PC
Windows
Controller
CIP_SEND
Built-in EtherNet/IP port
EtherNet/IP
NY-series Industrial PC
Windows
Controller
Internal
communications
network
Internal port
Application
CIP command
CIP response
Communications Services
CIP Message Communications
User-specified CIP commands can be sent to devices on the EtherNet/IP network. CIP commands,
such as those for reading and writing data, can be sent and their responses received by executing the
CIP communications instructions from the user program in the NY-series Controller.
By specifying a route path, you can send CIP messages (CIP commands and responses) to a device
on another CIP-based network segment via a built-in EtherNet/IP port or the EtherNet/IP Unit (CIP routing function for message communications). The maximum number of levels of CIP routing via the ports
is eight for any combination of CS, CJ, NJ, NX, and NY-series Controller. Note that the number of levels
of IP routing using an L3 Ethernet switch is not counted in the number of levels of CIP routing via the
ports.
In addition, CIP messages can be routed between Windows installed in an NY-series Industrial PC and
devices on an EtherNet/IP network via the internal ports and the built-in EtherNet/IP port on the Controller.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
In CIP routing, a node (Unit) that routes information subtracts the equivalent of one hop from the
timeout, deletes its own address from the route information, and relays the information to the
next node (Unit).
When a timeout is specified, the timeout for the actual request service processing is set in the
last hop. In the case of relay hops, the timeout for the relay route must be added to the timeout
for the request.
OMRON products that support CIP subtract 5 seconds per hop.
1-13
Page 40
1 Introduction
Precautions for Correct UsePrecautions for Correct Use
IP router
table
NY-series Industrial PC
Windows
Controller
Internal
communications
network
Built-in EtherNet/IP port
Built-in EtherNet/IP port
NX-series
Controller
NJ-series
Controller
EtherNet/IP
EtherNet/IP
IP router
table
IP address:10.1.3.1/24
Netwrok address:10.1.3.0/24
Netwrok address:10.1.2.0/24
1-4-3IP Routing
The two built-in EtherNet/IP ports on the NY-series Controller both have the IP routing function. The IP
routing function sends IP packets to other network segments based on the routing information set in the
IP router table.
To communicate with devices on other network segments, you must set the IP router table and default
gateway settings for the NY-series Controller and each device on the network appropriately for your
network configuration.
• You cannot create tag data links between multiple Controllers using IP routing on the NYseries Controller.
The following figure is an example of communications between the Controller in an NY-series Industrial
PC and an NJ-series Controller on a different network segment. Here, you need to set the route information for communicating via the built-in EtherNet/IP port on the NX-series Controller in the IP router
table and default gateway settings for the Controller in an NY-series Industrial PC.
The NY-series Controller provides the following functions related to the IP routing function.
Refer to 5-1 TCP/IP Settings Display for the procedure to set each function.
1-14
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 41
1 Introduction
Additional Information
Ethernet port
NY-series Industrial PC
Windows
Controller
Internal port
Internal
communications
network
Built-in EtherNet/IP port
EtherNet/IP
Machine
network
Transfer
Transfer
Ethernet port
NY-series Industrial PC
Windows
Controller
Internal port
Internal
communications
network
Built-in EtherNet/IP port
EtherNet/IP
Machine
network
Discard
Discard
Communications Services
IP Forward Function
This function transfers IP packets received from a network to another network.
It allows the Controller in an NY-series Industrial PC to relay IP packets between the internal communications network and machine networks. IP packets are transferred between the internal ports
and the built-in EtherNet/IP port on the Controller to be relayed to a different network.
If the internal communications network needs to be divided from machine networks for security reasons, you can set this function to disable the transfer of IP packets. When the transfer of IP packets
is disabled, the function discards IP packets that are not destined to the Controller.
1-4 Introduction to
1
1-4-3 IP Routing
You can route IP packets to EtherNet/IP devices on a network segment different from that where
Windows in an NY-series Industrial PC is located.
In this case, you need the IP routing and default gateway settings in Windows.
NY-series Industrial PC
Controller
Built-in EtherNet/IP port
EtherNet/IP
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
NJ-series
Controller
Internal communications
network
Network address:
192.168.254.0/24
Internal port
Network address:10.1.2.0/24
IP router
IP address:10.1.2.1/24
Windows
IP router
table
table
1-15
Page 42
1 Introduction
Ethernet port
NY-series Industrial PC
Windows
Controller
Internal port
Internal
communications
network
Built-in EtherNet/IP port
EtherNet/IP
Machine
network
Converts IP address
Delay
Delay
Packet Filter Function
This function checks IP packets received from a network to determine whether they should be either
received or relayed to another network.
It allows the Controller in an NY-series Industrial PC to limit the access to any machine network in
which a Controller exists via the internal port, based on a condition predefined by the user.
The function checks the IP packets received by the internal port of the Controller through the internal
communications network. It determines whether they can pass through the internal port based on a
user-specified condition.
By default, IP packets from only networks whose source IP address is set to the IP address of the
internal port will be received; otherwise, IP packets will be relayed to another network.
EtherNet/IP
Machine
network
Controller
Delay
Delay
NY-series Industrial PC
Internal
communications
network
Windows
Built-in EtherNet/IP port
Internal port
Ethernet port
NAT Function
This function converts the source IP address in IP packets to a different IP address when relaying IP
packets from one network to another.
Enabling the NAT function allows the built-in EtherNet/IP port to automatically convert the source IP
address in IP packets to its IP address.
You can disable the NAT function if there is no need to convert the source IP address in IP packets.
1-16
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 43
1 Introduction
Ethernet
The built-in EtherNet/IP port IP address is obtained
from the BOOTP server when the power is turned ON.
BOOTP client
Built-in
EtherNet/IP port
Built-in
EtherNet/IP port
IP address
BOOTP command
BOOTP server
Controller to Computer
NY-series Controller
Built-in EtherNet/IP port
File data
Computer to Controller
Virtual SD
Memory
Card
FTP command
Computer
(FTP client)
Ethernet
Virtual SD
Memory
Card
File data
Virtual SD
Memory
Card
Communications Services
1-4-4BOOTP Client
You set the built-in EtherNet/IP port in the BOOTP settings to use the BOOTP client to obtain settings,
such as the built-in EtherNet/IP port IP address.
1-4-5FTP Server
An FTP server is built into the built-in EtherNet/IP port so that files can be read from and written to the
Virtual SD Memory Card in the Controller from computers at other Ethernet nodes. This makes it possible to exchange data files between a computer and the Controller with the computer as the FTP client
and the Controller as the FTP server.
1-4 Introduction to
1
1-4-4 BOOTP Client
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
1-17
Page 44
1 Introduction
NY-series Controller
Built-in EtherNet/IP port
File data
Virtual SD
Memory
Card
File data
Computer
(FTP sever)
Ethernet
Virtual SD
Memory
Card
File data
Virtual SD
Memory
Card
Downloading Data
Uploading Data
1-4-6FTP Client
The built-in EtherNet/IP port contains an FTP client. With it, you can use FTP client communications
instructions to transfer files between the Controller and computers on Ethernet.
This makes it possible to exchange data files between a computer and the Controller with the Controller
as the FTP client and the computer as the FTP server.
1-18
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 45
1 Introduction
Precautions for Correct UsePrecautions for Correct Use
Ethernet
Close processing
Receive processing
Send processing
Open processing
Communications processes are
performed with socket communications instructions (for UDP).
Socket
TCP/UDP
protocol
Built-in EtherNet/IP port
NY-series Controller
TCP/UDP
protocol
UNIX computer or
other node with socket
service interfaces
Built-in EtherNet/IP port
ST Programming
IP
UDP
TCP
SktUDPCreate(...)
SktUDPSend(...)
SktUDPRcv(...)
SktClose(...)
Controller
Built-in EtherNet/IP port
NY-series
Controller
DNS server
Ethernet
Host name
IP address
Communications Services
1-4-7Socket Service
You can send data to and receive data from any node on Ethernet with the UDP or TCP protocol. To
send/receive data with a socket service, you execute multiple socket communications instructions in
sequence in an ST program to execute the required communications processes. After a connection
with the other communications device is opened with an open instruction, the values of the variables
that are specified for the send instruction are sent and the data that was received for a receive instruction is stored in the specified variables. The connection is closed with a close instruction, and communications end. For TCP, you can also read the socket status and received data. You can use a total of 16
TCP ports and UDP ports.
1-4 Introduction to
1
1-4-7 Socket Service
1-4-8Specifying Host Names
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
You can directly specify IP addresses, but you can also use the host names instead of the IP addresses
for SNMP managers, or the destinations of socket instructions and CIP communications instructions
(DNS client or hosts settings).
Example: Setting Host Names on the DNS Server
A DNS server is required to use the server host names for the DNS client.
1-19
Page 46
1 Introduction
Device that supports SNMP
SNMP agent
SNMP agent
SNMP agent
Management
information
SNMP message
Built-in EtherNet/IP port
SNMP
manager
Monitoring Ethernet/IP Devices
Ethernet
1-4-9SNMP Agent
The SNMP agent has the following functions.
SNMP Agent
The SNMP agent passes internal status information from the built-in EtherNet/IP port to network management software that uses an SNMP manager.
SNMP Traps
SNMP Trap
When specific conditions occur, the built-in EtherNet/IP port that is set as the SNMP agent sends
status notification reports to the SNMP manager. The SNMP manager can learn about changes in
status even without periodically monitoring of the built-in EtherNet/IP port. Status notification reports
are sent under the following conditions.
• When the Controller is turned ON
• When links are established
• When an SNMP agent fails to be authorized
SNMP manager
Trap
SNMP agent
Controller
turned ON.
Built-in EtherNet/IP port
1-20
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 47
1-5EtherNet/IP Communications
1 Introduction
1-5 EtherNet/IP Communications
Procedures
Basic Operation
1
Wire the Ethernet network with twisted-pair cable.
↓
2
Set the built-in EtherNet/IP port IP address with the Sysmac Studio.
1. Use the Sysmac Studio to create a new project.
2. Set the local IP address in one of the following ways:
• Defaults:
Built-in EtherNet/IP port 1: 192.168.250.1
(subnet mask = 255.255.255.0)
Internal port: 192.168.254.1
(subnet mask = 255.255.255.0)
• Set any IP address.
• Obtain from BOOTP server.
↓
3
Perform a communications test with a PING command from a computer.
↓
4
Use the Sysmac Studio to set the initial settings of the EtherNet/IP
Function Module.
Set the TCP/IP settings and Ethernet settings as required.
Procedures
1
Section 2 Installing Ethernet
Networks
Section 4 Determining IP
Addresses
Section 6 Testing Communications
Section 5 Sysmac Studio
Settings for the Built-in EtherNet/IP Port
Using Tag Data Links
1
Import the variable settings for the tags that were created on the
Sysmac Studio to the Network Configurator.
↓
2
Use the Network Configurator to create the tag data link table.
• Create the network configuration.
• Set the tags, tag sets, and connections.
↓
3
Connect the Network Configurator online.
↓
4
Download the tag data link setting.
↓
5
Start the tag data links (the links starts automatically when power is
turned ON).
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
7-2-4 Creating Tags and Tag
Sets
Section 7 Tag Data Link
Functions
1-21
Page 48
1 Introduction
Precautions for Correct UsePrecautions for Correct Use
6
Check operation.
• Check the built-in EtherNet/IP port indicators.
• Use the Sysmac Studio to check the communications status with the All Tag
Data Link Communications Status system-defined variable.
• Use the monitor function of the Network Configurator to confirm that the tag
data links are in normal operation.
Using the CIP Message Communications Service
• CIP Communications Instructions
1
Execute CIP communications instructions in the user program.
2
Check operation.
• Use the Sysmac Studio to check the communications status with the end codes
of the instruction (Done, Error, and ErrorID).
↓
1-3-2 Part Names and Functions
Section 14 Checking Communications Status of Network and Troubleshooting
Section 8 CIP Message
Communications
↓
1-3-2 Part Names and Functions
Section 14 Checking Communications Status of Network and Troubleshooting
Using the Socket Services
1
Execute the socket service instructions in the user program.
↓
2
Check operation.
• Use the Sysmac Studio to check the communications status with the end codes
of the instruction (Done, Error, and ErrorID).
Using the FTP Server
1
Use the Sysmac Studio to set the initial settings of the EtherNet/IP
Function Module.
• Set the FTP settings (enabling FTP, login name, and password).
↓
2
Connect to the FTP server in NY-series Controller from an FTP client application.
• Input the FTP login name and password to log onto the built-in EtherNet/IP port.
• Check the event log to see if the FTP server started.
Section 9 Socket Service
Section 10 FTP Server
To use the FTP server, you need to make the Virtual SD Memory Card settings in advance.
Refer to the NY-series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No.
W558) for information on making the Virtual SD Memory Card settings.
1-22
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 49
Using the FTP Client
Precautions for Correct UsePrecautions for Correct Use
1 Introduction
1-5 EtherNet/IP Communications
1
Execute the FTP client communications instructions in the user program.
↓
2
Check operation.
• Use the Sysmac Studio to check the communications status with the end codes
of the instruction (Done, Error, and ErrorID).
To use the FTP client, you need to make the Virtual SD Memory Card settings in advance. Refer
to the NY-series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No.
W558) for information on making the Virtual SD Memory Card settings.
Section 11 FTP Client
Using the SNMP Agent
1
Use the Sysmac Studio to set the initial settings of the EtherNet/IP
Function Module.
• Set the SNMP settings.
• Set the SNMP trap settings.
↓
Section 12 SNMP Agent
Procedures
1
2
Check operation.
• Check the event log to see if the SNMP agent started.
Using BOOTP
1
Use the Sysmac Studio to set the initial settings of the EtherNet/IP
Function Module.
• Set the BOOTP settings.
↓
2
Check operation.
• Check the event log to see if BOOTP started.
• Check the Online system-defined variable.
Section 5 Sysmac Studio
Settings for the Built-in EtherNet/IP Port
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
1-23
Page 50
1 Introduction
1-24
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
• Number of ports: three for the W4S1-03B, or five each for the
W4S1-05B and W4S1-05C
• Failure detection output (W4S1-05C only)
Twisted-pair Cables and Connectors
Applicable EtherNet/IP communications cables and connectors vary depending on the used baud
rate. For 100Base-TX and 10Base-T, use an STP (shielded twisted-pair) cable of category 5 or
higher. You can use either a straight or cross cable. For 1000Base-T, use an STP (shielded twistedpair) cable (double shielding with aluminium tape and braiding) of category 5e or higher. You can
use either a straight or cross cable.
"100Base-TX" in the "Product" column of the table below indicates that either 100Base-TX or
10Base-T can be used.
ProductManufacturerModel
For 1000Base-T
and 100Base-TX
For 100Base-TXSizes and conduc-
Sizes and conductor pairs: AWG 24 ×
*1
4 pairs
tor pairs: AWG 22 ×
*1
2 pairs
CablesHitachi Metals, Ltd.NETSTAR-C5E
SAB 0.5 × 4P
Kuramo Electric Co., Ltd.KETH-SB
SWCC Showa Cable Systems Co. Ltd.
RJ45 ConnectorsPanduit CorporationMPS588
CablesKuramo Electric Co., Ltd.KETH-PSB-OMR
JMACS Japan Co., LtdPNET/B
RJ45 Assembly
Connectors
OMRONXS6G-T421-1
FAE-5004
2-2
Sizes and conductor pairs: 0.5 mm × 4
*1
pairs
*1 We recommend that you use cables and connectors in above combinations.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
CablesFujikura Ltd.F-LINK-E 0.5mm ×
RJ45 ConnectorsPanduit CorporationMPS588
4P
Page 53
Additional Information
2-1-2Ethernet Switch Types
Unmanaged Layer 2 (L2) Ethernet Switches
These Ethernet switches use the Ethernet MAC address to switch ports. Ordinary Ethernet switches
have this function. Ethernet switch functions and settings cannot be changed.
Managed Layer 2 (L2) Ethernet Switches
These Ethernet switches use the Ethernet MAC address to switch ports. Ethernet switch functions
and settings can be changed with special software tools for Ethernet switches running on a network
node. You can also collect analytical data. These Ethernet switches provide more-advanced functions than unmanaged layer 2 Ethernet switches.
2 Installing Ethernet Networks
2-1 Selecting the Network Devices
2
2-1-3Ethernet Switch Functions
This section describes the Ethernet switch functions that are important for an EtherNet/IP network. For
a built-in EtherNet/IP port, consider whether the Ethernet switch supports these functions when you
select the Ethernet switch.
• Multicast filtering
• QoS (Quality of Service) for TCP/UDP port numbers (L4)
Multicast Filtering
Multicast filtering transfers multicast packets to the specific nodes only. This function is implemented
in the Ethernet switch as IGMP snooping or GMRP. “Specific nodes” are nodes equipped with an
IGMP client that have made transfer requests to the Ethernet switch. (OMRON built-in EtherNet/IP
ports are equipped with an IGMP client.) When the Ethernet switch does not use multicast filtering,
multicast packets are sent to all nodes, just like broadcast packets, which increases the traffic in the
network. Settings must be made in the Ethernet switch to enable this function. There must be
enough multicast filters for the network.
QoS (Quality of Service) Function for TCP/UDP Port Numbers (L4)
This function controls the priority of packet transmissions so that packets can be sent with higher priority to a particular IP address or TCP (UDP) port. The TCP and UDP protocols are called transport
layer protocols, leading to the name L4 (layer 4) QoS function. When tag data links and message
communications are executed on the same network, tag data links can be sent at higher priority to
prevent problems such as transmission delays due to message communications traffic and packet
losses due to buffer overflow. Settings must be made in the Ethernet switch to enable this function
and give higher priority to tag data link packets.
2-1-2 Ethernet Switch Types
Support for the above two functions is as follows for the different types of Ethernet switches.
If the Network Configurator is used to set the connection type in the connection settings to a multicast connection, multicast packets are used. If the connection type is set to a point-to-point connection, multicast packets are not used.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
NoneNone---
Provided.Provided.Both functions must be set
NoneProvided.L4 QoS is set with a switch. No
with a special software tool.
software tool is necessary.
2-3
Page 54
2 Installing Ethernet Networks
2-1-4Precautions for Ethernet Switch Selection
The functions supported by the Ethernet switch may affect tag data link transmission delays and the
settings in the Controller configurations and setup. In addition, if the Ethernet switch supports advanced
functions, special settings are required for those functions. When you select an Ethernet switch, it is
necessary to consider whether to select the Ethernet switch based on the kind and amount of communications you want to execute in the network. Refer to the following precautions when you select an
Ethernet switch. Refer to 13-2 Adjusting the Communications Load to estimate the communications
load for tag data links.
Selecting the Ethernet Switch Based on the Types of Network
Communications
Executing Tag Data Links Only
We recommend that you use an L2 Ethernet switch without multicast filtering or an L2 Ethernet
switch with multicast filtering. An L2 Ethernet switch with multicast filtering prevents increased traffic
due to unnecessary multicast packets, so the tag data links can operate at higher speed. If either of
the following conditions exists, the amount traffic will be the same for both kinds of L2 Ethernet
switches (with or without multicast filtering).
• The tag data links are set to share the same data with all nodes in the network. (The multicast
packets are transferred to all nodes in the network, just like a broadcast.)
• The tag data link settings are all one-to-one (unicast) and multicast packets cannot be used.
If multicast filters are being used, settings must be made in the Ethernet switch. There must be
enough multicast filters for the network being used.
Executing Tag Data Links and Message Communications
We recommend an L2 Ethernet switch with multicast filtering and L4 QoS. If you set tag data links
for higher-priority transmission, it is possible to prevent problems such as transmission delays due
to message communications traffic and packet losses due to buffer overflow. You must make special
settings in the Ethernet switch when using the multicast filtering function and L4 QoS function.
2-4
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 55
2 Installing Ethernet Networks
Precautions for Correct UsePrecautions for Correct Use
Selecting the Ethernet Switch Based on the Ethernet Switch’s
Supported Functions
L2 Ethernet Switch without Multicast Filtering
We recommend this kind of Ethernet switch when only tag data links are executed and any of the
following conditions is met.
• The tag data links are set to share the same data with all nodes in the network. (The multicast
packets are transferred to all nodes in the network, just like a broadcast.)
• The tag data link settings are all one-to-one (unicast) and multicast packets cannot be used.
• There is little traffic in the tag data links.
No special settings are required for an L2 Ethernet switch without multicast filtering.
2-1 Selecting the Network Devices
2
L2 Ethernet Switch with Multicast Filtering
We recommend this kind of Ethernet switch when only tag data links are executed and the following
condition is met.
• There are many 1:N links (where N represents some number of nodes in the network) in the tag
data link settings, i.e., there are many multicast packets used, or there is heavy traffic in the tag
data links.
Special settings are required for an L2 Ethernet switch with multicast filtering. There must be enough
multicast filters for the network.
L3 Ethernet Switch with Multicast Filtering and L4 QoS Functions
We recommend this kind of Ethernet switch when both tag data links and message communications
are executed. If you set tag data links for higher-priority transmission, you can prevent problems
such as transmission delays due to message communications traffic and packet losses due to buffer
overflow. Special settings must be made in the Ethernet switch when using the multicast filtering
function and L4 QoS function. There must be enough multicast filters for the network.
Selecting the Ethernet Switch Based on the Network
Communication Speed
Executing Tag Data Links at a Communication Speed Over 100 Mbps
2-1-4 Precautions for Ethernet Switch Selection
If you will use data tag links with the following conditions, use an Ethernet switch with a multicast filter or an Ethernet switch that supports a communication speed of 1,000 Mbps.
• Multicast
• Communication speed over 100 Mbps
If there is an Ethernet device on the same network that communicates at a speed of 100 Mbps or
less, the device may affect tag data link communication and cause tag data links to be broken, even
if the device is not related to tag data link communication.
• Ask the Ethernet switch manufacturer for setting procedures for the Ethernet switch.
• Install the Ethernet switch so that its environmental resistance specifications are not
exceeded. Ask the Ethernet switch manufacturer for information on the environmental resistance of the Ethernet switch.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
2-5
Page 56
2 Installing Ethernet Networks
2-2Network Installation
2-2-1Basic Installation Precautions
• Take the greatest care when you install the Ethernet System. Be sure to follow ISO 8802-3 specifica-
tions. Be sure you understand them before attempting to install an Ethernet System.
• Unless you are already experienced in installation of communications systems, we strongly recommend that you employ a professional to install your system.
• Do not install Ethernet equipment near sources of noise. If a noisy environment is unavoidable, take
adequate measures against noise interference, such as installation of network components in metal
cases or the use of optical cable in the system.
• When using a shielded cable with the shields on both ends of the cable connected to connector
hoods, ground loops induced by improper grounding methods may decrease noise immunity and
cause device damage. To prevent ground loops caused by differences in potential between device
grounding points, the reference potential between the devices must be stabilized. Design grounding
appropriately so that noise current does not flow to ground lines between the devices. For grounding
methods, refer to the NY-series Industrial Box PC Hardware User’s Manual (Cat. No. W556) or NY-series Industrial Panel PC Hardware User’s Manual (Cat. No. W557).
• To obtain information on laying EtherNet/IP cable, contact ODVA.
ODVA web site: http://www.odva.org
• When you install an EtherNet/IP network that combines an information network with the control system, and the communications load may be heavy due to tag data links, we recommend that you set
up the network so that the load does not affect communications. For example, install the tag data
links in a segment that is separate from the information network.
2-2-2Recommended Network Devices
Refer to 2-1 Selecting the Network Devices for the devices recommended for use with the built-in EtherNet/IP port.
2-2-3Precautions When Laying Twisted-pair Cable
Connecting the Shield to Connector Hoods
Between an EtherNet/IP Port and an Ethernet Switch
Connect the shield to connector hoods as described below.
10Base-T100Base-TX1000Base-T
• Connect both ends
or
• Connect the Ethernet Switch side only. A clamp core
must be attached to the EtherNet/IP port side of the
cable.
• 10Base-T or 100Base-TX
Connect the cable shields to the connector hoods as described in either a) or b) below.
a)Connecting the shields at both ends of the cable
Connect the shields at both ends of the cables to connector hoods.
Connect both ends
2-6
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 57
2 Installing Ethernet Networks
Additional Information
STP
(Shield)
FG
terminal
Ethernet switches
GR
terminal
Connector
Connector
Connect shield to connector hood
NY-series Industrial PC
Built-in
EtherNet/IP port
STP
(Shield)
FG
terminal
Ethernet switches
GR
terminal
Connector
Connector
Built-in
EtherNet/IP port
Clamp core
NY-series Industrial PC
Connect shield to connector hood
Do not connect shield to connector hood
STP
(Shield)
NY-series Industrial PC
FG
terminal
Ethernet switches
GR
terminal
Connector
Connector
Connect shield to connector hood
Built-in
EtherNet/IP port
2-2 Network Installation
2
b)Connecting the shields on the Ethernet switch side only
Connect only the shield at the end of the cable on the Ethernet switch side to the connector
hood.A clamp core must be attached at the end of the cable on the EtherNet/IP port side.
For the recommended clamp core and attachment method, refer to Recommended ClampCore and Attachment Method. To comply with EMC standards, it is mandatory that a clamp
core be attached when connecting the shield only to the connector hood on the Ethernet
switch side.
Noise immunity may be reduced and device damage may occur due to ground loops, which can
occur due to improper shield connections and grounding methods. When using a baud rate of
100 Mbps or less, it may be possible to alleviate this problem by connecting only the Ethernet
switch side as described in b), rather than connecting both ends as described in a).
2-2-3 Precautions When Laying Twisted-pair Cable
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
• 1000Base-T
Connect the shields at the both ends of the cable to respective connector hoods. This connection is required with 1000Base-T to ensure compliance with EMC standards.
2-7
Page 58
2 Installing Ethernet Networks
Attach close to the cable
connection as shown.
Built-in
EtherNet/IP
port on
NY-series
Controller
Between two Ethernet switches
Regardless of which baud rate is used, check with the Ethernet switch manufacturers for information
about installing the network between Ethernet switches, and in particular whether or not it is necessary to connect the cable shields to the connector hoods.
Other Precautions When Laying the Twisted-pair Cable
• Press the cable connector in firmly until it locks into place at both the Ethernet switch and the built-in
EtherNet/IP port.
• Do not lay the twisted-pair cable together with high-voltage lines.
• Do not lay the twisted-pair cable near devices that generate noise.
• Do not lay the twisted-pair cable in locations subject to high temperatures or high humidity.
• Do not lay the twisted-pair cable in locations subject to excessive dirt and dust or to oil mist or other
contaminants.
Recommended Clamp Core and Attachment Method
If you connect a shielded cable with only the Ethernet switch side connected to the connector hood, you
must attach a clamp core on the built-in EtherNet/IP port side. The recommended clamp core and
attachment method are given below.
Recommended clamp core
ManufacturerProductModel
NEC TOKINClamp coreESD-SR-250
ESD-SR-250 dimensions
31.6
13 dia. max.
31.538.0
Recommended attachment method
(1) Attaching a clamp core to a communications cable
Make two loops with the cable
as shown.
2-8
(2) Attaching a communications cable
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 59
2 Installing Ethernet Networks
Precautions for Correct UsePrecautions for Correct Use
Cross cable
Straight cable
Ethernet
switch
Ethernet switch
MDI port
MDI-X port (cross)
Ethernet
switch
Ethernet
switch
2-2-4Precautions When Installing and Connecting Ethernet Switches
Precautions When Installing Ethernet Switches
• Do not ground the Ethernet switch in the same location as a drive-system component, such as an
inverter.
• Always use a dedicated power supply for the Ethernet switch’s power supply. Do not use the same
power supply for other equipment, such as an I/O power supply, motor power supply, or control
power supply.
• Before installation, check the Ethernet switch’s environmental resistance specifications, and use an
Ethernet switch that is appropriate for the ambient conditions. Contact the Ethernet switch manufacturer for details on Ethernet switch’s environmental resistance specifications.
Ethernet Switch Connection Methods
• To connect Ethernet switches with twisted-pair cables, observe the followings:
Connect an MDI port to an MDI-X port with a straight cable.
Connect two MDI ports or two MDI-X ports with a cross cable.
2-2 Network Installation
2
2-2-4 Precautions When Installing and Connecting Ethernet Switches
Note It is very difficult to distinguish cross cables and straight cables by appearance. Incorrect cables will cause
communications to fail. We recommend cascade connections with straight cables whenever possible.
• Some Ethernet switches can automatically distinguish between MDI and MDI-X. When this kind of
Ethernet switch is used, straight cable can be used between Ethernet switches.
Adjust the built-in EtherNet/IP port’s link settings to match the communications settings of the
connected Ethernet switch. If the settings do not match, the link will be unstable and prevent normal communications. The following table shows the allowed settings for each Ethernet switch
communications mode. (Auto-Nego: Auto negotiation, Full: Full duplex, Half: Half duplex)
Built-in EtherNet/IP port
1,000
Ethernet switch
Auto-NegoBest---OK---OK---
10 Mbps (fixed)Full---OK------------
HalfOK---OK---------
100 Mbps (fixed)Full---------OK------
HalfOK---------OK---
1,000 Mbps (fixed) Full---------------Best
Auto-
Nego
10 Mbps (fixed)100 Mbps (fixed)
FullHalfFullHalfFull
Mbps
(fixed)
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Best = Recommended; OK = Allowed; --- = Not allowed.
2-9
Page 60
2 Installing Ethernet Networks
2-3Connecting to the Network
2-3-1Ethernet Connectors
The following standards and specifications apply to the connectors for the Ethernet twisted-pair cable.
• Electrical specifications: Conforming to IEEE 802.3 standards.
• Connector structure: RJ45 8-pin Modular Connector (conforming to ISO 8877)
• For information on connecting shield wire to connector hoods, refer to 2-1-2 Ethernet Switch Types.
10Base-T and 100Base-TX
Connector pinSignal nameAbbr.
1Transmission data +TD+Output
2Transmission data –TD−Output
3Reception data +RD+Input
4Not used.------
5Not used.-----6Reception data –RD−Input
7Not used.------
8Not used.------
1000Base-T
Connector pinSignal nameAbbr.
1Communication data DA+BI_DA+Input/output
2Communication data DA−BI_DA−Input/output
3Communication data DB+BI_DB+Input/output
4Communication data DC+BI_DC+Input/output
5Communication data DC−BI_DC−Input/output
6Communication data DB−BI_DB−Input/output
7Communication data DD+BI_DD+Input/output
8Communication data DD−BI_DD−Input/output
Signal direc-
tion
Signal direc-
tion
2-10
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 61
Precautions for Correct UsePrecautions for Correct Use
2-3-2Connecting the Cable
• Turn OFF the Controller's power supply before connecting or disconnecting Ethernet commu-
nications cable.
• Allow extra space for the bending radius of the communications cable. For the CPU Unit
dimensions when the communications cable is connected to the Unit, refer to the NY-series
Industrial Box PC Hardware User’s Manual (Cat. No. W556) or NY-series Industrial Panel PC
Hardware User’s Manual (Cat. No. W557). The required space depends on the communica-
tions cable and connector that are used. Consult the manufacturer or sales agent.
2 Installing Ethernet Networks
2-3 Connecting to the Network
2
1 Lay the twisted-pair cable.
2 Connect the cable to the Ethernet switch.
3 Connect the twisted-pair cable to the connector on the built-in EtherNet/IP port. Be sure to press the
connectors (both the Ethernet switch side and Ethernet side) until they lock into place.
2-3-2 Connecting the Cable
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
2-11
Page 62
2 Installing Ethernet Networks
2-12
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 63
System-defined Variables Related
to the Built-in EtherNet/IP Port
3-1 System-defined Variables Related to the Built-in EtherNet/IP Port . . . . . . 3-2
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
3-1
Page 64
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Error status variable for
TCP application function
Error status variable for
CIP communications
Error status variable for
communications port
Error status variable for EtherNet/IP Function Module
TCP Application Setting Error
NTP Server Connection Error
Identity Error
Tag Data Link Setting Error
Tag Data Link Connection Failed
Tag Data Link Communications Error
Multiple Switches ON Error
Tag Name Resolution Error
MAC Address Error
Communications Controller Error
IP Address Duplication Error
Basic Ethernet Setting Error
IP Address Setting Error
IP Route Table Error
BOOTP Server Error
DNS Server Connection Error
DNS Setting Error
You can use the system-defined variables that are provided for the built-in EtherNet/IP port in programs
to check the status of the built-in EtherNet/IP port.
Checking for Errors in the Built-in EtherNet/IP Port
You can check for built-in EtherNet/IP port errors, internal port errors, Sysmac Studio setting errors,
Network Configurator setting errors, TCP application errors (e.g., FTP or SNMP), etc. The following
hierarchy is used. The system gives the error status at each level by logically ORing the error status
information in the next lower level.
3-2
*1 Error status variables for errors related to NY-series Controllers are provided individually for communications
port 1 and internal port 1. Refer to Hierarchical Relationship of System-defined Variables Related to Ether-Net/IP Errors in the NY-series Controller.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 65
3 System-defined Variables Related to the Built-in EtherNet/IP Port
3-2System-defined Variables
The variables are described in the tables as shown below.
Variable nameMeaningFunctionData type
This is the systemdefined variable
name. The prefix
gives the category
name.
This is the meaning of the variable.
The function of the variable is described.The data
_EIP1_IPAdrCfgErr (Port1 IP Address Setting Error)
•
_EIP1_IPAdrDupErr (Port1 IP Address
Duplication Error)
•
_EIP1_BootpErr (Port1 BOOTP Server
Error)
•
_EIP_DNSCfgErr (DNS Setting Error)
•
_EIP_DNSSrvErr (DNS Server Connection Error)
•
_EIP_IPRTblErr (IP Route Table Error)
Note If a Link OFF Detected or Built-in
EtherNet/IP Processing Error
occurs, it is recorded in the event
log and then the corresponding bit
turns ON. Refer to information on
the meanings of the error status bits
at the end of this appendix for
details.
WORD16#0000 to
WORD16#0000 to
Range of
values
The range of
values that the
variable can
take is given.
Range of
values
16#00F0
16#00F0
Reference
The page of
the individual
systemdefined variable specifications table
is given.
Reference
page 3-13
page 3-14
3-2 System-defined Variables
3
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
3-3
Page 66
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable nameMeaningFunctionData type
_EIP1_PortErrCommunications
Port1 Error
_EIPIn1_PortErrInternal Port1 ErrorThis is the error status variable for the
This is the error status variable for the
communications port.
It represents the collective status of the
following error flags.
_EIP1_IPAdrCfgErr (Port1 IP Address Setting Error)
•
_EIP1_IPAdrDupErr (Port1 IP Address
Duplication Error)
•
_EIP1_BootpErr (Port1 BOOTP Server
Error)
•
_EIP_DNSCfgErr (DNS Setting Error)
•
_EIP_DNSSrvErr (DNS Server Connection
Error)
•
_EIP_IPRTblErr (IP Route Table Error)
Note If a Link OFF Detected or Built-in
EtherNet/IP Processing Error
occurs, it is recorded in the event
log and then the corresponding bit
turns ON.
Refer to information on the meanings of the error status bits at the
end of this appendix for details.
internal port 1.
It represents the collective status of the
following error flags.
• _EIPIn1_IPAdrCfgErr (Internal Port1 IP
Address Setting Error)
• _EIP1_IPAdrDupErr (Internal Port1 IP
Address Duplication Error)
• _EIP_DNSCfgErr (DNS Setting Error)
• _EIP_DNSSrvErr (DNS Server Connec-
tion Error)
• _EIP_IPRTblErr (IP Route Table Error)
WORD16#0000 to
WORD16#0000 to
Range of
values
16#00F0
16#00F0
Reference
page 3-14
page 3-15
_EIP_CipErrCIP Communications
Error
3-4
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Note If a Link OFF Detected or Built-in
EtherNet/IP Processing Error
occurs, it is recorded in the event
log and then the corresponding bit
turns ON.
Refer to information on the meanings of the error status bits at the
end of this appendix for details.
This is the error status variable for CIP
communications.
Note If a Tag Name Resolution Error
occurs, it is recorded in the event
log and this variable changes to
TRUE. Refer to information on the
meanings of the error status bits at
the end of this appendix for details.
WORD16#0000 to
16#00F0
page 3-15
Page 67
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable nameMeaningFunctionData type
_EIP_TcpAppErrTCP Application
Communications
Error
_EIP_MacAdrErrMAC Address ErrorNY-series Controller: Indicates that an
_EIP1_MacAdrErrPort1 MAC Address
Error
_EIP_LanHwErr
_EIP1_LanHwErr
_EIP_EtnCfgErr
_EIP1_EtnCfgErr
_EIP_IPAdrCfgErr
Communications Controller Error
Port1 Communications Controller Error
Basic Ethernet Setting
Error
Port1 Basic Ethernet
Setting Error
IP Address Setting
Error
This is the error status variable for TCP application communications.
It represents the collective status of the
following error flags.
ings of the error status bits at the
end of this appendix for details.
error occurred when the MAC address
was read on the communications port 1 at
startup.
TRUE: Error
FALSE : Norm al
Indicates that an error occurred when the
MAC address was read on the communications port 1 at startup.
TRUE: Error
FALSE : Norm al
NY-series Controller: Indicates that a com-
munications controller failure occurred on
the communications port 1.
TRUE: Failure
FALSE : Norm al
Indicates that a communications controller
failure occurred on the communications
port 1.
TRUE: Failure
FALSE : Norm al
NY-series Controller: Indicates that the
Ethernet communications speed setting
(Speed/Duplex) for the communications
port 1 is incorrect. Or, a read operation
failed.
TRUE: Setting incorrect or read failed
FALSE : Norm al
Indicates that the Ethernet communica-
tions speed setting (Speed/Duplex) for the
communications port 1 is incorrect. Or, a
read operation failed.
TRUE: Setting incorrect or read failed
FALSE : Norm al
NY-series Controller: Indicates the IP
address setting errors for the communications port 1.
TRUE:
• There is an illegal IP address
setting.
• A read operation failed.
• The IP address obtained from
the BOOTP server is inconsistent.
FALSE : Norm al
WORD16#0000 to
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
Range of
values
16#00F0
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
Reference
page 3-15
page 3-15
page 3-16
page 3-16
page 3-16
page 3-16
page 3-16
page 3-17
3-2 System-defined Variables
3
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
3-5
Page 68
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable nameMeaningFunctionData type
_EIP1_IPAdrCfgErr
_EIPIn1_IPAdrCfgErr
_EIP_IPAdrDupErrIP Address Duplica-
_EIP1_IPAdrDupErrPort1 IP Address
_EIPIn1_IPAdrDupErr Internal Port1 IP
_EIP_DNSCfgErrDNS Setting ErrorIndicates that the DNS or hosts settings
_EIP_BootpErrBOOTP Server ErrorNY-series Controller: Indicates that a
_EIP1_BootpErrPort1 BOOTP Server
Port1 IP Address Setting Error
Internal Port1 IP
Address Setting Error
tion Error
Duplication Error
Address Duplication
Error
Error
Indicates the IP address setting errors for
the communications port 1.
TRUE:
• There is an illegal IP address
setting.
• A read operation failed.
• The IP address obtained from
the BOOTP server is inconsistent.
FALSE: Normal
Indicates the IP address setting errors for
the internal port 1.
TRUE:
• There is an illegal IP address
setting.
• A read operation failed.
• The IP address obtained from
the BOOTP server is inconsistent.
FALSE: Normal
NY-series Controller: Indicates that the
same IP address is assigned to more than
one node for the communications port 1.
TRUE: Duplication occurred.
FALSE: Other than the above.
Indicates that the same IP address is
assigned to more than one node for the
communications port 1.
TRUE: Duplication occurred.
FALSE: Other than the above.
Indicates that the same IP address is
assigned to more than one node for the
internal port 1.
TRUE: Duplication occurred.
FALSE: Other than the above.
are incorrect. Or, a read operation failed.
TRUE: Setting incorrect or read failed
FALSE: Normal
BOOTP server connection failure
occurred on the communications port 1.
TRUE: There was a failure to connect to
the BOOTP server (timeout).
FALSE: The BOOTP is not enabled, or
BOOTP is enabled and an IP
address was normally obtained
from the BOOTP server.
Indicates that a BOOTP server connection
failure occurred on the communications
port 1.
TRUE: There was a failure to connect to
the BOOTP server (timeout).
FALSE: The BOOTP is not enabled, or
BOOTP is enabled and an IP
address was normally obtained
from the BOOTP server.
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
Range of
values
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
Reference
page 3-17
page 3-17
page 3-17
page 3-18
page 3-18
page 3-18
page 3-18
page 3-18
3-6
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 69
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable nameMeaningFunctionData type
_EIP_IPRTblErr
_EIP_IdentityErrIdentity ErrorNY-series Controller: Indicates that the
_EIP_TDLinkCfgErrTag Data Link Setting
_EIP_TDLinkOpnErrTag Data Link Con-
_EIP_TDLinkErrTag Data Link Com-
_EIP_TagAdrErrTag Name Resolution
_EIP_MultiSwONErrMultiple Switches ON
IP Route Table Error
Error
nection Failed
munications Error
Error
Error
NY-series Controller: Indicates that the
default gateway settings or IP router table
settings are incorrect.
Or, a read operation failed.
TRUE: Setting incorrect or read failed
FALSE : Norm al
identity information for CIP communications 1 (which you cannot overwrite) is
incorrect. Or, a read operation failed.
TRUE: Setting incorrect or read failed
FALSE : Norm al
NY-series Controller: Indicates that the tag
data link settings for CIP communications
1 are incorrect. Or, a read operation failed.
TRUE: Setting incorrect or read failed
FALSE : Norm al
NY-series Controller: Indicates that estab-
lishing a tag data link connection for CIP
communications 1 failed.
TRUE: Establishing a tag data link con-
nection failed due to one of the
following causes.
• The information registered for
a target node in the tag data
link parameters is different
from the actual node information.
• There was no response from
the remote node.
FALSE: Other than the above.
NY-series Controller: Indicates that a time-
out occurred in a tag data link connection
for CIP communications 1.
TRUE: A timeout occurred.
FALSE: Other than the above.
NY-series Controller: Indicates that tag
resolution for CIP communications 1 failed
(i.e., the address could not be identified
from the tag name).
TRUE: Tag resolution failed (i.e., the
address could not be identified
from the tag name). The following causes are possible.
• The size of the network vari-
able is different from the tag
settings.
• The I/O direction that is set in
the tag data link settings does
not agree with the I/O direction of the variable in the Controller.
• There is no network variable
in the Controller that corresponds to the tag setting.
FALSE: Other than the above.
NY-series Controller: Indicates that more
than one switch turned ON at the same
time in CIP communications 1.
TRUE: More than one data link start/stop
switch changed to TRUE at the
same time.
FALSE: Other than the above.
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
Range of
values
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
Reference
page 3-18
page 3-19
page 3-19
page 3-19
page 3-19
page 3-20
page 3-20
3-2 System-defined Variables
3
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
3-7
Page 70
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Additional Information
Variable nameMeaningFunctionData type
_EIP_TcpAppCfgErr
_EIP_NTPSrvErrNTP Server Connec-
_EIP_DNSSrvErrDNS Server Connec-
TCP Application
Setting Error
tion Error
tion Error
TRUE: At least one of the set values for a
TCP application (FTP, NTP,
SNMP) is incorrect. Or, a read
operation failed.
FALSE: Normal
Always FALSE for an NY-series Control-
ler.
TRUE: The DNS client failed to connect to
the server (timeout).
FALSE: DNS is not enabled. Or, DNS is
enabled and the connection was
successful.
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
Hierarchical Relationship of System-defined Variables Related to EtherNet/IP Errors in the
NY-series Controller
The system-defined variables that are related to EtherNet/IP errors have the following hierarchical relationship. For example, if the value of any of the _EIP1_PortErr, _EIPIn1_PortErr, and_EIP_TcpAppErr variables in the second level is TRUE, then the _EIP_ErrSta variable in the first
level also changes to TRUE. Therefore, you can check the values of system-defined variables in
a higher level to see if an error has occurred for a variable in a lower level.
Range of
values
FALSE
FALSE
FALSE
Reference
page 3-20
page 3-20
page 3-20
Level 1Level 2Level 3
VariableNameVariableNameVa riableName
_EIP_ErrStaBuilt-in
EtherNet/IP
Error
_EIP1_Po
rtErr
Communications
Port1
Error
_EIP1_MacAdrErrPort1 MAC Address Error
_EIP1_LanHwErrPort1 Communications Controller
Error
_EIP1_EtnCfgErrPort1 Basic Ethernet Setting Error
_EIP1_IPAdrCfgErrPort1 IP Address Setting Error
_EIP1_IPAdrDupErrPort1 IP Address Duplication Error
_EIP1_BootpErrPort1 BOOTP Server Error
_EIP_DNSCfgErrDNS Setting Error
_EIP_DNSSrvErrDNS Server Connection Error
_EIP_IPRTblErrIP Route Table Error
_EIPIn1_
PortErr
Internal
Port1
Error
_EIPIn1_IPAdrCfgErrInternal Port1 IP Address Setting
Error
_EIPIn1_IPAdrDupErrInternal Port1 IP Address Duplication
_EIP_TcpAppCfgErr(TCP Application Setting Error)
_EIP_NTPSrvErrNTP Server Connection Error
tion Communicatio
ns Error
3-8
Note You can access the same values of the system-defined variables whose variable names with _EIP1
and the system-defined variables whose variable names with _EIP. For example, you can access the
same values of _EIP1_PortErr (Communications Port1 Error) and _EIP_PortErr (Communcations
Port Error).
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 71
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Precautions for Correct UsePrecautions for Correct Use
WORD
15Bit:1413 1211109876543210
Meanings of Error Status Bits
BitMeaning
15Reserved)
14Collective slave error status: This bit indicates if a Controller error was detected for levels (e.g., a Unit, slave,
axis, or axes group) that are lower than the event source (i.e., for a function module).
TRUE: A Controller error has occurred at a lower level.
FALSE: A Controller error has not occurred at a lower level.
(Valid for _MC_ErrSta, and _EC_ErrSta.)
8 to 13Reserved.
7This bit indicates whether a major fault level Controller error has occurred.
TRUE: A major fault level Controller error has occurred.
FALSE: A major fault level Controller error has not occurred.
6This bit indicates whether a partial fault level Controller error has occurred.
TRUE: A partial fault level Controller error has occurred.
FALSE: A partial fault level Controller error has not occurred.
5This bit indicates whether a minor fault level Controller error has occurred.
TRUE: A minor fault level Controller error has occurred.
FALSE: A minor fault level Controller error has not occurred.
4This bit indicates whether an observation level Controller error has occurred.
TRUE: An observation level Controller error has occurred.
FALSE: An observation level Controller error has not occurred.
0 to 3Reserved.
Note Bits 14 and 15 are never TRUE for the built-in EtherNet/IP port.
3-2 System-defined Variables
3
Do not use _ErrSta (Controller Error Status) in the user program. There may be a delay in updating them and concurrency problems may occur with function module error status. Use this variable only to access status through communications from an external device.
Functional Classification: EtherNet/IP Communications Status
You can check the status of the built-in EtherNet/IP port (e.g., communications status).
Variable nameMeaningFunctionData type
_EIP_EtnOnlineStaOnlineNY-series Controller: Indicates that the
built-in EtherNet/IP port’s communications
can be used via the communications port
1 (that is, the link is ON, IP address is
defined, and there are no errors).
TRUE: The built-in EtherNet/IP port’s
communications can be used.
FALSE: The built-in EtherNet/IP port’s
communications is disabled due
to an error in initial processing,
restart processing, or link OFF
status.
BOOLTRUE or
Range of
values
FALSE
Reference
page 3-21
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
3-9
Page 72
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable nameMeaningFunctionData type
_EIP1_EtnOnlineStaPort1 OnlineIndicates that the built-in EtherNet/IP
port’s communications can be used via
the communications port 1 (that is, the link
is ON, IP address is defined, and there
are no errors).
TRUE: The built-in EtherNet/IP port’s
communications can be used.
_EIPIn1_EtnOnlineSta
_EIP_TDLinkRunSta
_EIP_TDLinkAllRunSta
_EIP_RegTargetSta
[255]
_EIP_EstbTargetSta
[255]
FALSE: The built-in EtherNet/IP port’s
Internal Port1 OnlineIndicates that the built-in EtherNet/IP
port’s communications can be used via
the internal port 1 (that is, the link is ON,
IP address is defined, and there are no
errors.)
TRUE: The built-in EtherNet/IP port’s
FALSE: The built-in EtherNet/IP port’s
Tag Data Link Communications Status
All Tag Data Link
Communications Status
Registered Target
Node Information
Normal Target Node
Information
NY-series Controller: Indicates that at
least one connection is in normal operation in CIP communications 1.
TRUE: Normal operation
FALSE: Other than the above.
NY-series Controller: Indicates that all tag
data links are communicating in CIP communications 1.
TRUE: Tag data links are communicating
FALSE: An error occurred in at least one
NY-series Controller: Gives a list of nodes
for which built-in EtherNet/IP connections
are registered for CIP communications 1.
This variable is valid only when the built-in
EtherNet/IP port is the originator.
Array[x] is TRUE:
Array[x] is FALSE:
NY-series Controller: Gives a list of nodes
that have normally established EtherNet/IP connections for CIP communications 1.
Array[x] is TRUE:
Array[x] is FALSE:
communications is disabled due
to an error in initial processing,
restart processing, or link OFF
status.
communications can be used.
communications is disabled due
to an error in initial processing,
restart processing, or link OFF
status.
in all connections as the originator.
connection.
The connection to the node with a target node ID of x is registered.
The connection to the node with a target node ID of x is not registered.
The connection to the node with a target
node ID of x was established normally.
The connection to the node with a target node ID of x was not established, or
an error occurred.
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
ARRAY
[0..255] OF
BOOL
ARRAY
[0..255] OF
BOOL
Range of
values
FALSE
FALSE
FALSE
FALSE
TRUE or
FALSE
TRUE or
FALSE
Reference
page 3-21
page 3-21
page 3-21
page 3-21
page 3-22
page 3-22
3-10
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 73
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable nameMeaningFunctionData type
_EIP_TargetPLCModeSta [255]
_EIP_TargetPLCErr
[255]
_EIP_TargetNodeErr
[255]
_EIP_NTPResultNTP Operation Infor-
Target PLC Operating Mode
Target PLC Error
Information
Target Node Error
Information
mation
NY-series Controller: Shows the operating
status of the target node Controllers that
are connected for CIP communications 1,
with the built-in EtherNet/IP port as the
originator.
The array elements are valid only when
the corresponding Normal Target Node
Information is TRUE. If the corresponding
Normal Target Node Information is
FALSE, the Target Node Controller Operating Information indicates the previous
operating status.
Array[x] is TRUE:
This is the operating state of the target
Controller with a node address of x.
Array[x] is FALSE:
Other than the above.
NY-series Controller: Shows the error status (logical OR of fatal and non-fatal
errors) of the target node Controllers that
are connected for CIP communications 1,
with the built-in EtherNet/IP ports as the
originator. The array elements are valid
only when the corresponding Normal Target Node Information is TRUE. The immediately preceding value is retained if this
variable is FALSE.
Array[x] is TRUE:
A fatal or non-fatal error occurred in the
target Controller with a target node ID
of x.
Array[x] is FALSE:
Other than the above.
NY-series Controller: Indicates that the
connection for the Registered Target
Node Information for CIP communications
1 was not established or that an error
occurred in the target Controller.
The array elements are valid only when
the Registered Target Node Information is
TRUE.
Array[x] is TRUE:
A connection was not normally established with the target node for a target
node ID of x
(the Registered Target Node Information is TRUE and the Normal Target
Node Information is FALSE),
or a connection was established with
the target node but an error occurred in
the target Controller.
Array[x] is FALSE:
The target node is not registered for a
target node ID of x (the Registered Target Node Information is FALSE), or a
connection was normally established
with the target node (the Registered
Target Node Information is TRUE and
the Normal Target Node Information is
TRUE).
An error occurred in the target Controller (the Target PLC Error Information is
TRUE).
---_sNTP_
ARRAY
[0..255] OF
BOOL
ARRAY
[0..255] OF
BOOL
ARRAY
[0..255] OF
BOOL
RESULT
Range of
values
TRUE or
FALSE
TRUE or
FALSE
TRUE or
FALSE
Reference
page 3-22
3-2 System-defined Variables
3
page 3-22
page 3-23
page 3-23
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
3-11
Page 74
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Additional Information
Variable nameMeaningFunctionData type
.ExecTimeNTP Last Operation
Time
.ExecNormalNTP Operation Result NY-series Controller: No change from the
NY-series Controller: No change from the
initial value.
initial value.
DATE_AND_
TIME
BOOLTRUE or
Communications Status with Target Node
The communications status with the target node of an NY-series Controller is shown by the combination of the values of four system-defined variables.
You can access this variable from the user program with the following
instruction.
• GetEIPError
Variable name_EIP1_PortErr
MeaningCommunications Port1 ErrorGlobal/localGlobal
FunctionThis is the error status variable for the communications port 1.
It represents the collective status of the following error flags.
• _EIP1_IPAdrCfgErr (Port1 IP Address Setting Error)
• _EIP1_IPAdrDupErr (Port1 IP Address Duplication Error)
• _EIP1_BootpErr (Port1 BOOTP Server Error)
• _EIP_DNSCfgErr (DNS Setting Error)
• _EIP_DNSSrvErr (DNS Server Connection Error)
• _EIP_IPRTblErr (IP Route Table Error)
Note If a Link OFF Detected or Built-in EtherNet/IP Processing Error occurs, it is recorded in the event log and
then corresponding bit turns ON. Refer to Meanings of Error Status Bits for the meanings of the error status
bits.
Data typeWORDRange of values 16#0000 to 16#00F0
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user program Possible.Related instruc-
tions
You can access this variable from the user program with the following
instruction.
• GetEIPError
3-14
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 77
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIPIn1_PortErr
MeaningInternal Port1 ErrorGlobal/localGlobal
FunctionThis is the error status variable for the internal port 1.
It represents the collective status of the following error flags.
• _EIPIn1_IPAdrCfgErr (Internal Port1 IP Address Setting Error)
• _EIP1_IPAdrDupErr (Internal Port1 IP Address Duplication Error)
• _EIP_DNSCfgErr (DNS Setting Error)
• _EIP_DNSSrvErr (DNS Server Connection Error)
• _EIP_IPRTblErr (IP Route Table Error)
3-3 Specifications for Individual System-defined
Note If a Link OFF Detected or Built-in EtherNet/IP Processing Error occurs, it is recorded in the event log and
then corresponding bit turns ON. Refer to
bits.
Data typeWORDRange of values16#0000 to 16#00F0
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_CipErr
MeaningCIP Communications ErrorGlobal/localGlobal
FunctionThis is the error status variable for CIP communications.
Variable name_EIPIn1_IPAdrCfgErr
MeaningInternal Port1 IP Address Setting ErrorGlobal/localGlobal
FunctionIndicates the IP address setting errors for the internal port 1.
TRUE: • There is an illegal IP address setting.
• A read operation failed.
• The IP address obtained from the BOOTP server is inconsistent.
FALSE: Normal
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
Variable name_EIPIn1_IPAdrDupErr
MeaningInternal Port1 IP Address Duplication ErrorGlobal/localGlobal
FunctionIndicates that the same IP address is assigned to more than one node for the internal port 1.
TRUE: Duplication occurred.
FALSE: Other than the above.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
instructions
instructions
---
---
Variable name_EIP_DNSCfgErr
MeaningDNS Setting ErrorGlobal/localGlobal
FunctionIndicates that the DNS or hosts settings are incorrect. Or, a read operation failed.
TRUE: Setting incorrect or read failed
FALSE: Normal
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_BootpErr
MeaningBOOTP Server ErrorGlobal/localGlobal
FunctionNY-series Controller: Indicates that a BOOTP server connection failure occurred on the communications port 1.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP1_BootpErr
MeaningPort1 BOOTP Server ErrorGlobal/localGlobal
FunctionIndicates that a BOOTP server connection failure occurred on the communications port 1.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
instructions
TRUE: There was a failure to connect to the BOOTP server (timeout).
FALSE: The BOOTP is not enabled, or BOOTP is enabled and an IP address was normally obtained from the
BOOTP server.
Possible.Related
instructions
TRUE: There was a failure to connect to the BOOTP server (timeout).
FALSE: The BOOTP is not enabled, or BOOTP is enabled and an IP address was normally obtained from the
BOOTP server.
Possible.Related
instructions
---
---
---
Variable name_EIP_IPRTblErr
MeaningIP Route Table ErrorGlobal/localGlobal
FunctionNY-series Controller: Indicates that the default gateway settings or IP router table settings are incorrect. Or, a read
3-18
operation failed.
TRUE: Setting incorrect or read failed
FALSE: Normal
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 81
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_IdentityErr
MeaningIdentity ErrorGlobal/localGlobal
FunctionNY-series Controller: Indicates that the identity information for CIP communications 1 (which you cannot overwrite)
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_TDLinkCfgErr
MeaningTag Data Link Setting ErrorGlobal/localGlobal
FunctionNY-series Controller: Indicates that the tag data link settings for CIP communications 1 are incorrect. Or, a read
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
instructions
is incorrect. Or, a read operation failed.
TRUE: Setting incorrect or read failed
FALSE: Normal
Possible.Related
instructions
operation failed.
TRUE: Setting incorrect or read failed
FALSE: Normal
Possible.Related
instructions
---
---
---
3-3 Specifications for Individual System-defined
Variables
3
Variable name_EIP_TDLinkOpnErr
MeaningTag Data Link Connection FailedGlobal/localGlobal
FunctionNY-series Controller: Indicates that establishing a tag data link connection for CIP communications 1 failed.
TRUE: Establishing a tag data link connection failed due to one of the following causes.
•The information registered for a target node in the tag data link parameters is different from the actual
node information.
•There was no response from the remote node.
FALSE: Other than the above.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_TDLinkErr
MeaningTag Data Link Communications ErrorGlobal/localGlobal
FunctionNY-series Controller: Indicates that a timeout occurred in a tag data link connection for CIP communications 1.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
instructions
TRUE: A timeout occurred.
FALSE: Other than the above.
Possible.Related
instructions
---
---
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
3-19
Page 82
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_TagAdrErr
MeaningTag Name Resolution ErrorGlobal/localGlobal
FunctionNY-series Controller: Indicates that tag resolution for CIP communications 1 failed (i.e., the address could not be identi-
fied from the tag name).
TRUE: Tag resolution failed (i.e., the address could not be identified from the tag name). The following causes are
possible.
•The size of the network variable is different from the tag settings.
•The I/O direction that is set in the tag data link settings does not agree with the I/O direction of the vari-
able in the Controller.
•There is no network variable in the Controller that corresponds to the tag setting.
FALSE: Other than the above.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_MultiSwONErr
MeaningMultiple Switches ON ErrorGlobal/localGlobal
FunctionNY-series Controller: Indicates that more than one switch turned ON at the same time in CIP communications 1.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
instructions
TRUE: More than one data link start/stop switch changed to TRUE at the same time.
FALSE: Other than the above.
Possible.Related
instructions
---
---
1
Variable name_EIP_TcpAppCfgErr
MeaningTCP Application Setting ErrorGlobal/localGlobal
FunctionTRUE: At least one of the set values for a TCP application (FTP, NTP, SNMP) is incorrect. Or, a read operation
failed.
FALSE: Normal.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_NTPSrvErr
MeaningNTP Server Connection ErrorGlobal/localGlobal
FunctionAlways FALSE for an NY-series Controller.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_DNSSrvErr
MeaningDNS Server Connection ErrorGlobal/localGlobal
FunctionTRUE: The DNS client failed to connect to the server (timeout).
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
instructions
Possible.Related
instructions
FALSE: DNS is not enabled. Or, DNS is enabled and the connection was successful.
Possible.Related
instructions
---
---
---
3-20
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 83
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Functional Classification: EtherNet/IP Communications Status
Variable name_EIP_EtnOnlineSta
MeaningOnlineGlobal/localGlobal
FunctionNY-series Controller: Indicates that the built-in EtherNet/IP port’s communications can be used via the communications
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP1_EtnOnlineSta
MeaningPort1 OnlineGlobal/localGlobal
FunctionIndicates that the built-in EtherNet/IP port’s communications can be used via the communications port 1 (that is, the link
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
port 1 (that is, the link is ON, IP address is defined, and there are no errors).
TRUE: The built-in EtherNet/IP port’s communications can be used.
FALSE: The built-in EtherNet/IP port’s communications is disabled due to an error in initial processing, restart processing, or link OFF status.
Possible.Related
instructions
is ON, IP address is defined, and there are no errors).
TRUE: The built-in EtherNet/IP port’s communications can be used.
FALSE: The built-in EtherNet/IP port’s communications is disabled due to an error in initial processing, restart processing, or link OFF status.
Possible.Related
instructions
---
---
3-3 Specifications for Individual System-defined
Variables
3
Variable name_EIPIn1_EtnOnlineSta
MeaningInternal Port1 OnlineGlobal/localGlobal
FunctionIndicates that the built-in EtherNet/IP port’s communications can be used via the internal port 1 (that is, the link is ON, IP
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_TDLinkRunSta
MeaningTag Data Link Communications StatusGlobal/localGlobal
FunctionNY-series Controller: Indicates that at least one connection is in normal operation in CIP communications 1.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_TDLinkAllRunSta
MeaningAll Tag Data Link Communications StatusGlobal/localGlobal
FunctionNY-series Controller: Indicates that all tag data links are communicating in CIP communications 1.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
address is defined, and there are no errors.)
TRUE: The built-in EtherNet/IP port’s communications can be used.
FALSE: The communications of the built-in EtherNet/IP port’s internal port 1 is disabled due to an error in initial
processing, restart processing, or link OFF status.
Possible.Related
instructions
TRUE: Normal operation
FALSE: Other than the above.
Possible.Related
instructions
TRUE: Tag data links are communicating in all connections as the originator.
FALSE: An error occurred in at least one connection.
Possible.Related
instructions
---
---
---
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
3-21
Page 84
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_RegTargetSta [255]
MeaningRegistered Target Node InformationGlobal/localGlobal
FunctionNY-series Controller: Gives a list of nodes for which built-in EtherNet/IP connections are registered for CIP commu-
nications 1.
This variable is valid only when the built-in EtherNet/IP port is the originator.
Array[x] is TRUE: The connection to the node with a target node ID of x is registered.
Array[x] is FALSE: The connection to the node with a target node ID of x is not registered.
Data typeARRAY [0..255] OF BOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_EstbTargetSta [255]
MeaningNormal Target Node InformationGlobal/localGlobal
FunctionNY-series Controller: Gives a list of nodes that have normally established EtherNet/IP connections for CIP commu-
Data typeARRAY [0..255] OF BOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
nications 1.
Array[x] is TRUE: The connection to the node with a target node ID of x was established normally.
is FALSE: The connection to the node with a target node ID of x was not established, or an error occurred.
Array[x]
Possible.Related
instructions
instructions
---
---
Variable name_EIP_TargetPLCModeSta [255]
MeaningTarget PLC Operating ModeGlobal/localGlobal
FunctionNY-series Controller: Shows the operating status of the target node Controllers that are connected for CIP commu-
nications 1, with the built-in EtherNet/IP port as the originator.
The array elements are valid only when the corresponding Normal Target Node Information is TRUE. If the corre-
sponding Normal Target Node Information is FALSE, the Target Node Controller Operating Information indicates
the previous operating status.
Array[x] is TRUE: This is the operating state of the target Controller with a node address of x.
Array[x] is FALSE: Other than the above.
Data typeARRAY [0..255] OF BOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_TargetPLCErr [255]
MeaningTarget PLC Error InformationGlobal/localGlobal
FunctionNY-series Controller: Shows the error status (logical OR of fatal and non-fatal errors) of the target node Controllers
Data typeARRAY [0..255] OF BOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
instructions
that are connected for CIP communications 1, with the built-in EtherNet/IP ports as the originator. The array ele-
ments are valid only when the corresponding Normal Target Node Information is TRUE. The immediately preced-
ing value is retained if this variable is FALSE.
Array[x] is TRUE: A fatal or non-fatal error occurred in the target Controller with a target node ID of x.
Array[x] is FALSE: Other than the above.
Possible.Related
instructions
---
---
3-22
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 85
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_TargetNodeErr [255]
MeaningTarget Node Error InformationGlobal/localGlobal
FunctionNY-series Controller: Indicates that the connection for the Registered Target Node Information for CIP communica-
tions 1 was not established or that an error occurred in the target Controller.
The array elements are valid only when the Registered Target Node Information is TRUE.
is TRUE: A connection was not normally established with the target node for a target node ID of x (the Regis-
Array[x]
tered Target Node Information is TRUE and the Normal Target Node Information is FALSE), or a connection was
established with the target node but an error occurred in the target Controller.
Array[x] is FALSE: The target node is not registered for a target node ID of x (the Registered Target Node Information is FALSE), or a connection was normally established with the target node (the Registered Target Node Information is TRUE and the Normal Target Node Information is TRUE). An error occurred in the target Controller (the
Target PLC Error Information is TRUE).
Data typeARRAY [0..255] OF BOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
instructions
---
3-3 Specifications for Individual System-defined
Variables
Variable name_EIP_NTPResultMember name.ExecTime
MeaningNTP Last Operation TimeGlobal/localGlobal
FunctionNY-series Controller: No change from the initial value.
Data typeStructure: _sNTP_RESULT
Members: DATE_AND_TIME
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Variable name_EIP_NTPResultMember name.ExecNormal
MeaningNTP Operation ResultGlobal/localGlobal
FunctionNY-series Controller: No change from the initial value.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessRRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Not possible.Related
instructions
Not possible.Related
instructions
You can read the contents of this variable with the GetNTPStatus instruction.
You can read the contents of this variable with the GetNTPStatus instruction.
Variable name_EIP_TDLinkStartCmd
MeaningTag Data Link Communications Start SwitchGlobal/localGlobal
FunctionNY-series Controller: Change this variable to TRUE to start tag data links for CIP communications 1.
It automatically changes back to FALSE after tag data link operation starts.
Note Do not force this switch to change to FALSE from the user program or from the Sysmac Studio. It changes to
FALSE automatically.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessR/WRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
Possible.Related
instructions
---
3
Variable name_EIP_TDLinkStopCmd
MeaningTag Data Link Communications Stop SwitchGlobal/localGlobal
FunctionNY-series Controller: Change this variable to TRUE to stop tag data links for CIP communications 1.
It automatically changes back to FALSE after tag data link operation stops.
Note Do not force this switch to change to FALSE from the user program or from the Sysmac Studio. It changes to
FALSE automatically.
Data typeBOOLRange of valuesTRUE or FALSE
R/W accessR/WRetainedNot retained.Network PublishPublished.
Usage in user pro-
gram
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Possible.Related
instructions
---
3-23
Page 86
3 System-defined Variables Related to the Built-in EtherNet/IP Port
3-24
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
4-3-2Using a Private Address for the Built-in EtherNet/IP Port . . . . . . . . . . . . . . . 4-12
4-3-3Using a Global Address for the Built-in EtherNet/IP Port . . . . . . . . . . . . . . . . 4-13
4
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
4-1
Page 88
4 Determining IP Addresses
(Cannot be used.)
(Cannot be used.)
Experimental address
Multicast address
Host ID (8 bits)
Network ID (21 bits)
Host ID (16 bits)
Network ID (14 bits)
Host ID (24 bits)Network ID (7 bits)
Class E
Bit 31
Class D
Bit 31
Class C
Bit 31
Class B
Bit 31
Class A
Bit 31
0
230
1
150
1
70
0
10
1
0
11
1
0
1101
4-1IP Addresses
4-1-1IP Address Configuration
IP addresses are made up of 32 bits of binary data that specify the network number (net ID) and host
number (host ID). The network number identifies the network, and the host number identifies the node
(or host) on the network. IP addresses are divided into three classes, A, B, and C, so that the address
system can be selected according to the scale of the network. (Classes D and E are not used.)
The number of networks in each class and the number of hosts possible on the network differ according
to the class.
ClassNumber of networksNumber of hosts
Class ASmall
Class BMedium
Class CLarge
24
−2 max. (16,777,214 max.)
2
16
−2 max. (65,534 max.)
2
8
−2 max. (254 max.)
2
The 32 bits of binary data in an IP address are divided into four sections of eight bits each. IP
addresses are represented by the decimal equivalent of each of the four octets in the 32-bit address,
each separated by a period.
For example, the binary address 10000010 00111010 00010001 00100000 would be represented as
130.58.17.32.
4-2
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 89
4-1-2Allocating IP Addresses
You must assign IP addresses nodes so that each IP address is assigned only once in the network or
between several networks.
4-1-3Subnet Masks
Operation and management of a network can become very difficult if too many nodes are connected on
a single network. In such a case it can be helpful to configure the system so that a single network is
divided up into several subnetworks. Internally the network can be treated as a number of subnetworks,
but from the outside it acts as a single network and uses only a single network ID. To establish subnetworks, the host ID in the IP address is divided into a subnet ID and a host ID by using a setting called
the subnet mask. The subnet mask indicates which part of the host ID is to be used as the subnet ID.
All bits in the subnet mask that correspond to the bits in the IP address used either as the network ID or
subnet ID are set to “1,” and the remaining bits, which correspond to the bits in the IP address actually
used for the host ID, are set to “0.”
The following example shows the subnet mask for an 8-bit subnet ID used in class-B IP addresses.
Bit 3115
Class B
0
1
4 Determining IP Addresses
4-1 IP Addresses
Host number (16 bits)Network number (14 bits)
0
4
Subnet mask
1111111111111111 111 1111100000000 FF FF FF 00
Host IDSubnet IDNetwork ID
Set the same subnet mask for all of the nodes on that subnetwork. The built-in EtherNet/IP port supports CIDR (Classless Inter-Domain Routing). The subnet mask can be set to 192.0.0.0 to
255.255.255.252. If subnetworks are not used, set the following subnet mask values for IP address
classes A to C.
ClassSubnet mask
Class A255.0.0.0
Class B255.255.0.0
Class C255.255.255.0
A network address is information derived from a subnet mask and used to identify each network. A network address enables users to determine whether multiple nodes belong to the same network. A network address is calculated by performing a logical AND operation on the IP address and subnet mask
of a node.
The following are examples of network address calculation.
In this example, the IP address of node 1 is set to 192.168.250.20, the IP address of node 2 is set to
192.168.245.30, and the subnet mask is set to 255.255.240.0. The network addresses of the two nodes
are calculated as follows.
• Calculating network address of node 1
4-1-2 Allocating IP Addresses
ItemDecimal notationBinary notation
IP address192.168.250.2011000000.10101000.11111010 .00010100
Sub n e t mask25 5 . 2 55.240.011111111.11111111.111100 0 0 . 00 000000
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
4-3
Page 90
4 Determining IP Addresses
As shown in the above table, node 1 and node 2 have the same network address, which means these
nodes belong to the same network.
4-1-4CIDR
CIDR, or classless interdomain routing, is used to assign IP addresses that do not use classes. IP
addresses that use classes are separated into blocks according to network IDs and host IDs, resulting
in inefficient usage of IP address space. CIDR does not use classes, so IP address space can be
divided as required to more efficiently use IP address space. For example, using a subnet mask setting
with CIDR enables building a horizontally distributed network exceeding 254 nodes even if a class C
address block (e.g., 192, 168...) is used.
Subnet Mask Range
192.0.0.0 to 255.255.255.252
4-4
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 91
4 Determining IP Addresses
BOOTP client
BOOTP command
BOOTP server
NY-series ControllerNJ/NX-series Controller
Ethernet
IP address
4-2Controller IP Address Settings
4-2-1Determining IP Addresses
Use one of the following methods to set the IP address for the built-in EtherNet/IP port on the NY-series
Controller. The IP address for the internal port can be set only by using a user-specified address.
Setting a User-specified IP Address
If you need to change the default IP address of the built-in EtherNet/IP port or if you need to use the
built-in EtherNet/IP port with another EtherNet/IP node, set the IP address to the required value.
For an NX-series CPU Unit, you cannot set IP addresses that make two built-in EtherNet/IP ports
belong to the same network.
Automatically Obtaining the IP Address from the BOOTP Server
There are two methods to automatically obtain an IP address.
• Obtain the IP address from the BOOTP server each time the power is turned ON.
• Obtain the IP address from the BOOTP server once when the power is turned ON and then do not
allow it to change.
4-2 Controller IP Address Settings
4
4-2-1 Determining IP Addresses
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
4-5
Page 92
4 Determining IP Addresses
Additional Information
Precautions for Correct UsePrecautions for Correct Use
Used to obtain the IP address from the BOOTP
server once and then not change it.
Used to obtain the IP address from the BOOTP
server each time the power is turned ON.
Used to set a user-specified IP address.
4-2-2Setting IP Addresses
Use the Sysmac Studio to set the IP addresses of the built-in EtherNet/IP port and the internal port.
You can also set these IP addresses by using the Industrial PC Support Utility, instead of the
Sysmac Studio.
Refer to the NY-series Industrial Panel PC / Industrial Box PC Setup User’s Manual (Cat. No.
W568) for information on setting the IP addresses with the Industrial PC Support Utility.
1
Select the setting method for IP addresses.
Make the following settings on the TCP/IP Settings Display of the Built-in EtherNet/IP Port Settings Tab Page in the Controller Setup to set the local IP address.
You cannot set IP addresses that make the built-in EtherNet/IP port and the internal port belong
to the same network.
2
Connect the Sysmac Studio to the NY-series Controller via a USB connection or the Ethernet
network.
3
Connect the Sysmac Studio online to the NY-series Controller. Refer to 4-2-3 Online Connection
for the procedure to connect online.
4
Use one of the following methods to download the IP addresses that were set on the Sysmac
Studio to the NY-series Controller.
• Go online with the Controller, and then select Synchronization from the Controller Menu.
The data on the computer and the data in the physical Controller are compared automatically.
• Click the Transfer to Controller Button.
Note Use the Synchronization Menu of the Sysmac Studio to upload and download data.
4-6
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 93
4 Determining IP Addresses
Additional Information
5
After the IP address settings are downloaded, the IP address is reflected in the NY-series Controller as follows:
Setting a User-specified IP Address
After the IP address settings are downloaded, the set IP address is automatically saved in the
Controller.
Obtaining the IP Address from the BOOTP Server Each Time the Power Is Turned ON
After the data is downloaded, the IP address from the BOOTP server is automatically saved in
the Controller. Each time the power supply is turned ON, the IP address from the BOOTP server
is automatically saved in the Controller.
Obtaining the IP Address from the BOOTP Server Once When the Power Is Turned ON
and Then Not Allow It to Change
After the I/O address is downloaded, the IP address from the BOOTP server is automatically
saved in the Controller and then the same address is used.
4-2 Controller IP Address Settings
• The TCP/IP Settings Display is not updated even if the IP address is obtained normally from
the BOOTP server. To check the IP address that was obtained from the BOOTP server on the
TCP/IP Display, upload the project from the NY-series Controller.
• If you cannot obtain the IP address from the BOOTP server, the Fix at the IP address obtained
from BOOTP server Option is selected on the TCP/IP Display. Select Fixed Setting in the IP
Address Settings and manually set the IP address, subnet mask, and default gateway. The
Controller will continue the request to obtain the IP address even if it fails to connect to the
BOOTP server.
• If the Controller power supply is turned ON when the IP address was not normally obtained
from the BOOTP server, the setting remains at Fix at the IP address obtained from BOOTPserver.
• After the IP address is obtained from the BOOTP server, the built-in EtherNet/IP port IP
address setting is automatically set to Fixed setting. Therefore, the IP address will not match
when the program is verified on the Sysmac Studio.
4
4-2-2 Setting IP Addresses
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
4-7
Page 94
4 Determining IP Addresses
Additional Information
Ethernet
4-2-3Online Connection
Connect the Sysmac Studio online to the Controller.
Types of Connections between the Controller and Computer That
Runs the Sysmac Studio
The Controller and the computer that runs Sysmac Studio are connected as shown below via USB or
Ethernet:
Ethernet Connection
Direct Connection via Ethernet (1:1 Connection
with AutoIP)
Note An Ethernet switch is required to connect. Refer
Note 1 An Ethernet switch is not necessarily required.
2 You can use a straight or cross Ethernet cable
to connect.
Connection from USB Across Ethernet
Remote Connection via USB (1:N Connection)
Ethernet
USB
Note 1 An NJ/NX-series Controller with a USB port is
required to connect.
2 An Ethernet switch is required to connect. Refer to
2-1-4 Precautions for Ethernet Switch Selection for
details.
Ethernet Connection via Hub (1: N Connection)
Ethernet
to 2-1-4 Precautions for Ethernet Switch Selection for details.
4-8
• Auto IP automatically assigns IP addresses in Windows 98 and later operating systems.
Unique IP addresses are automatically assigned from the address 169.254.0.0 to
169.254.255.255.
• If the IP address of the connected EtherNet/IP port is changed when the Sysmac Studio is
connected online via a built-in EtherNet/IP port, a timeout will occur in the Sysmac Studio. In
the case, switch the Sysmac Studio status to offline, change to the IP address of the connected built-in EtherNet/IP port, and then switch back the Sysmac Studio status to online. This
will allow you to reconnect.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 95
4 Determining IP Addresses
Precautions for Correct UsePrecautions for Correct Use
Additional Information
Precautions for Correct UsePrecautions for Correct Use
EtherNet/IP Connection
·Remote connection via USB
·Ethernet connection via hub
Ethernet Connection
If there is more than one node with the same IP address in the EtherNet/IP network, the built-in
EtherNet/IP port will connect to the node that is detected first. An IP Address Duplication Error
will not occur.
Online Connection Procedure
Connect the Controller and the computer that runs the Sysmac Studio via Ethernet, and then perform
the following procedure.
1
Select Controller - Communications Setup and click the OK Button in the Sysmac Studio
Project Window.
1:1 Connection1:N Connection
Direct Connection
·Direct connection via Ethernet
4-2 Controller IP Address Settings
4
4-2-3 Online Connection
If there is an error in the set IP address, an IP Address Setting Error is recorded in the event log.
• If the IP address is duplicated or not set correctly, communications are not possible via the
EtherNet/IP network.
• The IP address range shown below is used by the system and cannot be specified.
169.254.0.0 to 169.254.255.255
192.168.255.0 to 192.168.255.255
• Due to Ethernet restrictions, you cannot specify the IP addresses that are described below.
• An IP address that is all 0’s or all 1’s
• IP addresses that start with 127, 0, or 255 (decimal)
• IP addresses that have a host ID that is all 0’s or all 1’s
• Class-D IP addresses (224.0.0.0 to 239.255.255.255)
• Class-E IP addresses (240.0.0.0 to 255.255.255.255)
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
4-9
Page 96
4 Determining IP Addresses
Additional Information
Connecting from a Saved Project
The connection configuration that is set (EtherNet/IP) is saved in the project. (The file is xxx.smc.) If
you open a saved project on the Sysmac Studio, you can connect to the EtherNet/IP network without
redoing the settings.
4-2-4Checking the Current IP Address
The current IP address can be confirmed in the Controller Status Pane of the Sysmac Studio either
when it is set manually or obtained from the BOOTP server.
• Basic Controller Status Pane• Controller Status Pane with Details
• If you obtain the IP address from the BOOTP server, you can check the obtained IP address
by synchronizing and uploading the controller settings from the Sysmac Studio.
• If the IP address of the built-in EtherNet/IP port is not registered due to the following reasons,
the IP address field shows “0.0.0.0”.
• The IP address was not obtained from the BOOTP server.
4-10
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 97
4 Determining IP Addresses
Firewall
Ethernet (EtherNet/IP)
ControllerController
Ethernet (EtherNet/IP)
Controller
Private address
Personal computer
(e.g., Sysmac Studio)
Private addressPrivate address
Private address
Global address
IP router
Cannot connect to Internet
Cannot connect to Internet
Global address
Private address
Private address
IP router
Firewall
Personal computer
(e.g., Sysmac Studio)
(required)
Intranet
Internet
Intranet
4-3Private and Global Addresses
4-3-1Private and Global Addresses
There are two kinds of IP addresses, private and global.
IP addressDescription
Global addressThese are IP addresses that connect directly to the Internet.
Allocated by application to NIC, each address is unique in
the world, and as many as 4.3 billion can be allocated worldwide.
Private addressThese are IP addresses for Intranet (LAN) use. Direct con-
nection to the Internet is not possible. Frames that include
private IP addresses are restricted by the router from being
sent outside the LAN.
Generally, as shown below, global addresses in the intranet are allocated only to IP routers (such as
broadband routers) interfaced with the Internet. All other nodes in the intranet, which includes the builtin EtherNet/ IP port, are allocated private addresses.
4-3 Private and Global Addresses
4
4-3-1 Private and Global Addresses
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
4-11
Page 98
4 Determining IP Addresses
Precautions for Correct UsePrecautions for Correct Use
4-3-2Using a Private Address for the Built-in EtherNet/IP Port
Intranet
Intranet
IP router
Firewall
CIP client on a
computer, such as
Sysmac Studio or
Network Configurator
Firewall
IP router
Communications in intranet
Ethernet (EtherNet/IP)
Controller
Ethernet (EtherNet/IP)
Communications in intranet
Controller
Built-in EtherNet/IP port: Private address
Internet
CIP client on a computer,
such as Sysmac Studio
or Network Configurator
Controller
Explicit message
Explicit message
Communications in
intranet
Built-in EtherNet/IP port: Private address
Built-in EtherNet/IP port: Private address
Conditions for Communications Applications
If the built-in EtherNet/IP port uses a private address, you can use explicit message communications service under the following conditions.
• The explicit message communications service can be executed on the intranet between built-in
EtherNet/IP ports with private addresses only.
• A device such as a personal computer (CIP applications including the Network Configurator) cannot connect online and communicate over the Internet with a built-in EtherNet/IP port that has a
private address. Explicit message communications are also not possible over the Internet
between built-in EtherNet/IP ports with private addresses.
Network Security and Firewalls
To set up an intranet through a global address involves network security considerations. Be sure
to consult with a network specialist in advance and consider installation of a firewall. After a firewall has been set up by a communications company technician, there may be some applications
that cannot be used. Be sure to check first with the communications company technician.
4-12
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Page 99
4 Determining IP Addresses
Precautions for Correct UsePrecautions for Correct Use
4-3-3Using a Global Address for the Built-in EtherNet/IP Port
Intranet
CIP client on a computer,
such as Network
Configurator
Ethernet (EtherNet/IP)
Communications
over Internet
Firewall
IP router
Private address
4-3 Private and Global Addresses
Cannot connect to Internet
Cannot connect to Internet
Private address
Intranet
IP router
Firewall
Communications
in intranet
Global address
Private address
Ethernet (EtherNet/IP)
Built-in EtherNet/IP port: Global address
Internet
Controller
Global address
(required)
Conditions for Communications Applications
You can use the explicit message communications service over the Internet under the following conditions.
• A device such as a personal computer (a CIP application including the Network Configurator) can
connect online and communicate over the Internet with a built-in EtherNet/IP port that has a global
address.
• The TCP port number (44818) or UDP port number (44818) that is used for EtherNet/IP cannot be
used because it is prohibited by a firewall in the communications path.
4
4-3-3 Using a Global Address for the Built-in EtherNet/IP Port
Network Security and Firewalls
To set a global IP address for a built-in EtherNet/IP port involves network security considerations. It is recommended that the user contract with a communications company for a dedicated
line, rather than for a general line such as a broadband line. Also, be sure to consult with a network specialist and consider security measures such as a firewall. After a firewall has been set
up by a communications technician, there may be some applications that cannot be used. Be
sure to check first with the communications technician.
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
4-13
Page 100
4 Determining IP Addresses
4-14
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.