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 withoutnotice. 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.
Page 3
Introduction
Thank you for purchasingan NJ-series CPU Unit.This manual contains information thatis necessary to use the NJ-seriesCPU Unit. Please read thismanual and makesure you understand the functionality and performance ofthe NJ-series CPU Unitbefore you attempt touse it in a control system.Keep this manual in a safe place where it will be available for reference during operation.
Intended Audience
Thismanual is intended for the following personnel, who must also have knowledge of electrical sys-tems (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 intendedfor personnel who understand theprogramming languagespecifications in international standardIEC 61131-3 or Japanesestandard JIS B3503.
Introduction
Applicable Products
This manual covers the following products.
•NJ-series CPU Units
•NJ501-1300
•NJ501-1400
•NJ501-1500
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
1
Page 4
Relevant Manuals
Relevant Manuals
There are three manuals thatprovide basic information onthe NJ-series CPU Units: the NJ-series CPUUnit Hardware User’s Manual, theNJ-series CPU Unit Software User’s Manual (this manual), and theNJ-series Instructions Reference Manual.Most operations are performed from the Sysmac Studio Automation Software. Refer to the Sysmac Stu-dioVersion 1 Operation Manual (Cat. No. W504) forinformation ontheSysmac Studio.
Other manuals are necessary forspecific system configurationsand applications.Read all of the manuals thatare relevant to your system configuration and application to make the mostof the NJ-series CPU Unit.
Basic information
NJ-series User’s Manuals
Introduction to NJ-series Controllers
Setting devices and hardware
Using motion control
Using EtherCAT
Using EtherNet/IP
Using CJ-series Units
Software settings
Using motion control
Using EtherCAT
Using EtherNet/IP
Programming
Using motion control
Using EtherCAT
Using CJ-series Units
Programming error processing
Testing operation and debugging
Using motion control
Using EtherCAT
Using EtherNet/IP
Troubleshooting and managing errors in an NJ-series Controller
NJ-series CPU Unit
Hardware User´s Manual
Use the relevant manuals for references according to any error that occurs.
NJ-series CPU Unit
Software User´s Manual
NJ-series Instructions
Reference Manual
NJ-series CPU Unit Motion
Control User´s Manual
NJ-series CPU Unit Built-in
NJ-series Motion Control
EtherCAT Port User´s Manual
Instructions Reference Manual
NJ-series CPU Unit Built-in
EtherNet/IP Port User´s Manual
NJ-series Troubleshooting Manual
CJ-series Special Unit Operation
Manuals for NJ-series CPU Unit
Maintenance
Using EtherCAT
Using EtherNet/IP
Using CJ-series Units
2
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 5
Manual Configuration
NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500)
SectionDescription
Section 1 Introduction
Section 2 System Configuration
Section 3 Configuration Units
Section 4 Installation and Wiring
Section 5 Troubleshooting
Section 6 Inspection and Maintenance
Appendices
This section provides an introduction to the NJ-series Controllers and their features, and gives the NJ-series Controller specifications.
This section describes the system configuration used for NJ-series Controllers.
This section describes the parts and functions of the configuration devices in the NJ-series Controller configuration, including the CPU Unit and Configuration Units.
This section describes where and how to install the CPU Unit and Configuration Units and how to wire them.
This section describes the event codes, error confirmation methods, and corrections for errors that can occur.
This section describes the contents of periodic inspections, the service life of the Bat-tery and Power Supply Units, and replacement methods for the Battery and Power Supply Units.
The appendices provide the specifications of the Basic I/O Units, Unit dimensions, load short-circuit protection detection, line disconnection detection, and measures for EMC Directives.
Manual Configuration
NJ-series CPU Unit Software User’s Manual (Cat. No. W501)
Section 7 Simulation, Transferring Projects tothe Physical CPU Unit, and Opera-tion
Section 8 CPU Unit Status
Section 9 CPU Unit Functions
Section 10 Communications Setup
Section 11 Example of Actual Application Pro-cedures
Section 12 Troubleshooting
Appendices
This section provides an introduction to the NJ-series Controllers and their features, and gives the NJ-series Controller specifications.
This section describes the variables and control systems of the CPU Unit and CPU Unit status.
This section describes how to use I/O ports, how to create the slave configuration and unit configuration and how to assign functions.
This section describes the initial settings of the function modules.
This section describes the task system and types of tasks.
This section describes programming, including the programming languages and the variables and instructions that are used in programming.
This section describes simulation of Controller operation and how to use the results of simulation.
This section describes CPU Unit status.
This section describes the functionality provided by the CPU Unit.
This section describes how to go online with the CPU Unit and how to connect to other devices.
This section describes the procedures that are used to actually operate an NJ-series Controller.
This section describes the event codes, error confirmation methods, and corrections for errors that can occur.
The appendices provide the CPU Unit specifications, task execution times, system-defined variable lists, data attribute lists, CJ-series Unit memory information, CJ-series Unit memory allocation methods, and data type conversion information.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3
Page 6
Manual Configuration
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (Cat. No. W506) (This Manual)
SectionDescription
Section 1Introduction
Section 2Installing Ethernet Networks
Section 3System-defined Variables Relatedto the Built-in EtherNet/IP Port
Section 4Determining IPAddresses
Section 5Sysmac Studio Settings for the Built-in EtherNet/IP Port
Section 6Testing Communications
Section 7Tag Data Link Functions
Section 8Message Communications
Section 9Socket Service
Section 10 FTP Server
Section 11 Automatic Clock Adjustment
Section 12 SNMP Agent
Section 13 Communications Performance and Communications Load
Section 14 Troubleshooting
Appendices
This section provides an overview and the specifications of the built-in EtherNet/IPport on an NJ-series Controller. It introduces EtherNet/IP communications and describes the system configuration and operating procedures.
This section describes the Ethernet networkconfiguration devices, network installa-tion, and cable connection methods.
This section describes the system-defined variables that are related to the built-in EtherNet/IP port.
This section describes how to set IP addresses for built-in EtherNet/IP ports.
This section describes the settings that are required for EtherNet/IP communications.
This section describes howto perform communications test with EtherNet/IP nodes to confirm that the built-in EtherNet/IP port is set correctly.
This section introduces tag data link communications and describes the settings that are required to use tag data links.
This section describes how to use CIP message communications for devices on the EtherNet/IP network, e.g., to read and write data.
This section describes howto use socket communications to send and receive data with TCP/UDP.
This sectiondescribes how to use theFTP server to download and upload files in theSD Memory Card to and from FTP clients.
This section describes how to automaticallyget clock information from an NTP server to update the clock information in the CPU Unit.
This section describes how to use the SNMP to managethe built-in EtherNet/IP port as an SNMP agent.
This section describes tag data links communications, adjustment of the communica-tions load, and communications time.
This section describes how to use event codes and network status to confirm errors and corrections for them.
The appendices provide a functional comparison of EtherNet/IP between NJ-series CPU Units and other series, and describe EDS file management, Windows firewall settings for connections from computers, and details on memory used for CJ-series Units.
4
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 7
Manual Configuration
Sysmac Studio Version 1 Operation Manual (Cat. No. W504)
SectionDescription
Section 1 Introduction
Section 2 Installation and Uninstallation
Section 3 System Design
Section 4 Programming
Section 5 Online Connections to a Controller
Section 6 Debugging
Section 7 Other Functions
Section 8 Reusing Programming
Section 9 Support Software Provided with theSysmac Studio
Section 10 Troubleshooting
Appendices
This section provides an overview and lists the specifications of the Sysmac Studio and describes its features and components.
This section describes how to install and uninstall the Sysmac Studio.
This section describes the basic concepts for designing an NJ-series System with the Sysmac Studio and the basic operating procedures.
This section describes how to create programs with the Sysmac Studio.
This section describes how to go online with a Controller.
This section describes how to debug the programs online on the Controller or debug it offline with the Simulator.
This section describes Sysmac Studio functions other than system design functions.
This section describes how to reuse the programs that you create with the Sysmac Studio.
This section describes the Support Software that is provided with the Sysmac Studio.
This section describes the error messages that are displayed when you check a pro-gram on the Sysmac Studio and how to correct those errors.
The appendices describe the following:Driver Installation for Direct USB Cable ConnectionSpecifying One of Multiple Ethernet Interface CardsOnline HelpSimulation Instructions
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
5
Page 8
Manual Structure
Manual Structure
Page Structure
The following page structure is used in this manual.
Level 2 heading
Level 3 heading
A step in a procedure
Indicates a procedure.
Special information
Icons indicate precautions, additional information, or reference information.
4 Installation and Wiring
4-3Mounting Units
4-3-1Connecting Controller Components
The Units thatmake upan NJ-series Controller can beconnectedsimplyby pressingtheUnitstogetherand locking the sliders bymoving them toward the back of the Units. The End Cover is connectedinthesame way to the Unit on the far right side of the Controller.
1Join the Units so that the connectors fit exactly.
2The 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 clickinto place.
Precautions for CorrectUsePrecautions for CorrectUse
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.
Hook
Connector
Move the sliders toward the back until they lock into place.
Hook holes
Release
Lock
Slider
Level 1 heading
vel 2 heading
LeLevel 3 heading
Gives the current headings.
3-4oM
u
gnitn
Uni
t
s
4
43-
-
1
noCne
tc
i
ngoC
nt
r
ol
relComp
none
t
s
Page tab
Gives the number of the main section.
Manual name
Special Information
Special information in this manual is classified as follows:
Precautions for SafeUse
Precautions onwhat to doand what not to doto ensure safeusageof theproduct.
Precautions for Correct Use
Precautions onwhat to doand what not to doto ensure proper operation and performance.
Additional Information
Additional information to readas required.This informationis provided to increase understanding or makeoperationeasier.
NoteReferences are provided tomore detailedor related information.
6
NJ-series CPU Unit Hardware User’s Manual (W500)
4-9
This illustration is provided only as a sample. It may not literally appear in this manual.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 9
Precaution on Terminology
In thismanual, “download” refers totransferring data from theSysmac Studioto thephysical Controllerand “upload”refersto transferring data from the physical Controllerto theSysmac 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 thephysical Controller andtransfer thedata in the direction that is specified by the user.
Manual Structure
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
7
Page 10
Manual Structure
8
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 11
Sections in this Manual
Sections in this Manual
1
2
3
4
5
Introduction
Installing Ethernet Networks
System-defined Variables Related to the Built-in EtherNet/IP Port
Determining IP Addresses
Sysmac Studio Settings for the Built-in EtherNet/IP Port
10
11
12
13
14
FTP Server
Automatic Clock Adjustment
SNMP Agent
Communications Per-formance and Commu-nications Load
Troubleshooting
1
2
3
4
5
6A
7I
10
11
12
13
14
6
7
7
8
9
Testing Communications
Tag Data Link Functions
Message Communications
Socket Service
A
I
8
Appendices
9
Index
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
9
Page 12
Sections in this Manual
10
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
A-4-2Important Case Examples.........................................................................................................A-14
A-5Precautions When Accessing External Outputsfrom NJ-series CPU Units....................A-15
Index
16
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 19
Read and Understand this Manual
Read and Understand this Manual
Please read and understand this manual before using the product. Please consult yourOMRON representativeif youhave any questions orcomments.
Warranty and Limitations of Liability
WARRANTY
OMRON's exclusive warranty is that the products are free fromdefects in materials and workmanship for a period of oneyear(or other period ifspecified) from dateof sale byOMRON.
OMRON MAKES NOWARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED,REGARDING NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THEPRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THATTHE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIRINTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES,LOSS OF PROFITS OR COMMERCIAL LOSS INANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY.
In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted.
IN NOEVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON'SANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TOCONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
17
Page 20
Read and Understand this Manual
Application Considerations
SUITABILITY FOR USE
OMRON shall not be responsible for conformitywith any standards, codes,or regulations that apply to thecombination of products in the customer's application oruse oftheproducts.
At the customer's request, OMRON will provide applicable third party certification documentsidentifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine,system, or other applicationor use.
The following are some examples of applications for which particular attentionmust be given.This is not intended to be an exhaustivelist ofall possible usesof the products,nor is it intended to imply that the uses listedmay be suitable for the products:
•Outdoor use,uses involving potential chemical contamination orelectricalinterference, orconditions orusesnot described in thismanual.
•Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles,safety equipment,and installations subject toseparateindustry orgovernment regulations.
•Systems, machines, andequipmentthat could present a risk to life orproperty.
Pleaseknowandobserve all prohibitions ofuse applicable tothe products.
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TOADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for theuser's programming of a programmable product, or any consequence thereof.
18
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 21
Read and Understand this Manual
Disclaimers
CHANGE IN SPECIFICATIONS
Productspecifications and accessories may be changed at any timebasedon improvements and other reasons.
It is our practiceto changemodel numbers whenpublishedratings orfeatures are changed, or whensignificant construction changes are made. However, somespecifications of the products may bechanged without any notice. Whenindoubt, special model numbers may be assigned to fix or establishkey specifications for your application on your request.Please consult withyourOMRON representativeat any time toconfirm actual specifications of purchased products.
DIMENSIONS AND WEIGHTS
Dimensionsand weights are nominal and are not to beused for manufacturing purposes,even whentolerances are shown.
PERFORMANCE DATA
Performance data given in this manual is provided asa guide for the user in determining suitabilityand doesnot constitutea warranty. It may represent theresult ofOMRON's test conditions, and the users mustcorrelateit toactual application requirements. Actual performanceis subject tothe OMRON Warranty andLimitations of Liability.
ERRORS AND OMISSIONS
The information in this manual has been carefully checked and is believed to beaccurate; however, noresponsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
19
Page 22
Read and Understand this Manual
20
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 23
Safety Precautions
Definition of Precautionary Information
The following notation is used in this manual to provide precautions required to ensure safe usage ofthe built-in EtherNet/IP port onan NJ-series CPU Unit. Thesafety precautions that are provided areextremely important to safety. Always read andheed the information provided in all safety precautions.The following notation is used.Refer tothe following manuals for safety precautions forthe built-in EtherNet/IP port.Installationprecautions are also providedfor the NJ-series CPU Unitand NJ-series Controller system.
•NJ-series CPU Unit Hardware User’s Manual (W500)
•NJ-series CPU Unit Software User’s Manual (W501)
Indicates a potentially hazardous situation which, if not avoided,
WARNING
could result in death orserious injury. Additionally, there may besevere property damage.
Safety Precautions
Caution
Precautions for SafeUse
Indicates precautions on what to do and what not to do to ensuresafeusage of the product.
Precautions for CorrectUse
Indicates precautions on what to do and what not to do to ensureproper operationandperformance.
Indicates a potentially hazardous situation which, if not avoided, may result inminor ormoderate injury, or property damage.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
21
Page 24
Safety Precautions
Symbols
The circle and slash symbol indicates operations that you must not do.The specific operation is shown in the circle andexplained in text.This example indicates prohibitingdisassembly.
The triangle symbol indicates precautions (includingwarnings).The specific operation is shown in the triangle andexplained in text.This example indicates a precaution for electric shock.
The triangle symbol indicates precautions (includingwarnings).The specific operation is shown in the triangle andexplained in text.This example indicates a generalprecaution.
The filled circle symbol indicates operations that you must do.The specific operation is shown in the circle andexplained in text.This example shows a general precaution for somethingthat you must do.
22
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 25
Precautions for Safe Use
Refer tothefollowing manuals for precautionsfor the safe use of the built-inEtherNet/IP port.Installationprecautions are also providedfor the NJ-series CPU Unitand NJ-series Controller system.
•NJ-series CPU Unit Hardware User’s Manual (W500)
•NJ-series CPU Unit Software User’s Manual (W501)
Precautions for Safe Use
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
23
Page 26
Precautions for Correct Use
Precautions for Correct Use
Refer to the following manuals forprecautions for thecorrect use of the built-inEtherNet/IP port.Installation precautions are also provided for the NJ-series CPU Unit and NJ-series Controller system.
•NJ-series CPU Unit Hardware User’s Manual (W500)
•NJ-series CPU Unit Software User’s Manual (W501)
24
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 27
Regulations and Standards
Conformance to EC Directives
Applicable Directives
•EMC Directives
•Low Voltage Directive
Concepts
zEMC Directive
OMRON devices that comply with EC Directives also conform to the relatedEMC standards sothatthey can be moreeasily built intoother devices orthe overall machine. The actual products havebeen checked for conformityto EMC standards.*Whether the productsconform tothe standards in the system used bythe customer, however, mustbe checked by the customer. EMC-related performance of the OMRON devices that comply with ECDirectives will varydepending on the configuration, wiring, and other conditions of the equipment orcontrol panel on which the OMRON devices are installed. The customermust,therefore,perform thefinal check to confirm that devices and the overallmachineconformto EMC standards.
*Applicable EMC (Electromagnetic Compatibility) standards are as follows:
EMS (Electromagnetic Susceptibility): EN 61131-2 andEN 61000-6-2EMI (Electromagnetic Interference): EN 61131-2 and EN 61000-6-4 (Radiated emission: 10-m regulations)
Regulations and Standards
zLow Voltage Directive
Always ensure that devices operating at voltages of 50 to 1,000 VAC and 75 to1,500VDC meet therequiredsafety standards. The applicable directiveis EN 61131-2.
zConformance to EC Directives
The NJ-seriesControllers comply with ECDirectives. To ensure that the machine ordeviceinwhichthe NJ-series Controller is used complieswith ECDirectives, the Controller must be installed as fol-lows:
•The NJ-series Controller must beinstalled within a control panel.
•You must use reinforced insulation or double insulation for the DC power supplies connected toDC Power Supply Units and I/O Units.
•NJ-series Controllers that comply with EC Directives also conform to the CommonEmission Stan-dard (EN 61000-6-4). Radiated emission characteristics (10-m regulations) may vary dependingon the configuration ofthecontrol panel used, other devices connectedto the control panel, wir-ing, and other conditions.You mustthereforeconfirm that the overall machineor equipment complies with EC Directives.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
25
Page 28
Regulations and Standards
Conformance to Shipbuilding Standards
The NJ-series Controllers comply with the following shipbuilding standards. Applicability to the ship-building standards is based on certain usage conditions. Itmay not bepossible to use the product insome locations.Contact your OMRON representative before attempting to use a Controlleron aship.
Usage Conditions for NK and LR Shipbuilding Standards
•The NJ-series Controllermust be installed within a control panel.
•Gaps in the door to the control panel mustbe completely filled or covered with gaskets or othermaterial.
•The following noise filtermust beconnected to the power supply line.
Noise Filter
ManufacturerModel
Cosel Co., Ltd.TAH-06-683
Trademarks
•Sysmac and SYSMAC are trademarks orregistered trademarks of OMRON Corporation in Japanand other countries for OMRON factory automation products.
•Windows, Windows 98, Windows XP, Windows Vista, and Windows 7 are registered trademarks ofMicrosoftCorporationin the USA and other countries.
•EtherCAT is a registered trademark of Beckhoff AutomationGmbH for their patented technology.
•The SD logo is a trademark ofSD-3C, LLC.
Other company names andproductnames in this document are the trademarks or registered trade-marks of their respective companies.
Software Licenses and Copyrights
This product incorporates certain third party software.The license and copyrightinformation associ-ated with this software is available at http://www.fa.omron.co.jp/nj_info_e/.
26
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 29
Unit Versions
Unit Versions
A “unit version”has beenintroduced tomanage CPU Units in the NJ Series according todifferences infunctionality accompanyingUnit upgrades.
Notation of Unit Versions on Products
Theunit versionis givenon the ID informationlabel of the products for which unit versionsare man-aged, as shownbelow.
Example for NJ-series NJ501-@@@@ CPU Unit:
Unit Versions
ID information label
Unit model
NJ501-1500Ver.1.@@
PORT1 MAC ADDRESS: @@@@@@@@@@@@PORT2 MAC ADDRESS: @@@@@@@@@@@@
Lot No. DDMYY@xxxx
Unit version
Lot number and serial numberMAC address
The following information is provided on the ID informationlabel.
ItemDescription
Unit modelGives the model of the Unit.Unit versionGives the unit version of the Unit.Lot number and
serial number
MAC addressGives the MAC address of the built-in port on the Unit.
Gives the lot number and serial number of the Unit.DDMYY: Lot number, @: For use by OMRON, xxxx: Serial number“M” gives the month (1 to 9: January to September, X: October, Y: November, Z: December)
Confirming Unit Versions with Sysmac Studio
Youcanuse the Unit ProductionInformation onthe Sysmac Studio tocheck the unitversionoftheCPUUnit, CJ-series Special I/O Units,CJ-series CPU Bus Units,and EtherCAT slaves. The unit versions ofCJ-series Basic I/O Units cannotbe checked fromthe Sysmac Studio.
zCPU Unit and CJ-series Units
1Double-clickCPU/Expansion Racks underConfigurations andSetupin the Multiview
Explorer. Or, right-click CPU/Expansion Racks underConfigurations and Setup and selectEditfrom the menu.
TheUnit Editor is displayedfor the Controller Configurations and Setup layer.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
27
Page 30
Unit Versions
2Right-click anyopen spaceinthe Unit Editor and select Production Information.
The Production Information Dialog Box is displayed.
Simple DisplayDetailed Display
Inthis example, “Ver.1.0” is displayed next to the unit model.
The following itemsare displayed.
CPU UnitCJ-series Units
Unit modelUnit versionLot number
Unit modelUnit versionLot numberRack number, slot number, and unit number
zEtherCAT Slaves
1Double-click EtherCAT underConfigurations and Setup in the Multiview Explorer. Or, right-
click EtherCAT under Configurations and Setup and selectEdit from the menu.The EtherCAT Configuration Tab Page is displayed for the Controller Configurations and Setup
layer.
2Right-click themaster in the EtherCAT Configurations Editing Pane and select Display Produc-
tion Information.
The Production Information Dialog Box is displayed.
28
The following itemsare displayed.Node addressType information*Serial number
*If the modelnumbercannot be determined (such as when there is noESI file), thevendor ID, product
code, and revision number are displayed.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 31
Unit Version Notation
In this manual, unit versions are specified as shown in the following table.
Product nameplateNotation in this manualRemarks
“Ver.1.0” or later to the right ofthe lot number
Unit Versions
Unit version 1.0 or laterUnless unit versions are specified, the information in this manual
applies to all unit versions.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
29
Page 32
Related Manuals
Related Manuals
Thefollowingmanuals arerelated to the NJ-series Controllers. Use these manuals for reference.
NJ-series Motion Control Instructions ReferenceManual
CJ-series Special Unit Manuals for NJ-series CPU Unit
W500NJ501-@@@@Learning the basic specifi-
cations of the NJ-series CPU Units, including intro-ductory information, designing, installation,and maintenance. Mainly hard-ware information is pro-vided.
W501NJ501-@@@@Learning how to program
and set up an NJ-series CPU Unit. Mainly software information is provided.
W507NJ501-@@@@Learning about motion
control settings and pro-gramming concepts.
W502NJ501-@@@@Learning about the specifi-
W508NJ501-@@@@Learning about the specifi-
W490W498W499W491Z310W492W494W497
CJ1W-@@@@Learning how to use CJ-
cations of the instruction set that is provided byOMRON.
cations of the motion con-trol instructions that are provided by OMRON.
series Units with an NJ-series CPU Unit.
An introduction to the entire NJ-series system is provided along with the following information on a Controller built with an NJ501 CPU Unit.
•Features and system configuration
•Introduction
•Part names and functions
•General specifications
•Installation and wiring
•Maintenance and inspectionUse this manual together with the NJ-series
CPU Unit Software User’s Manual
W501).The following information is provided on a Con-
troller built with an NJ501 CPU Unit.
•CPU Unit operation
•CPU Unit features
•Initial settings
•Programming based on IEC 61131-3 lan-guage specifications
Use this manual together with the NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500).
The settings and operation of the CPU Unit and programming concepts for motion control are described. Use this manual together with the NJ-series CPU Unit Hardware User’s Manual(Cat. No. W500) and
ware User’s Manual
The instructions in the instruction set (IEC 61131-3 specifications) are described. When programming, use this manual together with the
NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500) and NJ-series CPU Unit Soft-ware User’s Manual
The motion control instructions are described. When programming, use this manual together with the NJ-series CPU Unit Hardware User’sManual (Cat. No. W500), NJ-series CPU Unit Software User’s Manual (Cat. No. W501) and
NJ-series CPU Unit Motion Control User’s Man-ual (Cat. No. W507).
The methods and precautions for using CJ-series Units with an NJ501 CPU Unit aredescribed, including access methods and pro-gramming interfaces. Manuals are available for the following Units.Analog I/O Units, Insulated-type Analog I/O Units, Temperature Control Units, ID Sensor Units, High-speed Counter Units, Serial Com-munications Units, and DeviceNet Units.
Use these manuals together with the CPU Unit Hardware User’s Manual (Cat. No. W500) andNJ-series CPU Unit Software User’s
Manual
(Cat. No. W501).
(Cat. No.
NJ-series CPU Unit Soft-
(Cat. No. W501).
(Cat. No. W501).
NJ-series
30
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Learning about the operat-ing procedures and func-tions of the Sysmac Studio.
networks (data links, rout-ing tables, Communica-tions Unit settings, etc.).
data for NS-series Pro-grammable Terminals.
tocols for general-purpose devices connected to CJ-series Serial Communica-tions Units.
Information on the built-in EtherCAT port is pro-vided. This manual provides an introduction and provides information on the configuration, fea-tures, and setup.Use this manual together with the NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500) and Manual(Cat. No. W501).
Information on the built-in EtherNet/IP port is provided. Information is provided on the basic setup, tag data links, and other features.Use this manual together with the NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500) and NJ-series CPU UnitSoftwareUser’sManual(Cat. No. W501).
Concepts on managing errors that may bedetected in an NJ-series Controller andinforma-tion on individual errors are described.Use this manual together with the CPU Unit Hardware User’s Manual (Cat. No. W500) and NJ-series CPU UnitSoftwareUser’sManual(Cat. No. W501).
Describes the operating procedures of the Sys-mac Studio.
Describes operating procedures for the CX-Inte-grator.
Describes operating procedures for the CX-Designer.
Describes operating procedures for the CX-Pro-tocol.
NJ-series CPU UnitSoftwareUser’s
Related Manuals
NJ-series
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
31
Page 34
Revision History
Revision History
A manualrevision code appears asasuffix to the catalog numberon the frontand backcovers of themanual.
Cat. No.
Revision codeDateRevised content
01July 2011Original production
W506-E1-01
Revision code
32
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
1-1
Page 36
1 Introduction
1-1Introduction
1-1-1EtherNet/IP Features
EtherNet/IPis anindustrial multi-vendornetwork that uses Ethernet. TheEtherNet/IP specifications areopen standards managed by the ODVA (Open DeviceNet VendorAssociation), just like DeviceNet. Eth-erNet/IP is not just a network between Controllers.It is also used as a field network. Because Ether-Net/IP uses standard Ethernet technology, various general-purpose Ethernet devices can be used inthe network.
Sysmac Studio
(Support Software)
(3) Ethernet switch
(2) Twisted-pair cable
Ethernet (LAN) port
100 m
max.
(1) Built-in EtherNet/IP
port on NJ-series Controller
EtherNet/IP System Configuration Example
(1) Built-in EtherNet/IP
port on NJ-series Controller
(1) Built-in EtherNet/IP
port on NJ-series Controller
zHigh-speed, High-capacity Data Exchange through Tag Data Links
The EtherNet/IP protocol supports implicitcommunications, which allowscycliccommunications(called tag data links in this manual) with EtherNet/IP devices. Dataof up to9,600 words can beexchanged at high speed betweenControllers and devices.
zTag Data Link (Cyclic Communications) Cycle Time
Tag data links (cyclic communications) operate atthe cyclic periodspecified foreach application,regardless of the number of nodes. Data is exchanged over the network atthe refresh cycle set foreach connection, so the communications refresh cycle will not increase even if the number of nodesis increased, i.e., the concurrency of the connection’s data is maintained. Because the refresh cyclecan be set for each connection, each application can communicate at its ideal refresh cycle. Forexample, interprocess interlocks can be transferred athigh speed,whiletheproduction commandsand the status monitor information are transferred at low speed.
1-2
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 37
1 Introduction
1-1-2Features of Built-in EtherNet/IP Port on NJ-series CPU Units
zTag Data Links
Cyclic communications between Controllersor between Controllersand other devices arepossibleon an EtherNet/IPnetwork. Tag data links can quickly perform dataexchanges for upto 9,600 wordsof data.
zMessage Communications
You can send CIP commands to devices on the EtherNet/IP network when required by execution ofCIP communications instructions in a program. As a result, it is possible to send and receive datawith devices on the EtherNet/IP network.
zBOOTP Client
If the NJ-series built-in EtherNet/IP portis set in the BOOTP settings, the BOOTP client operateswhen the Controller power is turned ON, and the IPaddress is obtained from the BOOTP server. It ispossible toset all of the IP addresses of multiple built-in EtherNet/IP portsatthesame time.
zBuilt-in FTP Server for File Transfers to and from Host Computers
An FTP serveris builtintotheController. You can use it to read and writedata withinthe Controlleras files from workstations and computers with FTP clients.The FTP server enables the transfer oflarge amounts of data from a client without any additional ladder programming.
1-1 Introduction
1
1-1-2 Features of Built-in EtherNet/IP Port on NJ-series CPU Units
zAutomatic Controller Clock Adjustment
The clocks built into Controllers connected to Ethernet can be automatically adjusted to the time ofthe clock in the NTP server. Ifall of the clocks in the system are automatically adjusted tothe sametime, time stamps can beused to analyze production histories.
*A separate NTP server isnecessary to automatically adjust the Controller clocks.
zSocket Services
Socket services can be used to send/receive data between general-purpose applications and Con-trollers. You can use these communications services to send and receive any data to and fromremote nodes, i.e., between host computers and Controllersor between Controllers. Youcan exe-cute socket communications instructions in order in a program to execute communicationspro-cesses with the socket services. There are two socket services, theUDP socket service and TCPsocket service.
zHost Names
You can directly specify IPaddresses, but you can also use the host names instead of the IPaddressesfor NTP servers, SNMP managers, or the destinations of socket instructionsand CIPcommunications instructions (DNS clientor hosts settings). This is useful, for example,when serverIP addresses change for system revisions because the IP addresses are automatically found whenhostnames are used.
*A separate DNS server is necessary to use host names with the DNS client.*The DNS serveris specified directly using its IP address.
zNetwork Management with an SNMP Manager
TheSNMP agent passes internal status informationfrom the built-inEtherNet/IP port to networkmanagement software that uses an SNMP manager.
*A separate SNMP manager is necessaryfor network management.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
1-3
Page 38
1 Introduction
zComplete Troubleshooting Functions
A variety of functions are provided to quickly identify andhandle errors.
•Self-diagnosis atstartup
•Event log that records the time of occurrence and other error details
Additional Information
CIP (Common IndustrialProtocol)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 arebased onthe CIP. You can therefore easily configure a transparent network from the field devicelevel to the host level. TheCIP has the following advantages.
•Destination nodes are specified by a relative path,withoutfixed routing tables.
•The CIP uses the producer/consumer model. Nodes in the network arearranged on the same
level and it is possible to communicate with required devices whenever it is necessary. Theconsumer node will receive data sent from a producer node when the connection ID in thepacket indicates that the node requires the data. Because the producer can send the samedatawiththe same characteristics in a multicast format, the time required for the transferisfixed and not dependent on thenumber of consumer nodes. (Either multicast or unicast can beselected.)
1-4
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 39
1-2System Configuration and
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 areattached in star configurationusing twisted-pair cable.
Sysmac Studio
(Support Software)
(3) Ethernet switch
(2) Twisted-pair cable
1 Introduction
1-2 System Configuration and
Configuration Devices
1
1-2-1 Devices Required to Construct a Network
Ethernet (LAN) port
100 m
max.
(1) Built-in EtherNet/IP
port on NJ-series CPU Unit
(1) Built-in EtherNet/IP
port on NJ-series CPU Unit
(1) Built-in EtherNet/IP
port on NJ-series CPU Unit
The following products are also required to build a network. Obtain them in advance.
Network deviceFunction
(1)Per Node
NJ501-@@@@ NJ-series CPU Unit (built-in Ether-Net/IP port)OMRON PLCsCJ2H-CPU@@-EIP or CJ2M-CPU3@ CJ2 CPU Unit (built-in EtherNet/IP port)CJ-series CJ1W-EIP21EtherNet/IP Unit*CS-series CS1W-EIP21EtherNet/IP Unit
(2)Twisted-paircableThe twisted-paircable has a RJ45Modular Connector
(3)Ethernet switchThis is a relay device that connects multiple nodes in a
These Units are used to connect to an EtherNet/IP net-work.
at each end. Thiscable is used to connect the built-inEtherNet/IP port or EtherNet/IP Unit to aEthernetswitch. Use an STP (shieldedtwisted-pair) cable of cat-egory 5,5e, or higher.
star LAN. For details on recommended devices to con-figure a network, refer to
Devices.
2-1-1 Recommended Network
*The CJ1W-EIP21 cannot bemounted to an NJ-series CPU Unit.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
1-5
Page 40
1 Introduction
1-2-2Support Software Required to Construct a Network
This section describes the SupportSoftware that is requiredto construct anEtherNet/IP network. Thebuilt-in EtherNet/IP port has Ethernet Settings andTag Data Link Settings, which are storedinthe non-volatile memoryof the CPU Unit.Support Software is provided for each, as described below.
zBuilt-in Ethernet/IP Settings: Sysmac Studio
Use the Sysmac Studio to set the basic settings, such as the local IP address and subnet mask ofthe built-in EtherNet/IP port. The Sysmac Studio can alsobe usedto check if data I/O is being per-formed correctly for tag data links.
Windows Computer
Sysmac Studio
Built-in EtherNet/IP port settings (non-volatile memory)
Edit Parameters Dialog Box
NJ-series CPU Unit
Refer to the
Sysmac Studio Version 1 Operation Manual (Cat. No. W504) for details on the Sysmac
Built-in EtherNet/IP port
Studio.
zTag Data Link Settings: Network Configurator
Use the Network Configurator to set the tag data links for the built-in EtherNet/IP port. (The NetworkConfiguratoris included inSysmac Studio.) The main functions of the Network Configurator aregiven below.
1) Setting and Monitoring Tag Data Links (Connections)
The network device configuration and tag datalinks (connections) can becreated andedited. Afterconnecting to the network,the device configuration and tag data link settings can be uploaded andmonitored.
2) Multi-vendor Device Connections
EDS files can be installed and deleted so that you can construct, set, and manage networks thatcontain EtherNet/IP devices from other companies. The IP addresses ofEtherNet/IP devices canalso be changed.
Windows computer with
Network Configurator
Tag Data Link Settings (non-volatile memory)
Edit Device Parameters
Dialog Box
1-6
Transferred.
NJ-series CPU Unit
Built-in EtherNet/IP port
For details on the Network Configurator, refer to
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Section 7 Tag Data Link Functions.
Page 41
1-3Built-in EtherNet/IP Port
1-3-1Specifications
ItemSpecifications
Communications protocolTCP/IP orUDP/IP
Sysmac Studio connection, tag data link, CIP
Supported services
Physical layer
Transmission specifications
CIP service: Tag data links (cyclic communications)
Media access methodCSMA/CDModulationBasebandTransmission pathsStar formBaud rate100 Mbps (100Base-TX)
Transmission mediaTransmission distance100m max. (distancebetween huband node)Number of cascade connectionsNumber of connections32
Packet interval (refreshcycle)
Allowed communications band-width per Unit
Number of registrable tags256
Tag types
Number of tags per connection (=1tag set)
Maximum link data size per node19,200 bytes
message communications, socket services, FTP server, automatic clockadjustment (NTP client), SNMP agent, DNS client, and BOOTP client
100Base-TX or 10Base-T (100Base-TX is rec-ommended.)
Shieldedtwisted-pair (STP) cable, Category5,5e, or higher
There is no limitationwhen a Ethernet switch is used.
10 to 10,000ms in 1-ms incrementsPacket intervals can be set independently for
eachconnection. (Data is refreshed over the network at the preset intervaland does not depend on the number ofnodes.)
1,000 pps NoteThis includes the heartbeat.
Network variablesCIO,Work, Holding, DM, or EM Area
8 (7 tags when the tag set contains the Control-ler status)
600 bytes
1 Introduction
1-3 Built-in EtherNet/IP Port
1
1-3-1 Specifications
*1
*2
*3
Maximum datasize per connection
Number of registrable tag sets32 (1 connection = 1 tag set)Maximum size of 1 tag setChanging tag data link parameters
when Controller is in RUN modeMulti-cast packetfilter
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
*5
NoteData concurrency is maintained within
each connection. Refer to 7-1-7 Concur-rency of Tag Data Link Data for methods
to maintain concurrency.
300words (The Controller status uses 1 word when the tag set contains the Controller status.)
Supported
Supported
*4
1-7
Page 42
1 Introduction
CIP message ser-vice: Explicit mes-
*5
sages
SNMP
EtherNet/IP conformancetestConforms to A8
Ethernet interface
*1If tag data links are beingused, use100Base-TX.*2Here, pps means “packets per second” and indicates thenumber of packets that can be processed in one sec-
ond.
*3Touse a data size of 505bytes or higher,thesystem must support a large forwardopen (an optional CIP spec-
ification). The CS/CJ-series Units support a large forward open, but before connecting to nodes of other com-panies,confirm that thosedevices also support it.
*4If the parameters of the built-inEtherNet/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 automaticallyrecover later.
*5Becausethe built-in EtherNet/IP port is equipped with an IGMP client (version 2), unnecessary multicast pack-
ets can be filtered by a Ethernet switch that supports IGMP snooping.
*6The built-inEtherNet/IP port uses the TCP/UDP port numbers shown in the following table.
EIP data linksUDP2222Fixed valuesUsed by systemUDP2223, 2224
CIP messagesTCP44818FTP client data transfer portTCP20DNS clientTCP/UDP53BOOTP clientUDP68HTTP serverTCP80Used by system, otherTCP/UDP9600You can change the port number in FTP client control portTCP21NTP clientUDP123SNMP agentUDP161SNMP trapUDP162
ItemSpecifications
Class 3 (connected)Number of connections: 32 (clients + servers)
Number ofclients that can communicate at one
UCMM (unconnected)
AgentsSNMPv1 or SNMPv2cMIBMIB-II
ServiceProtocolPort numberRemarks
TCP9610
time: 32 max.Number ofservers that can communicate at one
time: 32 max.
10Base-T or 100Base-TXAutonegotiation or fixedsettings
the Unit Settings on the Sysmac Studio.
1-8
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 43
1-3-2Part Names and Functions
1 Introduction
1-3 Built-in EtherNet/IP Port
USB port
1
1-3-2 Part Names and Functions
Built-in EtherNet/IP port
Built-in EtherCAT port
Indicators
zEthernet Address Notation
A specific Ethernet address is allocated toeach device connected tothe Ethernetnetwork. Thebuilt-in EtherNet/IP port’s address is listed in12-digit hexadecimalinthe two places shown below onthe CPU Unit.
•LINK/ACT indicator:This shows the Ethernet communications status.
IndicatorColorStatusOperating status
NET RUN
NET ERR
LINK/ACT
sages).
Troubleshooting and Error Processingfor details.
---Not lit
Flashing
Green
Lit
---Not lit
Flashing
Red
Lit
---Not lit
Yellow
FlashingData communications inprogress after establishing link.LitLinks established.
Ethernet communications are not possible.
•The power supply is OFF or the Controller is being reset.
•A MAC address error or communications Controller error
occurred.
Ethernet communications are in progress.
•Tag data link connection establishment inprogress (origina-
tor operation)
•IP address acquisition with BOOTP in progress.Normal
If only the target isset for the tagdata link, this indicator lights regardless of whether the connection from the originator is established. It remains lit even if thedata links are stopped.
There are no Ethernet communications errors.
•The powersupplyis OFF or was reset.A user-recoverable erroroccurred.
•An error occurredinTCP/IP communications or CIP com-
munications.
•FTP Server Setting Error,NTP Server Setting Error, etc.
•Tag Data Link Setting Error, Tag Data LinkVerification Error,
etc.
A user-non-recoverable error occurred.
•A MAC address error or communications Controller error
occurred.
Link not established.
•Thecable is not connected.
•The powersupplyis OFF or was reset.
1-10
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
A program is not required to perform cyclic data exchanges with other devices on the EtherNet/IP net-work. Normally, a connection is started with the target device for each tag set that was created with theNetwork Configurator to start communications for tag data links for a built-in EtherNet/IP port. One con-nectionis used per tag set. Youcanregister up to32 connections. Thefollowingtable gives the built-inEtherNet/IP port tag andtag set specifications.
TagsTag sets
Total size of all tags ≤ 9,600wordsMaximum sizeof 1 tag set ≤ 300 words
(The maximum size is 299 words when the tag set includes the Controller status.)
Maximum size of 1tag ≤ 300 words (Themaximum sizeis299 words when the tag set includes the Controller status.)
Number of tags per tag set ≤ 8 (7 tags/tagset when the tag set includes the Controller status)
User-specifiedCIP commands can be sent todevices onthe EtherNet/IP network. CIP commands,such asthose for reading and writing data, can be sent and their responses received by executing theCIP Sendinstructionfrom the user program in the NJ-series CPU Unit(without a connection).
NJ-series Controller
CIP_SEND
Built-in EtherNet/IP port
1-4-2BOOTP 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-inEtherNet/IP port IP address.
BOOTP server
BOOTP command
IP address
BOOTP client
The built-in EtherNet/IP port IP address is obtained from the BOOTP server when the power is turned ON.
CIP command
Response
Built-in EtherNet/IP port
Ethernet(EtherNet/IP)
Ethernet
Built-in EtherNet/IP port
1-12
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 47
1 Introduction
Communications Services
1-4-3FTP Server
An FTP server is built into the built-in EtherNet/IP port so that files can be read from and written to theSD Memory Card in the CPU Unit of the Controller from computers at other Ethernet nodes. Thismakes it possible to exchange data files between a host computer and the Controller with the host com-puter as the FTP client and the ControllerastheFTP server.
SD Memory
Host computer to Controller
File data
Card
Host computer (FTP client)
FTP command
Ethernet
Built-in EtherNet/IP port
NJ-series Controller
Controller to Host computer
File data
1-4 Introduction to
1
1-4-3 FTP Server
SD Memory
Card
SD Memory
Card
1-4-4Automatic Clock Adjustment
With the built-in EtherNet/IP port, clock information is read fromthe NTP server at the specified time orat a specified interval after the power supply to the CPU Unit is turned ON. The internal clock time in theCPU Unitis updated with the read time.
NTP server
NTP command
Ethernet
Clock information
Built-in EtherNet/IP port
NJ-series Controller
Precautions for CorrectUsePrecautions for CorrectUse
AnNTP server is required to use automaticclock adjustment.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
1-13
Page 48
1 Introduction
1-4-5Socket Service
You can send data to and receive datafrom any node on Ethernet with the UDP or TCP protocol. Tosend/receive data with a socket service, you execute multiple socket communications instructions insequence in an ST program to execute the required communications processes. After a connection withthe other communications device is opened with anopen instruction, the values ofthe variables that arespecified forthe send instruction aresent and the data that was received forareceiveinstruction isstored in the specified variables. The connection is closed with a close instruction,and communicationsend. For TCP,you can also read the socket status and received data. You can use a total of 16 TCPports and UDP ports.
UNIX computer or other node with socket service interfaces
Ethernet
TCP/UDP
protocol
NJ-series CPU Unit
TCP/UDP
protocol
Built-in EtherNet/IP port
TCP
IP
Socket
UDP
Built-in EtherNet/IP port
ST Programming
SktUDPCreate(...)
SktUDPSend(...)
SktUDPRcv(...)
SktClose(...)
NJ-series CPU Unit
1-4-6Specifying Host Names
You can directly specify IP addresses, but you can also use the host names instead of the IPaddressesfor NTP servers,SNMPmanagers, or the destinationsof socket instructions and CIP communicationsinstructions (DNS client orhosts settings).
Example: Setting HostNames on the DNS Server
DNS server
Communications processes are performed with socket commu-nications instructions (for UDP).
Open processing
Send processing
Receive processing
Close processing
1-14
IP address
Host name
NJ-series Controller
Ethernet
Built-in EtherNet/IP port
Precautions for CorrectUsePrecautions for CorrectUse
ADNSserver is required touse the server host namesfor the DNS client.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 49
1 Introduction
Communications Services
1-4-7SNMP Agent
The SNMP agent passes internal status informationfrom the built-inEtherNet/IP port tonetwork man-agementsoftware that uses anSNMP manager.
Monitoring Ethernet/IP Devices
SNMP
manager
SNMP message
Management
information
SNMP agent
SNMP Trap
Built-in EtherNet/IP port
SNMP agent
1-4 Introduction to
1
1-4-7 SNMP Agent
Ethernet
Device that supports SNMP
SNMP agent
When specific conditions occur,the built-in EtherNet/IPport thatis set as theSNMP agentsendsstatusnotification reports to the SNMP manager. The SNMP manager can learn about changes instatus even without periodically monitoring ofthe built-in EtherNet/IP port. Status notification reportsaresent under the following conditions.
•When the Controller is turned ON
•Whenlinks are established
•When anSNMP agent fails to beauthorized
SNMP manager
Trap
SNMP agent
Controller turned ON.
Built-in EtherNet/IP port
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
1-15
Page 50
1 Introduction
1-5EtherNet/IP Communications
Procedures
1-5-1Outline
zBasic Operation
1
Wire the Ethernet network withtwisted-paircable.
↓
2
Set the built-inEtherNet/IP port IP address with the SysmacStudio.
1. Use the Sysmac Studio to create a new project.
2. Set the local IP address inone of thefollowing ways:
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
2-1
Page 54
2 Installing Ethernet Networks
2-1Selecting the Network Devices
2-1-1Recommended Network Devices
The following table shows the devices recommended for use with the EtherNet/IP.
zEthernet Switches
ProductManufacturerModelContact phone number
Sizes andconduc-tor pairs: AWG 24 ×4 pairs
Sizes andconduc-tor pairs: AWG 22 ×2 pairs
Sizes andconduc-tor pairs: 0.5 mm ×4 pairs
CablesTonichi Kyosan
Cable, Ltd.
Kuramo Electric Co., Ltd.
SWCC Showa Cable Systems Co. Ltd.
RJ45 Connec-tors
CablesKuramo Electric
RJ45 Assembly Connectors
CablesFujikura Ltd.F-LINK-E
RJ45 Connec-tors
Panduit Corpora-tion
Co., Ltd.OMRONXS6G-T421-1*OMRON Corporation, Cus-
Panduit Corpora-tion
NETSTAR-C5ESAB 0.5 × 4P
KETH-SBKuramo Electric Co., Ltd.
FAE-5004SWCC Showa Cable Systems
MPS588Panduit Corporation, Japan
KETH-PSB-OMR*
0.5mm × 4PMPS588Panduit Corporation, Japan
Kanetsu Planning Department
Co. Ltd.
Branch, Osaka Sales OfficeKuramo Electric Co., Ltd.
tomer Support CenterKanetsu Planning Department
Branch, Osaka Sales Office
*We recommendusing combinations of the abovecables andconnectors.
zBoots
ProductModelContact phone number
TSUKOMK Boots (IV) LBTSUKO
Precautions for CorrectUsePrecautions for CorrectUse
•Always use a Ethernet switch for tagdata links inthe network.
•If a repeater hub is used for EtherNet/IP tag data links (cyclic communications), the network’s
communications load will increase,data collisions will occur frequently, and stable communi-cations will be impossible.
2-2
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 55
2 Installing Ethernet Networks
2-1-2Network Devices Manufactured by OMRON
Thefollowingnetwork devices are manufactured by OMRON for EtherNet/IPnetworks.
SpecificationsOK: Supported, ---: Not supported.
DescriptionNumber of ports
Name
Ethernet switch
Model num-
ber
W4S1-03BPacket priority control (QoS): W4S1-05B5---W4S1-05C5OK
EtherNet/IP control data priorityFailure detection: Broadcast storm,
LSI error detection, 10/100Base-TX, Auto negotiation
2-1-3Ethernet Switch Types
zUnmanaged Layer 2 (L2) Ethernet Switches
These Ethernet switches use the Ethernet MAC address to switch ports. Ordinary Ethernet switcheshave this function.Ethernet switch functions and settings cannot be changed.
Failure detection
3---
output
2
Manufactured by OMRON
2-1 Selecting the Network Devices
2-1-2 Network Devices
zManaged Layer 2 (L2) Ethernet Switches
These Ethernet switches use the EthernetMAC address toswitch ports. Ethernet switch functionsand settingscan be changed with special software tools for Ethernet switches running ona networknode.You can also collect analytical data. These Ethernet switchesprovide more-advanced func-tions than unmanaged layer 2 Ethernet switches.
2-1-4Ethernet Switch Functions
Thissection describes the Ethernet switch functions that are important for an EtherNet/IP network. Fora built-in EtherNet/IP port, consider whether the Ethernet switch supports these functions whenyouselect the Ethernet switch.
•Multicast filtering
•QoS (Quality of Service) for TCP/UDP port numbers (L4)
zMulticast Filtering
Multicast filtering transfers multicast packets to the specific nodes only. This functionis implementedin the Ethernet switch as IGMP snooping or GMRP.“Specific nodes” are nodes equippedwith anIGMP client that have madetransfer requeststothe Ethernet switch. (OMRON built-in EtherNet/IPports are equipped with an IGMP client.) When the Ethernetswitch does not use multicast filtering,multicast packetsaresent to all nodes,just like broadcastpackets, which increases the traffic in thenetwork. Settings must be madein the Ethernet switch to enable this function. There must beenough multicast filters for the network.
zQoS (Quality of Service) Function for TCP/UDP Port Numbers (L4)
This function controls the priorityofpacket transmissions sothat packets can be sent with higher pri-ority to aparticular IP address or TCP (UDP) port. TheTCP and UDP protocols are called transportlayer protocols, leading to the name L4 (layer 4) QoS function. When tag data links and messagecommunications areexecutedon the same network, tag data links canbesent athigher priority toprevent problems such as transmission delays due to message communications traffic and packetlosses due tobuffer overflow. Settingsmust be made in the Ethernet switch to enable this functionandgive higher priority totagdata link packets.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
2-3
Page 56
2 Installing Ethernet Networks
Supportfor the abovetwofunctions is as follows for thedifferent types ofEthernetswitches.
If the Network Configurator is usedto set the connection typeinthe connection settings to a mul-ticastconnection, multicast packetsare used.If the connection type is setto a point-to-pointcon-nection,multicast packets are not used.
NoneNone---
Provided.Provided.Both functions must be set
NoneProvided.L4 QoS is set with aswitch. No
2-1-5Precautions for Ethernet Switch Selection
with a special softwaretool.
software tool is necessary.
The functions supported by the Ethernet switch may affect tag data link transmission delays and thesettings in the Controller configurations and setup. In addition, if the Ethernet switch supports advancedfunctions, special settings are required for those functions. When you select a Ethernet switch, it is nec-essary to consider whether to select the Ethernet switch based on the kind and amount of communica-tions you want toexecute in the network. Refer to the following precautionswhenyou selectaEthernetswitch. Refer to 13-2 Adjusting the Communications Loadto estimate the communications loadfor tagdata links.
Selecting the Ethernet SwitchBased on the Types of Network Communications
zExecuting Tag Data Links Only
We recommend that you use an L2 Ethernet switch without multicast filtering or an L2 Ethernetswitch with multicast filtering. An L2 Ethernet switch with multicast filtering prevents increased trafficdue to unnecessary multicast packets, so the tag data links can operate athigher speed. Ifeither ofthe following conditions exists, the amount traffic will be the same for both kinds of L2 Ethernetswitches (with or without multicast filtering).
•The tag data links are set toshare 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 datalink settings are all one-to-one (unicast) and multicast packetscannot beused.If multicast filters are being used,settings must be madeinthe Ethernet switch.There must be
enoughmulticast filters for the networkbeing used.
2-4
zExecuting Tag Data Links and Message Communications
Werecommend anL2 Ethernet switch with multicast filtering and L4 QoS. If you settag datalinksfor higher-priority transmission, it is possible to prevent problems such as transmission delays due tomessagecommunications traffic and packetlosses due to buffer overflow. Youmust make specialsettings in theEthernet switch when using themulticastfiltering function and L4QoS function.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 57
2 Installing Ethernet Networks
Selecting the Ethernet Switch Based on the Ethernet Switch’sSupported Functions
zL2 Ethernet Switch without Multicast Filtering
Werecommend this kind of Ethernetswitchwhen only tag datalinks areexecuted and any of the fol-lowing 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 toall nodes inthe network, justlike a broadcast.)
•The tag data link settings are all one-to-one(unicast)and multicastpackets cannotbe used.
•There is little traffic in the tagdata links.
No special settings are required for anL2Ethernet switch without multicast filtering.
zL2 Ethernet Switch with Multicast Filtering
We recommend this kind of Ethernet switch when only tagdata links are executed and the followingcondition is met.
•There are many1:N links (where N representssome number ofnodes in the network) in the tag
data link settings, i.e.,therearemany multicastpackets used, or there is heavy traffic in the tagdata links.
Special settings are required for an L2 Ethernetswitch with multicast filtering. There must be enoughmulticast filters for the network.
2
Switch Selection
2-1 Selecting the Network Devices
2-1-5 Precautions for Ethernet
zL3 Ethernet Switch with Multicast Filtering and L4 QoS Functions
Werecommend this kind ofEthernet switch whenbothtagdata links and messagecommunicationsare executed. If you set tag data links for higher-priority transmission, you can prevent problemssuch as transmissiondelays due to message communications traffic and packet losses due to bufferoverflow. Special settings must be made in the Ethernet switch when using the multicast filteringfunction and L4QoS function. Theremust be enough multicastfilters forthenetwork.
Precautions for CorrectUsePrecautions for CorrectUse
•Ask the Ethernet switch manufacturer forsetting procedures for the Ethernet switch.
•Install theEthernetswitchso that its environmentalresistance specifications are not
exceeded.Ask the Ethernet switchmanufacturer for information on the environmental resis-tance ofthe Ethernetswitch.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
2-5
Page 58
2 Installing Ethernet Networks
2-2Network Installation
2-2-1Basic Installation Precautions
•Take the greatest carewhen youinstall theEthernetSystem. Be sure to follow ISO 8802-3 specifica-
tions. Be sure you understand them before attemptingto install an Ethernet System.
•Unless you are already experienced in installation ofcommunications systems, we strongly recom-
mendthat you employa 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, suchas installation ofnetwork components in metalcases orthe use of optical cable in the system.
•When you install an EtherNet/IP network that combines aninformationnetwork with the control sys-
tem, and the communications load may be heavy due to tag data links, we recommend that you setup the network so that the loaddoes notaffect communications. For example, install the tagdatalinks in a segment that is separatefrom the information network.
2-2-2Recommended Network Devices
Refer toNet/IP port.
2-1 Selecting the Network Devices for the devices recommended for use with the built-in Ether-
2-2-3Precautions
Precautions on Laying Twisted-pair Cable
•Noise immunity may be reduced by ground loops,which can occurduetoimproper shield connec-
tions and grounding.Groundthe shield at one location, as shown in the following diagram.
•Do not connect the shield to the built-in EtherNet/IP port’sconnector.
•If a cable connects two Ethernet switches,connectthe shieldat only one end.
GR
STP
Ethernet switch
ConnectorConnectorConnectorConnectorConnector
Built-in EtherNet/IP port
Connect the shield.Do not connect the shield.
STP
(Shield)
STP
Ethernet switch
GR
(Shield)
EtherNet/
IP port
Connector
EtherNet/
IP port
Connector
Power
Supply Unit
GR terminal
Power
Supply Unit
GR terminal
2-6
(Shield)
•Press the cable connector in firmly until it locks into place at both the Ethernet switch and the built-in
EtherNet/IP port.
•Do notlay the twisted-paircable together with high-voltage lines.
•Do notlay the twisted-paircable near devices thatgenerate noise.
•Do notlay the twisted-paircable inlocations subject tohigh temperaturesor high humidity.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 59
2 Installing Ethernet Networks
•Do not lay the twisted-pair cable in locations subject to excessive dirt and dust ortooil mist or other
•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 powersupply.
•Before installation, check the Ethernet switch’s environmental resistance specifications, and use a
Ethernet switch thatis appropriatefor the ambientconditions.Contact the Ethernet switch manufac-turer for details on Ethernet switch’s environmental resistance specifications.
Ethernet Switch Connection Methods
•Connect two Ethernet switches to each otheras follows:
Connect anMDI port toan MDI-X port with a straight cable.Connect two MDIports or two MDI-X portswith a cross cable.
2-2 Network Installation
2
2-2-3 Precautions
NoteIt is very difficult to distinguish cross cables and straight cables by appearance. Incorrect cables will cause
communications to fail. Werecommend cascadeconnections with straight cables whenever possible.
MDI-X port (cross)
MDI port
Ethernet switch
Ethernet switch
Ethernet switch
Straight cable
Cross cable
Ethernet switch
•Some Ethernet switches can automatically distinguish between MDIandMDI-X. When this kindof
Ethernetswitchis used, straight cable can be used between Ethernet switches.
Precautions for CorrectUsePrecautions for CorrectUse
Adjust the built-in EtherNet/IP port’s link settings to match the communications settings of theconnected Ethernet switch. If the settings do not match, the link will be unstable and prevent nor-mal communications. The following tableshows the allowed settings foreach Ethernetswitchcommunications mode. (Auto-Nego: Auto negotiation, Full: Full duplex, Half:Half duplex)
Best = Recommended; OK = Allowed; --- = Not allowed.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
2-7
Page 60
2 Installing Ethernet Networks
2-3Connecting to the Network
2-3-1Ethernet Connectors
Thefollowingstandards and specifications apply to the connectors for theEthernet twisted-paircable.
•Electrical specifications: Conforming to IEEE 802.3 standards.
•Connector structure: RJ458-pin Modular Connector (conforming to ISO 8877)
Connector pinSignal nameAbbr.
1Transmission data +TD+Output2Transmission data –TD−Output3Reception data +RD+Input4Not used.------5Not used.------6Reception data –RD−Input7Not used.------8Not used.------HoodFrame groundFG---
Signal direc-
tion
2-3-2Connecting the Cable
Precautions for CorrectUsePrecautions for CorrectUse
•TurnOFF the power supply to the Controller before you connect or disconnect twisted-pair
cable.
•Allow enoughspace for the bending radius of the twisted-pair cable as shownbelow.
35 mm
1Lay the twisted-pair cable.2Connect the cableto the Ethernet switch.3Connect the twisted-pair cable totheconnector on the built-in EtherNet/IP port. Be sure to press the
connectors (both the Ethernet switchside and Ethernet side) until they lock into place.
2-8
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 61
System-defined Variables Related to the Built-in EtherNet/IP Port
3-1System-defined Variables Related to the Built-in EtherNet/IP Port. . . . . . 3-2
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3-1
Page 62
3 System-defined Variables Related to the Built-in EtherNet/IP Port
3-1System-defined Variables Related to
the Built-in EtherNet/IP Port
You can use the system-defined variables that are provided for the built-in EtherNet/IP port in programsto check the status of the built-in EtherNet/IPport.
zChecking for Errors in the Built-in EtherNet/IP Port
You can check for built-in EtherNet/IPport errors, Sysmac Studiosetting errors,Network Configura-tor setting errors, TCP/IP application errors(e.g., FTP or NTP), etc. The followinghierarchy is used.The system givesthe error status at each level bylogicallyORing the error status information in thenext lower level.
_EIP_ErrSta
Error status variable for EtherNet/IP Function Module
Error status variable for TCP/IP application function
_EIP_TcpAppCfgErr_EIP_NTPSrvErr
MAC Address ErrorCommunications Controller ErrorIP Address Duplication ErrorBasic Ethernet Setting ErrorTCP/IP Basic Setting ErrorTCP/IP Advanced Setting ErrorBOOTP Server ErrorDNS Server Connection Error
Identity ErrorTag Data Link Setting ErrorTag Data Link Connection FailedTag Data Link Communications ErrorMultiple Switches ON ErrorTag Name Resolution Error
TCP/IP Setting ErrorNTP Server Connection Error
3-2
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 63
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 system-defined variable name. The prefix gives the category name.
This is the mean-ing of the vari-able.
The function of the variable is described.The data
This is the error status variable for the built-in EtherNet/IP port.
It represents the following error flags.
•_EIP_PortErr (Communications Port Error)
•_EIP_CipErr (CIP Communications Error)
•_EIP_TcpAppErr (TCP Application Commu-
nications Error)
NoteRefer to Meanings of Error Status Bits
given later for the meaning of individualbits.
This is the error status variable for the com-munications port.
It represents the following error flags.
•_EIP_MacAdrErr (MAC Address Error)
•_EIP_LanHwErr (Communications Control-
ler Error)
•_EIP_EtnCfgErr (Basic Ethernet Setting
Error)
•_EIP_IPAdrCfgErr (TCP/IP Basic Setting
Error)
•
_EIP_IPAdrDupErr (IPAddress DuplicationError)
•_EIP_BootpErr (BOOTP Server Error)
•_EIP_IPRTblErr (TCP/IP Advanced Setting
Error)
NoteIf a Link OFF or Built-in EtherNet/IP
Processing Error occurs, it is recordedin the event log and then the corre-sponding bit turns ON. Refer to Mean-ings of Error Status Bitsgiven later forthe meaning of individual bits.
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 system-defined vari-able specifi-cations table is given.
Reference
page 3-10
page 3-11
3-2 System-defined Variables
3
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3-3
Page 64
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable nameMeaningFunctionData type
_EIP_CipErrCIP Communica-
tions Error
_EIP_TcpAppErrTCP
Application Com-munications Error
_EIP_MacAdrErrMAC Address
Error
_EIP_LanHwErrCommunications
Controller Error
_EIP_EtnCfgErrBasic Ethernet
Setting Error
_EIP_IPAdrCfgErrTCP/IP Basic
Setting Error
_EIP_IPAdrDupErrIP Address Dupli-
cation Error
_EIP_BootpErrBOOTP Server
Error
This is the error status variable for CIP com-munications.
It represents the following error flags.
_EIP_IdentityErr (Identity Error)
•
•
_EIP_TDLinkCfgErr (Tag Data Link Setting Error)
•_EIP_TDLinkOpnErr (Tag Data Link Con-
nection Failed)
•_EIP_TDLinkErr (Tag Data Link Communi-
cations Error)
•_EIP_TagAdrErr (Tag Name Resolution
Error)
•_EIP_MultiSwONErr (Multiple Switches ON
Error)
NoteIf a Tag Resolution Error occurs, it is
recorded in the event log and this vari-able changes to TRUE. Refer to ings of Error Status Bits given later forthe meaning of individual bits.
This is the error status variable for TCP appli-cation communications.
It represents the following error flags.
•_EIP_TopAppCfgErr (TCP/IP Setting Error)
•_EIP_NTPSrvErr (NTP Server Connection
Error)
•_EIP_DNSSrvErr (DNS Server Connection
Error)
NoteRefer to
given later for the meaning of individualbits.
Indicates that an error occurred when the MAC address was read at startup.
TRUE: ErrorFALSE: NormalTRUE: The communications controller failed.FALSE: NormalTRUE: The Ethernet communications speed
setting (Speed/Duplex) is incorrect. Or, a read operation failed.
FALSE: NormalTRUE:
•There is an illegal IP address setting.
•A read operation failed.
•The IP address obtained from the BOOTP
server is inconsistent.
•The DNS settings are not correct.FALSE: NormalTRUE: The same IP address is assigned to
more than one node.FALSE: Other than the above.
TRUE: There was a failure to connect to the BOOTP server (timeout).
FALSE: The BOOTP is not enabled, or BOOTP is enabled and an IPaddress was normally obtained from the BOOTP server.
Meanings of Error Status Bits
Mean-
WORD16#0000 to
WORD16#0000 to
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
Range of
values
16#00F0
16#00F0
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
Reference
page 3-11
page 3-11
page 3-12
page 3-12
page 3-12
page 3-12
page 3-12
page 3-13
3-4
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 65
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable nameMeaningFunctionData type
_EIP_IPRTblErrTCP/IP
Advanced Setting Error
_EIP_IdentityErrIdentity ErrorTRUE: The identity information (which you
_EIP_TDLinkCfgErrTag Data Link
Setting Error
_EIP_TDLinkOpnErrTag Data Link
ConnectionFailed
_EIP_TDLinkErrTag Data Link
Communications Error
_EIP_TagAdrErrTag Name
Resolution Error
_EIP_MultiSwONErrMultiple Switches
ON Error
_EIP_TcpAppCfgErrTCP/IP Setting
Error
_EIP_NTPSrvErrNTP Server Con-
nection Error
_EIP_DNSSrvErrDNS Server Con-
nection Error
TRUE: There is an error in one of the follow-ing settings. Or, a read operation failed.
•IP router table settings
•Hosts settings
FALSE: Normal
cannot overwrite) is not correct. Or, a readoperation failed.
FALSE: NormalTRUE: The tag data link settings are incor-
rect. Or, a read operation failed.FALSE: NormalTRUE: The connection was not established
because the remote node information in the tag data link parameters was different from the actual node information.
NoteThis variable does not change to TRUE
if there is no remote node when the
power is turned ON.FALSE: Other than the above.TRUE: A timeout occurred in a tag data link
connection.FALSE: Other than the above.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-published variable
does not agree with the tag setting.
•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 CPU Unit.
•There is no network-published variable in
the CPU Unit that corresponds to the tag setting.
FALSE: Other than the above.TRUE: More than one data link start/stop
switch changed to TRUE at the same time.FALSE: Other than the above.TRUE: At least one of the set values for a
TCP/IP application (FTP, NTP, SNMP) is incorrect. Or, a read operation failed.
FALSE: NormalTRUE: The NTP client failed to connect to the
server (timeout).FALSE: NTP is not set or the connection was
successful.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
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
FALSE
FALSE
Reference
page 3-13
3-2 System-defined Variables
page 3-13
page 3-13
page 3-13
3
page 3-14
page 3-14
page 3-14
page 3-14
page 3-14
page 3-15
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3-5
Page 66
3 System-defined Variables Related to the Built-in EtherNet/IP Port
zMeanings of Error Status Bits
15Bit:14131211109876543210
WORD
BitMeaning
15Master-detected error: This bit indicates whether the master detected a Controller error in the Unit/slave for the
error status of the Controller error.TRUE: The master detected a Controller error.FALSE: The master has not detected a Controller error.
(Valid for
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_CJB_ErrSta,_MC_ErrSta, and_EC_ErrSta.)
8 to 13Not used.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 3Not used.
_CJB_U_ErrSta and_EC_SlvErrTbl.)
NoteBits 14and 15 are never TRUE for thebuilt-in EtherNet/IP port.
Precautions for CorrectUsePrecautions for CorrectUse
Do not use _ErrSta (Controller Error Status), _CJB_ErrSta (I/O Bus Error Status),_CJB_MstrErrSta(I/O Bus Master Error Status), and_CJB_UnitErrSta(I/O Bus Unit Error Sta-
tus) in the user program. There may bea delayin updating them and concurrency problems mayoccur with function module error status. Use this variable only toaccess status through commu-nications froman external device.
3-6
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 67
3 System-defined Variables Related to the Built-in EtherNet/IP Port
zFunctional Classification: EtherNet/IP Communications Status
Youcancheck the status of the built-in EtherNet/IP port (e.g.,communications status).
Variable nameMeaningFunctionData type
_EIP_EtnOnlineStaOnlineTRUE: The built-in EtherNet/IPport’s com-
_EIP_TDLinkRunStaTag Data Link
Communications Status
_EIP_TDLinkAllRunStaAll Tag Data Link
Communications Status
_EIP_RegTargetSta [255]Registered
Target Node Information
_EIP_EstbTargetSta [255]Normal Target
Node Information
_EIP_TargetPLCModeSta [255]
Target PLC Oper-ating Mode
munications can be used. (The link is ON
and IP address is defined. Also, there are
no errors.)
FALSE: The built-in EtherNet/IP port’s com-
munications is disabled due to an error in
initial processing or restart processing.
TRUE: At least one connection is in normal
operation.
FALSE: Other than the above.
TRUE: Tag data links are communicating in
all connections as the originator.
FALSE: An error occurred in at least one
connection.
This variable gives a list of nodes for which
built-in EtherNet/IP connections are regis-
tered.
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 regis-
tered.
Array[x] is FALSE: The connection to the
node with a target node ID of x is not regis-
tered.
This variable gives a list of nodes that have
normally established built-in EtherNet/IP
connections.
Array[x] is TRUE: The connection to the
node with a target node ID of x was estab-
lished normally.
Array[x] is FALSE: The connection to the
node with a target node ID of x was not
established, or an error occurred.
This variable shows the operating status of
the target node Controllers that are con-
nected with the built-in EtherNet/IP port as
the originator.
The array elements are valid only when the
corresponding Normal Target Node Infor-
mation is TRUE. If the corresponding Nor-
mal Target Node Information is FALSE, the
Target Node Controller Operating Informa-
tion 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.
Range of
values
BOOLTRUE or
BOOLTRUE or
BOOLTRUE or
ARRAY [0..255] OF BOOL
ARRAY [0..255] OF BOOL
ARRAY [0..255] OF BOOL
FALSE
FALSE
FALSE
TRUE orFALSE
TRUE orFALSE
TRUE orFALSE
Reference
page 3-15
page 3-15
page 3-15
page 3-15
page 3-16
page 3-16
3-2 System-defined Variables
3
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3-7
Page 68
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable nameMeaningFunctionData type
_EIP_TargetPLCErr [255]Target PLC Error
Information
_EIP_TargetNodeErr [255]Target Node
ErrorInformation
_EIP_NTPResultNTP Operation
Information
.ExecTimeNTP Last
Operation Time
.ExecNormalNTP Operation
Result
This variable shows the error status (logical OR of fatal and non-fatal errors) of the tar-get node Controllers that are connected with the built-in EtherNet/IP ports as theoriginator. The array elements are valid only when the corresponding Normal Target Node Information is TRUE. The immedi-ately preceding value is retained if this vari-able is FALSE.
Array[x] is TRUE: A fatal or non-fatal error occurred in the target Controller with a tar-get node ID of x.
Array[x] is FALSE: Other than the above.This variable indicates that the connection
for the Registered Target Node Information was not established or that an error occurred in the target Controller. The array elements are valid only when the Regis-tered Target Node Information is TRUE.
Array[x] is TRUE: A connection was not nor-mally 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 Regis-teredTarget Node Information is TRUE andthe Normal Target Node Information is TRUE).An error occurred in the target Controller (the Target PLC Error Information is TRUE.).
Use the GetNTPStatus instruction to readthe NTP operation information from the user program. Direct access is not possible.
Gives the last time that NTP processing ended normally. The time that was obtained from the NTP server is stored when the time is obtained normally. The time is not stored if it is not obtained from the NTP server normally.
NoteDo not use this variable in the user
program. There may be a delay inupdating it. Use this variable only toaccess status through communica-tions from an external device.
TRUE: Indicates an NTP normal end.FALSE: Indicates that NTP operation ended
in an error or has not been executed even once.
NoteDo not use this variable in the user
program. There may be a delay inupdating it. Use this variable only toaccess status through communica-tions from an external device.
Range of
values
ARRAY[0..255] OF BOOL
ARRAY[0..255] OF BOOL
_sNTP_RESULT
DATE_AND_TIME
BOOLTRUE or
TRUE orFALSE
TRUE orFALSE
Depends on data type.
FALSE
Reference
page 3-16
page 3-16
page 3-17
page 3-17
page 3-17
3-8
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 69
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Additional Information
Relationships between the Target Node Information Tables
Registered TargetNode Information
Registered Tar-get Node Infor-
mation
(_EIP_RegTarget
Sta)
TRUETRUEFALSEFALSEA connection with
FALSEDisabledDisabledDisabledThe information is
Valid only when
_EIP_RegTargetSta is
TRUE
Normal Target Node
Information
(_EIP_EstbTargetSta)
FALSEDisabledTRUEA connection with
Normal Target Node
Information
Valid only when
_EIP_EstbTargetSta
is TRUE
Target PLC Error
Information
(_EIP_EIP_TargetPLC
Err)
TRUETRUEA connection with
Registered Target Node Information
Valid only when
_EIP_RegTargetSta is
TRUE
Target Node Error
Information
(_EIP_TargetNodeErr)
Description
the target node was established nor-mally and there is no error in the tar-get PLC.
the target node was established but there is an error inthe target PLC.
the target node was not established nor-mally.
not valid because the target node is not registered.
There is a system-defined variable for communications that is related to FINS/TCP* communica-tions.
Variable
name
FINSTCP-ConnSta
*You can use FINS message communications with NJ-series Controllers. However, not all memory areas
in the NJ-series CPU Unit can be accessed. If you require this functionality, e.g., to connect to existingsystems, consult with your OMRON representative.
MeaningDescriptionData type
FINS/TCP ConnectionStatus
This is the start switch for data links.BOOLTRUE or
This is the stop switch for data links.BOOLTRUE or
This is the FINS/TCP connectionstatus.
Opera-
tion/refresh
timing
WORDAnytime16#0000 to
Range of
values
16#FFFF
Range of
values
FALSE
FALSE
DefaultR/W access
0RNone
Reference
page 3-17
page 3-17
Relatedinstruc-
tions
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3-9
Page 70
3 System-defined Variables Related to the Built-in EtherNet/IP Port
3-3Specifications for Individual System-
defined Variables
The specificationsfor eachsystem-defined variablearegiven as described below.
Variable nameThis is the system-defined variable name. The prefix
MeaningThis is the meaning of the variable.Global/localGlobal: Global variable, Local:Local
FunctionThe function of the variable is described.Data typeThe data type of the variable is given.Range of valuesThe range of values that the vari-
R/W accessR: Read only,
Usage in user programWhether you
gives the category name.
RetainedThe Retain
RW: Read/write
can use the vari-able directly in the user pro-gram is speci-fied.
Related instruc-tions
attribute of thevariable is given.
The instructions that are related to the variable are given.If you cannot use the variable directly in the user program, the instructions
that access the variable are given.
MembersThe member names are given for
structure variables.
variable
able can take is given.
Network PublishThe Network Publish attribute of the
Variable name_EIP_ErrStaMeaningBuilt-in EtherNet/IP ErrorGlobal/localGlobalFunctionThis is the error status variable for the built-in EtherNet/IP port.
It represents the following error flags.
•_EIP_PortErr (Communications Port Error)
•_EIP_CipErr(CIP Communications Error)
•_EIP_TcpAppErr (TCP Application Communications Error)NoteRefer to Meanings of Error Status Bits given later for the meaning of individual bits.
Data typeWORDRange of values16#0000 to 16#00F0R/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
You can access this variable from the user program with the following instruction.
•GetEIPError
3-10
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 71
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_PortErrMeaningCommunications Port ErrorGlobal/localGlobalFunctionThis is the error statusvariable for the communications port.
It represents the following error flags.
•_EIP_MacAdrErr (MAC Address Error)
•
_EIP_LanHwErr (Communications Controller Error)
•_EIP_EtnCfgErr (Basic Ethernet Setting Error)
•_EIP_IPAdrCfgErr (TCP/IP Basic Setting Error)
•_EIP_IPAdrDupErr (IP Address Duplication Error)
•_EIP_BootpErr (BOOTP Server Error)
•_EIP_IPRTblErr (TCP/IP Advanced Setting Error)NoteIf a link OFForBuilt-in EtherNet/IP Processing Erroroccurs, it is recorded in the event log and then corre-
sponding bit turns ON. Refer to Meanings of Error Status Bits given later for the meaning of individual bits.
Data typeWORDRange of values16#0000 to 16#00F0R/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
You can access this variable from the user program with the following instruction.
•GetEIPError
3-3 Specifications for Individual System-defined
Variables
3
Variable name_EIP_CipErrMeaningCIP Communications ErrorGlobal/localGlobalFunctionThis is the error status variable for CIP communications.
It represents the following error flags.
•_EIP_IdentityErr (Identity Error)
•
_EIP_TDLinkCfgErr (Tag Data Link Setting Error)
•_EIP_TDLinkOpnErr (Tag Data Link Connection Failed)
•_EIP_TDLinkErr (Tag Data Link Communications Error)
•_EIP_TagAdrErr (Tag Name Resolution Error)
•_EIP_MultiSwOnErr (Multiple Switches ON Error)NoteIf a Tag Resolution Error occurs, it is recorded in the event log and this variable changes to TRUE. Refer to
Meanings of Error Status Bits given later for the meaning of individual bits.
Data typeWORDRange of values16#0000 to 16#00F0R/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_TcpAppErrMeaningTCPApplication Communications ErrorGlobal/localGlobalFunctionThis is the error status variable for TCP application communications.
It represents the following error flags.
•_EIP_TcpAppCfgErr (TCP/IP Setting Error)
•_EIP_NTPSrvErr (NTP Server Connection Error)
•
_EIP_DNSSrvErr (DNS Server Connection Error)
NoteRefer to Meanings of Error Status Bits given later for the meaning of individual bits.
Data typeWORDRange of values16#0000 to 16#00F0R/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
You can access this variable from the user program with the following instruction.
•GetEIPError
You can access this variable from the user program with the following instruction.
•GetEIPError
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3-11
Page 72
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_MacAdrErrMeaningMAC Address ErrorGlobal/localGlobalFunctionIndicates that an error occurred when the MAC address was read at startup.
TRUE: Error
FALSE: NormalData typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_LanHwErrMeaningCommunications Controller ErrorGlobal/localGlobalFunctionTRUE: The communications controller failed.
FALSE: NormalData typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
Variable name_EIP_EtnCfgErrMeaningBasic Ethernet Setting ErrorGlobal/localGlobalFunctionTRUE: The Ethernet communications speed setting (Speed/Duplex) is incorrect. Or, a read operation failed.
FALSE: NormalData typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
•The IP address obtained from theBOOTP server is inconsistent.
•The DNS settings are not correct.
FALSE: NormalData typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
Variable name_EIP_IPAdrDupErrMeaningIP Address Duplication ErrorGlobal/localGlobalFunctionTRUE: The same IP address is assigned to more than one node.
FALSE: Other than the above.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
3-12
---
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 73
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_BootpErrMeaningBOOTP Server ErrorGlobal/localGlobalFunctionTRUE: There was a failure to connect to the BOOTP server (timeout).
FALSE: The BOOTPis not enabled, or BOOTP is enabled and an IP address was normally obtained from the
BOOTP server.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_IPRTblErrMeaningTCP/IPAdvanced Setting ErrorGlobal/localGlobalFunctionTRUE: There is an error in one of the following settings. Or, a read operation failed.
•IProuter table settings
•Hosts settings
FALSE: Normal.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
3-3 Specifications for Individual System-defined
Variables
3
Variable name_EIP_IdentityErrMeaningIdentity ErrorGlobal/localGlobalFunctionTRUE: The identity information (which you cannot overwrite) is not correct. Or, a read operation failed.
FALSE: Normal.Data typeBOOLRange of valuesTRUEor FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_TDLinkCfgErrMeaningTag Data Link Setting ErrorGlobal/localGlobalFunctionTRUE: The tag data link settings are incorrect. Or, a read operation failed.
FALSE: Normal.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_TDLinkOpnErrMeaningTag Data Link Connection FailedGlobal/localGlobalFunctionTRUE: The connection was not establishedbecause the remote node information in the tag data link parameters
was different from the actual node information.
NoteThis variable does not change to TRUE if there is no remote node when the power is turned ON.
FALSE: Other than the above.Data typeBOOLRange of valuesTRUEor FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
---
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3-13
Page 74
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_TDLinkErrMeaningTag Data Link Communications ErrorGlobal/localGlobalFunctionTRUE: A timeout occurred in a tag data link connection.
FALSE: Other than the above.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_TagAdrErrMeaningTag Name Resolution ErrorGlobal/localGlobalFunctionTRUE: Tag resolution failed (i.e., the address couldnot be identified from the tag name). Thefollowing causes are
possible.
•The size of the network-published variable does not agree with the tag setting.
•The I/O direction thatis set in the tag data link settings does not agree withtheI/O directionofthe vari-
able in the CPU Unit.
•There is no network-published variable in the CPU Unit that corresponds to the tag setting.
FALSE: Other than the above.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
Variable name_EIP_MultiSwONErrMeaningMultiple Switches ON ErrorGlobal/localGlobalFunctionTRUE: More than one data link start/stop switch changed to TRUE at the same time.
FALSE: Other than the above.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_TcpAppCfgErrMeaningTCP/IP Setting ErrorGlobal/localGlobalFunctionTRUE: At least one of the set values for a TCP/IP application (FTP, NTP, SNMP) is incorrect. Or, a read operation
failed.
FALSE: Normal.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_NTPSrvErrMeaningNTP Server Connection ErrorGlobal/localGlobalFunctionTRUE: The NTP client failed to connect to the server (timeout).
FALSE: NTP is not set or the connection was successful.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
---
3-14
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 75
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_DNSSrvErrMeaningDNS Server Connection ErrorGlobal/localGlobalFunctionTRUE: The DNSclient failed to connect to the server (timeout).
FALSE: DNS is not enabled. Or, DNS is enabled and the connection was successful.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
3-3 Specifications for Individual System-defined
zFunctional Classification: EtherNet/IP Communications Status
Variable name_EIP_EtnOnlineStaMeaningOnlineGlobal/localGlobalFunctionTRUE: The built-in EtherNet/IP port’s communications can be used. (The link is ON and IPaddress is defined.
Also, there are no errors).
FALSE: The built-in EtherNet/IP port’s communications is disabled due to an error in initial processing or restart
processing.Data typeBOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_TDLinkRunStaMeaningTag Data Link Communications StatusGlobal/localGlobalFunctionTRUE: At least one connection is in normal operation.
FALSE: Other than the above.Data typeBOOLRange of valuesTRUEor FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
Variables
3
Variable name_EIP_TDLinkAllRunStaMeaningAll Tag Data Link Communications StatusGlobal/localGlobalFunctionTRUE: Tag data links are communicating in all connections as the originator.
FALSE: An error occurred in at least one connection.Data typeBOOLRange of valuesTRUEor FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_RegTargetSta [255]MeaningRegistered Target Node InformationGlobal/localGlobalFunctionThis variable gives a list of nodes for which built-in EtherNet/IP connections are registered.
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 FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3-15
Page 76
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_EstbTargetSta [255]MeaningNormal Target Node InformationGlobal/localGlobalFunctionThis variable gives a list of nodes that have normally established EtherNet/IP connections.
Array[x] is TRUE: The connection to the node with a target node ID of x was established normally.Array[x] is FALSE: The connection to the node with a target node ID of x was not established, or an error
occurred.Data typeARRAY [0..255] OF BOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_TargetPLCModeSta [255]MeaningTarget PLC Operating ModeGlobal/localGlobalFunctionThis variable shows the operating status of the target node Controllers that are connected with the built-in Ether-
Net/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.
Data typeARRAY [0..255] OF BOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
Variable name_EIP_TargetPLCErr [255]MeaningTarget PLC Error InformationGlobal/localGlobalFunctionThis variable shows the error status (logical OR of fatal and non-fatal errors) of the target node Controllers that
are connected 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.
Data typeARRAY [0..255] OF BOOLRange of valuesTRUE or FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_TargetNodeErrMeaningTarget Node Error InformationGlobal/localGlobalFunctionThis variable indicates that the connection for the Registered Target Node Information 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
RegisteredTarget 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 Informa-
tion is FALSE), or a connection was normally established with the target node (the Registered Target Node Infor-
mation 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 FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
3-16
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 77
3 System-defined Variables Related to the Built-in EtherNet/IP Port
Variable name_EIP_NTPResultMembers.ExecTimeMeaningNTPLast Operation TimeGlobal/localGlobalFunctionGives the last time that NTP processing ended normally.
The time that was obtained from the NTP server is stored when the time is obtained normally.The time is not stored if it is not obtained from the NTP server normally.
NoteDo not use this variable in the user program. There may be a delay in updating it. Use this variable only to
access status through communications from an external device.
Data typeStructure: _sNTP_RESULT
Members: DATE_AND_TIMER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programNot possible.Related instruc-
tions
Variable name_EIP_NTPResultMembers.ExecNormalMeaningNTP Operation ResultGlobal/localGlobalFunctionThis variable shows if the NTP operation ended normally.
TRUE: Indicates an NTP normal end.
FALSE: Indicates that NTP operation ended in an error or has not been executed even once.
NoteDo not use this variable in the user program. There may be a delay in updating it. Use this variable only to
access status through communications from an external device.Data typeBOOLRange of valuesTRUEor FALSER/W accessRRetainedNot retained.Network PublishPublished.Usage in user programNot possibleRelated instruc-
tions
You can read the contents of this variable with the GetNTPStatus instruc-tion.
You can read the contents of this variable with the GetNTPStatus instruc-tion.
Variable name_EIP_TDLinkStartCmdMeaningTag Data Link Communications Start SwitchGlobal/localGlobalFunctionThis is the start switch for data links.Data typeBOOLRange of valuesTRUEor FALSER/W accessRWRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
Variable name_EIP_TDLinkStopCmdMeaningTag Data Link Communications Stop SwitchGlobal/localGlobalFunctionThis is the stop switch for data links.Data typeBOOLRange of valuesTRUEor FALSER/W accessRWRetainedNot retained.Network PublishPublished.Usage in user programPossible.Related instruc-
tions
---
---
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
3-17
Page 78
3 System-defined Variables Related to the Built-in EtherNet/IP Port
3-18
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
4-3-2Using a Private Address for the Built-in EtherNet/IP Port . . . . . . . . . . . . . . . 4-11
4-3-3Using a Global Address for the Built-in EtherNet/IP Port. . . . . . . . . . . . . . . . 4-12
4
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
4-1
Page 80
4 Determining IP Addresses
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 hostnumber(hostID).The network number identifies the network,and the hostnumber identifies the node(or host) on the network. IPaddresses are divided into three classes, A, B, and C, so that the addresssystem can beselected accordingto the scale of the network.(Classes D andE are not used.)
Class A
Bit 31
0
230
Host ID (24 bits)Network ID (7 bits)
Class B
Class C
Class D
Class E
Bit 31
1
Bit 31
1
Bit 31
1
Bit 31
101101
Network ID (14 bits)
0
10
11
Network ID (21 bits)
150
Host ID (16 bits)
70
Host ID (8 bits)
Multicast address
Experimental address
0
(Cannot be used.)
(Cannot be used.)
The number of networks in each class and the number of hosts possible on the network differ accordingto the class.
ClassNumber of networksNumber of hosts
Class ASmallClass BMediumClass CLarge
24
−2max. (16,777,214 max.)
2
16
−2 max. (65,534 max.)
2
8
−2max. (254 max.)
2
The 32 bits of binarydata in an IP address are divided intofour sections of eight bitseach.IPaddresses are represented by the decimal equivalentof each ofthefour octetsinthe 32-bit address,each separated by a period.
For example, the binaryaddress 10000010 00111010 00010001 00100000 would be represented as
130.58.17.32.
4-2
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 81
4-1-2Allocating IP Addresses
You must assign IP addresses nodes sothat each IP address is assigned only once in the network orbetween several networks.
4-1-3Subnet Masks
Operation and managementof a network can become verydifficult if too many nodes are connected ona singlenetwork.In such a caseit can be helpful toconfigure the system sothat a singlenetwork isdivided up intoseveral subnetworks.Internally the network can be treated asa numberof subnetworks,but fromthe outside it acts asa single network and uses only a single network ID. Toestablish subnet-works,the host ID in the IP address is divided into a subnet IDand a host ID by using a setting calledthe subnet mask. The subnet mask indicates which partof the host ID is to be used as the subnetID.All bits in the subnet mask that correspond to the bits in the IP address used either as the network IDorsubnet ID are set to “1,” and the remaining bits, which correspond to the bits in the IP address actuallyusedfor the host ID, are set to“0.”
Thefollowing example shows the subnet mask for an 8-bit subnetIDused 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
Set thesame subnet maskforall of the nodesonthat subnetwork. The built-in EtherNet/IPportsup-ports 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 followingsubnet mask values for IP addressclasses A toC.
Class A255.0.0.0Class B255.255.0.0Class C255.255.255.0
4-1-4CIDR
CIDR, or classless interdomainrouting,is usedto assignIP addresses that do notuseclasses. IPaddresses that use classes are separated into blocks according to network IDs and host IDs, resultingin inefficient usage of IP address space. CIDR does not use classes,so IPaddress space can bedivided asrequired to more efficiently use IP address space. For example, using a subnet mask settingwithCIDR enables buildinga horizontally distributed network exceeding 254 nodes evenif a class Caddress block (e.g., 192, 168...) is used.
192.0.0.0 to 255.255.255.252
11111111111111111111111100000000 FF FF FF 00
Host IDSubnet IDNetwork ID
ClassSubnet mask
Subnet MaskRange
4-1-2 Allocating IP Addresses
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
4-3
Page 82
4 Determining IP Addresses
4-2Built-in EtherNet/IP Port IP Address
Settings
4-2-1Determining IP Addresses
Use one of the following methods to set theIP address ofthe built-in EtherNet/IP port.
Setting a User-specified IP Address
If you need to change the default IP address of the built-in EtherNet/IP portor if you need to use thebuilt-in EtherNet/IP port with another EtherNet/IP node, set the IP address to the required value.
Automatically Obtaining the IP Address from the BOOTP Server
There are two methods to automatically obtainan IP address.
•Obtain the IP address from the BOOTP servereach time the power is turned ON.
•Obtain the IP address from the BOOTP serveronce when the power is turned ON and then do not
allow it to change.
BOOTP server
IP address
BOOTP command
NJ-series ControllerNJ-series Controller
BOOTP client
Ethernet
4-4
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 83
4-2-2Setting IP Addresses
Usethe Sysmac Studioto set the IP address of the built-inEtherNet/IP port.
1
Select the setting methodfor IPaddresses.Make the following settingson the TCP/IP SettingsDisplay of the Built-inEtherNet/IP PortSet-
tings Tab Pagein the ControllerSetup to set thelocal IP address.
2
Connect the Sysmac Studio to the NJ-series CPU Unit via a USB connection or the Ethernetnetwork.
4 Determining IP Addresses
4-2 Built-in EtherNet/IP Port IP Address Settings
Used to set a user-specified IP address.
Used to obtain the IP address from the BOOTP server each time the power is turned ON.
Used to obtain the IP address from the BOOTP server once and then not change it.
3
Connect the Sysmac Studio online to the NJ-series CPU Unit. Refer to 4-2-3 Online Connectionfor the procedure toconnect online.
4
Use one of the following methods to download the IPaddresses thatwere seton the SysmacStudio to the NJ-series CPU Unit.
•Go online with the Controller, andthen selectSynchronizationfrom the Controller Menu.
The data on thecomputer andthe data inthephysical Controller are compared automatically.
•Click the Transfer to Controller Button.
NoteUse theSynchronization Menuof the SysmacStudio to uploadand downloaddata.
5
After the IP address settings are downloaded, the IP address is reflected in the CPU Unit asfol-lows:
Setting a User-specified IP Address
AftertheIPaddress settings are downloaded,theset IP address is automatically savedintheCPU Unit.
Obtaining the IP Address from the BOOTP Server Each Time the Power Is Turned ON
Afterthedata is downloaded, the IP address fromthe BOOTP server is automatically savedinthe CPU Unit. Each time the power supply is turned ON,theIPaddress from the BOOTP serveris automatically saved in the CPU Unit.
Additional Information
4
4-2-2 Setting IP Addresses
If you cannot obtain the IP address from the BOOTP server or the obtained IP address is notcor-rect, select theFixed settingOption in the IP Address Area andmanually setthe IP address,subnetmask, anddefault gateway. Requests tothe BOOTP serverto obtain the IP address willcontinue ifthere is a failureto connectto the BOOTP server.
Obtaining the IP Address from theBOOTP Server Once Whenthe Power Is Turned ON and Then Not Allow It toChange
After the I/O address is downloaded, the IP address from the BOOTP server is automaticallysavedinthe Controllerand then the same address is used.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
4-5
Page 84
4 Determining IP Addresses
1
Additional Information
•The TCP/IPSettings Display is not updatedevenif the IPaddress is obtained normally from
the BOOTP server. To check the IP address that was obtained from the BOOTP server on theTCP/IP Display, upload the projectfrom the NJ-series Controller.
•If you cannot obtain the IP address from the BOOTP server, the
from BOOTP serverOption is selected on the TCP/IP Display. SelectFixed Setting in the IPAddress Settings and manually set the IPaddress, subnetmask, anddefault gateway.
•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 atthe IP address obtained fromBOOTP
server
.
•After the IPaddress is obtained from the BOOTP server, the built-in EtherNet/IPportIP
address setting is automatically set to Fixed setting. Therefore, the IP address will not matchwhen the program is verified on theSysmac Studio.
Additional Information
Fix at the IP address obtained
When the local IPaddress ofthe built-in EtherNet/IP is set, the FINS node address is automati-cally set as follows:
Example:Pairing IP Addresses and FINS NodeAddresses with Automatic Creation Method
TCP/IP Settings Display
Host number (last 8 bits of the IP address)
After the IP address is obtained from the BOOTP server, the node address of the built-in EtherNet/IP FINS is set.
FINS Settings Display
The same value as the host number is set.
When FINS node address are created automati-cally, the FINS node address is the host ID and it cannot be changed. It can be changed if you use both methods or an IP address table method.
TheFINS node address is required for FINS communications (e.g., to connect to the CX-Integra-tor and other SupportSoftware).
NoteYou can use FINS message communications with NJ-series Controllers.However, not all memory areas in
the NJ-series CPU Unit can be accessed. If you require this functionality, e.g., toconnect toexisting sys-tems, consult with your OMRON representative.
4-6
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 85
4-2-3Online Connection
Connect the Sysmac Studio online to the NJ-seriesCPU Unit.
Types of Connections between the CPU Unit and Computer That Runs the Sysmac Studio
The CPU Unit and the computer that runs Sysmac Studio are connected as shown below via USB orEthernet:
USB Connection
USB DirectConnection
Sysmac Studio
USB connection
4 Determining IP Addresses
4-2 Built-in EtherNet/IP Port IP Address Settings
Ethernet Connection
1:1 Ethernet Direct Connection through AutoIP1:N EthernetSwitch Connection
Ethernet
NoteA Ethernet switch isrequired to connect. Refer to
Note1A Ethernet switchis not necessarily required.
2You can use a straight or cross Ethernet cable
to connect.
Ethernet
2-1-5 Precautions for EthernetSwitch Selection
for details.
Connection from USB Across Ethernet
1:NUSB Remote Connection
USB
NoteA Ethernet switch is required toconnect. Refer to
Precautions for Ethernet Switch Selection for details.
Ethernet
2-1-5
4
4-2-3 Online Connection
Additional Information
Auto IP automatically assigns IPaddresses in Windows 98 and lateroperating systems.UniqueIP addresses areautomatically assigned from the address 169.254.0.0 to169.254.255.255.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
4-7
Page 86
4 Determining IP Addresses
Online Connection Procedure
Connect the CPU Unit and the computer that runs the Sysmac Studio via USB or Ethernet, andthenperform the following procedure.
1
SelectController − Communications Setup and click theOK Button in the Sysmac StudioProject Window.
1:1 Connection1:N Connection
Direct Connection
EtherNet/IP Connection
EtherNet/IP Connection
Additional Information
•Ifthereis an errorintheset IP address, the NJ-series CPU Unit behaves as follows:
•The NET RUN indicator on the CPU Unit does not light and the NET ERR indicator flashes
red.
•A TCP/IP Basic Settings Error is recorded in the event log.
If you use a USB direct connection oran Ethernetdirectionconnection,it is possible to reset theIP address because the Sysmac Studio can connect to the CPU Unit via the built-in EtherNet/IPport.
Precautions for CorrectUsePrecautions for CorrectUse
•If the IP address is duplicated or not set correctly, communications are not possible via the
EtherNet/IP network.
•The IP address range shownbelow is usedby the system and cannotbe specified.
169.254.0.0 to 169.254.255.255
192.168.255.0 to 192.168.255.255
Connecting from a Saved Project
The connection configuration that is set (USB or EtherNet/IP) is saved in the project. (The file isxxx.txs.) Ifyou open a saved project on the Sysmac Studio, you can connect tothe EtherNet/IP networkwithout redoing the settings.
4-8
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 87
4-2-4Checking the Current IP Address
The current IP address can be confirmed in the Controller Status Pane of the Sysmac Studio eitherwhenit is set manually orobtained fromthe BOOTP server.
•Basic Controller Status Pane•Controller Status Pane with Details
4 Determining IP Addresses
4-2 Built-in EtherNet/IP Port IP Address Settings
Additional Information
If you change the IP address setting from the Obtain from BOOTP server. Optionto the Fix at theIP address obtained from BOOTP server Option and synchronize theController Setup from the
Sysmac Studio, youcan check the IP address that was obtained from theBOOTP server.
4
4-2-4 Checking the Current IP
Address
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
4-9
Page 88
4 Determining IP Addresses
4-3Private and Global Addresses
4-3-1Private and Global Addresses
Thereare twokinds of IPaddresses, private and global.
IP addressDescription
Global addressThese are IP addresses that connect directly to the Internet.
Allocated by applicationto NIC, each address isunique in the world, and as many as4.3 billion can be allocated world-wide.
PrivateaddressThese are IP addresses for Intranet (LAN) use.Direct con-
nection to the Internet is not possible. Frames that includeprivate IP addresses are restrictedbytherouter from beingsent outside the LAN.
Generally, as shown below, global addresses in the intranet are allocated only toIP routers (such asbroadband routers) interfaced with the Internet. All other nodes in the intranet, which includes the built-in EtherNet/ IP port, are allocated private addresses.
● Intranet
IP router
Firewall
● Intranet
Global address
Private address
Personal computer
(e.g., Sysmac Studio)
Firewall
IP router
● Internet
Ethernet (EtherNet/IP)
Controller
Ethernet (EtherNet/IP)
Private address
Global address
Personal computer
(e.g., Sysmac Studio)
Private addressPrivate address
Controller
Controller
(required)
Private address
Cannot connect to Internet
Cannot connect to Internet
Private address
4-10
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 89
4 Determining IP Addresses
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
Built-in EtherNet/IP port: Private address
● Internet
Communications in intranet
Ethernet (EtherNet/IP)
Ethernet (EtherNet/IP)
Communications in intranet
Controller
CIP client on a computer, such as Sysmac Studio or Network Configurator
Explicit message
Explicit message
4-3 Private and Global Addresses
4
4-3-2 Using a Private Address for
the Built-in EtherNet/IP Port
Controller
Communications in intranet
Built-in EtherNet/IP port: Private address
Built-in EtherNet/IP port: Private address
Controller
zConditions for Communications Applications
If the built-in EtherNet/IPportusesa privateaddress, you can use explicit messagecommunicationsservice 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 asa personal computer (CIP applications including the Network Configurator) can-
notconnect online and communicate overthe Internet with a built-inEtherNet/IP port that has aprivate address. Explicit message communications are also not possible overthe Internetbetween built-inEtherNet/IP ports withprivate addresses.
Precautions for CorrectUsePrecautions for CorrectUse
Network Security and Firewalls
Toset up an intranet through a global address involves networksecurityconsiderations. Be sureto consult with a network specialist in advance and consider installation of a firewall. After a fire-wall has been set up by acommunications company technician, there may besome applicationsthat cannotbe used. Be sure tocheck first with thecommunications company technician.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
4-11
Page 90
4 Determining IP Addresses
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
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)
zConditions for Communications Applications
You can use the explicit message communications service over the Internet under the following con-ditions.
•A device such asa 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 globaladdress.
•The TCP port number(44818) orUDP port number (44818) that is used for EtherNet/IP cannotbe
used because it is prohibited by a firewall in the communications path.
4-12
Precautions for CorrectUsePrecautions for CorrectUse
Network Securityand Firewalls
To set a global IP address for a built-in EtherNet/IP port involves network security considerations.It is recommended that the user contractwith a communications company fora dedicatedline,rather thanfor a general line such asa broadband line. Also, be sureto consult with a networkspecialist and considersecuritymeasuressuch as a firewall. After a firewall has been setup bya communications technician, there may be some applicationsthat cannot beused. Besure tocheck first with the communications technician.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 91
Sysmac Studio Settings for the Built-in EtherNet/IP Port
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
5-1
Page 92
5 Sysmac Studio Settings for the Built-in EtherNet/IP Port
5-1TCP/IP Display
zSetting the IP Addresses
SettingDescriptionDefault
IP AddressSelect the setting method for the IP address for the built-in
EtherNet/IP port.
•Fixed setting
•Obtain from BOOTP server.
•Fix at the IP address obtained from BOOTP server.
IP addressSubnet maskDefault gateway
*These settings are required if you select
*
*
*
Set the IP address for the built-in EtherNet/IP port.192.168.250.1Set the subnet mask for the built-in EtherNet/IP port.255.255.255.0Set the IP address of the default gateway for the built-in
EtherNet/IP port. This setting is not required whenthedefault gateway is not used.
Fixed setting.
Fixed setting
None
zDNS
SettingDescriptionDefault
DNSSet whether to specify thehost namein the DNS server in
CIP communications andsocket instructions to specify the remote communicationsnode instead of the IP address.
A DNS server is required to use DNS.Use/Do not use.
*
Priority DNS serverSecondary DNSserverNone
Domain name
*
Set the IP address of the DNS server. Youcan set priority and secondary IP addresses.
Sets thedomainname of the domain towhich the built-inEtherNet/IP port belongs.Thebuilt-in EtherNet/IP portdoes not use a domainname in actual communications. (Single-byte alphanumeric characters, dots, and hyphens: 48 characters max.)
Do not use.
None
None
5-2
*These settings are required when DNS is used.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 93
5 Sysmac Studio Settings for the Built-in EtherNet/IP Port
zHosts Settings
SettingDescriptionDefault
Host NameAddresses are converted according to this setting when
host names are usedto specify remote communications nodes.They can be set even if DNS isnot used. You can set up tosix host names. (You can useupto 200 single-bytealpha-numeric characters, dots, andhyphens with up to 63single-byte alphanumericcharacters between dots.)
IP AddressSet the IP addresses of the registeredhosts.None
None
zKeep Alive
SettingDescriptionDefault
Keep AliveSet whether to use the remote node keep alive function of
connected servers and clients (such as socket services, FTP server, Sysmac Studio, and FINS/TCP) for eachcon-nection number. If node does not respond during the set monitoringtime, theconnection is disconnected. The connection is left open if the power supply to the remote node is turned OFF without warning. Use the keep-alive function whenever possible.
•Use.
•Do not use.
Keep Alive Monitoring Time
Linger optionSet whether to specify the Linger Option for connections to
The connection is disconnectedif the keep-alive function is enabled and the remote node does not respond during the monitoring time set intheKeep Alive MonitoringSetting.
Setting range: 1 to65,535 (seconds)
FINS/TCP or socket services. If the Linger Option is speci-fied, the port numberis immediately opened evenbefore the portnumber is released after the socket closes (approx. 1 minute).
•Specify.
•Do not specify.
Use is selected hereand the remote
Use.
300
Do not specify.
5-1 TCP/IP Display
5
zIP Router Table
ParameterDescriptionDefault
Destination IP addressSet these settings when the built-in EtherNet/IP portcom-Destination mask IP
addressGateway addressNone
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
municates with nodes on other IP network segments via an IP router. You can set up toeight combinations of IP addresses and gatewayaddresses.Specify 0for the host portions of the IP addresses.
None
5-3
Page 94
5 Sysmac Studio Settings for the Built-in EtherNet/IP Port
5-2Link Settings Display
SettingDescriptionDefault
LINK settingsSet the baudrate for thebuilt-inEtherNet/IP port.
•Auto
•10 Mbps Half Duplex
•10 Mbps Full Duplex
•100 Mbps Half Duplex
•100 Mbps Full Duplex
Auto
5-4
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 95
5 Sysmac Studio Settings for the Built-in EtherNet/IP Port
5-3FTP Display
SettingDescriptionDefault
FTP serverSpecify whether to use the FTP server. FTP connections
from external devices will not be possible if the Do not useOption is selected.
Port No.
Login name
Password
*1These settings are required to usethe FTP server.*2Theloginname and password are case sensitive.
*1
*1
*1
Set the FTP port number of the built-in EtherNet/IP port. Itis normally not necessary tochangethis setting. TheFTP control port is set here. The FTP datatransfer port is always port 20.
Set theloginname to externally connect to the built-inEth-erNet/IP port via FTP. (Youcanuseup to12alphanumeric
characters.)Set thepassword to externally connect to the built-in Ether-
Net/IP port via FTP. (You can use8to 32 alphanumeric characters.)
*2
*2
5-3 FTP Display
Do not use.
21
5
None
None
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
5-5
Page 96
5 Sysmac Studio Settings for the Built-in EtherNet/IP Port
5-4NTP Settings Display
SettingDescriptionDefault
NTP server clock informationSet whether toobtain clock information from the NTP
server to update the clock in the CPU Unit.
Port No.
Server specifyingmethod
NTP operation timing
*1*2
IP addressSet the IP address of the NTP server. (Set this setting
Host nameSet the host name of the NTP server (i.e., the domain
*1
Time [hours:minutes:sec-onds]
Interval[minutes]The NTP server is accessed when the specified period
Timeout time (sec-onds)*1
Set the port number touse to connect to the NTP serverto obtain clock information. It is normally not necessary to change this setting.
*1
Set the method to use to specify the NTP server to obtain clock information.
•IP address
•Host name
if the server specifying methodis set to theOption.)
name of the host). (Set this setting if server specifyingmethod is set to the Host name Option.) (You can use up to 200 single-byte alphanumeric characters, dots, andhyphens with up to63 single-byte alphanumeric characters between dots.)
Set the time at which the NTP server isaccessed tosynchronize the clocks.
•Specify a clocktime.
•Specify a time interval.
The NTP serveris accessedat the specified time. (Setting range: 00:00:00 to 23:59:59) (Set this setting ifNTP operation timing is set to the Option.)
of time has passed. (Setting range: 1 to 1,440minutes) (Set this setting if NTP operationtimingisset tothe Specify a time interval Option.)
Set the timeout detection time. (Setting range: 1to 255seconds)
If the remotehost does not respond, retry processing is performed fourtimes withinthetime interval that isset here. If a time intervalis specified for NTP opera-tion, timing for the next executionof the NTP operation starts when the fourth retryprocessing times out.
Do not get.
123
IP address
None
IP address
None
Specify a time.
00:00:00
Specify a clocktime
60 min
10 seconds
5-6
*1This setting is required to getthe clock information from the NTP server.*2The followingports are usedbythe systemand cannot beset by the user: 25, 68, 110, 2222, 2223, 2224, and
9600.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 97
5 Sysmac Studio Settings for the Built-in EtherNet/IP Port
5-5SNMP Settings Display
5-5 SNMP Settings Display
zSNMP
SettingDescriptionDefault
SNMPSpecify whether to use the SNMP monitor service.If
not using the SNMP monitor service is specified, an SNMP manager cannot connect from anexternaldevice.
PortNo.Set the port number to use to connect to theSMTP
server that isused to connect from an SNMP man-ager. This settingdoes not normally need tobe
changed.AddressSet the communications device administrator name LocationNone
Send a recognition trapSet whether to send an authentication trap. If you
and installation location as text information. Youdonot
necessarily have to input all items.This information is
read by theSNMP manager. (You can input upto 255
single-bytealphanumeric characters for each item.)
select
Send a recognition trap and there is access
from an SNMP manager that isnot set in Recognition
1 or Recognition 2, an authentication trap is sent to the
SNMP manager. If you select Send a recognition trap,
specify the SNMP trap settings on theSNMP TrapTab
Page.
Do not use.
161
None
Do not use.
5
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
5-7
Page 98
5 Sysmac Studio Settings for the Built-in EtherNet/IP Port
zRecognition 1
SettingDescriptionDefault
Recognition methodSet themethod touseto specify SNMP managers for which
IP addressSet the IP address of theSNMP manager. If the default setting
Host nameSet thehost nameof the SNMP manager. (Set this setting if
Community nameSet thecommunity name to enable the SNMP manager to
*
access is permitted.
•IP address
•Host name
Make these settings topermit access by only certain SNMP managers. Access is not allowed unless an IP address or host name isset.
of 0.0.0.0is used, access is permittedfrom allSNMP manag-ers. (Set this setting if the recognition method in the recognition1 settings is set to the
the recognition method inthe recognition 1 settings is set tothe
Host nameOption.) (You can use up to 200 single-byte
alphanumeric characters, dots, and hyphens with upto 63 sin-gle-byte alphanumeric characters between dots.)
access information from the built-in EtherNet/IP port. (Single-byte alphanumericcharacters, dots, and hyphens: 255charac-ters max.)
IP address Option.)
IP address
None
None
public
zRecognition 2
SettingDescriptionDefault
Recognition 2Specify whether to use the recognition 2 settings.
Recognition methodSet the method to use to specify SNMP managers for which
IP addressSet the IP address of the SNMP manager. If the default setting
Host nameSet thehost nameof the SNMP manager. (Set this setting if
Community nameSet thecommunity name toenable the SNMP manager to
*
•Use.
•Do not use.
access is permitted.
•IP address
•Host name
Make these settings topermit access byonly certain SNMP managers. Access is not allowed unless an IP address or host name is set.
of 0.0.0.0is used, access is permittedfrom all SNMP manag-ers. (Set this setting if the recognition method in the recognition2 settings is set to the
the recognition method in the recognition2 settings is set tothe Host nameOption.) (You can use upto 200 single-byte alphanumeric characters, dots, and hyphens with up to 63 sin-gle-byte alphanumeric characters between dots.)
access information from the built-inEtherNet/IP port. (Single-byte alphanumeric characters, dots, and hyphens: 255 charac-ters max.)
IP address Option.)
Do not use.
IP address
None
None
public
5-8
*These settings are required if the SNMP serviceisenabled.
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
Page 99
5 Sysmac Studio Settings for the Built-in EtherNet/IP Port
5-6SNMP Trap Settings Display
5-6 SNMP Trap Settings Display
zSNMP Trap
SettingDescriptionDefault
SNMP trapSpecify whether to use the SNMP trap(network error detec-
tion). If the SNMP trap service isnot used, SNMP traps are not sent to the SNMP manager.
PortNo.Set the portnumber to use to connect to the SNMP server. Itis
normally not necessary tochangethis setting.
zTrap 1
SpecifyingmethodSet the specifying method for the SNMP manager destination
IP addressSet the IP address of theSNMP manager. (Set this setting if
Host nameSet the host nameof the SNMP manager. (Set this setting if
Community nameSet the community name. (You canuseup to 255 single-byte
VersionSet the version of the SNMP manager.
*
SettingDescriptionDefault
for SNMP traps.
•IP address
•Host name
the specifyingmethod in the trap 1 settings is set totheaddress Option.)
the specifyingmethod in the trap 1 settings is set totheHost name Option.) (You can use up to 200 single-byte alphanu-meric characters, dots, andhyphens with up to63 single-byte alphanumericcharacters between dots.)
alphanumeric characters.)
•SNMP version 1: SNMPv1
•SNMP version 2C: SNMPv2C
IP
Do not use.
162
IP address
None
None
public
SNMPv1
5
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
5-9
Page 100
5 Sysmac Studio Settings for the Built-in EtherNet/IP Port
zTrap 2
Trap2Specify whether to use the trap 2 settings.
*
SettingDescriptionDefault
•Use.
•Do not use.
Specifying methodSet the specifying method for the SNMP manager destination
for SNMP traps.
•IP address
•Host name
IP addressSet theIP address of theSNMP manager. (Set this setting if
the specifyingmethod in the trap 2 settings is set to theaddress Option.)
Host nameSet thehost nameof the SNMP manager. (Set this setting if
the specifyingmethod in the trap 2 settings is set to theHost nameOption.) (You can use up to 200single-byte alphanu-meric characters, dots, andhyphens with up to 63 single-byte alphanumeric characters between dots.)
Community nameSet the community name. (You can use upto 255 single-byte
alphanumeric characters.)
VersionSet the version of the SNMP manager.
•SNMP version 1: SNMPv1
•SNMP version 2C: SNMPv2C
Do not use.
IP address
None
IP
None
public
SNMPv1
*These settings are required if the SNMP trap is set isenabled.
5-10
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
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.