Hide thumbs Also See for OMRON NJ Series:

Advertisement

Quick Links

Machine Automation Controller NJ/NX-series
EtherNet/IP
Connection Guide
ifm electronic gmbh
IO-Link master
(AL1920)
T M
P702-E1-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the OMRON NJ Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sysmac OMRON NJ Series

  • Page 1 Machine Automation Controller NJ/NX-series EtherNet/IP Connection Guide ifm electronic gmbh IO-Link master (AL1920) P702-E1-01...
  • Page 2 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 the trademarks or registered trademarks...
  • 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

    NX1P2-□□□□□□1 OMRON W506 NJ/NX-series NJ501-□□□□ CPU Unit Built-in EtherNet/IP Port NJ301-□□□□ User's Manual NJ101-□□□□ OMRON W504 SYSMAC-SE2□□□ Sysmac Studio Version 1 Operation Manual OMRON 0969584-7 W4S1-05□ Switching Hub W4S1-03B W4S1-series Users Manual ifm electronic 7391165 AL1920 AL1920 Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 8 Ports IP20 -...
  • 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 A node 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

    3.Precautions 3. Precautions (1) Understand the specifications of devices which are used in the system. Allow some margin for ratings and performance. Provide safety measures, such as installing a safety circuit, in order to ensure safety and minimize the risk of abnormal occurrence. (2) To ensure system safety, make sure to always read and follow the information provided in all Safety Precautions and Precautions for Safe Use in the manuals for each device which is used in the system.
  • Page 7: Overview

    4.Overview 4. Overview This guide describes procedures for connecting an ifm electronic IO-Link Master AL1920 (hereinafter referred to as the "IO-Link Master") to an OMRON NJ/NX-series Machine Automation Controller (hereinafter referred to as the "Controller") via EtherNet/IP and for checking their communication status. Refer to Section 6.
  • 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-□□□□□□ NX1P2-□□□□□□1 NJ501-□□□□ NJ301-□□□□ NJ101-□□□□ ifm electronic IO-Link Master AL1920 Precautions for Correct Use In this guide, the devices with models and versions listed in 5.2.
  • Page 9: Device Configuration

    NJ-PA3001 OMRON Switching hub W4S1-05C Ver.1.0 - - Switching hub power supply (24 VDC) OMRON Sysmac Studio SYSMAC-SE2□□□ Ver.1.22 (Included in Sysmac Studio) OMRON Network Configurator Ver.3.62 OMRON Proximity Sensor E2E-X3B4-M1TJ-IL3 Ver.1.00 - Hilscher Ethernet Device Configuration Ver.1.900.4.3 Gmbh -...
  • Page 10 5.Applicable Devices and Device Configuration Precautions for Correct Use Update Sysmac Studio and Network Configurator to the versions specified in this Clause 5.2. or to higher versions. If you use a version higher than the one specified, the procedures and related screenshots described in Section 7.
  • Page 11: Ethernet/Ip Settings

    6.EtherNet/IP Settings 6. EtherNet/IP Settings This section describes the parameters, global variables and tag sets that are all defined in this guide. 6.1. Parameters The parameters set in this guide are shown below. 6.1.1. Personal Computer Communication Settings The parameters of the IO-Link Master are set via Ethernet communications with the personal computer.
  • Page 12 6.EtherNet/IP Settings 6.1.3. Parameters of the IO-Link Master The parameters of the IO-Link Master are described below. In this guide, an ON/OFF signal is sent under the following setting conditions: - The Proximity Sensor (2-byte input data) is assigned to Port 1 of the IO-Link Master to check data received by the Controller from the IO-Link Master.
  • Page 13: Global Variables

    6.EtherNet/IP Settings 6.2. Global Variables The Controller treats data in tag data links as global variables. The following tables show the global variables and their related settings. ■Output area (Controller to IO-Link Master) Network Data size Name Data type publish (byte) EIP002_Digitaloutputs_OUT BYTE[2]...
  • Page 14 6.EtherNet/IP Settings ■Input area (IO-Link Master to Controller) Network Data size Name Data type publish (byte) EIP002_DigitalInputs_IN BYTE[2] Input EIP002_Status_IN BYTE[2] Input EIP002_AcycliccommandRespons_IN BYTE[42] Input EIP002_PQI_PortInformation_IN BYTE[144] Input EIP002_Cyclicinputdata_IN BYTE[16] Input ■Relationship between the global variables and the IO-Link Master cyclic data Global variable Content (IO-Link Master cyclic data) Digital inputs of the IO-Link ports in the DI operating...
  • Page 15 6.EtherNet/IP Settings Global variable Content (IO-Link Master cyclic data) Port X04: PQI EIP002_PQI_PortInformation_IN[54] and [55] Same assignment as "Port X01: PQI" Port X04: Diagnostic vendor ID EIP002_PQI_PortInformation_IN[56] to [71] Same assignment as "Port X01: Diagnostic vendor ID" Port X05: PQI EIP002_PQI_PortInformation_IN[72] and [73] Same assignment as "Port X01: PQI"...
  • Page 16 Ports IP65/IP66/IP67 (7391158). Additional Information With Sysmac Studio, two methods can be used to specify an array for a data type. After specifying, (1) is converted to (2), and the data type is always displayed as (2). (1) BOOL[16] / (2) ARRAY[0..15] OF BOOL In this guide, the data type is simplified by displaying BOOL[16].
  • Page 17 6.EtherNet/IP Settings ■Process data of the Proximity Sensor (Data to be stored in the global variable EIP002_Cyclicinputdata_IN[0] listed in the table on the previous page) (Data to be stored in the global variable EIP002_Cyclicinputdata_IN[1] listed in the table on the previous page)
  • Page 18: Tag Sets

    6.EtherNet/IP Settings 6.3. Tag Sets The tag sets to perform tag data links are shown below. The data in the tag sets are assigned in ascending order of the following OUT No. and IN No. ■Output area (Controller to IO-Link Master) Tag set name Data size (byte) EIP002_OUT...
  • Page 19: Ethernet/Ip Connection Procedure

    Set the IP address of the IO-Link Master. ↓ 7.3. Controller Setup Set up the Controller. ↓ Start Sysmac Studio and set the IP address of the 7.3.1. IP Address Settings Controller. ↓ Set global variables to use for tag data links, and 7.3.2.
  • Page 20 7.EtherNet/IP Connection Procedure ↓ 7.4.5. Transferring the Tag Data Link Transfer the tag data link parameters to the Controller. Parameters ↓ 7.5. EtherNet/IP Communication Confirm that the EtherNet/IP tag data links are performed normally. Status Check ↓ 7.5.1. Checking the Connection Check the EtherNet/IP connection status.
  • Page 21: Ifm Electronic Io-Link Master Setup

    7.EtherNet/IP Connection Procedure 7.2. ifm electronic IO-Link Master Setup Set up the ifm electronic IO-Link Master. 7.2.1. Hardware Settings Connect the cables to the IO-Link Master. Precautions for Correct Use Make sure that the power supplies are OFF when you set up. If either of them is ON, the settings described in the following steps and subsequent procedures may not be applicable.
  • Page 22 7.EtherNet/IP Connection Procedure Connect Switching hub and Ethernet IN Port X21 on IO-Link Master with a LAN cable. LAN cable Connect Switching hub power supply to Switching hub. Switching hub power supply Connect Proximity Sensor and Connecting cable with socket IO-Link Port X01 on IO-Link Master with a Connecting cable with socket.
  • Page 23 7.EtherNet/IP Connection Procedure 7.2.2. Parameter Settings Set the IP address of the IO-Link Master. The IP Address is set using Ethernet Device Configuration. Install the tool on your personal computer beforehand. Additional Information For information on how to install Ethernet Device Configuration, refer to 2 Installation of the Operating Instruction Manual Ethernet Device Configuration Address Setting for Ethernet capable Hilscher Devices (DOC050402OI07EN).
  • Page 24 7.EtherNet/IP Connection Procedure Dialog box in (2) Set the IP address of Personal computer to 192.168.1.100. *The IP address can be changed in the following way. (1)Start Personal computer and log in using an administrator account. From the Windows Start menu, select Control Panel –...
  • Page 25 7.EtherNet/IP Connection Procedure Start Ethernet Device Configuration. Ethernet Device Configuration starts. Click Search Devices. The dialog box on the right is displayed stating that IO-Link Master is being searched. Select the IP address of IO-Link Master (EtherNet/IP port) displayed in the IP address Column.
  • Page 26 7.EtherNet/IP Connection Procedure The IP Configuration Dialog Box is displayed. Set the following addresses of IO-Link Master (EtherNet/IP port). IP Address: 192.168.250.2 Subnet mask: 255.255.255.0 Click OK. The dialog box on the right is displayed. The IP configuration for IO-Link Master (EtherNet/IP port) is in progress.
  • Page 27: Controller Setup

    Set up the Controller. 7.3.1. IP Address Settings Start Sysmac Studio and set the IP address of the Controller. Install Sysmac Studio and the USB driver on your personal computer beforehand. Connect a LAN cable to the Controller Personal Power Supply Unit...
  • Page 28 7.EtherNet/IP Connection Procedure The Project Properties Dialog Box is displayed *In this guide, "New Project" is used as the project name. Check that the device used is shown in the Category and Device Fields of Select Device. Select an applicable version from the pull-down list of Version.
  • Page 29 7.EtherNet/IP Connection Procedure Double-click Built-in EtherNet/IP Port Settings under Configurations and Setup – Controller Setup in the Multiview Explorer. The Built-in EtherNet/IP Port Settings Tab Page is displayed in the Edit Pane. Check that the following addresses are set in the IP Address Field.
  • Page 30 7.EtherNet/IP Connection Procedure 7.3.2. Setting Global Variables Set global variables to use for tag data links, and create and export a CSV file in order to use the variables as tags with Network Configurator. Double-click Global Variables under Programming – Data in the Multiview Explorer.
  • Page 31 7.EtherNet/IP Connection Procedure In the same way as steps 2 and 3, enter the following data in the newly added rows. - Name: EIP002_reserved_OUT Data Type: BYTE[2] Network Publish: Output - Name: EIP002_Acyclic commandRequest_OUT Data Type: BYTE[42] Network Publish: Output - Name: EIP002_Acyclic outputdata_OUT Data Type: BYTE[16]...
  • Page 32 7.EtherNet/IP Connection Procedure The Save As Dialog Box is displayed. Select a location to save the file, and enter a file name. ("EIP002" is used in this guide.) Check that the file type is CSV (Comma delimited) (*.csv). Click Save. Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
  • Page 33 7.EtherNet/IP Connection Procedure In the same way as step 9, add all the variables set in the previous steps to the Variable to be refreshed Column. *Since the data types are displayed automatically, you do not need to set them.
  • Page 34 7.3.3. Transferring the Project Data Go online with Sysmac Studio and transfer the 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, device variables, or values in memory used for CJ-series Units.
  • Page 35 Additional Information For more information on the online connections to the Controller, refer to Section 6. Online Connections to a Controller of the Sysmac Studio Version 1 Operation Manual (Cat. No. W504). Select Synchronize from the...
  • Page 36 Check that the data to transfer (NJ501 shown on the right) is selected. Click Transfer To Controller. *After executing "Transfer To Controller", the Sysmac Studio data is transferred to Controller, and the data is synchronized. The dialog box on the right is displayed.
  • Page 37 "Synchronized". Check that a message is displayed stating "The Synchronization process successfully finished". Confirm that there is no problem, and click Close. *When the Sysmac Studio project data matches the Controller data, a message is displayed stating "The synchronization process successfully finished".
  • Page 38: Network Settings

    7.EtherNet/IP Connection Procedure 7.4. Network Settings Set EtherNet/IP tag data links. 7.4.1. Starting Network Configurator and Installing the EDS File Start Network Configurator and install the EDS file. Right-click the Network Configurator shortcut icon and select Run as administrator from the menu. Precautions for Correct Use To manipulate the EDS file, you must select "Run as administrator"...
  • Page 39 7.EtherNet/IP Connection Procedure The Install EDS File Dialog Box is displayed. Select ifm_IOL_Master_ AL1920.eds (EDS file) to install. Click Open. *For information on how to obtain the EDS file, refer to Precautions for Correct Use in 5.2. Device Configuration. If the dialog box on the right is displayed, check the contents and click Yes.
  • Page 40 7.EtherNet/IP Connection Procedure 7.4.2. Uploading the Network Configuration Go online with Network Configurator and upload the network configuration. Precautions for Correct Use Check that the LAN cables are connected before performing the following steps. If not, turn OFF the devices, and then connect the LAN cables. Turn ON Switching hub.
  • Page 41 7.EtherNet/IP Connection Procedure Check that the color of the network connection icon changes to blue on the EtherNet/IP_1 Tab of the Network Configuration Pane. *It indicates that Network Configurator and Controller are online. Additional Information If the online connection to the Controller cannot be established, check the cable connection. Or, return to step 1, check the settings and repeat each step.
  • Page 42 7.EtherNet/IP Connection Procedure The Target Device Dialog Box is displayed. Select 192.168.250.1 and 192.168.250.2. Click OK. *If 192.168.250.1 and 192.168.250.2 are not displayed in the dialog box, click Add to add the addresses. *The displayed address varies with the status of Network Configurator.
  • Page 43 7.EtherNet/IP Connection Procedure The Edit Device Parameters Dialog Box is displayed. Enter and select the following values and click OK. 0001 Assembly Input Size: 206 0002 Assembly Output Size: 62 : 0028 Communication Profile: Keep setting 0029 Port Process Data Size: 2 Bytes (In 206 / Out 62) 0030 Port Mode (Port 1): IO-Link (Pin 4)
  • Page 44 7.EtherNet/IP Connection Procedure 7.4.3. Tag Registration Import the created CSV file for use with Network Configurator, and register tags and tag sets. Right-click Controller (Node 1) in the Network Configuration Pane and select Parameter – Edit from the menu. The Edit Device Parameters Dialog Box is displayed.
  • Page 45 7.EtherNet/IP Connection Procedure The Import Tag/Tag Set Dialog Box is displayed. Select EIP002.csv and click Open. *"EIP002.csv" is the file created in step 7 of 7.3.2. Setting Global Variables. Dialog box (1) *If you select the Tag Sets Tab in step 2 and perform steps 3 and 4, the dialog boxes (1) and (2) are displayed as shown on the right.
  • Page 46 7.EtherNet/IP Connection Procedure The Edit Tags Dialog Box is displayed. Click the In - Consume Tab. Check that the tab page shows the variable names that are described in 6.3. Tag Sets and have been set in 7.3.2. Setting Global Variables. Click OK.
  • Page 47 7.EtherNet/IP Connection Procedure The Edit Tag Set Dialog Box is displayed. Select EIP002_DigitalInputs _IN from the Candidate Tag List. Click the << Button. Check that EIP002_DigitalInputs_IN is registered in the Tag List. In the same way as step 8, individually select all the other variables displayed in the Candidate Tag List and register them in the Tag List in...
  • Page 48 7.EtherNet/IP Connection Procedure Enter EIP002_IN in the Name Field. Click Regist. The Edit Tag Set Dialog Box is displayed again. Click Close. Check that the following tag set information is displayed on the In - Consume Tab Page of the Edit Device Parameters Dialog Box.
  • Page 49 7.EtherNet/IP Connection Procedure The Edit Tags Dialog Box is displayed. Click the Out - Produce Tab. Check that the tab page shows the variable names that are described in 6.3. Tag Sets and have been set in 7.3.2. Setting Global Variables. Click OK.
  • Page 50 7.EtherNet/IP Connection Procedure The Edit Tag Set Dialog Box is displayed. In the same way as steps 8 and 9, individually select all the variables displayed in the Candidate Tag List and register them in the Tag List in ascending order of OUT No. listed in 6.3.
  • Page 51 7.EtherNet/IP Connection Procedure 7.4.4. Setting Connections Set connections to associate the tag sets of the target device with the tag sets of the originator device. Click the Connections Tab in the Edit Device Parameters Dialog Box. Select 192.168.250.2 from the Unregister Device List and click 192.168.250.2 is registered in...
  • Page 52 7.EtherNet/IP Connection Procedure The Edit Connection Dialog Box is displayed. Set the values (listed in the following table) in the Connection I/O Type, Originator Device and Target Device Fields. Click Regist. ■Editing settings for connections Setting item Setting value Connection I/O Type Exclusive Owner with IO-Link I/O + Status + Events Originator Device...
  • Page 53 7.EtherNet/IP Connection Procedure The IP address of Controller (Node 1) is displayed under IO-Link Master (Node 2) in the Network Configuration Pane. *It indicates that the connection settings are completed. Precautions for Correct Use [How to delete the connection settings] If you have changed the device parameter values set in step 13 of 7.4.2.
  • Page 54 7.EtherNet/IP Connection Procedure 7.4.5. Transferring the Tag Data Link Parameters Transfer the tag data link parameters to the Controller. Right-click Controller (Node 1) in the Network Configuration Pane and select Parameter – Download from the menu. The dialog box on the right is displayed.
  • Page 55: Ethernet/Ip Communication Status Check

    7.EtherNet/IP Connection Procedure 7.5. EtherNet/IP Communication Status Check Confirm that the EtherNet/IP tag data links are performed normally. 7.5.1. Checking the Connection Status Check the EtherNet/IP connection status. Check with LED indicators on Controller that the tag data links are performed normally.
  • Page 56 7.EtherNet/IP Connection Procedure The Monitor Device Dialog Box is displayed. Check that the following check boxes are selected on the Status 1 Tab Page. -ON-Line -All Tag Data Link -Tag Data Link -Ethernet Link Status Check that the target node status is displayed as shown on the right.
  • Page 57 7.EtherNet/IP Connection Procedure A confirmation dialog box is displayed asking whether to save the parameters to a network configuration file. Confirm that there is no problem, and click No. *If you prefer to save the parameters to a network configuration file, click Yes to save the parameters.
  • Page 58 Always read and follow the information provided in all safety precautions in the manuals for each device to be wired. If you change the variable values on a Watch Tab Page when Sysmac Studio is online with the CPU Unit, the devices connected to the Controller may operate regardless of the operating mode of the CPU Unit.
  • Page 59 7.EtherNet/IP Connection Procedure Click Input Name in the Name Column and enter the following variables. EIP002_PQI_PortInformation[0] EIP002_PQI_PortInformation[18] EIP002_PQI_PortInformation[36] EIP002_PQI_PortInformation[54] EIP002_PQI_PortInformation[72] EIP002_PQI_PortInformation[90] EIP002_PQI_PortInformation[108] EIP002_PQI_PortInformation[126] EIP002_Cyclicinputdata_IN[0] EIP002_Cyclicinputdata_IN[1] EIP002_Digitaloutputs_OUT[0] Select the following display formats for the variables entered in step 3. EIP002_PQI_PortInformation[0]: Binary EIP002_PQI_PortInformation[18]: Binary …...
  • Page 60 7.EtherNet/IP Connection Procedure Precautions for Correct Use If the statuses of Ports X01 to X08 on the IO-Link Master are different from the ones described in steps 5 and 6, go back to step 13 of 7.4.2. Uploading the Network Configuration. Check the functions of Ports X01 to X08 on the IO-Link Master and correct the device parameter values.
  • Page 61 7.EtherNet/IP Connection Procedure Check that the following online values of the variables are displayed. EIP002_Cyclicinputdata_IN[0]: 0000 0000 (0 in bit 0) EIP002_Cyclicinputdata_IN [1]: 61 *The value of the monitor output varies depending on the surrounding environment of the location where Proximity Sensor is mounted.
  • Page 62 7.EtherNet/IP Connection Procedure Here, an ON/OFF signal is sent to Port 2 in order to check that correct data is sent from Controller to IO-Link Master. Enter 0000 0010 in the Modify Column for EIP002_Digitaloutputs _OUT[0] to turn ON bit 1. The online value changes to 0000 0010.
  • Page 63: Initialization Method

    To initialize the settings of a Controller, it is necessary to initialize a CPU Unit. Change the operating mode of Controller to PROGRAM mode and select Clear All Memory from the Controller Menu in Sysmac Studio. The Clear All Memory Dialog Box is displayed. Check the contents and click OK.
  • Page 64: Revision History

    9.Revision History 9. Revision History Revision Date of Description of revision code revision August 2018 First edition...
  • Page 66 2018 P702-E1-01 0818-(0818)

This manual is also suitable for:

Omron nx series

Table of Contents