You are on page 1of 29

EIP4CCPU EtherNet/IP Quick Start Guide -

eth1000_large.jpg
Connections to Mitsubishi A700 VFDs and
Allen-Bradley Point I/O
This page left intentionally blank

i
R72-127-SLSASG-006
Contents

Contents ................................................................................................................................................................... ii
FURTHER READING REFERENCE LIST .............................................................................................................. iii
Chapter 1 Introduction ....................................................................................................................................... 1-1
Chapter 2 System Overview.............................................................................................................................. 2-1
Chapter 3 VFD Parameter Setup and Wiring .................................................................................................... 3-1
3.1 EtherNet/IP Base Parameter Selection ................................................................................................ 3-1
3.2 EtherNet/IP Instance Type Selection ................................................................................................... 3-2
Chapter 4 EIP4CCPU Configuration ................................................................................................................. 4-1
4.1 Registration of Device EDS Files ......................................................................................................... 4-1
4.2 Scanner Setup and Monitoring ............................................................................................................. 4-3
4.3 Device Setup ........................................................................................................................................ 4-8
Chapter 5 GXW2 Configuration......................................................................................................................... 5-1
5.1 Multiple CPU Settings .......................................................................................................................... 5-1
5.2 Multiple CPU High Speed Transmission Memory EtherNet/IP Locations ............................................ 5-2
5.3 PLC Data Register Mapping................................................................................................................. 5-5
5.4 GXW2 Program Details ........................................................................................................................ 5-6
5.5 GXW2 Labels ....................................................................................................................................... 5-9
Terminology ............................................................................................................................................................. 1
Revisions ................................................................................................................................................................. 1

ii
R72-127-SLSASG-006
FURTHER READING REFERENCE LIST
FR-A700 Instruction Manual (Applied), NA Version IB(NA)0600255ENG-E
FR-A7NE Instruction Manual IB(NA)0600266ENG-B
EIP4CCPU User's Manual (October 2012) http://www.iccdesigns.com/eip4ccpu.html

ATTACHMENTS
Scanner Configuration FR-A7NE 126 176 and Remote IO V2.0.escp – EIP4CCPU Scanner Configuration Utility File
EIP4CCPU Simple Project Master.gxw – GXW2 File
EIP4CCPU to VFD Test.gtw – GTD3 (GOT) File
A700 A7NE 126 176 Parameters.me3 – FR-Configurator (VFD) File
A700NE.eds – EDS file for the FR-A7NE Option Module
EIP4CCPU User's Manual.pdf

iii
R72-127-SLSASG-006
Chapter 1 Introduction
This Quick Start Guide (QSG) provides instructions on how to configure an iQCPU and an EIP4CCPU Master
Module using EtherNet/IP to communicate to a Mitsubishi 700 Series Variable Frequency Drive (VFD) and
Allen-Bradley Point I/O. This solution uses the FR-A7NE option module installed in an A700 VFD.
The objective of this QSG is to assist the users to quickly setup the GXW2 program and the EIP4CCPU
configuration to have it send commands to the VFD and receive status information and data from the VFD over
EtherNet/IP and to read and write Point I/O data over EtherNet/IP. This QSG contains the necessary
configuration information for the iQCPU, the EIP4CCPU Master Module and the FR-A7NE / A700 Series VFD.

Figure 1 Q38DB Rack with an iQCPU and an EIP4CCPU Master Module Installed

1-1
Chapter 2 System Overview
This QSG was setup using the following test system. The PLC Programming software is GX Works2 V1.73B or
Greater. The EIP4CCPU Scanner Configuration Utility software is Version 1.1.3.9 (May 2012) or Greater. It is
suggested that Version 1.2.3.0 (Oct 2012) be used with this QSG. The latest EIP4CCPU software can be
downloaded from: http://www.iccdesigns.com/downloads/software/eip4ccpu-scanner-configuration-utility.html
The EIP4CCPU Core OS is Version 1.110 (Oct 2011) or Greater. EIP4CCPU Core OS Version 1.120 was
released Oct 2012 and can be used as well.
The iQCPU is PLC#1 and the EIP4CCPU is PLC#2 in the Q38DB Rack. Data is shared between the two CPUs
using the Multiple CPU High Speed Transmission memory areas as defined in EIP4CCPU and PLC Parameters.
The EIP4CCPU can be setup to use Client Class 1 Implicit (I/O) Messaging and Client/Server Class 3 Explicit
Messaging. Up to 128 CIP connections can be used for Implicit Messaging and 16 CIP Connections can be
used for Explicit Messaging. For further details see Chapter 8 of the EIP4CCPU User’s Manual.
This QSG details the use of Class 1 Implicit (I/O) Messaging ONLY. Class 3 Explicit Messaging is detailed
in a separate QSG.
The FR-A7NE module and the 1734-AENTR Point I/O are the Servers (Devices) and the EIP4CCPU is the
Client (Master).

Figure 2.1 Architecture of Test System

2-1
Chapter 3 VFD Parameter Setup and Wiring
3.1 EtherNet/IP Base Parameter Selection
This section describes the parameters of an A700 VFD that will need to be configured to enable EtherNet/IP
communication through the FR-A7NE card. The configuration will enable communication of both control and
status information.
1. Ensure the FR-A7NE has been properly installed in the VFD per the instructions in the manual.

2. Configure the parameters described in the following table with the new values:
Initial New
Pr# Name Description Value Value
340 CommsStartup Mode NET mode = enabled 0 10
434 IP Address 1 192.168.1.212 0 192
435 IP Address 2 192.168.1.212 0 168
436 IP Address 3 192.168.1.212 0 3
437 IP Address 4 192.168.1.212 0 100
438 Subnet Mask 1 255.255.255.0 0 255
439 Subnet Mask 2 255.255.255.0 0 255
440 Subnet Mask 3 255.255.255.0 0 255
441 Subnet Mask 4 255.255.255.0 0 0
540 Ethernet/IP data See FR-A7NE manual 0 3
Figure 3.1 Base VFD Parameters

Note: The above IP address and subnet mask are valid only for the validation system. Proper IP address
and subnet mask need to be set up for the application in hand.
3. Ensure VFD motor parameters, Parameters 1, 3, 9, and 19, are set appropriately per the VFD Manual

3-1
3.2 EtherNet/IP Instance Type Selection
The user must determine which operation mode to run on the A700.
There are four (4) Output/Input Instance options available. They must be used in pairs.
• Instance 20/70 – Allows forward motion only with speed control through the network.
• Instance 21/71 – Allows forward and reverse operation with speed control through the network
or through the A700
• Instance 126/176 – Same as Instance 21/71 (Simple) with ability to change parameter
values.
• Instance 129/179 – Same as Instance 21/71 (Simple) with discrete input bits and monitoring
values.
Parameter 346 must be set according to the Instance used.
Set to 792 as used in this QSG.

Figure 3.2 Parameter 346 Setting

3-2
Chapter 4 EIP4CCPU Configuration
4.1 Registration of Device EDS Files

Upon creating a new EIP4CCPU Configuration you will need to register all your Device EDS files. The EDS
files can be obtained from the manufacturer of the device.
From the Tools  Register EDS File… Menu Browse to the EDS file you want and select Open. Then
select OK in the EDS File Registration Window as shown below.

Figure 4.1 EDS File Registration Selection Window

Once the EDS file has been Registered the below Window will appear. Select OK.

Figure 4.1.1 EDS File Registration Complete Window

4-1
Under the Devices Menu in the Hardware Selection Tree you will now see the Device under Category and
or Vendor as you search the menu tree. Repeat this process for all your needed Devices.

If you do NOT have an EDS file you can use the “Generic Device” to select your Device as shown in Section
4.3 of this QSG. You will have to manually configure all the properties of this device as well.

Figure 4.1.2 Devices Menu Tree

4-2
4.2 Scanner Setup and Monitoring

To setup and configure the EIP4CCPU under the Hardware Selection Tree either right click on the
EIP4CCPU under Scanners and select “Add Device” or click on EIP4CCPU and drag to the Device List.
Enter Device Details as needed.
The Default IP Address is 192.168.3.3 and used in this QSG. Select OK when finished with this Window.

Figure 4.2 Add Scanner Device Details Window

Now the EIP4CCPU will appear under the Device List with the Name and IP Address assigned to it.

Right Click on the EIP4CCPU in the Device List and select Properties….

Figure 4.2.1 EIP4CCPU in Device List

4-3
The Device Properties Window has 5 Tabs (Offline), 6 Tabs (Online).
The General Tab is where the initial information can be changed as needed such as IP Address. All other
information can be left at default.

Figure 4.2.2 General Tab (Offline and Online)

4-4
The CPU Tab is where the PLC CPU Number and Shared Memory Base Address and Size can be selected.
Leave these at DEFAULT.
These settings must match the Multiple CPU Settings in GXD2 as detailed in Chapter 5.
When ONLINE with the EIP4CCPU this tab will display ONLINE Status, current Error Codes and EIP4CCPU
Time Setting.

Figure 4.2.3 CPU Settings Tab (Offline and Online)

4-5
The Diagnostics Tab is where you need to set a PLC Data Register (D500 as an example) where all
EIP4CCPU error message numbers will be stored in the PLC CPU. When the error is cleared the PLC
code then can write a zero (0) to this register to clear the LED display on the EIP4CCPU module.
When ONLINE with the EIP4CCPU this tab will display the Core Firmware and Serial Number of the
EIP4CCPU module.

Figure 4.2.3 Diagnostics Settings Tab (Offline and Online)

4-6
When ONLINE with the EIP4CCPU, the Event History Tab is where you can view a complete historical
listing of all error messages that have occurred in the module. These error messages can be save to a file
as needed.

Figure 4.2.4 Event History Settings Tab (Online ONLY)

4-7
4.3 Device Setup

Once the Scanner configuration is complete the Devices need to be setup.


To setup and configure a Device, under the Hardware Selection Tree either right click on the needed Device
under Devices and select “Add Device…” or click on Device it and drag to the Device List.
Enter Device Details as needed.
The IP Address is 192.168.3.100 for the VFD as used in this QSG. Select NEXT when finished with this
Window.

Figure 4.3 Add New Device Window

4-8
The Connection Properties Window has 4 Tabs. Only the Connection Tab needs to be edited. All other
Tabs are kept at default settings.
The Connection Tab is where the initial information can be changed as needed such as IP Address. The
information displayed in this tab may change from Device to Device.
• Connection Name setting will be different from Device to Device. In the case of the A700 Device
the Instance Type needs to be selected as described in Chapter 3. In this QSG, Instance 126 176
is used.
• Addressing Information Input Size (3) and Output Size (3) are defined in the EDS file and cannot be
edited. If a Generic Device is used the Sizes must be manually defined.
• Input Address and Output Address data cannot be edited. This is the address of the CPUs (U3E0 –
PLC CPU, U3E1 – EIP4CCPU) and the addresses of the Multiple CPU High Speed Transmission
memory areas where the input (G10000) and output (G10000) data from the EtherNet/IP network is
shared.
• The Input Offset and Output Offset data can be edited. This is starting address from G10000
where the data for this Device is shared in the Multiple CPU High Speed Transmission memory
areas. This device uses the EIP4CCPU (U3E1) memory locations G10000 thru G10002 to store
EtherNet/IP Input Data and the PLC CPU (UE30) memory locations G10000 thru G10002 to store
EtherNet/IP Output data. The next Device will automatically be assigned an Offset of 3 (G10003 +).

Figure 4.3.1 Connection Tab – A700 VFD

4-9
When finished with the Connection Tab Select Accept.
Now the Device and its settings are displayed under the A700 Connection Details Window in the software, if
the A700 Device is highlighted in the Device List.

.
Figure 4.3.2 Connection Window – A700 Device Highlighted

The Allen-Bradley Point I/O devices are configured the same way as shown below. The Output card and
Input cards in the I/O are configured separately.

Figure 4.3.3 Connection Tab – Point I/O Output Card

4-10
Figure 4.3.4 Connection Tab – Point I/O Input Card

Once ALL your Devices are configured and the EIP4CCPU is highlighted in the Device List, all your Devices
will be displayed. Save your configuration.
.

Figure 4.3.5 Connection Window – EIP4CCPU Highlighted

Finally, with the EIP4CCPU Master highlighted in the Device List, Right Click and select “Download
Configuration to Device”. This also can be selected from the Device pull down menu.

4-11
Chapter 5 GXW2 Configuration
5.1 Multiple CPU Settings

In PLC Parameters the Multiple CPU Setting must be configured to match the EIP4CCPU Device Properties
– CPU Settings Tab configuration. No. of PLC must be set to 2 and under Use Multiple CPU High Speed
Transmission Settings the Data size for each CPU must be set to 7 (K). The Data size can be increased or
decreased as needed. These changes must also be made in the EIP4CCPU configuration as well as shown
in Section 4.2 in the CPU Settings Tab.

Figure 5.1 Multiple CPU Setting Window

5-1
5.2 Multiple CPU High Speed Transmission Memory EtherNet/IP Locations

Three A700 Input Locations (16 bit words) and three A700 Output Locations (16 bit words) are automatically
used based upon the Input/Output Instance selected in A700 Device settings in the EIP4CCPU Module.

Figure 5.2 EtherNet/IP Input Words

Figure 5.2.1 EtherNet/IP Output Words

5-2
The three A700 Input Instances and three A700 Output Instances are described in the FR-A7NE Manual.
Input Instance of 176
• U3E1\G10000 = Byte 0 and Byte 1 = Bit Status Feedback from VFD.
• U3E1\G10001 = Byte 2 and Byte 3 = Speed (RPM) Feedback from VFD.
• U3E1\G10002 = Byte 4 and Byte 5 = Parameter Read Value from VFD.

Figure 5.2.1 EtherNet/IP Input Instance 176

Output Instance of 126


• U3E0\G10000 = Byte 0 = Bit Commands to VFD.
o Bit 5 and Bit 6 Must be ON for Network Control
• U3E0\G10000 = Byte 1 = Parameter Instance Number
• U3E0\G10001 = Byte 2 and Byte 3 = Speed (RPM) Command to VFD.
• U3E0\G10002 = Byte 4 = Parameter Class Number
• U3E0\G10002 = Byte 5 = Parameter Attribute Number

Figure 5.2.2 EtherNet/IP Output Instance 126

5-3
For example if you want to Read/Write Parameter 7
Byte 1 = Parameter Instance = 1
Byte 2 and 3 = Parameter Write Value = Value
Byte 4 = Parameter Class = 70 Hex
Byte 5 = Parameter Attribute Number = 10 + Parameter Number (7) = 17

Figure 5.2.3 EtherNet/IP Output Instance 126 – Parameter Class, Instance and Attribute

5-4
5.3 PLC Data Register Mapping

The relationship between the Shared Memory Locations used in the EIP4CCPU, the PLC CPU and the
Remote Devices are shown below.

EIP4CCPU Network I/O Example


Inputs To PLC From Network
Shared Memory Location PLC Registers Input Size (Words) Instance Description
VFD
U3E1\G10000 D200 3 Byte 0 / Byte 1 VFD Status Bits
U3E1\G10001 D201 Byte 2 and Byte 3 VFD Speed Acutal
U3E1\G10002 D202 Byte 4 and Byte 5 VFD Parameter Read Value
Point I/O
U3E1\G10003 N/A 2.5 Byte 0 and Byte 1 N/A
U3E1\G10004 N/A Byte 2 and Byte 3 N/A
U3E1\G10005 N/A Byte 4 N/A
U3E1\G10006 N/A 2.5 Byte 0 and Byte 1 N/A
U3E1\G10007 N/A Byte 2 and Byte 3 N/A
U3E1\G10008 D203 Byte 4 8 Inputs

Outputs From PLC To Network


Shared Memory Location PLC Registers Output Size (Words) Instance Description
VFD
U3E0\G10000 D148/D149 3 Byte 0 / Byte 1 VFD Command Bits / Instance No.
U3E0\G10001 D100 or D101 Byte 2 and Byte 3 VFD Speed and Parameter Write Value
U3E0\G10002 D150/D151 Byte 4 / Byte 5 Class No. / Attribute No.
Point I/O
U3E0\G10003 D200 0.5 Byte 0 8 Outputs
Figure 5.3 Register Mapping

5-5
5.4 GXW2 Program Details

The GX Works2 Project is broken up into three sections.


The first section is VFD Data to the EtherNet/IP Network as defined in the above Outputs From PLC To
Network section.

Figure 5.4 VFD Data To Network Code

5-6
The second section is VFD Data From the EtherNet/IP Network as defined in the above Inputs PLC From
Network section.

Figure 5.4.1 VFD Data From Network Code

5-7
The Third section is Remote I/O On the EtherNet/IP Network

Figure 5.4.2 Remote I/O On Network Code

Finally, from the Online Menu, Select “Write to PLC…” to download the project to the PLC CPU. Once the
download is finished RESET the PLC CPU or Cycle Power to the entire system.

5-8
5.5 GXW2 Labels

Labels can be Exported from the EIP4CCPU Configuration Software and Imported into GXW2 if needed in
CSV file format. This QSG does not program using these labels.
To Export from the EIP4CCPU Configuration Software, with the EIP4CCPU Master highlighted in the Device
List, Right Click and select “Write Label to GX Works2 CSV File”.

Figure 5.5 Label Export

To Import the CSV file the EIP4CCPU Configuration Software created, in GXW2, Right Click on Global1
under the Global Label selection in the Project Manager and select “Read from CSV file…”
These are the Labels that are Imported when this procedure is followed.

Figure 5.5.1 Labels Imported

5-9
Terminology

Implicit (I/O Data) Connections are established to move application-specific I/O data at regular
Messaging intervals. These connections often are set up as one-to-many relationships in
order to take full advantage of the producer-consumer multicast model.
Implicit messaging uses UDP/IP resources to make multicast data transfers
over Ethernet a reality.
Explicit Messaging 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).
User Defined Data User-defined data types allow a user to organize the data to match a machine or process.
Type This streamlines program development and creates self-documenting code that is easier
to maintain. A user-defined data type stores all the data related to a specific aspect of a
system. This keeps related data together and easy to locate, regardless of its data type.
Common Industrial The Common Industrial Protocol (CIP) is a media independent, connection-based, object-
Protocol (CIP) oriented protocol designed for automation applications. It encompasses a comprehensive
set of communication services for automation applications: control, safety,
synchronization, motion, configuration and information.

Revisions

October 2012 – Document Created and Published V1.0

Rev-1

You might also like