Page 2
EtherCAT® is 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 the trademarks or registered trademarks...
Safety Precautions and Precautions for Safe Use in the manuals for each device which is used in the system. The table below lists the manuals provided by ORIENTAL MOTOR CO., LTD. (hereinafter referred to as "ORIENTAL MOTOR") and OMRON Corporation (hereinafter referred to as "OMRON"), which pertain to this guide. Manufacturer Cat.
2.Terms and Definitions 2. Terms and Definitions 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.
(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 September 2019. It is subject to change for improvement without notice.
4. Overview This guide describes procedures for connecting an ORIENTAL MOTORαSTEP EtherNet/IP Compatible Driver AZD-□EP (hereinafter referred to as the "Driver") to an OMRON NJ/NX- series Machine Automation Controller (hereinafter referred to as the "Controller") via EtherNet/IP and for checking their communication status.
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-□□□□ ORIENTAL MOTOR Driver AZD-AEP AZD-CEP AZD-KEP ―...
LAN cable LAN cable Main power supply (single-phase 100-120V) LAN cable Power supply USB cable AZM46AC Manufacturer Name Model Version OMRON NX-series CPU Unit NX102-1200 Ver.1.31 (Built-in EtherNet/IP ports) OMRON Switching hub W4S1-05C Ver.1.0 OMRON Sysmac Studio SYSMAC-SE2□□□ Ver.1.25 ―...
Page 10
5.Applicable Devices and Device Configuration Precautions for Correct Use Contact ORIENTAL MOTOR CO., LTD. to obtain the EDS file specified on the previous page before proceeding. Please note that you need the EDS file relevant to your device. If you use models other than the one specified on the previous page, contact ORIENTAL MOTOR CO., LTD and obtain the relevant EDS file.
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. 6.1. Parameters The following parameters are required to connect the Driver and the Controller via EtherNet/IP. Name Setting item Setting value...
6.EtherNet/IP Settings 6.2. Global Variables The Controller treats global variables as tags for tag data links. The following tables show the global variables and related settings. Network Data size Name Data type Driver data assignment (Byte) publish EIP002_IN WORD[28] Input Refer to Details of input data EIP002_OUT WORD[20]...
Page 13
6.EtherNet/IP Settings The bit assignments of "Remote I/O (R-OUT)" and "Fixed I/O (OUT)" are shown below. Assignment 15 14 13 12 11 10 Remote I/O (R-OUT) (Initial assignment) Fixed I/O (OUT) Details of output data Device variable name Data type Driver data assignment EIP002_OUT WORD[20]...
Page 14
6.EtherNet/IP Settings Additional Information For more information on the Driver data assignments for tag data links, refer to 4-1 Implicit message format of the αSTEP AZ Series/Motorized Actuator equipped with AZ Series EtherNet/IP Compatible Driver USER MANUAL (HM-60372E). Additional Information With Sysmac Studio, two methods can be used to specify an array for a data type.
6.EtherNet/IP Settings 6.3. Tag Sets The tag sets for tag data links are shown below. The following data in the input and output tag sets are set. Input area (Driver to Controller) Tag set name Data size (Byte) EIP002_IN IN No. Tag name (global variable name) Data size (Byte) EIP002_IN...
7.EtherNet/IP Connection Procedure 7. EtherNet/IP Connection Procedure This section describes the procedures for connecting the Driver 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 initialization. 7.1.
Page 17
7.EtherNet/IP Connection Procedure Confirm that the EtherNet/IP tag data links are in 7.4. EtherNet/IP Communication normal operation. Status Check ↓ 7.4.1. Checking the Connection Check the EtherNet/IP connection status. Status ↓ 7.4.2. Checking Sent and Received Check that correct data is sent and received. Data...
7.EtherNet/IP Connection Procedure 7.2. ORIENTAL MOTOR Driver Setup Set up the ORIENTAL MOTOR Driver. 7.2.1. Hardware Settings Set the hardware switches on the Driver 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 19
7.EtherNet/IP Connection Procedure Connect Motor to Encoder connector (CN2) on Driver with Encoder connector (CN2) the encoder cable and to Motor connector (CN3) on Driver with the motor cable. Motor connector (CN3) Motor Connect Switching hub and EtherNet/IP communication connector (CN5) on Driver with Switching hub a LAN cable.
Page 20
7.EtherNet/IP Connection Procedure 7.2.2. Parameter Settings Set the IP address of the Driver. The IP address is set using the MEXE02. Install the MEXE02 and USB driver on your personal computer before proceeding. Additional Information For information on how to install the MEXE02 and USB driver, refer to the website of ORIENTAL MOTOR CO., LTD.
Page 21
7.EtherNet/IP Connection Procedure A new project “New1|AZ EtherNet/IP compatible : Standard/Geared Motor” opens. Click (p12) Communication & I/F by scrolling down the list displayed under Parameter. The (p12) Communication_I/F Tab Page is displayed. Scroll down the parameter list to display 12 Configuration Control (attr.3) and subsequent parameters.
Page 22
7.EtherNet/IP Connection Procedure Change the value of 16 IP Address 3 to 250 and the value of 17 IP Address 4 to 2. *The IP address is set to 192.168.250.2. Click the data writing icon in the toolbar. The dialog box on the right is displayed after completing the data writing.
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 the following power supplies are all OFF. - Power supply for Controller - Power supply for Switching - Control power supply and Main power supply for Driver Connect LAN cables between...
Page 24
7.EtherNet/IP Connection Procedure The Project Properties Dialog Box is displayed. 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.31 *In this guide, "New Project"...
Page 25
7.EtherNet/IP Connection Procedure The Built-in EtherNet/IP Port Settings Tab Page is displayed in the Edit Pane. Check that TCP/IP Settings is displayed. Make the following settings in IP Address - Port 2. - Use Port 2: tick in the box - Fixed setting: select - IP address: 192.168.250.1 - Subnet mask:...
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 is displayed in the Edit Pane. Right-click Built-in EtherNet/IP Port Settings - Port 2 and select Edit from the menu.
Page 27
7.EtherNet/IP Connection Procedure The Install EDS File Window is displayed. Select AZD-AEP.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. Device Configuration. Check that the model name of Driver is added to the EDS Library Dialog Box after the EDS file is successfully...
Page 28
7.EtherNet/IP Connection Procedure 7.3.3. Registering the Target Device Register the target device. Click the + Button in the Toolbox. Data fields of the target device registration are displayed. Enter 192.168.250.2 in the Node address Field. Select the following name and value from the pull-down lists in the Model name and Revision Fields.
Page 29
7.EtherNet/IP Connection Procedure 7.3.4. Setting Global Variables Set global variables to use for tag data links. Double-click Global Variables under Programming – Data in the Multiview Explorer. The Global Variables Tab Page is displayed in the Edit Pane. Click on a space under the column header Name.
Page 30
7.EtherNet/IP Connection Procedure Double-click Task Settings under Configurations and Setup in the Multiview Explorer. The Task Settings Tab Page is displayed in the Edit Pane. Click the VAR Button. Click the + Button displayed under the column header Variable to be refreshed in Primary Task.
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 2 Connection Settings Tab Page. Click the Input Tab in the Tag Sets. Right-click on a space on the Input Tab Page, and select Create New Tag Set from the menu.
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 described 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 2 Connection Settings Tab Page. Right-click on a space under the column header Target Device in 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 is displayed. 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 is displayed. Check that the Direct connection via Ethernet Option is selected in the Connection type Field. Click OK. Select Online from the Controller Menu. If a confirmation dialog box is displayed, check the contents and click Yes.
Page 37
7.EtherNet/IP Connection Procedure Select Synchronize from the Controller Menu. The Synchronization Dialog Box is displayed. Check that the data to be transferred (e.g. NX102) is selected. Uncheck the box for Do not transfer the EtherNet/IP connection settings (i.e., tag data link settings). Click Transfer To Controller.
Page 38
7.EtherNet/IP Connection Procedure As shown in the figure on the right, the font color that is used to display the synchronized data changes to the same color as the one used to specify "Synchronized". Check that a message is displayed stating "The Synchronization process successfully finished".
7.EtherNet/IP Connection Procedure 7.4. EtherNet/IP Communication Status Check Confirm that the 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.
Page 40
7.EtherNet/IP Connection Procedure Click the EtherNet/IP Device List Tab. Right-click Built-in EtherNet/IP Port Settings - Port 2 and select Monitor from the menu. The Built-in EtherNet/IP Port Settings - Port 2 Connection Monitor Tab Page is displayed. Click the Status Tab. The tag data links are in normal operation when the same check boxes as in the figure on the right...
Page 41
7.EtherNet/IP Connection Procedure 7.4.2. Checking Sent and Received Data Check that correct data is sent and received. In this procedure, the output of the Driver is performed, which may have a risk of unexpected operation of the devices connected to the Driver. Ensure safety before you proceed with this operation check described here.
Page 42
7.EtherNet/IP Connection Procedure The online value of EIP002_IN[2] must be 0000 0000 0000 0000. Check that bit 5 is 0. Bit 5 of EIP002_IN[2]: Ready Turn ON Main power supply for Driver. The online value of EIP002_IN[2] changes to 0000 0000 0110 0000. Check that bit 5 changes to 1 (ready to operate).
8.Initialization Method 8. Initialization Method The setting procedures in this guide are based on the factory default settings. Some settings 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.
Need help?
Do you have a question about the sysmac EtherNet/IP NJ Series and is the answer not in the manual?
Questions and answers