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...
OMRON W506 NJ/NX-series NJ301-□□□□ CPU Unit Built-in EtherNet/IP Port NJ101-□□□□ User's Manual OMRON W504 SYSMAC-SE2□□□ Sysmac Studio Version 1 Operation Manual OMRON 0969584-7 W4S1-05□ Switching Hub W4S1-series W4S1-03B Users Manual ME0382 RCON-GW/GWG-□□□ RCON Gateway Unit, Terminal Unit First Step Guide...
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.
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.
4.Overview 4. Overview This guide describes procedures for connecting an IAI RCON system or an IAI MCON, MSCON or MSEP Controller 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-□□□□ RCON System Gateway Unit RCON-GW/GWG-EP Driver Unit RCON-PC/PCF/AC/DC-□...
The axis number 0 is used as an example to connect to the Actuator in this guide. NX102-1200 RCON-GW-EP (Built-in EtherNet/IP port) + RCON-PC + RCON-AC Personal computer (Sysmac Studio, PC Software for RC/EC and Gateway Parameter W4S1-05C Power supply Configuration Tool installed,...
Page 10
EDS file. Precautions for Correct Use Update Sysmac Studio to the version 1.25 or to a higher version. If you use a version higher than the one specified, the procedures and related screenshots described in Section 7. and the subsequent sections may not be applicable. In that case, use the equivalent procedures described in this guide by referring to the Sysmac Studio Version 1 Operation Manual (Cat.
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 following parameters are required to connect the Controller and the RCON via EtherNet/IP. In this guide, the Actuator is connected to the axis number 0. The axis numbers 1 to 3 are set to be disabled.
6.EtherNet/IP Settings 6.2. Global Variables The Controller treats data in tag data links as global variables. The following table shows the global variables and related settings. Network Destination device Data size Name Data type (byte) publish data assignment EIP002_GW_OUT UINT[8] Output Fixed region EIP002_AXIS_OUT...
Page 13
6.EtherNet/IP Settings Input area Device variable name Data type Region configuration of RCON EIP002_GW_IN UINT[8] Fixed region EIP002_GW_IN[0] UINT Gateway status signal 0 Gateway EIP002_GW_IN[1] UINT Gateway status signal 1 status region EIP002_GW_IN[2] UINT Power supply unit status signal 0 EIP002_GW_IN[3] UINT Power supply unit status signal 1...
Page 14
Section – 3.7 Address Configuration of the RCON System Instruction Manual (ME0384). 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).
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 RCON) Tag set name Data size (byte) EIP002_OUT...
Set the IP address and parameters of the RCON. ↓ 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. ↓ 7.3.2. Installing the EDS File Install the EDS file.
Page 17
7.EtherNet/IP Connection Procedure 7.4. EtherNet/IP Communication Confirm that the EtherNet/IP tag data links are performed normally. Status Check ↓ 7.4.1. Checking the Connection Check the EtherNet/IP connection status. Status ↓ 7.4.2. Checking Received Data Check that correct data is received.
7.EtherNet/IP Connection Procedure 7.2. IAI RCON Setup Set up the IAI RCON. 7.2.1. Hardware Settings Set the hardware switches on the RCON and connect the cables. Precautions for Correct Use Make sure that the power supplies are OFF before setting up. If any of them are ON, the settings described in the following steps and subsequent procedures may not be applicable.
Page 19
7.EtherNet/IP Connection Procedure Connect the power supply for RCON to Motor Power PSA-24 Connector and Control Power Connector on RCON. *For information on the power supply wiring, refer to Startup Section – 2.2 Wiring of the RCON System Instruction Manual (ME0384).
Page 20
7.EtherNet/IP Connection Procedure 7.2.2. Parameter Settings Set the IP address and parameters of the RCON. The Gateway Parameter Configuration Tool and PC Software for RC/EC are used to set parameters. Install them on your personal computer before proceeding. Additional Information Refer to Startup Section –...
Page 21
7.EtherNet/IP Connection Procedure The SelectGwType Screen is displayed. Select RCON from the pull-down list, and click OK. The main screen of Gateway Parameter Configuration Tool is displayed. Click Read to import the current parameters of RCON. *If the Alarm Dialog Box is displayed as shown on the right, check the settings such as cable connections and port...
Page 22
7.EtherNet/IP Connection Procedure The dialog box on the right is displayed when connecting for the first time. Click Yes and transmit the parameters to set them to the current configuration. From the second time of the connection, the imported parameters are displayed in the main screen.
Page 23
7.EtherNet/IP Connection Procedure The dialog box on the right is displayed confirming the modified parameters. Confirm that there is no problem, and click Yes. If the dialog box is not displayed, click Write. The dialog box on the right is displayed when the parameter transmission is completed.
Page 24
7.EtherNet/IP Connection Procedure The dialog box on the right is displayed after importing the parameters. Check the contents and click Check that the following imported parameters are displayed. ・Axis Type: 4 ・(Operation mode): Simple Direct (Size: 4W) *If the parameters are different, go back to step 11 and repeat the process.
Page 25
7.EtherNet/IP Connection Procedure When the software starts, the Check for connected axes Window is displayed, and RCON goes online. Connection of all axes is checked up to the last axis number (e.g. Axis No. 15). After that, the Manual operation mode Select Window is displayed.
Page 26
7.EtherNet/IP Connection Procedure Axis Nos. 0 to 3 are displayed in the tree view on the left side of the main window of PC Software for RC/EC. *The red icon is displayed for each of Axis Nos. 1 to 3 since the errors of those axes are not cleared yet.
Page 27
7.EtherNet/IP Connection Procedure The parameter edit window for Axis No. 1 is displayed. Scroll down the parameter list to find No. 158. Enter 1 (Disable) in the Value Column. *Set Axis No. 1 to be disabled. It is not used in this guide. *Any change made to the value appears in red.
Page 28
7.EtherNet/IP Connection Procedure In the tree view on the left side of the main window, the error of Axis No. 1 is now cleared, and the icon color changes from red to light blue. In the same way as steps 28 to 35, clear the errors of Axis Nos.2 and 3.
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 that the following power supplies are all OFF. - Switching hub power supply - Controller power supply...
Page 30
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 Controller is selected in the Category Field of Select Device. Select the unit model from the pull-down list in the Device Field.
Page 31
7.EtherNet/IP Connection Procedure The New Project is displayed. The following panes are displayed in the window. Toolbox Left: Multiview Explorer Top right: Toolbox Edit Pane Bottom right: Controller Status Pane Multiview Controller Top middle: Edit Pane Explorer Status Pane The following tabs are displayed in the bottom middle of the window.
Page 32
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 33
7.EtherNet/IP Connection Procedure Select IANP3802-EP0_V_2 _1.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 IANP3802-EP0 is displayed in the EDS Library Dialog Box when the EDS file is successfully installed.
Page 34
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.1.2 in the Node address Field. Select the following values from the pull-down lists in the Model name and Revision Fields.
Page 35
7.EtherNet/IP Connection Procedure Right-click the target device (192.168.1.2) and select Edit from the menu. Data fields to set the parameters are displayed. Enter the following values. 0001 Output Size: 48 0002 Input Size: Click OK. *The device parameters set in the Toolbox will be added to the connection information set in 7.3.6.
Page 36
7.EtherNet/IP Connection Procedure 7.3.4. Setting Global Variables Set global variables to use as 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 to enter a variable in the Name Column.
Page 37
7.EtherNet/IP Connection Procedure In the same way as steps 3 and 4, enter the following data in newly added rows. ・Name: EIP002_GW_IN Data Type: UINT[8] Network Publish: Input ・Name: EIP002_AXIS_IN Data Type: UINT[16] Network Publish: Input Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
Page 38
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 in the Input Tab Page, and select Create New Tag Set from the menu.
Page 39
7.EtherNet/IP Connection Procedure In the same way as step 4, set the global variable of IN No. 2 as a tag, which is listed in 6.3. Tag Sets. Check that the following tags are set for the tag set "EIP002_IN". ・EIP002_GW_IN ・EIP002_AXIS_IN Click the Output Tab.
Page 40
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 and select Add from the menu. A new connection can be entered.
Page 41
7.EtherNet/IP Connection Procedure Click the cell in the Target Variable Column for Input. When you press Ctrl + Space on the keyboard, an applicable instance number (e.g. 100) appears. *The instance number also appears even when you enter the first character (e.g. 1) of the instance number.
Page 42
7.EtherNet/IP Connection Procedure 7.3.7. Transferring the Project Data Go online with Sysmac Studio 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, device variables or values in memory used for CJ-series Units.
Page 43
When an online connection is established, a yellow line is displayed under the toolbar. 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).
Page 44
EtherNet/IP connection settings (i.e., tag data link settings). Click Transfer To Controller. *After you click on the button, the Sysmac Studio data will be transferred to Controller, and the data will be synchronized. The dialog box on the right is displayed.
Page 45
"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".
7.EtherNet/IP Connection Procedure 7.4. EtherNet/IP Communication Status Check Confirm that the EtherNet/IP tag data links are performed normally. 7.4.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 47
7.EtherNet/IP Connection Procedure Click the Status Tab. The tag data links are performed normally when the same check boxes are selected as shown on the right. Number: Node number Blue: Connection normal Click the Connection Status Tab. ● Check that is displayed to the left of the applicable connection in the Connection Name Column.
Page 48
Checking Received Data Check that correct data is received. 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 49
7.EtherNet/IP Connection Procedure Set AUTO/MANU Switch on the front panel of RCON to the MANU side. Check that bit 12 of EIP002_GW_IN[0] changes to 1. It has the same status as AUTO/MANU Switch in step 7. Return AUTO/MANU Switch to the AUTO side.
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. The Clear All Memory Dialog Box is displayed.
Need help?
Do you have a question about the Omron NJ Series and is the answer not in the manual?
Questions and answers