CJ Series EtherNet/IP TM Connection Guide. Yamaha Motor Co., Ltd. Robot Controller (RCX340) P624-E1-01

Similar documents
CJ Series EtherNet/IP TM Connection Guide. ABB Ltd. IRC5 Robot Controller P572-E1-01

CJ Series EtherNet/IP TM Connection Guide. OMRON Corporation RFID Reader/Writer (V680S-series) P626-E1-01

Machine Automation Controller NJ-series. EtherNet/IP TM. Connection Guide. OMRON Corporation. CJ2-series Controller P568-E1-01

CJ Series EtherNet/IP TM Connection Guide. SMC Corporation Solenoid Valve (SI Unit EX600-SEN#) P657-E1-01

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

CJ Series IO-Link Connection Guide (EtherNet/IP TM Host Communications) OMRON Corporation Proximity Sensor (E2E-series IO-Link)

CJ Series EtherNet/IP TM Connection Guide. OMRON Corporation Vision System (FZ5 Series) P588-E1-02

MARS TOHKEN SOLUTION CO.LTD. Fixed Mount 1D/2D Image Reader (TFIR-31LAN Series)

CJ-series DeviceNet Connection Guide OMRON Corporation 3G3RX-V1 Series Inverter

Connection Guide (RS-232C)

No.FST-ZTH130453A. CJ Series EtherCAT Connection Guide. OMRON Corporation. E3NW-ECT Digital Sensor Communication Unit P562-E1-01

Omron Adept Technologies,Inc.

CJ Series General-purpose Serial Connection Guide OMRON Corporation V500-R2 Series Fixed Laser-Type Barcode Reader

PHOENIX CONTACT GmbH & Co. KG

Connection Guide HMS Industrial Networks

Connection Guide FANUC CORPORATION

Machine Automation Controller NJ-series. EtherNet/IP TM. Connection Guide. OMRON Corporation. Displacement Sensor (ZW-7000 series) P653-E1-01

OMRON Corporation. IO-Link Connection Guide (EtherCAT(R) Host Communications) Machine Automation Controller NJ-series

EtherCAT(R) Connection Guide IAI Corporation

Machine Automation Controller NJ-series. EtherCAT(R) Connection Guide. OMRON Corporation. Displacement Sensor (ZW-7000 Series) P651-E1-01

CJ Series General-purpose Serial Connection Guide (RS-232C) OMRON Corporation Displacement Sensor (ZW-7000 series)

OMRON Corporation. IO-Link Connection Guide (EtherCAT(R) Host Communications) Machine Automation Controller NJ-series

Connection Guide (RS-232C) OMRON Corporation

DELTA ELECTRICS, INC.

Machine Automation Controller NJ-series. EtherNet/IP TM. Connection Guide. OMRON Corporation. FZ5-series Vision System P589-E1-01

FESTO K.K. IO-Link Connection Guide (EtherCAT(R) Host Communications) Machine Automation Controller NJ-series

Machine Automation Controller NJ-series. EtherCAT. Connection Guide. OMRON Corporation. Digital Sensor Communication Unit (E3NW-ECT) P563-E1-01

Piab AB. IO-Link Connection Guide (EtherCAT(R) Host Communications) Machine Automation Controller NJ-series. Vacuum Ejector (picompact 23 IO-Link)

Machine Automation Controller NJ-series. EtherCAT. Connection Guide. OMRON Corporation. E3X-ECT Sensor Communication Unit (EtherCAT Slave) P529-E1-01

Machine Automation Controller NJ-series. EtherCAT. Connection Guide. OMRON Corporation. GX-series Digital I/O Terminal P517-E1-01

Machine Automation Controller NJ-series. EtherCAT(R) Connection Guide. Balluff GmbH. Network Interface (BNI ECT-508) P673-E1-01

Connection Guide. SMC Corporation. EtherCAT(R) Machine Automation Controller NJ-series

Omron Adept Technologies,Inc.

Machine Automation Controller NJ-series. EtherCAT. Connection Guide. OMRON Corporation. Displacement Sensor(Confocal Fiber Type) (ZW-CE1) P538-E1-01

No. FST-ZTH13079B. Machine Automation Controller NJ-series. EtherCAT Connection Guide. Kollmorgen Corporation Servo Drive (AKD )

ORIENTAL MOTOR CO., LTD.

Rockwell Automation ControlLogix 1756-L71 EtherNet/IP Connection Guide. OMRON Corporation. RFID System V680S. V680S RFID System. Cat. No.

Connection Guide (RS-232C)

Grid Connect EtherNet/IP Adapter CP1W-EIP61. Application and Setup Guide

CJ Series EtherNet/IP TM Connection Guide. OMRON Corporation Vision System (FH Series) P575-E1-02

Connection Guide (TCP/IP) OMRON Corporation

User s Manual YAMAHA NETWORK BOARD

Connection Guide (RS-232C) OMRON Corporation

Machine Automation Controller NJ-series. EtherCAT(R) Connection Guide. IAI Corporation. ACON/ACON-CA/ PCON/PCON-CA/ DCON-CA Controller P584-E1-02

Connection Guide IAI Corporation

CM-EIP-1 G9SP Safety Controller EtherNet/IP Adapter Application and Setup Guide

Connection Guide (RS-232C) OMRON Corporation

CJ Series EtherNet/IP Connection Guide OMRON Corporation ZW-series Displacement Sensor

G9SP Ethernet IP Communication to Omron s CJ2 PLC s Rev1.0 Micheal Paradiso

Cat. No. W585-E1-02 SYSMAC. NX-IO Configurator CXONE-AL D-V4 OPERATION MANUAL

Using the WAGO as Remote I/O with an Omron SYSMAC CJ2 Series PLC. Application note. A116700, English Version 1.1.0

Sysmac Studio Version 1

1. Introduction. Be sure to read the release notes in section 10 before operating the Unit.

EtherNet/IP Monitor Tool Operation Manual

Configuring PNSPO InduSoft Web Studio to communicate by Tag Name to Omron CJ2 PLCs and NJ MACs

Beckhoff TwinCAT 3.1 build White Paper Ethernet/IP Connection to an RCX340 Controller

1. Overview of YC-Link/E Overview Part names of YC-Link/E compatible units Installation and settings 3

NE1A Ethernet IP Communications with Omron CJ2 PLC Micheal Paradiso

CJ1W-EIP21. CJ-series EtherNet/IP Unit. Introducing the New EtherNet/IP Unit. More Than 180,000 Words of Tag Data Link Capacity!

Configuring an Omron PLC with Omron FINS Ethernet Driver

DX200 OPTIONS INSTRUCTIONS

G9SP Ethernet IP Communication to Omron s NJ5 PLC s Rev1.0 Mike Wash

SYSMAC Gateway Runtime Installation Guide

CJ1W-EIP21 CSM_CJ1W-EIP21_DS_E_9_2

Cat. No. W481-E1-02. ERT1 Series. EtherNet/IP Slave Units OPERATION MANUAL

1. 1. Executing the Integrated Simulation (Starting up up the CX-Programmer) Saving a location and restarting it it on on the CX-Programmer

DX200 OPTIONS MECHATROLINK-II COMMUNICATION FUNCTION INSTRUCTIONS

Cat. No. I153E-EN-01. SCARA Robots ZX-T YRC Series. DeviceNet USER S MANUAL

CS1W-EIP21 CSM_CS1W-EIP21_DS_E_7_3

User s Manual YAMAHA NETWORK BOARD

Command Reference Manual

User s Manual YAMAHA NETWORK BOARD

Switch-mode Power Supplies

2 Preparation. 2.1 Items to Check Connecting PC with GP Setting PC Network Setting GP Network...

DriveWizard Plus Instruction Manual

Demonstration Screen for Safety CPU

DX200 OPTIONS INSTRUCTIONS

Varispeed SERIES OPTION CARD DeviceNet COMMUNICATION INTERFACE CARD USER'S MANUAL Model: SI-N1

SIMATIC/SINAMICS. Getting started with SINAMICS V90 PN on S Motion Control. Fundamental safety instructions 1. Introduction

2 Preparation. 2.1 Items to Check Connecting PC with GP Setting PC Network Setting GP Network

OMRON Corporation CS/CJ Series PLC Ladder Monitor. Operation Manual

CX-One Ver.4 CSM_CX-One_DS_E_10_2

Operation Manual SFC Programming

IO-Link System. User s Manual W570-E1-03

eth1000_large.jpg Using ICC ETH-1000 EtherNet/IP Interface with Mitsubishi iq PLC

For the configuration of the I/O-modules in a control system an EDS-file is required. The names of the files are as follows:

Startup Guide For EtherCAT Communication Coupler Safety Controllers and I/O Units

YAMAHA Robot Controller. MRCH/QRCH/QRCX Series UNIT OWNER'S MANUAL

DATA PROJECTOR XJ-H1650/XJ-H1750 XJ-ST145/XJ-ST155

6-1-6 Types of Errors

DATA PROJECTOR XJ-H1650/XJ-H1750/XJ-H2650 XJ-ST145/XJ-ST155

Canlan INSTALLATION MANUAL

Automation Software. Sysmac Studio. Project Version Control Function Operation Manual SYSMAC-SE2 SYSMAC-TA4 L W589-E1-01

CX-One Ver.4 CSM_CX-One_DS_E_8_2

Engineering Tool for PC SDWP001 Operating Manual

ReeR MOSAIC SUPPLEMENTAL MANUAL. Please refer to the Safety Components Disclaimer which1 follows these examples

MOTOCOM32 OPERATOR S MANUAL

Dedicated Security Software for USB Flash Drive

Cat. No. W366-E1-15. SYSMAC CX-Simulator Ver. 2.0 OPERATION MANUAL

PF31XX FAMILY FIRMWARE UPDATE GUIDE. v1.2 Revised Nov 29, 2016

Transcription:

CJ Series EtherNet/IP TM Connection Guide Yamaha Motor Co., Ltd. Robot Controller (RCX340) P624-E1-01

About Intellectual Property Rights and Trademarks Microsoft product screen shots reprinted with permission from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the USA and other countries. ODVA and EtherNet/IP TM are trademarks of ODVA. Company names and product names in this document are the trademarks or registered trademarks of their respective companies.

Table of Contents 1. Related Manuals... 1 2. Terms and Definitions... 2 3. Precautions... 3 4. Overview... 4 5. Applicable Devices and Device Configuration... 5 5.1. Applicable Devices... 5 5.2. Device Configuration... 6 6. EtherNet/IP Settings... 8 6.1. Parameters... 8 6.2. Allocating the Tag Data Links... 8 7. EtherNet/IP Connection Procedure... 10 7.1. Work Flow... 10 7.2. Setting up the YAMAHA MOTOR Robot Controller... 12 7.3. Setting up the PLC... 19 7.4. Setting up the Network... 31 7.5. Checking the EtherNet/IP Communications... 44 8. Initialization Method... 53 8.1. Initializing the PLC... 53 9. Revision History... 55

1.Related Manuals 1. Related Manuals To ensure system safety, make sure to always read and heed the information provided in all Safety Precautions and Precautions for Safe Use of manuals for each device which is used in the system. The table below lists the manuals of Yamaha Motor Co., Ltd. (hereinafter referred to as YAMAHA MOTOR) and OMRON Corporation (hereinafter referred to as OMRON) related to this document. Manufacturer Cat. No. Model Manual name OMRON W472 CJ2M-CPU[][] CJ2H-CPU6[] CJ-series CJ2 CPU Unit Hardware User's Manual CJ2H-CPU6[]-EIP OMRON W473 CJ2M-CPU[][] CJ2H-CPU6[] CJ-series CJ2 CPU Unit Software User's Manual CJ2H-CPU6[]-EIP OMRON W465 CJ1W-EIP21 EtherNet/IP TM Units Operation Manual CJ2H-CPU6[]-EIP CJ2M-CPU3[] OMRON W446 - CX-Programmer Operation Manual OMRON 0969584-7 W4S1-05[] Switching Hub W4S1-series User's Manual W4S1-03B YAMAHA MOTOR E133 RCX340 YAMAHA 4-AXIS ROBOT CONTROLLER RCX340 User s Manual YAMAHA MOTOR E134 RCX340 YAMAHA 4-AXIS ROBOT CONTROLLER RCX340 Operator s Manual YAMAHA MOTOR E741 RCX340 YAMAHA NETWORK BOARD EtherNet/IP User s Manual 1

2.Terms and Definitions 2. Terms and Definitions Term Node Tag Tag Set Tag data link Connection Connection type Originator and Target Tag data link parameter EDS file Explanation and Definition Programmable controllers and devices are connected to the EtherNet/IP network via the EtherNet/IP ports. The EtherNet/IP recognizes each EtherNet/IP port connected to the network as one node. When a device with two EtherNet/IP ports is connected to the EtherNet/IP network, the EtherNet/IP recognizes this device as two nodes. The EtherNet/IP achieves the communications between programmable controllers or the communications between programmable controllers and devices by exchanging data between these nodes connected to the network. A minimum unit of the data that is exchanged on the EtherNet/IP network is called a tag. The tag is defined as a network variable or as a physical address, and it is allocated to the memory area of each device. In the EtherNet/IP network, a data unit that consists of two or more tags can be exchanged. 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 OMRON programmable controllers. In the EtherNet/IP, the tag and tag set can be exchanged cyclically between nodes without using the user program. This standard feature on the EtherNet/IP is called a tag data link. A connection is used to exchange data as a unit within which data concurrency is maintained. The connection consists of tags or tag sets. Creating the concurrent tag data link between the specified nodes is called a "connection establishment ". When the connection is established, the tags or tag sets that configure the connection are exchanged between the specified nodes concurrently. There are two kinds of connection types for the tag data link connection, one is a multi-cast connection and the other is a unicast (point-to-point) connection. The multi-cast connection sends an output tag set in one packet to multiple nodes. The unicast connection separately sends one output tag set to each node. Therefore, multi-cast connections can decrease the communications load if one output tag set is sent to multiple nodes. To perform tag data links, one node requests the opening of a communications line called a "connection". The node that requests to open the connection is called an "originator", and the node that receives the request is called a "target". The tag data link parameter is the setting data to perform the tag data link. It includes the data to set tags, tag sets, and connections. A file that describes the number of I/O points for the EtherNet/IP device and the parameters that can be set via EtherNet/IP. 2

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 safety circuit in order to ensure safety and minimize risks of abnormal occurrence. (2) To ensure system safety, make sure to always read and heed the information provided in all Safety Precautions and Precautions for Safe Use of manuals for each device which is used in the system. (3) The user is encouraged to confirm the standards and regulations that the system must conform to. (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 March 2015. It is subject to change without notice for improvement. The following notation is used in this document. Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury or property damage. Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performance. Additional Information Additional information to read as required. This information is provided to increase understanding or make operation easier. Symbol The triangle symbol indicates precautions (including warnings). The specific operation is shown in the triangle and explained in text. This example indicates a general precaution. 3

4.Overview 4. Overview This document describes the procedure for connecting Robot Controller (RCX340) of YAMAHA MOTOR to CJ-series Programmable Controller + EtherNet/IP Unit (hereinafter referred to as the PLC) of OMRON, and the procedure to check their connection. Refer to Section 6. EtherNet/IP Settings and Section 7. EtherNet/IP Connection Procedure to understand the setting method and key points to operate the tag data link for EtherNet/IP. In this document, CJ-series EtherNet/IP Unit and the built-in EtherNet/IP port of CJ-series CJ2 CPU Unit are collectively called as the "EtherNet/IP Unit". 4

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 CJ2 CPU Unit CJ2[]-CPU[][] OMRON EtherNet/IP Unit CJ1W-EIP21 CJ2H-CPU6[]-EIP CJ2M-CPU3[] YAMAHA MOTOR Robot Controller RCX340 YAMAHA MOTOR Robot Single-axis robot Linear single-axis robot Cartesian robot SCARA robot Pick & place robot FLIP-X series PHASER series XY-X series YK-XG series YP-X series Precautions for Correct Use As applicable devices above, the devices with the models and versions listed in Section 5.2. are actually used in this document to describe the procedure for connecting devices and checking the connection. You cannot use devices with versions lower than the versions listed in Section 5.2. To use the above devices with models not listed in Section 5.2. or versions higher than those listed in Section 5.2., check the differences in the specifications by referring to the manuals before operating the devices. Additional Information This document describes the procedure to establish the network connection. It does not provide information on operation, installation or wiring method which is not related to the connection procedure. It also does not describe the functionality or operation of the devices. Refer to the manuals or contact the device manufacturer. (Yamaha Motor Co., Ltd. http://global.yamaha-motor.com/business/robot/) This URL is the latest address at the time of this document creation. Contact each device manufacturer for the latest information. Additional Information Contact the device manufacturer for robots connectable to the Robot Controller. 5

5.Applicable Devices and Device Configuration 5.2. Device Configuration The hardware components to reproduce the connection procedure of this document are as follows: Personal computer (CX-One, installed, OS: Windows 7) USB cable CJ2M-CPU32 (Built-in EtherNet/IP port) LAN cable Switching hub W4S1-05C LAN cable Robot Controller RCX340 24 VDC power supply SCARA robot YK150XG Programming box PBX Manufacturer Name Model Version OMRON CPU Unit (Built-in EtherNet/IP port) CJ2M-CPU32 Ver.2.0 (Ver.2.12) OMRON Power Supply Unit CJ1W-PA202 OMRON Switching hub W4S1-05C Ver.1.00-24 VDC power supply - (For Switching hub) OMRON CX-One CXONE-AL[][]C-V4 Ver.4.[][] /AL[][]D-V4 OMRON CX-Programmer (Included in CX-One) Ver.9.52 OMRON Network Configurator (Included in CX-One) Ver.3.56 - Personal computer - (OS: Windows 7) - USB cable - (USB 2.0 type B connector) - LAN cable (STP (shielded, - twisted-pair) cable of Ethernet category 5 or higher) YAMAHA Robot Controller RCX340 Ver.1.14 MOTOR YAMAHA Programming box PBX Ver.1.06 MOTOR YAMAHA SCARA robot YK150XG MOTOR YAMAHA MOTOR EDS file YAMAHA_RCX3(EIP2).eds Ver.1.1 Precautions for Correct Use Prepare the corresponding EDS file beforehand. The latest EDS file can be downloaded from the YAMAHA MOTOR website. Yamaha Motor Co., Ltd. http://global.yamaha-motor.com/business/robot/download/fieldbus/ Contact YAMAHA MOTOR if the file is not available. 6

5.Applicable Devices and Device Configuration Precautions for Correct Use Update the CX-Programmer and Network Configurator to the versions specified in this section or higher versions using the auto update function. If a version not specified in this section is used, the procedures described in Section 7. and subsequent sections may not be applicable. In that case, use the equivalent procedures described in this document by referring the CX-Programmer Operation Manual (Cat. No. W446) and Network Configurator Online Help. Additional Information For specifications of the power supplies available for the 24 VDC power supply (Switching hub), refer to the Switching Hub W4S1-series User's Manual (Cat. No. 0969584-7). Additional Information The system configuration in this document uses USB for the connection between the Personal computer and PLC. For information on how to install the USB driver, refer to A-5 Installing the USB Driver of the CJ-series CJ2 CPU Unit Hardware User's Manual (Cat. No. W472). 7

6.EtherNet/IP Settings 6. EtherNet/IP Settings This section describes specifications of the parameters and the tag data link allocation that are set in this document. Hereinafter, the Robot Controller is referred to as the "Destination Device" in some descriptions. 6.1. Parameters The parameters required for connecting the PLC and the Robot Controller via EtherNet/IP are given below. Items PLC (EtherNet/IP Unit) Robot Controller (node 1) (node 2) Unit number 0 - Node address 1 2 IP address 192.168.250.1 192.168.250.2 Sub-net mask 255.255.255.0 255.255.255.0 6.2. Allocating the Tag Data Links The tag data links allocation of the Robot Controller in the PLC is as follows. Output area (PLC to Robot Controller: 48 bytes) PLC output area Robot controller input area Data size (byte) D10000 to D10001 Dedicated input (word input) SIW(0) to SIW(1) 4 D10002 to D10015 General-purpose input (word input) SIW(2) to SIW(15) 28 D10016 Dedicated input (bit input) SI0(0) to SI1(7) 2 D10017 to D10022 General-purpose input (bit input) SI2(0) to SI15(7) 12 D10023 Reserved area 2 Input area (Robot Controller to PLC: 48 bytes) PLC input area Robot Control output area Data size (byte) D10100 to D10101 Dedicated output (word output) SOW(0) to SOW(1) 4 D10102 to D10115 General-purpose output (word output) SOW(2) to SOW(15) 28 D10116 Dedicated output (bit output) SO0(0) to SO1(7) 2 D10117 to D10122 General-purpose output (bit output) SO2(0) to SO15(7) 12 D10123 Reserved area 2 8

6.EtherNet/IP Settings Detailed description of the dedicated input (bit input) PLC output area Robot Controller (Dedicated input (bit input)) Bit: 0 SI0(0) Emergency stop input Bit: 1 SI0(1) Servo ON input Bit: 2 SI0(2) Bit: 3 SI0(3) Bit: 4 SI0(4) Reserved area Bit: 5 SI0(5) Bit: 6 SI0(6) Stop input D10016 Bit: 7 SI0(7) Reserved area Bit: 8 SI1(0) Sequence control input Bit: 9 SI1(1) Reserved area Bit: 10 SI1(2) Auto operation start Bit: 11 SI1(3) Reserved area Bit: 12 SI1(4) Return-to-origin input (incremental type axis) Bit: 13 SI1(5) Program reset input Bit: 14 SI1(6) Alarm reset input Bit: 15 SI1(7) Return-to-origin input (absolute type axis) Detailed description of the dedicated output (bit output) PLC input area Robot Controller (Dedicated output (bit output)) Bit: 0 SO0(0) Emergency stop status output Bit: 1 SO0(1) CPU_OK status output Bit: 2 SO0(2) Servo ON status output Bit: 3 SO0(3) Alarm status output Bit: 4 SO0(4) Bit: 5 SO0(5) Bit: 6 SO0(6) Reserved area D10116 Bit: 7 SO0(7) Bit: 8 SO1(0) AUTO mode status output Bit: 9 SO1(1) Return-to-origin complete status output Bit: 10 SO1(2) Sequence program execution status output Bit: 11 SO1(3) Robot program running output Bit: 12 SO1(4) Program reset status output Bit: 13 SO1(5) Warning output Bit: 14 SO1(6) Bit: 15 SO1(7) Reserved area 9

7. EtherNet/IP Connection Procedure This section describes the procedure for connecting the Robot Controller to the PLC via EtherNet/IP. This document explains the procedures for setting up the PLC based on the factory default setting. For the initialization, refer to Section 8. Initialization Method. 7.1. Work Flow Take the following steps to set the tag data link for EtherNet/IP. 7.2. Setting up the YAMAHA MOTOR Set up the YAMAHA MOTOR Robot Controller. Robot Controller 7.2.1. Parameter Settings Set the IP address of the Robot Controller. 7.3. Setting up the PLC Set up the PLC. 7.3.1. Hardware Settings Set the hardware switches on the EtherNet/IP Unit and wire the network. 7.3.2. Installing the EDS Files Install the EDS file in the Network Configurator. 7.3.3. Starting the CX-Programmer and Start the CX-Programmer and connect online Connecting Online with the PLC with the PLC. 7.3.4. Creating the I/O Table and setting Create the I/O table and set the IP address of IP Addresses the PLC. 7.4. Setting up the Network Set the tag data link for the EtherNet/IP. 7.4.1. Starting the Network Configurator Start the Network Configurator and connect and Connecting Online with the online with the PLC. PLC 7.4.2. Uploading the Network Upload the network configuration. Configuration 7.4.3. Setting the Tags Register the tags of the send area and receive area. 10

7.4.4. Setting the Connections Associate the tags of the target device with the tags of the originator device. 7.4.5. Transferring the Tag Data Link Transfer the set tag data link parameters to the Parameters PLC. 7.5. Checking the EtherNet/IP Confirm that the EtherNet/IP tag data links are Communications operated normally. 7.5.1. Checking the Connection Status Check the connection status of EtherNet/IP. 7.5.2. Checking the Sent and Received Confirm that the correct data are sent and Data received. 11

7.2. Setting up the YAMAHA MOTOR Robot Controller Set up the YAMAHA MOTOR Robot Controller. 7.2.1. Parameter Settings Set the IP address of the Robot Controller. The parameters are set with the Programming box (hereinafter referred to as PBX). Connect necessary cables such as the power supply cable of the Robot Controller and the robot connections beforehand. Additional Information For details on the connections of such as robots and the power supply cable of the Robot Controller, refer to Chapter 3 Installation of the YAMAHA 4-AXIS ROBOT CONTROLLER RCX340 User s Manual (E133). 1 Connect the PBX to the PB on the Robot Controller. PB 2 Check the Option slot number where the EtherNet/IP board is 1 3 installed. Option slot number *In this document, the EtherNet/IP board is installed in the Option slot number 2. EtherNet/IP board 2 4 12

3 Check the operation key on the PBX by referring to the right figure. Function key Cursor key ESC key KEY TYPE key Data key ENTER key 4 KEY TYPE key is used for changing the Function key and the key type setting of the Data key. When pressing the KEY TYPE key, the key type changes like Num Alpha Sym in order, and the selected Key type display LED is lit. <Function key> Num : F1 to F4 Alpha : F5 to F8 Sym : F9 to F12 Alpha Num Sym Key type display LED <Change> <Key type setting of the Data key> Num : Number input Alpha : Alphabet input Sym : Symbol input Alpha Num Sym 5 *The key type returns to Num each time the display is changed by an operation. Turn ON the power supply to the Robot Controller. 13

6 The MENU screen is displayed. Select Edit from the menu by using the Cursor keys ( ) or ( ) and press the ENTER key. 7 The Edit Menu appears. Select Parameter from the menu by using the Cursor keys ( ) or ( ) and press the ENTER key. 8 The PARAMETER screen is displayed. Press KEY TYPE key and light up the LED of Alpha. The Function keys F5 to F8 change to valid. Press the F5 key (OPTION). 14

9 The PARAMETER>OPTION screen is displayed, and the parameters in the following appear. No: 1 Parameter Name : Option board enable Check that 1 (Enable: Initial value) is displayed for the second value from the left which is indicated by the arrow in the right figure. *The parameters for the Option board enable are in order of the Option slot number. Check the set value of the Option slot number you use. In this document, the EtherNet/IP board is installed in the Option slot number 2. So, the second set value is checked. <0: Disable, 1: Enable> <When the set value is 0 (Disable)> *If the set value is 0 (Disable), check that the key type Num is selected and press the F1 key (EDIT). The PARAMETER>EDIT screen is displayed. Change the set value to 1 (Enable). The procedure for changing is as follows: Select the second set value from the left by using the Cursor keys. Change the set value to 1 by using the Data keys and press the ENTER key. Press the ESC key several times to return to the PARAMETER>OPTION screen. 15

10 When you repeatedly press the Cursor key ( ) on the PARAMETER>OPTION screen, the displayed parameter No changes in order of the numbers 2 3 4 and it goes on. Press the Cursor key ( ) until you get the parameters in the following. No: 3 Parameter Name : EtherNet/IP IPAddress *If you pass over the EtherNet/IP IPAddress, return to the display by using the Cursor key ( ). 11 To set the parameters for the EtherNet/IP IPAddress, check that the key type Num is selected, and press the F1 key (EDIT). The PARAMETER>EDIT screen for the EtherNet/IP IPAddress is displayed. Enter 192.168.250.2 for the IP address by using the Data keys. *Fix the values by pressing the ENTER key as shown below. 192 [ENTER] 168 [ENTER] 250 [ENTER] 2 [ENTER] 12 Press the ESC key. The PARAMETER>OPTION screen is displayed again. Check that 192.168.250.2 is set for the EtherNet/IP IPAddress. 16

13 In the same way as step 10, press the Cursor key ( ) until you get the parameters in the following. No: 4 Parameter Name : EtherNet/IP subnet mask To set the parameters for the EtherNet/IP subnet mask, check that the key type Num is selected, and press the F1 key (EDIT). 14 The PARAMETER>EDIT screen for the EtherNet/IP subnet mask is displayed. In the same way as step 11, enter 255.255.255.0 for the subnet mask. Press the ESC key. 15 The PARAMETER>OPTION screen is displayed again. Check that 255.255.255.0 is set for the EtherNet/IP subnet mask. 17

16 In the same way as step 10, press the Cursor key ( ) until you get the parameters in the following. No: 6 Parameter Name : EtherNet/IP DHCP enable Check that the set value is 0 (Disable: Initial value). 17 *If the set value is 1 (Enable), change the set value to 0 (Disable) in the same way as step 9. Turn OFF the power supply to the Robot Controller. <0: Disable, 1: Enable> *To reflect parameters, the power supply to the Robot Controller must be cycled. As the procedure is performed in the next section, do not turn ON the power supply here. 18

7.3. Setting up the PLC Set up the PLC. 7.3.1. Hardware Settings Set the hardware switches on the EtherNet/IP Unit and wire the network. Precautions for Correct Use Make sure that the power supply is OFF when you perform the setting up. 1 Make sure that the power supply to the PLC is OFF. 2 *If the power supply is turned ON, settings may not be applicable as described in the following procedures. Check the positions of the hardware switches on the front panel of the EtherNet/IP Unit by referring to the right figure. 3 Set the Unit number setting switch to 0. The unit number is used to identify individual CPU Bus Units when more than one CPU Bus Unit is mounted to the same PLC. Use a small screwdriver to make the setting, taking care not to damage the rotary switch. The unit number is factory-set to 0. 4 Set the node address setting switches to the following default settings. NODE No.x16 1 : 0 NODE No.x16 0 : 1 *Set the IP address to 192.168.250.1. *By default, the first to third octets of the local IP address are fixed to 192.168.250. The fourth octet is the values that are set with the Node address setting switches. With the FINS communications service, when there are multiple EtherNet/IP Units connected to the Ethernet network, the EtherNet/IP Units are identified by node addresses. Use the node address switches to set the node address between 01 and FE hexadecimal (1 to 254 decimal).do not set a number that has already been set for another node on the same network. The left switch sets the sixteens digit (most significant digit) and the right switch sets the ones digit (least significant digit).the node address is factory-set to 01. Default IP address = 192.168.250.node address With the factory-default node address setting of 01, the default IP address is 192.168.250.1. 19

5 Connect the EtherNet/IP port on the PLC and the EtherNet/IP port on the Robot Controller with LAN cables via the Switching hub. Personal computer USB cable PLC EtherNet/IP port Switching hub Connect the Personal computer LAN cable to PLC with a USB cable. Connect the 24 VDC power Robot Controller 24 VDC power supply LAN cable supply to the Switching hub. EtherNet/IP port 6 7 Turn ON the power supply to the PLC, the Robot Controller, and Switching hub. The set IP address is displayed on the seven-segment LED indicators. Afterwards, the last digit of the IP address is displayed in hexadecimal during normal operation. 20

7.3.2. Installing the EDS File Install the EDS file in the Network Configurator. Install the CX-One in the Personal computer beforehand. 1 Right-click the Network Configurator Icon and select Run as administrator from the menu. Precautions for Correct Use To manipulate EDS file, you must select "Run as administrator" as described in step 1 above to start the Network Configurator. Otherwise, the following operations; "Install", "Create", "Delete" and "Creating EDS Index Files" that you selected from EDS File Menu; are not applied if you login with other user accounts due to user management for Windows security functions. 2 The Network Configurator starts. The left pane is called Hardware List and the right pane is called Network Configuration Pane. Hardware List Network Configuration Pane 3 Select Install from the EDS File Menu. 4 Select the YAMAHA_RCX3(EIP2).eds to install, and click the Open Button. *For how to obtain the EDS file, refer to Precautions for Correct Use in 5.2. Device Configuration. 21

5 The dialog box on the right is displayed. Check the contents and click the No Button. 6 When the EDS file is normally installed, the device is added as shown in the right figure. Confirm that the device is added in Hardware List. 7 *When YAMAHA_RCX3(EIP2).eds is installed, the YAMAHA RCX3 EtherNet/IP 2-Port device is registered. Select Exit from the File Menu to exit the Network Configurator. 22

7.3.3. Starting the CX-Programmer and Connecting Online with the PLC Start the CX-Programmer and connect online with the PLC. Install the USB driver in the Personal computer beforehand. 1 2 Start the CX-Programmer. *If a confirmation dialog for an access right is displayed at start, execute a selection to start. The CX-Programmer starts. 3 Select Auto Online - Direct Online from the PLC Menu. 4 The Direct Online Dialog Box is displayed. Select the USB connection Option for Connection Type. Click the Connect Button. 23

5 The dialog box on the right is displayed. Check the contents and click the No Button. 6 The dialog box on the right is displayed, and the CX-Programmer and the PLC are automatically connected. 7 Confirm that the CX-Programmer and the PLC are normally connected online. *The icon is pressed down during online connection. Additional Information If an online connection cannot be made to the PLC, check the cable connection. Or, return to step 1, check the settings and repeat each step. Refer to Connecting Directly to a CJ2 CPU Unit Using a USB Cable in Chapter 3 Communications in PART 3: CX-Server Runtime of the CX-Programmer Operation Manual (Cat. No. W446) for details. Additional Information The dialog boxes explained in the following procedures may not be displayed depending on the environmental setting of CX-Programmer. For details on the environmental setting, refer to Options and Preferences in Chapter 3 Project Reference in PART 1: CX-Programmer of the CX-Programmer Operation Manual (Cat. No. W446). This document explains the setting procedure when the Confirm all operations affecting the PLC Check Box is selected. 24

7.3.4. Creating the I/O Table and setting IP Addresses Create the I/O table and set the IP address of the PLC. 1 If the operating mode of the PLC is Run Mode or Monitor Mode, change it to Program Mode by following the steps below. (1)Select Operating Mode - Program from the PLC Menu of the CX-Programmer. (2)The dialog box on the right is displayed. Confirm that there is no problem and click the Yes Button. *Refer to Additional Information on the previous page for the settings concerning the dialog display. 2 (3)Confirm that Stop/Program Mode is displayed on the right of the PLC model in the project workspace of the CX-Programmer. Select Edit - I/O Table and Unit Setup from the PLC Menu of the CX-Programmer. The PLC IO Table Window is displayed. 25

Precautions for Correct Use The PLC will be 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. 3 Select Create from the Options Menu of the PLC IO Table Window. The dialog box on the right is displayed. Confirm that there is no problem and click the Yes Button. The dialog box on the right is displayed. Confirm that there is no problem and click the Yes Button. 26

4 The Transfer from PLC Dialog Box is displayed. Select the I/O Table Check Box and the SIO Unit Parameters Check Box, and click the Transfer Button. When the transfer is completed, the Transfer Results Dialog Box is displayed. Confirm that the transfer was normally executed by referring to the message in the dialog box. When the I/O table is created normally, the dialog box displays as follows: Transfer Success: 1 Unit Transfer Unsuccessful: 0 Unit Click the OK Button. 27

5 On the PLC IO Table Window, click + to the left of Built-in Port/Inner Board to display CJ2M-EIP21. *The right figure displays the CPU Unit (built-in EtherNet/IP port) specified in 5.2. Device Configuration. When you use other applicable EtherNet/IP Units, the display position and name are different from this figure. Right-click CJ2M-EIP21 and select Unit Setup. 6 The Edit Parameters Dialog Box is displayed. Select the TCP/IP Tab. Make the following settings in the IP Address Field. Select the Use the following address Check Box IP Address: 192.168.250.1 Sub-net Mask: 255.255.255.0 Click the Transfer [PC to Unit] Button. 28

7 The dialog box on the right is displayed. Confirm that there is no problem and click the Yes Button. Confirm that parameters are normally transferred to the PLC, and click the Close Button. 8 A confirmation dialog box is displayed. Check the contents and click the Yes Button. When the Unit is restarted, the dialog box on the right is displayed. Check the contents and click the OK Button. 29

9 Click the Compare Button to confirm that the IP address is correctly changed. 10 Confirm that a message stating "Compare successful" is displayed, and click the Close Button. 11 Click the OK Button on the Edit Parameters Dialog Box. 30

7.4. Setting up the Network Set the tag data link for the EtherNet/IP. 7.4.1. Starting the Network Configurator and Connecting Online with the PLC Start the Network Configurator and connect online with the PLC. 1 Right-click CJ2M-EIP21 on the PLC IO Table Window, and select Start Special Application - Start with Settings Inherited. The Select Special Application Dialog Box is displayed. Select Network Configurator and click the OK Button. 2 The Network Configurator starts. 31

Precautions for Correct Use Confirm that the LAN cable is connected before taking the following procedure. When it is not connected, turn OFF the power supply to each device and then connect the LAN cable. 3 4 5 Select Select Interface - CJ2 USB/Serial Port from the Option Menu. Select Connect from the Network Menu. The Setup Interface Dialog Box is displayed, Confirm that the following settings are made. Port Type: USB Port: OMR0 Baud Rate: 115200 Bit/s 6 Click the OK Button. The Select Connect Network Port Dialog Box is displayed. Select Back Plane - CJ2M-EIP21 - TCP:2. Click the OK Button. 32

7 The Select Connected Network Dialog Box is displayed. Click the OK Button. 8 When an online connection is established normally, the color of the icon on the figure changes to blue. Additional Information If an online connection cannot be made to the PLC, check the cable connection. Or, return to step 3, check the settings and repeat each step. For details, refer to 6-2-9 Connecting the Network Configurator to the Network in Section 6. Tag Data Link Functions of the EtherNet/IP TM Units Operation Manual (Cat. No. W465). 33

7.4.2. Uploading the Network Configuration Upload the network configuration. 1 Select Upload from the Network Menu to upload the device information on the network. 2 The dialog box on the right is displayed. Confirm that there is no problem and click the Yes Button. 3 The Target Device Dialog Box is displayed. Select the 192.168.250.1 Check Box and the 192.168.250.2 Check Box. Click the OK Button. *If 192.168.250.1 and 192.168.250.2 are not displayed on the dialog box, click the Add Button to add the addresses. *The displayed addresses depend on the status of the Network Configurator. 4 The device parameters are uploaded. When uploading is completed, the dialog box on the right is displayed. Check the contents and click the OK Button. 34

5 6 After uploading, confirm that the IP addresses of uploaded nodes are updated on the Network Configuration Pane as follows: IP address of node 1: 192.168.250.1 IP address of node 2: 192.168.250.2 Right-click the node 2 device and select Parameter - Edit. 7 The Edit Device Parameters Dialog Box is displayed. Enter the following values and click the OK Button. Output Size : 48 Input Size : 48 35

7.4.3. Setting the Tags Register the tags of the send area and receive area. This section explains the receive settings and send settings of the target device in order. 1 2 On the Network Configuration Pane of the Network Configurator, right-click the node 1 device and select Parameter - Edit. The Edit Device Parameters Dialog Box is displayed. Select the Tag Sets Tab. 3 The data on the Tag Sets Tab is displayed. Select the In-Consume Tab and click the Edit Tags Button. 36

4 The Edit Tags Dialog Box is displayed. Select the In - Consume Tab and click the New Button. Here, register an area where node 1 receives data from node 2. 5 The Edit Tag Dialog Box is displayed. Enter the following values in the parameters. Name: D10100 (Start address of the input data to node 1) Size: 48 (bytes) After entering, click the Regist Button. 6 The Edit Tag Dialog Box is displayed again. Click the Close Button. 37

7 Select the Out - Produce Tab and click the New Button. Here, register the data sent from node 1 to node 2. 8 The Edit Tag Dialog Box is displayed. Enter the following values in the parameters. Name: D10000 (Start address of the output data from node 1) Size: 48 (bytes) After entering, click the Regist Button. 9 The Edit Tag Dialog Box is displayed again. Click the Close Button. 38

10 When you finish the registration, click the OK Button on the Edit Tags Dialog Box. 11 The dialog box on the right is displayed. Confirm that there is no problem and click the Yes Button. 12 The Edit Device Parameters Dialog Box is displayed again. Select the Connections Tab. 39

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 opening). 1 Select 192.168.250.2 in Unregister Device List. Click the Down Arrow Button that is shown in the dialog box. 2 192.168.250.2 is registered in the Register Device List Field. Select 192.168.250.2 and click the New Button. 40

3 The Edit Connection Dialog Box is displayed. Select Exclusive Owner from the Connection I/O Type pull-down list. Set the values listed in the following table to the Originator Device Field and the Target Device Field. Settings of connection allocation Connection allocation Set value Connection I/O Type Exclusive Owner Originator Device Input Tag Set D10100 - [48 Byte] Connection Type Multi-cast connection Output Tag Set D10000 - [48 Byte] Connection Type Point to Point connection Target Device Output Tag Set Input_100 - [48 Byte] Input Tag Set Output_150 - [48 Byte] 4 Confirm that the settings are correct, and click the Regist Button. 5 The Edit Connection Dialog Box is displayed again. Click the Close Button. 41

6 The Edit Device Parameters Dialog Box is displayed again. Click the OK Button. 7 When the connection setting is completed, the registered node address is displayed under the device icon of node 2 on the Network Configuration Pane. 42

7.4.5. Transferring the Tag Data Link Parameters Transfer the set tag data link parameters to the PLC. 1 Right-click the device icon of node 1 on the Network Configuration Pane and select Parameter - Download. 2 The dialog box on the right is displayed. Confirm that there is no problem and click the Yes Button. 3 The tag data link parameters are downloaded from Network Configurator to the PLC. 4 The dialog box on the right is displayed. Check the contents and click the OK Button. 43

7.5. Checking the EtherNet/IP Communications Confirm that the EtherNet/IP tag data links are operated normally. 7.5.1. Checking the Connection Status Check the connection status of EtherNet/IP. 1 Confirm that the EtherNet/IP tag data links are operated normally by checking the LED indicators of the PLC (EtherNet/IP Unit). 2 The LED indicators in normal status are as follows: MS: Green lit NS: Green lit COMM: Yellow lit 100M or 10M: Yellow lit Check the LED indicators on the Robot Controller. The LED indicators in normal status are as follows: Network Status :Green lit Module Status :Green lit 3 Confirm that the tag data links are normally in operation by checking the status information on the Monitor Device Window of the Network Configurator. Right-click the device icon of node 1 on the Network Configuration Pane and select Monitor. 44

4 The dialog box on the right displays the Status 1 Tab Page of 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. Click the Close Button. Number: Node number Blue: Connection normal 5 Select Disconnect from the Network Menu to go offline. 6 7 The color of the icon on the figure changes from blue to gray. Select Exit from the File Menu to exit the Network Configurator. 45

7.5.2. Checking the Sent and Received Data Confirm that the correct data are sent and received. If the PLC memory is changed by malfunction during monitoring power flow and present value status in the Ladder Section window or monitoring present values in the Watch window, the devices connected to Output Units may malfunction, regardless of the operating mode of the CPU Unit. Confirm safety sufficiently before monitoring power flow and present value status in the Ladder Section window or before monitoring present values in the Watch window. 1 Confirm that the PLC is in Program Mode on the CX-Programmer. 2 *If the PLC is not in Program Mode, change to Program Mode by referring to step 1 of 7.3.4. Creating the I/O Table and setting IP Addresses. Select Edit - Memory from the PLC Menu. 46

3 The PLC Memory Window is displayed. Double-click D from the list in the PLC Memory Window. 4 Select Display - Binary from the View Menu. 5 Select Monitor from the Online Menu. 6 The Monitor Memory Areas Dialog Box is displayed. Confirm that the D Check Box is selected and click the Monitor Button. 7 Enter 10017 in the Start Address Field in the D Window. Confirm that the start address changes to D10017. Check that all bits for D10017 are 0. 47

8 Select Monitor on the MENU screen of the PBX by using the Cursor keys ( ) or ( ) and press the ENTER key. 9 The Monitor Menu appears. Select IO by using the Cursor keys ( ) or ( ) and press the ENTER key. 10 The DI MONITOR1 screen is displayed. Press KEY TYPE key and light up the LED of Alpha. The Function keys F5 to F8 change to valid. Press the F7 key (SI). 48

11 The SI MONITOR1 screen is displayed. Check that all values for SI 2 and SI 3 are OFF. *D10017 of the PLC memory corresponds to SI 2 and SI 3. 12 Select bit 0 for D10017 in the D Window of the CX-Programmer and click the On Button. The value of bit 0 changes to 1. In the same way, select bit 3 and click the On Button. The value of bit 3 changes to 1. 13 Check the SI MONITOR1 screen of the PBX. Check that ON is displayed in BIT0 and BIT3 for SI 2, which correspond to bit 0 and bit 3 for D10017 of the PLC memory. <Allocation of the Robot Controller to the PLC memory> PLC Robot Controller D10017 SI 2 to SI 3 General-purpose input : : (bit input) D10022 SI 14 to SI 15 49

14 Press the KEY TYPE key on the SI MONITOR1 screen and light up the LED of Alpha. The Function keys F5 to F8 change to valid. Press the F8 key (SO). 15 The SO MONITOR1 screen is displayed. Check that BIT0 and BIT1 for SO 0 are ON, and BIT2 to BIT7 and all BITs for SO 1 are OFF. 16 17 Enter 10116 in the Start Address Field in the D Window of the CX-Programmer. The start address changes to D10116. Confirm that the values of D10116 of bits 0 and 1 are 1, and that they are the same values checked in step 15. Press the KEY TYPE key twice on the SO MONITOR1 screen of the PBX and light up the LED of Sym. <Allocation of the Robot Controller to the PLC memory> PLC Robot Controller Dedicated output(bit D10116 SO 0 to SO 1 output) The Function keys F9 to F12 change to valid. Press the F9 key (SIW). 50

18 The SIW MONITOR1 screen is displayed. Check that the values of both SIW(02) and SIW(03) are 0000. 19 Select Display - Hexadecimal from the View Menu in the PLC Memory Window of the CX-Programmer. 20 21 Enter 10000 in the Start Address Field in the D Window. The start address changes to D10000. Select D10002 and click the SetValue Button. The Set Value: Hexadecimal Dialog Box is displayed. Enter 1234 and click the OK Button. 22 Confirm that the value of D10002 changes to 1234. In the same way, enter 5678 in D10003. Confirm that the value of D10003 changes to 5678. 51

23 Check the SIW MONITOR1 screen of PBX. Check that the values of SIW(02) and SIW(03) which correspond to D10002 and D10003 of PLC memory show 1234 and 5678 which are the values you set in step 22. <Allocation of the Robot Controller to the PLC memory> PLC Robot Controller D10002 SIW(2) General-purpose input : : (word input) D10015 SIW(15) 52

8.Initialization Method 8. Initialization Method This document provides the explanation of the setting procedure based on the factory default setting. Some settings may not be applicable as described in this document unless you use the devices with the factory default setting. 8.1. Initializing the PLC To initialize the settings of the PLC, it is necessary to initialize the CPU Unit and EtherNet/IP Unit. Change the PLC to PROGRAM mode before the initialization. 8.1.1. EtherNet/IP Unit (1)Select Edit - I/O Table and Unit Setup from the PLC Menu of the CX-Programmer. Right-click the EtherNet/IP Unit on the PLC IO Table Window and select Unit Setup from the menu. (2)Click the Restart Button on the Edit Parameters Dialog Box. 53

8.Initialization Method (3)A confirmation dialog box is displayed. Confirm that there is no problem and click the Yes Button. Next, the Restart Unit Dialog Box is displayed. Select the Return to out-of-box configuration, and then emulate cycling power Option, and click the OK Button. A dialog box indicating the execution is completed is displayed. Check the contents and click the OK Button. 8.1.2. CPU Unit To initialize the settings of the CPU Unit, select Clear All Memory Areas from the PLC Menu of the CX-Programmer. The Confirm All Memory Area Clear Dialog Box is displayed. Select the Initialize Option and click the OK Button. 54

9.Revision History 9. Revision History Revision Date of revision Revision reason and revision page code 01 March 31, 2015 First edition 55

56

2015 P624-E1-01 0115- (0115)