Omron CJ Series Connection Manual

Omron CJ Series Connection Manual

Ethernet/ip coupler unit
Hide thumbs Also See for CJ Series:

Advertisement

CJ Series
TM
EtherNet/IP
Connection Guide
OMRON Corporation
NX-series
EtherNet/IP Coupler Unit
P656-E1-01

Advertisement

Table of Contents
loading

Summary of Contents for Omron CJ Series

  • Page 1 CJ Series EtherNet/IP Connection Guide OMRON Corporation NX-series EtherNet/IP Coupler Unit P656-E1-01...
  • Page 2 ODVA and EtherNet/IP are trademarks of ODVA. 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 document are the trademarks or registered...
  • 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 ..................
  • Page 4: Related Manuals

    CJ2H-CPU6[] CJ2 CPU Unit CJ2H-CPU6[]-EIP Hardware USER'S MANUAL W473 CJ2M-CPU[][] CJ-series CJ2H-CPU6[] CJ2 CPU Unit CJ2H-CPU6[]-EIP Software USER'S MANUAL W465 CJ1W-EIP21 CJ Series CJ2M-CPU3[] EtherNet/IP Units CJ2H-CPU6[]-EIP OPERATION MANUAL W446 CXONE-AL[][]C-V4 CX-Programmer / AL[][]D-V4 OPERATION MANUAL 0969584-7 W4S1-05[] Switching Hub...
  • Page 5: Terms And Definitions

    The data unit consisting of two or more tags for the data exchange is called a tag set. Up to eight tags can be configured per tag set for the programmable controllers produced by OMRON Corporation. Tag data link In EtherNet/IP, the tag and tag set can be exchanged cyclically between nodes without using a user program.
  • Page 6: Precautions

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

    (hereinafter referred to as Coupler Unit) + NX-series various types of Units to CJ-series Programmable Controller + EtherNet/IP Unit (hereinafter referred to as PLC) via EtherNet/IP, both produced by OMRON Corporation (hereinafter referred to as OMRON), and for checking their communication status.
  • Page 8: Applicable Devices And Device Configuration

    This document describes the procedures for establishing the network connections. It does not provide information on operation, installation, wiring method, device functionality, or device operation, which is not related to the connection procedures. Refer to the manuals or contact your OMRON representative.
  • Page 9: Device Configuration

    24 VDC power supply USB cable 24 VDC power supply (Unit power supply) 24 VDC power supply (I/O power supply) Manufacturer Name Model Version OMRON CJ2 CPU Unit CJ2M-CPU32 Ver.2.0 (Built-in EtherNet/IP port) (Ver.2.12) OMRON Power Supply Unit CJ1W-PA202 OMRON...
  • Page 10 5.Applicable Devices and Device Configuration Precautions for Correct Use Update CX-Programmer 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. and subsequent sections may not be applicable.
  • Page 11: Ethernet/Ip Settings

    6.EtherNet/IP Settings 6. EtherNet/IP Settings This section describes the contents of the parameter and tag data link settings that are all defined in this document. 6.1. Parameters The parameters required for connecting PLC to Slave Terminal via EtherNet/IP are shown below.
  • Page 12: Tag Data Link Settings

    6.EtherNet/IP Settings 6.3. Tag Data Link Settings The following shows the content of the tag data link settings for Slave Terminal. Output area Input area D10000 D10100 (PLC to Slave Terminal) (Slave Terminal to PLC) 2 bytes 8 bytes D10103 ■Output area Address Function name...
  • Page 13: Ethernet/Ip Connection Procedure

    7.EtherNet/IP Connection Procedure 7. EtherNet/IP Connection Procedure This section describes the procedures for connecting PLC and Slave Terminal on the EtherNet/IP network. The explanations of procedures for setting up PLC and Slave Terminal given in this document are based on the factory default settings. For the initialization, refer to Section 8.
  • Page 14 7.EtherNet/IP Connection Procedure Associate the tags of the target device with the tags 7.4.4. Setting the Connections of the originator device. ↓ Transfer the set tag data link parameters to PLC. 7.4.5. Transferring the Tag Data Link Parameters ↓ Confirm that the EtherNet/IP tag data links operate 7.5.
  • Page 15: Slave Terminal Setup

    7.EtherNet/IP Connection Procedure 7.2. Slave Terminal Setup Set up Slave Terminal. 7.2.1. Hardware Settings Connect I/O Units to Coupler Unit, set the hardware switches, and connect the cables. Precautions for Correct Use Make sure that the power supply is OFF when you set up. Make sure that Coupler Unit is powered OFF.
  • Page 16 7.EtherNet/IP Connection Procedure Check that DIP switch is set as follows: Pin 3 NET (Network interface setting): OFF (Enable tag data links) Pin 4 ADR (IP address base setting): OFF (The first to Name Meaning Pin 1 Reserved by Keep turned OFF third octets of the IP the system (The factory setting is OFF)
  • Page 17 7.EtherNet/IP Connection Procedure Connect Peripheral USB port to USB cable Personal Personal computer with a USB computer cable. Connect 24 VDC power supply 24 VDC power supply (Unit power supply) to the UV (Unit power supply) and UG terminal on Terminal block.
  • Page 18 7.EtherNet/IP Connection Procedure 7.2.2. Parameter Settings Set the parameters for Slave Terminal. The parameters are set using Sysmac Studio. Install Sysmac Studio and the USB driver on Personal computer beforehand. Additional Information For information on how to install Sysmac Studio and the USB driver, refer to A-1 Driver Installation for Direct USB Cable Connection in Appendices of the Sysmac Studio Version 1 Operation Manual (Cat.
  • Page 19 7.EtherNet/IP Connection Procedure Check that EtherNet/IP Coupler is selected in the Device Field. Click Create. The New Project is displayed. The following panes are displayed in this window. Toolbox Left: Multiview Explorer Edit Configuration Top right: Toolbox Pane Multiview Middle top: Edit Configuration Pane Explorer The following tabs are displayed in the bottom middle of this...
  • Page 20 7.EtherNet/IP Connection Procedure The EIP Tab Page is displayed in the Edit Configuration Pane. Click Online. A confirmation dialog box is displayed. Check the contents and click OK. When an online connection is established, a yellow bar is displayed under the toolbar. Right-click the device icon of Coupler Unit and select Compare and Merge with...
  • Page 21 7.EtherNet/IP Connection Procedure The Compare and Merge with Actual Unit Configuration Dialog Box is displayed. Check that the Units are displayed in Actual Unit Configuration as shown in 6.2. Slave Terminal Configuration and that Added is shown in the Result Column. Click Apply Actual Unit Configuration.
  • Page 22 7.EtherNet/IP Connection Procedure Right-click the device icon of Coupler Unit and select Coupler Connection (USB) - Transfer to Coupler from the menu. The Transfer to Coupler Dialog Box is displayed. Click Configuration information + Unit operation settings + Unit application data.
  • Page 23 7.EtherNet/IP Connection Procedure Right-click the device icon of Coupler Unit and select Coupler Connection (USB) - Compare. A dialog box is displayed stating "Compare is being executed". A confirmation dialog box is displayed. Check the contents and click OK.
  • Page 24: Plc Setup

    7.EtherNet/IP Connection Procedure 7.3. PLC Setup Set up PLC. 7.3.1. Hardware Settings Set the hardware switches on EtherNet/IP Unit and wire the network. Precautions for Correct Use Make sure that the power supply is OFF when you set up. Make sure that PLC and Switching hub are powered OFF.
  • Page 25 7.EtherNet/IP Connection Procedure Connect a LAN cable to the Switching hub EtherNet/IP port on PLC, and Personal computer connect a USB cable to the USB LAN cable USB cable port. As shown in 5.2. Device Configuration, connect Personal Power Supply Unit CPU Unit computer and Switching Hub to 24 VDC power supply...
  • Page 26 7.EtherNet/IP Connection Procedure 7.3.2. Starting CX-Programmer and Connecting Online with PLC Start CX-Programmer and connect online with PLC. Install CX-One and the USB driver on Personal computer beforehand. Start CX-Programmer. *If the User Account Control Dialog Box is displayed at start, make a selection to start CX-Programmer.
  • Page 27 7.EtherNet/IP Connection Procedure The dialog box on the right is displayed. Check the contents and click No. The dialog box on the right is displayed. CX-Programmer and PLC are automatically connected. Check that CX-Programmer and PLC are normally connected online. *The icon is pressed down during online connection.
  • Page 28 7.EtherNet/IP Connection Procedure 7.3.3. Creating the I/O Table and Setting the IP Address Create the I/O table and set the IP address of PLC. If the operating mode of PLC is Run Mode or Monitor Mode, change it to Program Mode by following the steps below.
  • Page 29 7.EtherNet/IP Connection Procedure Precautions for Correct Use The PLC is reset after creating and transferring the I/O table in step 3 and subsequent steps. Always confirm safety before creating and transferring the I/O table. Select Create from the Options Menu in the PLC IO Table Window.
  • Page 30 7.EtherNet/IP Connection Procedure The Transfer from PLC Dialog Box is displayed. Select IO Table and SIO Unit Parameters. Click Transfer. When the transfer is completed, the Transfer Results Dialog Box is displayed. Check that the transfer is successfully completed by referring to the message in the dialog box.
  • Page 31 7.EtherNet/IP Connection Procedure The Edit Parameters Dialog Box is displayed. Select the TCP/IP Tab. Make the following settings in the IP Address Field. ・Use the following address: Select ・IP address: 192.168.250.1 ・Subnet mask: 255.255.255.0 Click Transfer[PC to Unit]. The dialog box on the right is displayed.
  • Page 32 7.EtherNet/IP Connection Procedure The dialog box on the right is displayed. Check the contents and click Yes. When the Unit is restarted, the dialog box on the right is displayed. Check the contents and click OK. Click Compare to check that the IP address is correctly changed.
  • Page 33: Network Settings

    7.EtherNet/IP Connection Procedure 7.4. Network Settings Set the EtherNet/IP tag data links. 7.4.1. Starting Network Configurator and Connecting Online with PLC Start Network Configurator and connect online with PLC. Right-click CJ2M-EIP21 in the PLC IO Table Window, and select Start Special Application - Start with Settings Inherited.
  • Page 34 7.EtherNet/IP Connection Procedure Precautions for Correct Use Check that the LAN cables are connected before performing the following steps. If they are not connected, turn OFF the each device, and then connect the LAN cables. Select Select Interface - CJ2 USB/Serial Port from the Option Menu.
  • Page 35 7.EtherNet/IP Connection Procedure The Select Connected Network Dialog Box is displayed. Check the contents and click When an online connection is established normally, the color of the icon changes to blue as shown on the right. Additional Information If PLC cannot be connected online, check the cable connection. Or, return to step 3, check the settings and repeat each step.
  • Page 36 7.EtherNet/IP Connection Procedure 7.4.2. Uploading the Network Configuration Upload the network configuration. Select Upload from the Network Menu to upload the device information on the network. The dialog box on the right is displayed. Confirm that there is no problem, and click Yes. The Target Device Dialog Box is displayed.
  • Page 37 7.EtherNet/IP Connection Procedure After uploading, check that the IP addresses of uploaded nodes are updated in the Network Configuration Pane as follows: IP address of node 1: 192.168.250.1 IP address of node 2: 192.168.250.2...
  • Page 38 7.EtherNet/IP Connection Procedure 7.4.3. Setting the Tags Register tags for input (consume) and output (produce). The following explains the receive and send settings of the target device in order. In the Network Configuration Pane of Network Configurator, right-click the node 1 device and select Parameter - Edit.
  • Page 39 7.EtherNet/IP Connection Procedure The Edit Tags Dialog Box is displayed. Select the In - Consume Tab and click New. Here, register a tag for the area where the node 1 consumes data from the node 2. The Edit Tag Dialog Box is displayed.
  • Page 40 7.EtherNet/IP Connection Procedure Select the Out - Produce Tab and click New. Here, register a tag for the area where the node 1 produces data to the node 2. The Edit Tag Dialog Box is displayed. Enter the following values of the parameters. Name: D10000 (Start address of the output data from node Size: 2 (Byte)
  • Page 41 7.EtherNet/IP Connection Procedure When you finish the registration, click OK in the Edit Tags Dialog Box. The dialog box on the right is displayed. Confirm that there is no problem, and click Yes. The Edit Device Parameters Dialog Box is displayed again. Select the Connections Tab.
  • Page 42 7.EtherNet/IP Connection Procedure 7.4.4. Setting the Connections Associate the tags of the target device (that receives the open request) with the tags of the originator device (that requests for opening). Select 192.168.250.2 in the Unregister Device List Field. Click the Down Arrow Button that is shown in the dialog box.
  • Page 43 7.EtherNet/IP Connection Procedure Check that the settings are correct. Click Regist. The Edit Connection Dialog Box is displayed again. Click Close. The Edit Device Parameters Dialog Box is displayed again. Click OK. When the connection is completed, the registered node address is displayed under the device icon of node 2 in the Network Configuration Pane.
  • Page 44 7.EtherNet/IP Connection Procedure 7.4.5. Transferring the Tag Data Link Parameters Transfer the set tag data link parameters to PLC. Right-click the device icon of node 1 in the Network Configuration Pane and select Parameter - Download. The dialog box on the right is displayed.
  • Page 45: 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 operate normally. 7.5.1. Checking the Connection Status Check the connection status of the EtherNet/IP network. Turn ON I/O power supply for Slave Terminal. Check with LED indicators on PLC (EtherNet/IP Unit) that the EtherNet/IP tag data links operate normally.
  • Page 46 7.EtherNet/IP Connection Procedure The dialog box on the right displays the Status 1 Tab Page in the Monitor Device Dialog Box. When the same check boxes are selected as shown on the right, the tag data links are normally in operation.
  • Page 47 7.EtherNet/IP Connection Procedure 7.5.2. Checking the Sent and Received Data Check that the correct data are sent and received. In this procedure, the output of Slave Terminal is performed, which may have a risk of unexpected operation of Slave Terminal. Take adequate safety precautions before you proceed with this operation check described here.
  • Page 48 7.EtherNet/IP Connection Procedure Select Edit - Memory from the PLC Menu. The PLC Memory Window is displayed. Double-click D on the Memory Tab of the PLC Memory Window. Select Display - Binary from the View Menu. Select Monitor from the Online Menu.
  • Page 49 7.EtherNet/IP Connection Procedure The Monitor Memory Areas Dialog Box is displayed. Check that D is selected. Click Monitor. Enter 10000 in the Start Address Field of the D Window. Check that the start address changes to D10000. Select the bit 0 value of D10000 (digital output 0) and click On.
  • Page 50 7.EtherNet/IP Connection Procedure Check that the LED status of Digital Input Unit and Digital Output Unit is as shown below. Digital input 0: Lit Digital output 0: Lit Digital Input Unit Digital Output Unit Enter 10000 in the Start Address Field of the D Window.
  • Page 51: Initialization Method

    8.Initialization Method 8. Initialization Method The setting procedures in this document 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 PLC To initialize the PLC settings, it is necessary to initialize EtherNet/IP Unit and CPU Unit. Change the operating mode of PLC to PROGRAM mode before the initialization.
  • Page 52: Initialization Of Slave Terminal

    8.Initialization Method (4)The Restart Unit Dialog Box is displayed. Select Return to out-of-box configuration, and then emulate cycling power, and click OK. (5)A dialog box is displayed indicating that the execution is completed. Check the contents and click OK. 8.1.2. CPU Unit To initialize the CPU Unit settings, select Clear All Memory Areas from the PLC Menu in CX-Programmer.
  • Page 53: Revision History

    9.Revision History 9. Revision History Revision Date of revision Description of revision code July 14, 2016 First edition...
  • Page 54 2016 P656-E1-01 0716-(-)

This manual is also suitable for:

Nx series

Table of Contents