Omron SYSMAC NJ Series Network Connection Manual

Machine automation controller, hms industrial networks ab, anybus x-gateway ethernet/ip adapter
Hide thumbs Also See for SYSMAC NJ Series:

Advertisement

Quick Links

Machine Automation Controller NJ/NX-series
EtherNet/IP
T M
Connection Guide
HMS Industrial Networks AB
Anybus X-gateway EtherNet/IP Adapter
P746-E1-01

Advertisement

Table of Contents
loading

Summary of Contents for Omron SYSMAC NJ Series

  • Page 1 Machine Automation Controller NJ/NX-series EtherNet/IP Connection Guide HMS Industrial Networks AB Anybus X-gateway EtherNet/IP Adapter P746-E1-01...
  • Page 2 EtherCAT® is a registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany. Sysmac is a trademark or registered trademark of OMRON Corporation in Japan and other countries for OMRON factory automation products. Company names and product names in this guide are trademarks or registered trademarks of...
  • Page 3: Table Of Contents

    Table of Contents Related Manuals ..................1 Terms and Definitions ................2 Precautions ....................3 Overview ....................4 Applicable Devices and Device Configuration ........5 5.1. Applicable Devices ................5 5.2. Device Configuration ................6 EtherNet/IP Settings .................. 8 6.1. Parameters .................... 8 6.2.
  • Page 4: Related Manuals

    Safety Precautions and Precautions for Safe Use in the manuals for each device used in the system. The table below lists the manuals provided by HMS INDUSTRIAL NETWORKS AB (hereinafter referred to as "HMS") and OMRON Corporation (hereinafter referred to as "OMRON"), which pertain to this guide. Manufacturer Cat.
  • Page 5: Terms And Definitions

    2.Terms and Definitions 2. Terms and Definitions The terms and definitions used in this guide are given below. Term Explanation and Definition node It refers to a relay point, a junction point or an end point on an EtherNet/IP network made up of devices having an EtherNet/IP port. A device with one EtherNet/IP port is recognized as one node and two EtherNet/IP ports as two nodes on an EtherNet/IP network.
  • Page 6: Precautions

    (4) It is prohibited to copy, to reproduce, and to distribute a part or the whole of this guide without the permission of OMRON Corporation. (5) The information contained in this guide is current as of May 2021. It is subject to change for improvement without notice.
  • Page 7: Overview

    4. Overview This guide describes procedures for connecting an HMS Anybus X-gateway EtherNet/IP Adapter (hereinafter referred to as the "X-gateway") and an OMRON NJ/NX-series Machine Automation Controller (hereinafter referred to as the "Controller") via EtherNet/IP and for checking their communication status.
  • Page 8: Applicable Devices And Device Configuration

    5.Applicable Devices and Device Configuration 5. Applicable Devices and Device Configuration 5.1. Applicable Devices The applicable devices are as follows: Manufacturer Name Model OMRON NJ/NX-series CPU Unit NX701-□□□□ NX102-□□□□ NX1P2-□□□□ NJ501-□□□□ NJ301-□□□□ NJ101-□□□□ Anybus X-gateway EtherNet/IP Adapter - Precautions for Correct Use In this guide, the devices with models and versions listed in 5.2.
  • Page 9: Device Configuration

    OS: Windows 10) Power supply LAN cable LAN cable LAN cable W4S1-05C Power supply USB cable Manufacturer Name Model Version OMRON NX-series CPU Unit NX102-1200 Ver.1.42 (built-in EtherNet/IP port) OMRON Switching hub W4S1-05C Ver.1.0 OMRON Sysmac Studio SYSMAC-SE2□□□ Ver.1.43 PC (OS: Windows 10) -...
  • Page 10 5.Applicable Devices and Device Configuration Additional Information For information on the power supply specifications of the Controller, refer to the NX-series NX102 CPU Unit Hardware User's Manual (Cat. No. W593). Additional Information For information on the power supply specifications of the switching hub, refer to the Switching Hub W4S1-series Users Manual (Cat.
  • Page 11: Ethernet/Ip Settings

    6.EtherNet/IP Settings 6. EtherNet/IP Settings This section describes the parameters, global variables, tag sets and connection settings that are all defined in this guide. Precautions for Correct Use This guide describes the EtherNet/IP communication status check between the Controller and the X-gateway. It does not include the settings and communication status check of the other network (i.e.
  • Page 12: Global Variables

    6.EtherNet/IP Settings 6.2. Global Variables The global variables are used for the Controller and can be specified as tags for tag data links. The following tables show the global variables and related settings. Output area (Controller to X-gateway) Network X-gateway Data size Name Data type...
  • Page 13: Tag Sets

    6.EtherNet/IP Settings 6.3. Tag Sets The tag sets for tag data links are shown below. Output area (Controller to X-gateway) Tag set name Data size (byte) EIP002_OUT OUT No. Tag name (global variable name) Data size (byte) EIP002_data_OUT Input area (X-gateway to Controller) Tag set name Data size (byte) EIP002_IN...
  • Page 14: Connection Settings

    6.EtherNet/IP Settings 6.4. Connection Settings The connection settings (i.e. tag data link table) are shown below. Connection Name Connection I/O Type RPI (ms) Timeout Value default_001 Exclusive Owner 50.0 RPI x 4 Target Device Originator Device (X-gateway) (Controller) Input / Connection Output Target Variable...
  • Page 15: Ethernet/Ip Connection Procedure

    7.EtherNet/IP Connection Procedure 7. EtherNet/IP Connection Procedure This section describes the procedures for connecting the X-gateway and the Controller via EtherNet/IP. The procedure for setting up the Controller in this guide is based on the factory default settings. Refer to Section 8. Initialization Method for information on how to initialize the Controller.
  • Page 16 7.EtherNet/IP Connection Procedure Confirm that EtherNet/IP tag data links are in normal 7.4. EtherNet/IP Communication operation. Status Check ↓ Check the EtherNet/IP connection status. 7.4.1. Checking the Connection Status...
  • Page 17: Hms X-Gateway Setup

    7.EtherNet/IP Connection Procedure 7.2. HMS X-gateway Setup Set up the HMS X-gateway. 7.2.1. Hardware Settings Set the hardware switches on the X-gateway and connect the cables. Precautions for Correct Use Make sure the power supplies are OFF before setting up. If either of them is ON, the settings described in the following steps and subsequent procedures may not be applicable.
  • Page 18 7.EtherNet/IP Connection Procedure 7.2.2. Parameter Settings Set parameters for the X-gateway. The IP address can be set using the tool "HMS IPconfig". Install the tool on your PC before proceeding. The parameters can be set using the tool "Anybus Configuration Manager - X-gateway" (hereinafter called "ACM").
  • Page 19 7.EtherNet/IP Connection Procedure Uncheck the box for Retrieve IP settings dynamically from a DHCP server displayed under DHCP Configuration. The entry fields under IP Configuration can now be edited. Set the following items. IP address: 192.168.250.2 Subnet mask: 255.255.255.0 Click Apply. Check that the IP Column for ABX EtherNet/IP(TM) Adapter is set to 192.168.
  • Page 20 7.EtherNet/IP Connection Procedure The Select Connection Dialog Box appears. Check that Anybus Serial Connection is displayed / selected. Click Config. The Setup Connection Dialog Box appears. Select Anybus X- gateway from the pull-down list in the Module Serial/COM-port Field. *Anybus X-gateway (COM5) [A02053C6] is selected as an example in this guide.
  • Page 21 7.EtherNet/IP Connection Procedure Select Upload Configuration from the Online Menu. The Progress Dialog Box appears, and the configuration upload starts. Check that "Finished!" appears in the dialog box. Click Close. The X-gateway configuration is displayed on the left side of the main window (as shown on the right).
  • Page 22 7.EtherNet/IP Connection Procedure Select Download Configuration from the Online Menu. The Progress Dialog Box appears, and the configuration download starts. Check that "Finished!" appears in the dialog box. Click Close. Select Disconnect from the Online Menu. Check that the Button (connect) on the toolbar is enabled ( ) and that the...
  • Page 23: Controller Setup

    7.EtherNet/IP Connection Procedure 7.3. Controller Setup Set up the Controller. 7.3.1. IP Address Settings Start Sysmac Studio and set the IP address of the Controller. Make sure X-gateway, Switching hub and Power supply for Controller are all OFF. Connect Switching hub and LAN cable LAN cable Built-in EtherNet/IP port...
  • Page 24 7.EtherNet/IP Connection Procedure The Project Properties Screen appears. Select items appropriate for your Controller from the pull-down list in each field of Select Device. Click Create. The following Controller is used in this guide. ・Category: Controller ・Device: NX102-1200 ・Version: 1.42 *In this guide, "New Project"...
  • Page 25 7.EtherNet/IP Connection Procedure The Built-in EtherNet/IP Port Settings Tab Page appears in the Edit Pane. Check that TCP/IP Settings is displayed and that the following settings are made in the IP Address - Port 1. ・Fixed setting: select ・IP address: 192.168.250.1 ・Subnet mask: 255.255.255.0...
  • Page 26 7.EtherNet/IP Connection Procedure 7.3.2. Installing the EDS File Install the EDS file. Select EtherNet/IP Connection Settings from the Tools Menu. The EtherNet/IP Device List Tab Page appears in the Edit Pane. Right-click Built-in EtherNet/IP Port Settings - Port 1 and select Edit from the menu.
  • Page 27 7.EtherNet/IP Connection Procedure The EDS Library Dialog Box appears. Click Install. The Install EDS File Window appears. Select 005A000C004 B0300.eds (EDS file) to be installed. Click Open. *For information on how to obtain the EDS file, refer to Precautions for Correct Use of 5.2.
  • Page 28 7.EtherNet/IP Connection Procedure 7.3.3. Registering the Target Device Register the target device. Click the + Button in the Toolbox. Entry fields of the target device registration appear. Enter 192.168.250.2 in the Node address Field. Select the following model name and revision number from the respective pull-down lists in the Model name and Revision Fields.
  • Page 29 7.EtherNet/IP Connection Procedure The parameter entry fields appear. Enter the following values. 0001 Output Size: 32 0002 Input Size: Click OK. *The device parameters set in this dialog box will be added to the connection information that is made in 7.3.6. Setting Connections, and will be transferred to Controller in 7.3.7.
  • Page 30 7.EtherNet/IP Connection Procedure 7.3.4. Setting Global Variables Set global variables to use as tags for tag data links. Double-click Global Variables under Programming – Data in the Multiview Explorer. The Global Variables Tab Page appears in the Edit Pane. Click on the space under the column header Name.
  • Page 31 7.EtherNet/IP Connection Procedure 7.3.5. Registering Tags Register tags and tag sets. Click the Tag Set Button on the Built-in EtherNet/IP Port Settings - Port 1 Connection Settings Tab Page. Click the Input Tab in the Tag Sets. *If the Built-in EtherNet/IP Port Settings - Port 1 Connection Settings Tab Page is not displayed, follow steps 1 through 3 of 7.3.2.
  • Page 32 7.EtherNet/IP Connection Procedure Click the Output Tab. Right-click on a space on the Output Tab Page, and select Create New Tag Set from the menu. A new tag set name can be entered. In the same way as step 3, enter EIP002_OUT. In the same way as step 4, enter the global variable as a tag, which is listed in 6.3.
  • Page 33 7.EtherNet/IP Connection Procedure 7.3.6. Setting Connections Set connections to associate the target variables with the originator variables. Click the Connection Button on the Built-in EtherNet/IP Port Settings - Port 1 Connection Settings Tab Page. Right-click on the space under the column header Target Device in the Connection, and select Add from the menu.
  • Page 34 7.EtherNet/IP Connection Procedure Click on the cell in the Originator Variable Column for Input. A pull-down list of the previously registered tag set names appears. Select the tag set name EIP002_IN. Likewise, select the tag set name EIP002_OUT in the Originator Variable Column for Output.
  • Page 35 7.EtherNet/IP Connection Procedure 7.3.7. Transferring the Project Data Place Sysmac Studio online and transfer the connection settings and project data to the Controller. Regardless of the operating mode of the CPU Unit, devices or machines may perform unexpected operation when you transfer any of the following data from Sysmac Studio: a user program, configuration data, setup data or device variables.
  • Page 36 7.EtherNet/IP Connection Procedure Select Communications Setup from the Controller Menu. The Communications Setup Dialog Box appears. Check that Direct connection via Ethernet is selected in the Connection type Field. Click OK. *The direct connection via Ethernet is available regardless of with or without a switching hub if you make a 1:1 connection between Sysmac Studio and Controller.
  • Page 37 7.EtherNet/IP Connection Procedure Additional Information For information on online connections, refer to Section 6. Online Connections to a Controller of the Sysmac Studio Version 1 Operation Manual (Cat. No. W504). Select Synchronize from the Controller Menu. The Synchronization Dialog Box appears.
  • Page 38 7.EtherNet/IP Connection Procedure As shown in the figure on the right, the font color used to display the synchronized data changes to white which is the color used to specify "Synchronized". Check that a message appears stating "The Synchronization process successfully finished".
  • Page 39 7.EtherNet/IP Connection Procedure Precautions for Correct Use If you change the connection settings (i.e. tag data link table) after synchronization, you cannot transfer the changed connection settings by synchronizing the data again. To transfer the connection settings changed after synchronization, display the Built-in EtherNet/IP Port Settings - Port 1 Connection Settings Tab Page and then...
  • Page 40: Ethernet/Ip Communication Status Check

    7.EtherNet/IP Connection Procedure 7.4. EtherNet/IP Communication Status Check Confirm that EtherNet/IP tag data links are in normal operation. 7.4.1. Checking the Connection Status Check the EtherNet/IP connection status. Check with the LED indicators on Controller that the tag data links are in normal operation. The LED indicators in normal status are as follows: NET RUN: Green lit...
  • Page 41 7.EtherNet/IP Connection Procedure Click the Status Tab. The tag data links are in normal operation when the same check boxes as in the figure on the right are selected. Number: node number Blue: Connection normal Click the Connection Status Tab. Check that appears to the ●...
  • Page 42: Initialization Method

    8.Initialization Method 8. Initialization Method The setting procedures in this guide are based on the factory default settings. Some procedures may not be applicable unless you use the devices with the factory default settings. 8.1. Initializing a Controller To initialize a Controller, clear all memory of a CPU Unit. With Sysmac Studio, change the operating mode of Controller to PROGRAM mode and select Clear All Memory from the Controller Menu.
  • Page 43: Revision History

    9.Revision History 9. Revision History Revision Date of Description of revision code revision July 2021 New entry...
  • Page 44 2018 0721(0721) P746-E1-01...

Table of Contents