Using ICC ETH-1000 EtherNet/IP Interface with Mitsubishi iQ PLC eth1000_large.
Contents Contents ................................................................................................................................................................... i FURTHER READING REFERENCE LIST...............................................................................................................ii Chapter 1 Introduction .....................................................................................................................................
FURTHER READING REFERENCE LIST ( Mitsubishi Q Corresponding MELSEC Communication Protocol Reference Manual SH(NA)-080008-K QnUCPU User’s Manual Communication via Built-in Ethernet Port SH(NA)-080811ENG-B Q Corresponding Ethernet Interface Module User’s Manual (Basic) SH (NA)-080009-N ICC Instruction Manual: ETH-1000 Multiprotocol Ethernet / RS-485 Gateway ii
This Page is intentionally left blank! iii
Introduction 1 This document provides instructions and examples on how to configure a system consists of Rockwell ControlLogix PLC, an ICC ETH-1000 Gateway, and Mitsubishi iQ PLC system. An Example of the system configuration is shown in Figure 1 below.
Chapter 2 System Overview A Verification System is used as a test bed for verifying the steps documented in this Quick Start guide. The Verification System is shown in Figure 2 below with the IP address assignments of all the devices. Netgear Switch ICC 192.168.1.102 Monitoring Laptop 2 192.168.1.5 iQ (Built-in Ethernet Port) 192.168.1.40 iQ E71 Ethernet Module 192.168.1.45 ControlLogix 192.168.1.
Chapter 3 Connecting Devices to the Network 1 1. Power on the Rockwell system and monitor the display scrolling across the front of the ENBT module. If the module is working properly, the message “OK Rev x.x.x IP1.IP2.IP3.IP4” should scroll across the display. Rev x.x.x is the revision number of the module firmware, and IP1.IP2.IP3.IP4 forms the current IP address of the module. For example, the message is “OK Rev 2.3.1 192.168.1.30” 2. Connect a configuration PC on the network.
4. Right-Click on the ENBT Module and select “Module Configuration” from the drop down list: 5. Under the “Port Configuration” tab, select the Network Configuration Type to be “Static”, and one can modify the IP address and the Network Mask to the desired values. Click “OK” and save the new IP address configuration. The new IP address should scroll across the front of the ENBT module.
Using the USB connection between the Configuration PC and the ICC ETH-1000 is the most straightforward method to perform the initial configuration of the ICC Module. 1. Launch the “ICC Gateway Configuration Utility” on the Configuration PC and connect a USB cable to the ICC device. Introduction 3.2 Changing the IP Address of the ICC ETH-1000 Module The “ICC Gateway Configuration Utility” should be loaded on a Configuration PC that is used to configure the ICC ETH-1000.
2. Click the “Auto Connect” button, and the ETH-1000 module will be connected, and the screen will be populated with the current information: The proper device type is shown with a green LED lit showing the connection has been established. The firmware type, version, and Database type are also shown on the screen. 3. The user can modify the IP address and Subnet Mask information on this screen. 4.
1 Introduction 5. After the download, the system will need to be reset for the changes to take effect. Click “Yes” to the pop-up message and the ETH-1000 will go through the reset sequence System Overview 2 Devices to the Network 3 6. After the ETH-1000 system reboot, the screen should show the new IP address. In this example, the IP address was changed to 192.168.5.190.
3.3 Changing the IP Addresses of the iQ PLC Built-in Ethernet Port The following are steps to change the IP address of the iQ PLC Built-in Ethernet Port: 1. Open the GX Works2 on the Configuration PC and create a new project for the appropriate CPU Module (e.g. Q13UDEH in this example). 2. Select the PLC Parameter on the Project Tree which will open the “Q Parameter Setting” window. Then select the “Built-in Ethernet Port Setting” tab. a.
Click the Open Setting box and enter the first channel as MC Protocol with a proper Host Station Port number (In this example, the Port Number is set at Hex 5001) 1 Introduction c. System Overview 2 Devices to the Network 3 4 ControlLogix PLC Project Configuration 3. Download the parameter settings to the PLC.
3.4 Configuring the External Ethernet Module in the iQ System When application requires, an external Ethernet module can be added to the system and communicating to the iQ CPU. This section describes the configuration of a QJ71E71-100 module to be used in the communication with a CLX through the ICC ETH-1000 gateway. 1. Select the Network Parameter-> Ethernet/CC IE/MELSECNET on the Project Tree which will open the parameter setting window. a. Select the Network Type to be “Ethernet.” b.
2. At the “Ethernet Operation Setting window”, one can configure the IP address of the Ethernet module. 1 b. Check the “Enable Online Change” checkbox c. Select the “Initial Timing” to be Always wait for OPEN (Communication possible at STOP time). This is a critical step to ensure proper communication between the Ethernet module and the ICC ETH-1000. d. Select the “Use the KeepAlive” function. Introduction a. Set the Communication Data Code to Binary 2 System Overview e.
3. At the Network Parameter Setting window, click “Open Setting” and open the window below and enter the parameters as shown: a. Configure the Host Station Port Number to match the Connection Object port number configured in the ICC ETH-1000.
ControlLogix PLC Project Configuration The configuration steps of a ControlLogix project are described this Chapter. These steps are used to communicate with an ICC ETH-1000 module. It is assumed that the user has basic knowledge in using RSLogix5000 software to perform the basic configuration steps. 2 System Overview 4.1 Adding the 1756 ENBT Module 1. Create a new project in the RSLogix5000 using the proper revision level as the ControlLogix controller. In this example, the revision level is 16.
3. In the “Select Module” pop-up window, choose the “Communications” 4.
1 Introduction 5. Then select the Major Revision level of the ENBT firmware. In the Verification System, the major revision level of the ENBT module is 2. System Overview 2 Devices to the Network 3 6. Enter the proper Name, Slot Location, Revision Level and IP Address of the ENBT module. In the Verification System, the module name is set at CSC_EIP, the revision firmware level is 2.3, the module is in Slot 1 of the ControlLogix Chassis, and the IP address is set at 192.168.1.
7. Click “OK” to accept the configuration and make no additional configuration changes to the “Connection” tab. Simply click “OK” again to accept the configuration. 4.2 Adding the ICC Module The following steps are used to add the ICC module for communication using I/O Messaging (or Implicit Messaging method). 1.
Terminology Using EtherNet/IP Explicit Messaging ETH-1000 Configuration ControlLogix PLC Project Configuration Devices to the Network System Overview Introduction 2. Select the “Communications” and expand the tree for additional selection. 1 2 3 3.
4. Double Click on the selection and configure the ICC module accordingly. This is a critical configuration step to ensure the ETH-1000 will work properly in the system as the application requires. Please also consult the ICC ETH-1000 User’s Manual carefully about the configuration of these items. a. Configure the “Comm Format” as “Data-INT” for the overall system to work best with the ICC module and the controller registers. This will allow the transfers to be done in 16 bit integers.
5. Configure the RPI to 10.0 ms. Introduction 1 System Overview 2 Devices to the Network 3 7. Double click on the “Controller Tags” selection, and the following tags are automatically created for the ICC ETH-1000 module: 4 ControlLogix PLC Project Configuration 6. Select “OK” to accept the configuration and complete the ICC Module Configuration.
a. 248 integer tags were created for CSC_ICC_ETH1000_INT:I. These are the tag locations where ICC will transfer the data to the ControlLogix using Implicit Message protocol every RPI. b. 248 integer tags were created for CSC_ICC_ETH1000_INT:O. These are the tag locations where data will be sent to ICC ETH-1000 through Implicit Messaging Protocl every RPI. c.
Chapter 5 ETH-1000 Configuration 1 The user should have gone through the configuration steps as shown in Section 3.2 of this document. 5.1 Configuring the EtherNet/IP Implicit Messaging Communication 1. Select the “Ethernet Multiple” Protocol Selection box and check “EtherNet/IP Server” and “MELSEC Client” selections. Selecting these two check boxes allow the EtherNet/IP and MELSEC tabs to become active.
2. Select the EtherNet/IP tab of the ICC Configuration screen and define the ICC Database locations where data items will be exchanged between the ControlLogix PLC and the ICC module through the Implicit Messaging protocol. In this example, the “Produce Data Start Address” of the ICC module is set at Database Location 0 and the “Consume Data Start Address” at 2048. These addresses are referring to the database in the ICC module that will be used to transfer data between ICC and the ControlLogix tags.
The database addresses in the ICC are used to address “byte” data locations. Thus, 248 words will take up 496 database addresses. 1 Introduction 3. Select the “Monitor” tab and check the “Display Usage” checkbox to show the DB memory locations that are configured for use by both the Produced and Consumed data. System Overview 2 Devices to the Network 3 ControlLogix PLC Project Configuration 4 5.2.1.
2. Enter the IP address of the controller that will be connected. The IP is 192.168.1.40 for this example 3. Enter the Port Number in decimal. The Port is 20481 or 0x5001 for this example. 4. Hit “Create” after the information is entered and the Connection Object is shown as below. 5.2.2.
5. Enter the Starting Point of the Data Registers where the data items will be written into. In this example, the Starting Point is “12268.” 1 7. Enter the Database Address (Database Addr.) of the ICC DB where data items are stored and will be written to the controller registers. In this example, the starting DB address is 2048. 8. Click the “Create” button to create this Service Object Introduction 6. Enter the number of words to be transferred in the “Num Words” dialog box.
9. Repeat the steps 1-8 to define the other three service objects to perform the transfers between ICC and iQ PLC. a. Define the Service Object to read 20 Data Registers to ICC b.
Terminology Using EtherNet/IP Explicit Messaging ETH-1000 Configuration ControlLogix PLC Project Configuration Devices to the Network System Overview Introduction c.
5.2.3. Configuring the Connection Object for QJ71E71 Ethernet Module Repeat steps documented in Sections 5.2.1and 5.2.2 to configure the Connection and Service objects to communicate to the external Ethernet module in the system. 1. Creat a Connection Object first with name Connection2. Enter the IP address of the Ethernet module and the Port number (e.g. 20481 or Hex5001 as configured in Section 3.4 . 2.
The following diagram illustrates an example of the mapping the ICC DB to Mitsubishi iQ system with an Built-in Ethernet port and an external Ethernet module. Each Ethernet port transfers 10 words of bit data and 20 words of word data.
Chapter 6 Using EtherNet/IP Explicit Messaging The ControlLogix PLC can communicate with the Mitsubishi iQ PLC using EIP Explicit Messaging format through the ICC ETH-1000 gateway. The communication is accomplished through the use of MSG instructions in RSLogix5000. Refer to Sections 11.1.4.5, 11.1.4.6, 8.7.5.1 of the “Instruction Manual: ETH-1000 Multiprotocol Ethernet / RS-485 Gateway” for details on how to configure the MSG instructions properly for communicating with Mitsubishi controllers.
Terminology Point-to-point relationships that are established to facilitate request-response transactions between two nodes. These connections are general purpose in nature and can be used to reach any network-accessible items within a device. Explicit messaging connections utilize TCP/IP services to move messages across Ethernet. EtherNet/IP EtherNet/IP is the name given to the Common Industrial Protocol (CIP), as implemented over standard Ethernet (IEEE 802.3 and the TCP/IP protocol suite).
Revisions July 2009 – Document created and Released, Version 1.0 October 2009 – Minor revision to wording throughout the document, Version 1.