All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior
written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because
OMRON is constantly striving to improve its high-quality products, the information contained in this manual is
subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages
resulting from the use of the information contained in this publication.
Trademarks
• Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other
countries for OMRON factory automation products.
• Microsoft, Windows, Excel, and Visual Basic are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries.
• EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.
• ODVA, CIP, CompoNet, DeviceNet, and EtherNet/IP are trademarks of ODVA.
• The SD and SDHC logos are trademarks of SD-3C, LLC.
Other company names and product names in this document are the trademarks or registered trademarks of their
respective companies.
Copyrights
Microsoft product screen shots reprinted with permission from Microsoft Corporation.
Introduction
Thank you for purchasing an NJ/NX-series CPU Unit.
This manual contains information that is necessary to use the OPC UA with the NJ/NX-series CPU
Unit. Please read this manual and make sure you understand the functionality and performance of the
NJ/NX-series CPU Unit before you attempt to use it in a control system.
Keep this manual in a safe place where it will be available for reference during operation.
Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of introducing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of installing and maintaining FA systems.
• Personnel in charge of managing FA systems and facilities.
For programming, this manual is intended for personnel who understand the programming language
specifications in international standard IEC 61131-3 or Japanese standard JIS B 3503.
Introduction
Applicable Products
This manual covers the following products.
• NJ-series CPU Units NJ501-100 (Unit version 1.17 or later)
• NX-series CPU Units NX102- (Unit version 1.30 or later)
• NX-series CPU Units NX701-1 (Unit version 1.24 or later)
• Sysmac Studio SYSMAC-SE2
(NJ501-100: version 1.21 or higher, NX102-00: version 1.23 or higher,
NX102-20: version 1.24 or higher, NX701-1: version 1.44 or higher)
Part of the specifications and restrictions for the CPU Units are given in other manuals. Refer to Rele-vant Manuals on page 2 and Related Manuals on page 17.
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
1
Relevant Manuals
Relevant Manuals
The following table provides the relevant manuals for the NJ/NX-series CPU Units.
Read all of the manuals that are relevant to your system configuration and application before you use
the NJ/NX-series CPU Unit.
The built-in EtherNet/IP port in the NJ/NX-series CPU Unit is used for this product.
For details on how to use the built-in EtherNet/IP port, refer to the NJ/NX-series CPU Unit Built-in Eth-erNet/IP Port User’s Manual (Cat. No. W506)
Most operations are performed from the Sysmac Studio Automation Software. Refer to the Sysmac Stu-dio Version 1 Operation Manual (Cat. No. W504) for information on the Sysmac Studio.
NX-series CPU Unit
Hardware User’s
Manual
Purpose of use
Manual
Basic information
NX-series NX102 CPU
Unit Hardware User’s
NJ-series CPU Unit
Hardware User’s
Manual
Manual
NJ/NX-series CPU Unit
Software User’s Manual
NJ/NX-series
Instructions Reference
Manual
NJ/NX-series CPU Unit
Motion Control User’s
Manual
NJ/NX-series Motion
Control Instructions
Reference Manual
User’s Manual
NJ/NX-series CPU Unit
Built-in EtherCAT Port
NJ/NX-series CPU Unit
Built-in EtherNet/IP Port
User’s Manual
NJ-series CPU Unit
OPC UA User’s Manual
NJ/NX-series
Troubleshooting
Manual
Introduction to NX701 CPU Units
Introduction to NX102 CPU Units
Introduction to NJ-series Controllers
Setting devices and hardware
Using motion control
Using EtherCAT
Using EtherNet/IP
Software settings
Using motion control
Using EtherCAT
Using EtherNet/IP
Using OPC UA
Writing the user program
Using motion control
Using EtherCAT
Using EtherNet/IP
Programming error processing
Using OPC UA
Testing operation and debugging
Using motion control
Using EtherCAT
Using EtherNet/IP
Using OPC UA
Learning about error management and
corrections
Maintenance
*1
Using motion control
Using EtherCAT
Using EtherNet/IP
*1 Refer to the NJ/NX-series Troubleshooting Manual (Cat. No. W503) for the error management concepts and an overview
of the error items. Refer to the manuals that are indicated with triangles for details on errors for the corresponding Units.
2
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Manual Structure
4-9
4 Installation and Wiring
NJ-series CPU Unit Hardware User’s Manual (W500)
stinU gnitnuoM 3-4
4
stnenopmoC rellortnoC gnitcennoC 1-3-4
4-3Mounting Units
The Units that make up an NJ-series Controller can be connected simply by pressing the Units together
and locking the sliders by moving them toward the back of the Units. The End Cover is connected in the
same way to the Unit on the far right side of the Controller.
1 Join the Units so that the connectors fit exactly.
2 The yellow sliders at the top and bottom of each Unit lock the Units together. Move the sliders
toward the back of the Units as shown below until they click into place.
Precautions for Correct UsePrecautions for Correct Use
4-3-1 Connecting Controller Components
Connector
Hook
Hook holes
Slider
Lock
Release
Move the sliders toward the back
until they lock into place.
Level 1 heading
Level 2 heading
Level 3 heading
Level 2 heading
A step in a procedure
Manual name
Special information
Level 3 heading
Page tab
Gives the current
headings.
Indicates a procedure.
Icons indicate
precautions, additional
information, or reference
information.
Gives the number
of the main section.
This illustration is provided only as a sample. It may not literally appear in this manual.
The sliders on the tops and bottoms of the Power Supply Unit, CPU Unit, I/O Units, Special I/O
Units, and CPU Bus Units must be completely locked (until they click into place) after connecting
the adjacent Unit connectors.
Page Structure
The following page structure is used in this manual.
Manual Structure
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
3
Manual Structure
Special Information
Special information in this manual is classified as follows:
Precautions for Safe Use
Precautions on what to do and what not to do to ensure safe usage of the product.
Precautions for Correct Use
Precautions on what to do and what not to do to ensure proper operation and performance.
Additional Information
Additional information to read as required.
This information is provided to increase understanding or make operation easier.
Version Information
Information on differences in specifications and functionality for CPU Units with different unit versions
and for different versions of the Sysmac Studio is given.
Note References are provided to more detailed or related information.
Precaution on Terminology
• In this manual, built-in EtherNet/IP port refers to the following port.
- Built-in EtherNet/IP port of the NJ-series CPU Units NJ501-100
- Built-in EtherNet/IP port (PORT 1) of the NX-series CPU Units NX102-
- Built-in EtherNet/IP port (PORT 1) of the NX-series CPU Units NX701-1
• In this manual, download refers to transferring data from the Sysmac Studio to the physical Controller
and upload refers to transferring data from the physical Controller to the Sysmac Studio.
For the Sysmac Studio, synchronization is used to both upload and download data. Here, synchro-nize means to automatically compare the data for the Sysmac Studio on the computer with the data
in the physical Controller and transfer the data in the direction that is specified by the user.
4
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Sections in this Manual
1A
I2
3
4
5
6
7
8
9
1A
I2
3
4
5
6
7
8
9
Overview of OPC UA
Server Function
Structure of the OPC
UA Server
Appendices
Index
Settings of the OPC UA Server
Starting and Checking the Status of
the OPC UA Server
Security Function of OPC UA Server
Execution Log Functions
Connecting from the OPC UA Client and
Reading/Writing Variables
A-3-3Related Operations Performed from OPC UA Settings in the Sysmac Studio..........................A-14
A-4 List of Related System-defined Variables ...........................................................................A-18
A-4-1System-defined Variables for the Overall NJ/NX-series Controller (No Category) ...................A-18
A-5 Version Information...............................................................................................................A-19
8
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
CONTENTS
Index
A-5-1Relationship between Unit Versions and OPC UA Standard Versions ..................................... A-19
A-5-2Relationship between Unit Versions and the Sysmac Studio Versions ....................................A-19
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
9
Terms and Conditions Agreement
Terms and Conditions Agreement
Warranty, Limitations of Liability
Warranties
Exclusive Warranty
Omron’s exclusive warranty is that the Products will be free from defects in materials and workmanship for a period of twelve months from the date of sale by Omron (or such other period expressed in
writing by Omron). Omron disclaims all other warranties, express or implied.
Limitations
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, ABOUT
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OF
THE PRODUCTS. BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE
PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE.
Omron further disclaims all warranties and responsibility of any type for claims or expenses based
on infringement by the Products or otherwise of any intellectual property right.
Buyer Remedy
Omron’s sole obligation hereunder shall be, at Omron’s election, to (i) replace (in the form originally
shipped with Buyer responsible for labor charges for removal or replacement thereof) the non-complying Product, (ii) repair the non-complying Product, or (iii) repay or credit Buyer an amount equal
to the purchase price of the non-complying Product; provided that in no event shall Omron be
responsible for warranty, repair, indemnity or any other claims or expenses regarding the Products
unless Omron’s analysis confirms that the Products were properly handled, stored, installed and
maintained and not subject to contamination, abuse, misuse or inappropriate modification. Return of
any Products by Buyer must be approved in writing by Omron before shipment. Omron Companies
shall not be liable for the suitability or unsuitability or the results from the use of Products in combination with any electrical or electronic components, circuits, system assemblies or any other materials or substances or environments. Any advice, recommendations or information given orally or in
writing, are not to be construed as an amendment or addition to the above warranty.
See http://www.omron.com/global/ or contact your Omron representative for published information.
Limitation on Liability; Etc
OMRON COMPANIES SHALL NOT BE LIABLE FOR SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR PRODUCTION OR COMMERCIAL LOSS IN ANY
WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED IN CONTRACT,
WARRANTY, NEGLIGENCE OR STRICT LIABILITY.
Further, in no event shall liability of Omron Companies exceed the individual price of the Product on
which liability is asserted.
10
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Application Considerations
Suitability of Use
Omron Companies shall not be responsible for conformity with any standards, codes or regulations
which apply to the combination of the Product in the Buyer’s application or use of the Product. At
Buyer’s request, Omron will provide applicable third party certification documents identifying ratings
and limitations of use which apply to the Product. This information by itself is not sufficient for a complete determination of the suitability of the Product in combination with the end product, machine, system, or other application or use. Buyer shall be solely responsible for determining appropriateness of
the particular Product with respect to Buyer’s application, product or system. Buyer shall take application responsibility in all cases.
NEVER USE THE PRODUCT FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY OR IN LARGE QUANTITIES WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE
HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PRODUCT(S) IS
PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
Terms and Conditions Agreement
Programmable Products
Omron Companies shall not be responsible for the user’s programming of a programmable Product, or
any consequence thereof.
Disclaimers
Performance Data
Data presented in Omron Company websites, catalogs and other materials is provided as a guide for
the user in determining suitability and does not constitute a warranty. It may represent the result of
Omron’s test conditions, and the user must correlate it to actual application requirements. Actual performance is subject to the Omron’s Warranty and Limitations of Liability.
Change in Specifications
Product specifications and accessories may be changed at any time based on improvements and other
reasons. It is our practice to change part numbers when published ratings or features are changed, or
when significant construction changes are made. However, some specifications of the Product may be
changed without any notice. When in doubt, special part numbers may be assigned to fix or establish
key specifications for your application. Please consult with your Omron’s representative at any time to
confirm actual specifications of purchased Product.
Errors and Omissions
Information presented by Omron Companies has been checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical or proofreading errors or omissions.
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
11
Safety Precaution
Safety Precaution
Refer to the following manuals for safety precautions.
• NX-series CPU Unit Hardware User’s Manual (Cat. No. W535)
• NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500)
• NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593)
• Sysmac Studio Version 1 Operation Manual (Cat. No. W504)
12
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Precautions for Safe Use
This section describes the precautions for the safe use of the OPC UA Server.
• Even if you accidentally add the client certificate of a client for which you do not want to permit connection in the Trusted Certificate List, the OPC UA Server of the NJ/NX-series Controller will permit
connections from that client.
As a result, confidential information on the server side may be leaked or unintended operation may
be performed. Therefore, when you add a certificate to the Trusted Certificate List from the Sysmac
Studio, make sure that all the certificates that you will register in the Trusted Certificate List are
trusted client certificates.
• Even if a global variable is set to Network Publish in the Sysmac Studio, the OPC UA client may not
be able to refer to or read/write the variable in some cases depending on the limits sets on variables
that can be published to the OPC UA client.
Refer to the event log or Execution Log, and review the variables to be published to the network
depending on the cause of occurrence. For details on the restrictions on variables that can be published in the OPC UA client, refer to Restrictions on Publishing to the OPC UA Client on page 6-8 in6-2-2 Reading/Writing the Variables of the CPU Unit on page 6-5.
Precautions for Safe Use
Refer to the following manuals for other precautions for safe use that are not described above.
• NX-series CPU Unit Hardware User's Manual (Cat. No. W535)
• NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500)
• NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593)
• Sysmac Studio Version 1 Operation Manual (Cat. No. W504)
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
13
Precautions for Correct Use
Precautions for Correct Use
This section describes the precautions for the correct use of the OPC UA Server.
• If the IP address of the built-in EtherNet/IP port is changed after starting the use of the OPC UA
Server, the OPC UA server certificate in the CPU Unit will be disabled, and it will not be possible to
communicate with the OPC UA client. In that case, manually regenerate the server certificate, or set
the IP address back to the original address.
• The server certificate is not applied for backup and restore because it is information belonging to individual CPU Units. If you replace the CPU Unit hardware, you cannot use the same server certificate
for the new CPU Unit after the replacement.
Even if you set the IP address of the built-in EtherNet IP port to the same value as the one for the
previous CPU Unit, be sure to export the server certificate of the new CPU Unit and then perform
installation again on the OPC UA clients.
• Even in cases where you recreate the server certificate by changing the IP address in the same CPU
Unit, make sure to export the server certificate of the CPU Unit and install it at the OPC UA client
side.
• The OPC UA Server is executed as a system service.
Accordingly, if other system services are executed while the OPC UA Server is starting up, they may
take longer.
Moreover, if the system service execution time ratio is less (if it is below approx. 20%, as a reference), the response to the requests from the OPC UA client will be delayed. In such a case, design
the task so that the system service execution time ratio increases.
Refer to the following manuals for other precautions for correct use that are not described above.
• NX-series CPU Unit Hardware User’s Manual (Cat. No. W535)
• NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500)
• NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593)
• Sysmac Studio Version 1 Operation Manual (Cat. No. W504)
14
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Regulations and Standards
Refer to the following manuals for regulations and standards.
• NX-series CPU Unit Hardware User’s Manual (Cat. No. W535)
• NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500)
• NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593)
Software Licenses and Copyrights
This product incorporates the following third party software. The license and copyright information
associated with this software is available at http://www.fa.omron.co.jp/nj_info_e/.
OpenSSL
This product includes software developed by the OpenSSL Project for use
Regulations and Standards
in the OpenSSL Toolkit
(http://www.openssl.org/).
Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved.
This product includes cryptographic software written by Eric Young
(eay@cryptsoft.com)
This Windows version of this product includes software written by Tim
Hudson (tjh@cryptsoft.com)
LibXML2
This product includes code that was developed for the XML toolkit from
the GNOME project
(http://xmlsoft.org/).
Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved.
OPC UA
This product includes code that was developed by Unified Automation GmbH for the OPC UA SDK
(http://www.unifiedautomation.com/).
Copyright (C) 2008-2017 Unified Automation GmbH. All Rights Reserved.
The OPC UA SDK is based in part on <OPC UA Ansi C Stack> of the OPC Foundation. Initial version of
<OPC UA Ansi C Stack> was founded and copyrighted by OPC Foundation,Inc. Copyright (C)
2008,2014 OPC Foundation, Inc., All Rights Reserved.
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
15
Versions
Versions
Hardware revisions and unit versions are used to manage the hardware and software in the NJ/NXseries Units and EtherCAT slaves. The hardware revision or unit version is updated each time there is a
change in hardware or software specifications. Even when two Units or EtherCAT slaves have the
same model number, they will have functional or performance differences if they have different hardware revisions or unit versions.
Refer to the following manuals for versions.
• NX-series CPU Unit Hardware User’s Manual (Cat. No. W535)
• NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500)
• NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593)
Unit Versions of CPU Units and the Sysmac Studio Versions
The functions that are supported depend on the unit version of the NJ/NX-series CPU Unit. The version
of the Sysmac Studio that supports the functions that were added for an upgrade is also required to use
those functions.
Refer to
Units and the Sysmac Studio versions, and for the functions that are supported by each unit version.
A-5 Version Information
on page A-19 for the relationship between the unit versions of the CPU
16
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Related Manuals
The followings are the manuals related to this manual. Use these manuals for reference.
Manual nameCat. No. Model numbersApplicationDescription
NJ-series CPU Unit OPC
UA User's Manual (This
manual)
Using the built-in EtherNet/IP port on an NJ/NXseries CPU Unit.
Learning the basic
specifications of the NX701
CPU Units, including
introductory information,
designing, installation, and
maintenance.
Mainly hardware
information is provided.
Learning the basic specifications of the NJ-series
CPU Units, including introductory information, designing, installation, and
maintenance. Mainly hardware information is provided.
cations of the NX102 CPU
Units, including introductory
information, designing,
installation, and maintenance.
Mainly hardware information is provided.
Learning how to program
and set up an NJ/NX-series
CPU Unit. Mainly software
information is provided.
Learning detailed specifications on the basic instructions of an NJ/NX-series
CPU Unit.
Learning about the errors
that may be detected in an
NJ/NX-series Controller.
Information on the OPC UA is provided.
Information on the built-in EtherNet/IP port is provided. Information is provided on the basic setup,
tag data links, and other features.
An introduction to the entire NX701 system
is provided along with the following information
on the CPU Unit.
• Features and system configuration
• Introduction
• Part names and functions
• General specifications
• Installation and wiring
• Maintenance and inspection
An introduction to the entire NJ-series system is
provided along with the following information on
the CPU Unit.
• Features and system configuration
• Introduction
• Part names and functions
• General specifications
• Installation and wiring
• Maintenance and inspection
An introduction to the entire NX102 system is provided along with the following information on the
CPU Unit.
• Features and system configuration
• Introduction
• Part names and functions
• General specifications
• Installation and wiring
• Maintenance and inspection
The following information is provided on a Controller built with an NJ/NX-series CPU Unit.
• CPU Unit operation
• CPU Unit features
• Initial settings
• Programming based on IEC 61131-3 language
specifications
The instructions in the instruction set (IEC 61131-3
specifications) are described.
Concepts on managing errors that may be
detected in an NJ/NX-series Controller and information on individual errors are described.
Related Manuals
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
17
Related Manuals
Manual nameCat. No. Model numbersApplicationDescription
Sysmac Studio Version 1
Operation Manual
W504SYSMAC-
SE2
Learning about the operating procedures and functions of the Sysmac Studio.
Describes the operating procedures of the Sysmac Studio.
18
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Terminology
Terminology
This section provides definitions of terms related to the OPC UA.
TermDescription
Address spaceA collection of information that visualizes the OPC UA server with respect to the
OPC UA client.
By referencing this information, the OPC UA client can use the objects of the OPC
UA server and their related information.
Application authenticationThe authentication of each other’s identity by the server and the OPC UA client
through the exchange of the mutual X.509 digital certificates during the establish-
ment of a connection from the OPC UA client to the server.
Certificate AuthorityOrganization that issues certificates.
Client authenticationIndicates the direct authentication of client certificates.
• Authentication of a self-signed client certificate is performed depending on
whether it is present in the trusted certificate list.
• Authentication of a CA-signed client certificate is performed by checking the trust
and revocation of the signed CA certificate.
Client certificateAn X.509 digital certificate that certifies the OPC UA client.
It is generated and managed by the OPC UA client in combination with the private
key of the certificate.
In the NJ/NX-series, it is necessary to register the client certificate in the CPU Unit
by the Sysmac Studio.
End pointThe physical address that can be used on the OPC UA communications network
used by the OPC UA client to access the OPC UA server. Specifically, the following
address:
opc.tcp:// [IPAddress]-[Port]
In the case of the OPC UA Server, the default address is:
opc.tcp://192.168.250.1:4840/
EventA phenomenon that occurs in an unplanned and irregular manner in the NJ/NX-
series Controllers.
Event logA log for recognizing and recording the events that have occurred in the entire Con-
troller. It is recorded in the CPU Unit.
In the OPC UA Server, it indicates the errors and various states of the OPC UA
Server.
Execution logA log for recording the execution state of the OPC UA Server. It is saved in an SD
Memory Card (sold separately).
As compared to the event log, the execution log has a higher capacity and includes
the access results from the OPC UA client to the variables.
In view of future functional expansion, this Execution Log is considered as one of
the types in the leading concept of the Operation log in the Sysmac Studio.
Issuer authenticationIndicates the authentication by the certificate authority itself that has signed the cli-
ent certificate.
Authentication of a CA-signed client certificate is performed by checking the trust
and revocation of the certificate of the certificate authority itself.
MessageThe data unit that expresses the requests or responses of the OPC UA server
transmitted between the OPC UA client and the server.
NodeThe basic component of the address space.
OPC UAA protocol for communications between industrial devices that is independent of
the manufacturer and platform, and is safe with a high reliability. It has an architec-
ture in which the conventional OPC (Object Linking and Embedding for Process
Control) has been generalized and widened in scope.
OPC UA clientAn application or computer that supports the OPC UA and issues a service request
to the OPC UA server. Specifically, the main entity of communications, such as the
SCADA and MES.
OPC UA instructionIndicates instructions related to the OPC UA Server.
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
19
Terminology
TermDescription
OPC UA security modeSetting the encryption and signature of messages in the security-related settings of
messages in the OPC UA.
OPC UA security policySpecification of algorithms such as signatures and encryption in the security-related
settings of messages in the OPC UA.
OPC UA security profileA common name for the client certificate, CA certificate, certificate revocation list,
and security settings.
OPC UA ServerA communications service that provides the function of connecting to the OPC UA
client in the NJ/NX-series. It is executed in a system service within the processing
of the CPU Unit.
OPC UA serverMain entity of communications, such as an application, computer, or controller that
supports the OPC UA, executes a service in response to a service request from the
OPC UA client, and also sends a response.
Rejected certificate listA list of client certificates that have been rejected at the server side in application
authentication.
Server certificateAn X.509 digital certificate that certifies the OPC UA server.
It is generated and managed by the OPC UA server in combination with the private
key of the certificate.
In the NJ/NX-series, it indicates the self-certificate that certifies an individual CPU
Unit as an OPC UA server. It is different for each serial number of the CPU Unit.
Security policyA common name for the OPC UA security mode and OPC UA security policy.
Security settingsA common name for user authentication settings, anonymous login, and security
policy.
Trusted certificate listA list of certificates of the communications partner that must be trusted in applica-
tion authentication.
There are the following two types of trusted certificate lists at the server side and
the OPC UA client side:
• Trusted certificate list at the server side: A list of client certificates that have been
set to trust the OPC UA client.
• Trusted certificate list at the OPC UA client side: A list of server certificates that
have been set to trust the server.
User authenticationThe authentication of the identity of the user operating the OPC UA client by the
server during the establishment of a connection from the OPC UA client to the
server.
20
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Revision History
A manual revision code appears as a suffix to the catalog number on the front and back covers of the
manual.
Revision History
Cat. No.
Revision codeDateRevised content
01January 2018Original production
02April 2018Added information on the NX102-.
03July 2019Corrected mistakes.
04January 2021Added information on the NX701-1.
W588-E1-04
Revision code
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
21
Revision History
22
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Overview of OPC UA Server Function
This section describes an overview of the OPC UA Server function.
This section describes an overview and features of the OPC UA Server function.
1-1-1Overview
The OPC UA Server function enables the NJ/NX-series CPU Unit to operate as an OPC UA server.
With this function, OPC UA clients can connect via Ethernet to the built-in EtherNet/IP port of the
NJ/NX-series CPU Unit using the OPC UA communications, and then read and write variables in the
CPU Unit.
The OPC UA communications can simultaneously achieve both addressing security risks and connecting with general-purpose methods. Therefore, the OPC UA Server function enables secure data
exchanges between the CPU Unit and host systems such as SCADA or MES compatible OPC UA so
that the host systems can collect manufacturing progress information or issue manufacturing instructions.
1-1-2System Configuration
The OPC UA Server function supports the following system configuration.
Refer to A-5 Version Information on page A-19 for the Unit version of the CPU Unit and the version of
the Sysmac Studio that can be supported.
1-1-3Features
The OPC UA Server function has the following features.
Supporting OPC UA Communications as Secure Industrial Standard
Communications
OPC UA communications have the following features.
• A versatile global standard network from discrete control to process control, and from the sensor or
controller level to the host monitoring and management level.
1 - 2
• Also defined as a recommended communications standard of Industrie 4.0 to connect the control networks in factories to the IT networks.
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
1 Overview of OPC UA Server Function
• Allows full-scale secure information exchange in the industrial system consisting of different devices.
• Allows to expand the visualization of information adapting to the system in the object-based Address
Space.
Providing the Server Function of OPC UA Communications in the
NJ/NX-series Controller
1-1 Overview and Features
The NJ/NX-series OPC UA Server function has the following features.
• It allows the Controller to connect directly to the OPC UA client via Ethernet without relaying the computer.
• Since the NJ/NX-series CPU Unit has EtherCAT communications as the lower level network, it
makes it easy to gather sensor and actuator level information on EtherCAT into OPC UA communications as a higher network.
• You can check the operation results of the OPC UA Server function from the event log in the Controller and the Execution Log.
1
1-1-3 Features
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
1 - 3
1 Overview of OPC UA Server Function
1-2Specifications
This section describes the specifications of the OPC UA Server function.
1-2-1List of Supported CPU Units
The OPC UA Server is supported by the following CPU Unit models.
OPC UA functionServer function
Transport and data encodingUA TCP binary
Supported profile and model
Endpoint URL (Server URL)
Maximum number of sessions (client)5
Maximum number of monitored items per server2,000
Maximum number of subscriptions per server100
Variable typeNetwork variable
Conditions as
a whole network-published
variables
Conditions that can not be published for each net-
work-published variable
OPC UA security mode and policy
Application
authentication
Maximum number of variables that
can be published
Maximum number of value attributes that can be published
Maximum number of structure defi-
*1
nitions that can be published
*1
AuthenticationX.509
Number of certificates that can be
stored
Unit
Note: The OPC UA Server can be used simultaneously with Eth-
erNet/IP communications.
Micro Embedded Device Server Profile
PLCopen Information Model
opc.tcp: // [IP address] : [port number] /
By default, below.
opc.tcp: //192.168.250.1: 4840 /
10,000
10,000
100
• Multidimensional array specified structure
• Structure containing multidimensional array(s) as member(s)
• Structure whose nesting number exceeds three
• Union, and structure containing union(s) as member(s)
• Array whose start number is not 0; e.g., Array[2..5]
• Array whose number of elements exceeds 1024
• Structure whose number of members exceeds 100
• Variable whose size exceeds 1024 bytes
Allowable security methods can be specified from the following
(multiple specifications possible):
• Both signature and encryption required: SignAndEncrypt
Signature and encryption algorithm: Basic256Sha256/Basic256/Basic128Rsa15
(multiple specifications possible)
Built-in EtherNet/IP port (PORT 1) on the
CPU Unit
1-2 Specifications
1
1-2-2 Function Specifications
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
1 - 5
1 Overview of OPC UA Server Function
Precautions for Correct Use
ItemNJ501-100NX701-1NX102-
User authentication
*1. For details, refer to Restrictions on Publishing to the OPC UA Client on page 6-8.
Method of user authentication
For the NX701-1 CPU Unit and NX102- CPU Unit, there are two built-in
EtherNet/IP ports, PORT 1 and PORT 2. Note that only PORT 1 is the port that supports the
OPC UA Server.
The following can be set:
• User name and Password
• Anonymous
1 - 6
NJ/NX-series CPU Unit OPC UA User’s Manual (W588)
Loading...
+ 130 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.