Rockwell Automation 20-COMM-M User Manual

20-COMM-M Modbus/TCP Adapter
Firmware 1.xxx
User Manual
Important User Information
Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (Publication SGI-1.1 available from your local Rockwell Automation sales office or online at www.rockwellautomation.com/literature) describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc. is prohibited.
http://
Throughout this manual, when necessary we use notes to make you aware of safety considerations.
WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous
!
environment, which may lead to personal injury or death, property damage, or economic loss.
Important: Identifies information that is critical for successful application and
understanding of the product.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property
!
damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequences.
Shock Hazard labels may be located on or inside the equipment (e.g., drive or motor) to alert people that dangerous voltage may be present.
Burn Hazard labels may be located on or inside the equipment (e.g., drive or motor) to alert people that surfaces may be at dangerous temperatures.
20-COMM-M Modbus/TCP Adapter User Manual
PowerFlex, DriveExplorer, DriveExecutive, DPI, DriveTools SP, and ControlFLASH, are either trademarks or registered trademarks of
Rockwell Automation, Inc. EtherNet/IP is a trademark of ODVA and COntrolNet International, Ltd. Ethernet is a trademark of Digital Equipment Corporation, Intel Corporation, and Xerox Corporation. Windows and Microsoft are registered trademarks of Microsoft Corporation.

Summary of Changes

The information below summarizes the changes made to this manual since its last release (March 2010):
Description of Changes Page
In the subsection “Direct Access Method,” added a TIP to determine the starting register for a 0-based Modbus/TCP master device, and the registers to read for the example provided.
4-9
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
soc-ii Summary of Changes
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
Preface About This Manual
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1
Rockwell Automation Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-2
Conventions Used in This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-2
Chapter 1 Getting Started
Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Compatible Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Required Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Status Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Chapter 2 Installing the Adapter
Preparing for an Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Setting the Web Pages Switch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Connecting the Adapter to the Drive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
Connecting the Adapter to the Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Applying Power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Commissioning the Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8

Table of Contents

Chapter 3 Configuring the Adapter
Configuration Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Using the PowerFlex 7-Class HIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Using BOOTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Setting the IP Address, Subnet Mask, and Gateway Address. . . . . . . . . . . . . . . . . . . . . . 3-6
Setting the Data Rate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Setting the I/O Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Setting a Communication Fault Action. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
Setting the Message I/O Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Setting Web Access Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Resetting the Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Viewing the Adapter Status Using Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Flash Updating the Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
Chapter 4 Using Modbus/TCP Function Codes
Understanding Modbus/TCP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Using the I/O. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Accessing Device Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
Using Datalinks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
Supported Modbus Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
ii Table of Contents
Chapter 5 Troubleshooting
Understanding the Status Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
PORT Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
MOD Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
NET A Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
NET B Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Viewing Adapter Diagnostic Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
Viewing and Clearing Events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
Chapter 6 Viewing the Adapter’s Web Pages
Accessing the Adapter’s Web Home Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Process Display Pop-up Window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
TCP/IP Configuration Web Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
Configure E-mail Notification Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
DPI Device Information Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
Chapter 7 Installing the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE)
Appendix A Specifications
Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Mechanical. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Regulatory Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Appendix B Adapter Parameters
About Parameter Numbers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Parameter List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Appendix C Logic Command/Status Words
PowerFlex 7-Class Drives (except PowerFlex 700S) . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
PowerFlex 700S Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
Glossary
Index
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P

Related Documentation

About This Manual

Topic Page
Related Documentation Rockwell Automation Support P-2 Conventions Used in This Manual P-2
P-1

Preface

For: Refer to: Publication
EtherNet/IP EtherNet/IP Media Planning and Installation Manual
DriveExplorer™ http://www.ab.com/drives/driveexplorer DriveTools™ SP (includes DriveExecutive™) http://www.ab.com/drives/drivetools PowerFlex 7-Class HIM HIM Quick Reference 20HIM-QR001 PowerFlex
PowerFlex PowerFlex® 700VC Series B Drive
PowerFlex
PowerFlex (Frames 1 through 6)
PowerFlex (Frames 9 and higher)
PowerFlex PowerFlex Modbus RTU Protocol Specification www.modicon.com/techpubs/TechPubNew PI_MBUS_300.pdf
(1)
(2)
®
70/70EC Drive PowerFlex 70 User Manual
®
700/700VC Series A Drive
®
700H Drive PowerFlex 700H Installation Instructions
®
700S Drive
®
700S Drive
®
700L Drive PowerFlex 700L User Manual 20L-UM001
®
Digital DC Drive PowerFlex Digital DC Drive User Manual 20P-UM001
Use this link to the ODVA EtherNet/IP library for these publications: http://odva.org/Home/ODVATECHNOLOGIES/EtherNetIP/EtherNetIPLibrary/tabid/76/
Default.aspx
The online help is installed with the software.
EtherNet/IP Network Infrastructure Guidelines EtherNet/IP Performance and Application Guide
, and DriveExplorer online help
, and DriveExecutive online help
PowerFlex 70/700 Reference Manual PowerFlex 70EC/700VC Reference Manual
PowerFlex 700 Series A User Manual PowerFlex 700 Series B User Manual PowerFlex 70/700 Reference Manual PowerFlex 70EC/700VC Reference Manual
PowerFlex 700H Programming Manual PowerFlex 700S with Phase I Control User Manual
PowerFlex 700S with Phase I Control Reference Manual PowerFlex 700S with Phase II Control Installation Instructions PowerFlex 700S with Phase II Control User Manual PowerFlex 700S with Phase II Control Reference Manual
PowerFlex 700S with Phase I Control User Manual PowerFlex 700S with Phase I Control Reference Manual PowerFlex 700S with Phase II Control Installation Instructions PowerFlex 700S with Phase II Control User Manual PowerFlex 700S with Phase II Control Reference Manual
(1)
(1)
(2)
(2)
ODVA Pub. 148 ODVA Pub. 35 ENET-AP001
— —
20A-UM001 PFLEX-RM001 PFLEX-RM004
20B-UM001 20B-UM002 PFLEX-RM001 PFLEX-RM004
PFLEX-IN006 20C-PM001
20D-UM001 PFLEX-RM002 20D-IN024 20D-UM006 PFLEX-RM003
20D-UM001 PFLEX-RM002 PFLEX-IN006 20D-UM006 PFLEX-RM003
Documentation can be obtained online at http://
literature.rockwellautomation.com. To order paper copies of technical
documentation, contact your local Rockwell Automation distributor or sales representative.
To find your local Rockwell Automation distributor or sales representative, visit www.rockwellautomation.com/locations
.
For information such as firmware updates or answers to drive-related questions, go to the Drives Service & Support web site at www.ab.com/
support/abdrives and click on the “Downloads” or “Knowledgebase” link.
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
P-2 About This Manual

Rockwell Automation Support

Rockwell Automation, Inc. offers support services worldwide, with over 75 sales/support offices, over 500 authorized distributors, and over 250 authorized systems integrators located through the United States alone. In addition, Rockwell Automation, Inc. representatives are in every major country in the world.
Local Product Support
Contact your local Rockwell Automation, Inc. representative for:
Sales and order support
Product technical training
Warranty support
Support service agreements
Technical Product Assistance
For technical assistance, please review the information in Chapter 5,
Troubleshooting
Allen-Bradley Technical Support web site at www.ab.com/support/abdrives or contact Rockwell Automation, Inc.
, first. If you still have problems, then access the

Conventions Used in This Manual

This manual provides information about the adapter and using it with PowerFlex 7-Class (Architecture-Class) drives. The adapter can be used with other products that support a DPI™ adapter, such as the DPI External Comms Kit (20-XCOMM-DC-BASE). Refer to the documentation for your product for specific information about how it works with the adapter.
The following conventions are used throughout this manual:
Parameter names are shown in the format Parameter xx - [*]. The xx
represents the parameter number. The * represents the parameter name— for example Parameter 01 - [DPI Port].
Menu commands are shown in bold type face and follow the format
Menu > Command. For example, if you read “Select File > Open,” you should click the File menu and then click the Open command.
The firmware release is displayed as FRN X.xxx. The “FRN” signifies
Firmware Release Number. The “X” is the major release number. The “xxx” is the minor update number.
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P

Chapter 1

Getting Started

The adapter is intended for installation into a PowerFlex 7-Class drive and is used for network communication. The adapter can also be installed in an External DPI Comms Kit (20-XCOMM-DC-BASE).
Topic Page
Components Features 1-2 Compatible Products 1-2 Required Equipment 1-3 Safety Precautions 1-3 Quick Start 1-5 Status Indicators 1-6
1-1

Components

Figure 1.1 Components of the Adapter
➌➍
Item Part Description
Status Indicators Four LEDs that indicate the status of the DPI, the adapter, and
DPI Connector A 20-pin, single-row shrouded male header. An Internal Interface
Ethernet Connector An RJ-45 connector for the Ethernet cable. The connector is CAT-5
Web Pages Switch
(SW2)
network connection. Refer to Chapter 5
cable is connected to this connector and a connector on the drive.
compliant to ensure reliable data transfer on 100Base-TX Ethernet connections.
Enables or disables the adapter web pages. Refer to Setting the
Web Pages Switch on page 2-2. SW1 is unused.
, Troubleshooting.
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
1-2 Getting Started

Features

The features of the adapter include:
Typical mounting in a PowerFlex 7-Class drive. The adapter can also be
installed in a DPI External Comms Kit. See Chapter
Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE) for
more information.
Important:Due to inherent operating limitations, the adapter cannot be
used with the kit’s optional I/O board.
Captive screws to secure and ground the adapter to the drive or, when
mounted in a DPI External Comms Kit, to the kit’s metal enclosure.
Compatibility with various configuration tools to configure the adapter
and connected drive. The tools include the PowerFlex 7-Class HIM on the drive, and drive-configuration software such as DriveExplorer (version 2.01 or higher) or DriveExecutive (version 3.01 or higher). In addition, you can use a BOOTP server to configure the network address for the adapter.
Status indicators that report the status of the drive communications, the
adapter, and network. They are visible when the drive cover is open or closed.
7, Installing the

Compatible Products

Parameter-configurable I/O (Logic Command/Reference and up to four
pairs of Datalinks) to meet application requirements.
Uses Ethernet II framing for Modbus/TCP protocol.
Support for a variety of Modbus/TCP function codes.
User-defined fault actions to determine how the adapter and connected
drive respond to I/O messaging communication disruptions.
Web pages, viewed using a web browser, that show information about the
adapter, connected drive, and other DPI devices connected to the drive.
Configurable e-mail messaging to desired addresses when selected drive
faults occur and/or are cleared, and/or when the adapter takes a communication fault action.
Access to any PowerFlex drive and its connected peripherals on the
network to which the adapter is connected.
DPI is a second generation peripheral communication interface and a functional enhancement to SCANport. The adapter is compatible with Allen-Bradley PowerFlex 7-Class drives and other products that support DPI. At the time of publication, compatible products include:
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
PowerFlex 70/70EC drives • PowerFlex 700L drives
PowerFlex 700/700VC drives • PowerFlex Digital DC drives
PowerFlex 700H drives DPI External Comms Kit
PowerFlex 700S drives • SMC™ Flex
Getting Started 1-3

Required Equipment

Equipment Shipped with the Adapter
When you unpack the adapter, verify that the package includes:
One adapterA 2.54 cm (1 in.) and a 15.24 cm (6 in.) Internal Interface cable (only
one cable is needed to connect the adapter to the drive; for which cable to use, see Figure 2.2 on page 2-4
One PowerFlex 7-Class DPI (Drive Peripheral Interface) Network
Communication Adapter Installation Instructions (publication
20COMM-IN004)
User-Supplied Equipment
To install and configure the adapter, you must supply:
A small flathead screwdriverEthernet cable – refer to the EtherNet/IP Media Planning and
Installation Manual (publication ENET-IN001)
Configuration tool, such as:
– PowerFlex 7-Class HIM (20-HIM-xx) – DriveExplorer (version 2.01 or higher) – DriveExecutive stand-alone software (version 3.01 or higher) or
bundled with the DriveTools SP suite (version 1.01 or higher)
– BOOTP Server (version 2.1 or higher; for network setup only)
Third-party network configuration software toolA PC connection to the Modbus/TCP network
)

Safety Precautions

Please read the following safety precautions carefully.
ATTENTION: Risk of injury or death exists. The PowerFlex drive may contain high voltages that can cause injury or death.
!
Remove all power from the PowerFlex drive, and then verify power has been discharged before installing or removing an adapter.
ATTENTION: Risk of injury or equipment damage exists. Only personnel familiar with drive and power products and the
!
associated machinery should plan or implement the installation, start up, configuration, and subsequent maintenance of the product using an adapter. Failure to comply may result in injury and/or equipment damage.
ATTENTION: Risk of equipment damage exists. The adapter contains ESD (Electrostatic Discharge) sensitive parts that can be
!
damaged if you do not follow ESD control procedures. Static control precautions are required when handling the adapter. If you are unfamiliar with static control procedures, refer to Guarding Against Electrostatic Damage (publication 8000-4.5.2).
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
1-4 Getting Started
ATTENTION: Risk of injury or equipment damage exists. If the adapter is transmitting control I/O to the drive, the drive may
!
fault when you reset the adapter. Determine how your drive will respond before resetting an adapter.
ATTENTION: Risk of injury or equipment damage exists. Parameter 23 - [Comm Flt Action] lets you determine the
!
action of the adapter and connected drive if communications are disrupted. By default, this parameter faults the drive. You can set this parameter so that the drive continues to run. Precautions should be taken to ensure that the setting of this parameter does not create a risk of injury or equipment damage. When commissioning the drive, verify that your system responds correctly to various situations (for example, a disconnected cable or a faulted controller).
ATTENTION: Risk of injury or equipment damage exists. When a system is configured for the first time, there may be
!
unintended or incorrect machine motion. Disconnect the motor from the machine or process during initial system testing.
ATTENTION: Risk of injury or equipment damage exists. Parameter 19 - [Msg I/O Timer] lets you determine how long it
!
will take the adapter to detect network communication losses. By default, this parameter sets the timeout to five seconds. You can set it so that the duration is shorter, longer, or disabled. When set to disabled, this also disables Parameter 23 - [Comm Flt Action]. Therefore, a communications fault action will be ignored. Take precautions to ensure that the setting does not create a risk of injury or equipment damage. When commissioning the drive, verify that your system responds correctly to various situations (for example, a disconnected cable).
ATTENTION: Risk of injury or equipment damage exists. The examples in this publication are intended solely for purposes of
!
example. There are many variables and requirements with any application. Rockwell Automation, Inc. does not assume responsibility or liability (to include intellectual property liability) for actual use of the examples shown in this publication.
ATTENTION: For security reasons, it is recommended to isolate the Modbus/TCP control network from the
!
enterprise-wide Ethernet network. This can be accomplished by:
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
Making the Modbus/TCP control network a stand-alone
network.
Placing a firewall between the Modbus/TCP control network
and the enterprise-wide Ethernet network.
Getting Started 1-5

Quick Start

This section is provided to help experienced users quickly start using the adapter. If you are unsure how to complete a step, refer to the referenced chapter.
Step Action Refer to…
1 Review the safety precautions for the adapter. Throughout This Manual 2 Verify that the PowerFlex drive is properly installed. Drive User Manual 3 Install the adapter.
Verify that the PowerFlex drive is not powered. Then, connect the adapter to the network using an Ethernet cable and to the drive using the Internal Interface cable. Use the captive screws to secure and ground the adapter to the drive.
Note: When installing the adapter in a DPI External Comms Kit, refer to the 20-XCOMM-DC-BASE Installation Instructions (publication 20COMM-IN001) supplied with the kit.
4 Apply power to the adapter.
A. The adapter receives power from the drive. Verify that the
adapter is installed correctly and then apply power to the drive. The status indicators should be green. If they flash red, there is a problem. Refer to Chapter 5
B. Configure/verify key drive parameters.
5 Configure the adapter for your application.
Set adapter parameters for the following functions as required by your application:
IP address, subnet mask, and gateway address
Data rate
I/O configuration
Fault action
6 Set up the master device to communicate with the adapter.
Use a network tool to configure the master device on the Modbus/ TCP network.
, Troubleshooting.
PowerFlex 7-Class DPI Network Communication Adapter Installation Instructions (publication
20COMM-IN004) and
Chapter 2 Installing the Adapter
Chapter 2 Installing the Adapter
Chapter 3 Configuring the Adapter
Instructions for your network tool
,
,
,
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
1-6 Getting Started

Status Indicators

The adapter uses four status indicators to report its operating status. They can be viewed on the adapter or through the drive cover (Figure 1.2
Figure 1.2 Status Indicators (location on drive may vary)
➊ ➋
➊ ➋ ➌ ➍
).
Item Name
PORT
MOD
NET A
NET B
After installing the adapter and applying power to the drive, refer to
Start-Up Status Indications
indications and their descriptions.
on page 2-6 for possible start-up status
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P

Chapter 2

Installing the Adapter

This chapter provides instructions for installing the adapter in a PowerFlex 7-Class drive. This adapter can also be installed in a DPI External Comms Kit. In this case, refer to the 20-XCOMM-DC-BASE Installation Instructions (publication 20COMM-IN001) supplied with the kit.
Topic Page
Preparing for an Installation Setting the Web Pages Switch 2-2 Connecting the Adapter to the Drive 2-3 Connecting the Adapter to the Network 2-6 Applying Power 2-6 Commissioning the Adapter 2-8
2-1

Preparing for an Installation

Before installing the adapter:
Read the EtherNet/IP Performance and Application Guide (publication
ENET-AP001) and EtherNet/IP Media Planning and Installation Manual (publication ENET-IN001).
Verify that you have all required equipment. Refer to Required
Equipment on page 1-3.
ATTENTION: Risk of equipment damage exists. The adapter contains ESD (Electrostatic Discharge) sensitive parts that can be
!
damaged if you do not follow ESD control procedures. Static control precautions are required when handling the adapter. If you are unfamiliar with static control procedures, refer to Guarding Against Electrostatic Damage (publication 8000-4.5.2).
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
2-2 Installing the Adapter

Setting the Web Pages Switch

To use the adapter web pages, the Web Pages Switch must be set to its “Enable Web” position.
Important:A new switch setting is recognized only when power is applied
to the adapter, or the adapter is reset. If you change a switch setting, cycle power or reset the adapter to apply the change.
Set the Web Pages Switch SW2 (Figure 2.1 web pages. By default, the adapter web pages are disabled. For complete details on adapter web pages, see Viewing the Adapter’s Web Pages
page 6-1.
Figure 2.1 Setting Web Pages Switch
) to enable or disable the adapter
UNUSED
SWITCH
WEB PAGES SWITCH
O
1
2
N
Disable Web Position
Enable Web Position
SW2 Setting Description
Down (OFF) position Disables the adapter web pages (default setting) Up (ON) position Enables the adapter web pages
on
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
Installing the Adapter 2-3

Connecting the Adapter to the Drive

ATTENTION: Risk of injury or death exists. The PowerFlex drive may contain high voltages that can cause injury or death.
!
Remove power from the drive, and then verify power has been discharged before installing or removing the adapter.
1. Remove power from the drive.
2. Use static control precautions.
3. Remove the drive cover or open the drive door.
4. Connect the Internal Interface cable to the DPI port on the drive and
then to the DPI connector on the adapter (see Figure 2.2
5. Secure and ground the adapter to the drive (see Figure 2.3
following:
– On a PowerFlex 70 drive, fold the Internal Interface cable behind the
adapter and mount the adapter on the drive using the four captive screws.
– On a PowerFlex 700, PowerFlex 700H or PowerFlex 700S drive,
mount the adapter on the drive using the four captive screws.
).
) by doing the
Important:Tighten all screws to properly ground the adapter.
Recommended torque is 0.9 Nm (8.0 lb•in).
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
2-4 Installing the Adapter
Figure 2.2 DPI Ports and Internal Interface Cables
20-COMM-M Adapter
PowerFlex 700 Frames 0 and 1
PowerFlex 700S Frames 0 and 1
PowerFlex 70 - All Frames
PowerFlex 700 Frames 2 and Larger PowerFlex 700S Frames 2 through 6
Item Description
➊ ➋ ➌ ➍
HIM panel opens to allow access to DPI interface. To open panel, remove screws on left side of HIM panel and swing open.
PowerFlex 700H Frames 9 and Larger PowerFlex 700S Frames 9 and Larger
15.24 cm (6 in.) Internal Interface cable
DPI Connector
Ethernet cable
2.54 cm (1 in.) Internal Interface cable
X2
X1
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
Figure 2.3 Mounting and Grounding the Adapter
Drive
0.9 N•m
(8.0 lb•in)
4 Places
Adapter
Internal Interface Cable folded behind the adapter and in front of the drive.
Installing the Adapter 2-5
PowerFlex 70 - All Frame Sizes
(Adapter mounts in drive.)
PowerFlex 700 Frames 0 and 1
PowerFlex 700S Frames 0 and 1
(Adapter mounts on door.)
0.9 N•m
(8.0 lb•in)
4 Places
Ground Tab Detail
Verify metal ground tab is bent 90° and is under the adapter before tightening screw. After tightening the screw, verify continuity exists between the head of the screw and drive ground.
PowerFlex 700 Frames 2 and Larger PowerFlex 700S Frames 2 through 6
(Adapter mounts in drive.)
Ground Tab Detail
0.9 N•m
(8.0 lb•in)
4 Places
X2
X1
PowerFlex 700H Frames 9 and Larger PowerFlex 700S Frames 9 and Larger
(Adapter mounts behind HIM panel.)
Verify metal ground tab is bent 90° and is under the adapter before tightening screw. After tightening the screw, verify continuity exists between the head of the screw and drive ground.
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
2-6 Installing the Adapter

Connecting the Adapter to the Network

ATTENTION: Risk of injury or death exists. The PowerFlex drive may contain high voltages that can cause injury or death.
!
Remove power from the drive, and then verify power has been discharged before installing or removing the adapter.
1. Remove power from the drive.
2. Use static control precautions.
3. Connect one end of an Ethernet cable to the network. See Figure 2.4
an example of wiring to a Modbus/TCP network.
Figure 2.4 Connecting the Ethernet Cable to the Network
PowerFlex 7-Class Drives
Router
(optional)
Modbus/TCP
Controller
(each with a 20-COMM-M Adapter)
for

Applying Power

Switch
4. Route the other end of the Ethernet cable through the bottom of the
PowerFlex drive (Figure 2.3 mating adapter receptacle.
ATTENTION: Risk of equipment damage, injury, or death exists. Unpredictable operation may occur if you fail to verify
!
that parameter settings are compatible with your application. Verify that settings are compatible with your application before applying power to the drive.
Modbus/TCP
) and insert its Ethernet cable plug into the
Install the drive cover or close the drive door, and apply power to the drive. The adapter receives its power from the connected drive. When you apply power to the adapter for the first time, its topmost “PORT” status indicator should be steady green or flashing green after an initialization. If it is red, there is a problem. Refer to Chapter 5
Start-Up Status Indications
, Troubleshooting.
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
After power has been applied, the status indicators for the drive and communications adapter can be viewed on the front of the drive (Figure 2.5
). Possible start-up status indications are shown in Table 2.A.
Installing the Adapter 2-7
Figure 2.5 Drive and Adapter Status Indicators (location on drive may vary)
PORT
MOD
NET A
NET B
STS
Table 2.A Drive and Adapter Start-Up Status Indications
Item Name Color State Description
Drive STS Indicator
STS
(Status)
PORT Green Flashing Normal Operation. The adapter is establishing an I/O
MOD Green Flashing Normal Operation. The adapter is operating but is not
NET A Green Off BOOTP is enabled or a valid IP address is not set.
NET B Green Off Normal Operation. The adapter is properly connected
Green Flashing Drive ready but not running, and no faults are present.
Steady Drive running, no faults are present.
Yellow Flashing,
Drive Stopped Flashing, Drive Running Steady, Drive Running
Red Flashing A fault has occurred.
Steady A non-resettable fault has occurred.
Adapter Status Indicators
Steady Normal Operation. The adapter is properly connected
Steady Normal Operation. The adapter is operating and
Flashing Normal Operation. The adapter is properly connected,
Steady Normal Operation. The adapter is properly connected
Flashing Normal Operation. The adapter is properly connected,
An inhibit condition exists – the drive cannot be started. Check drive Parameter 214 - [Start Inhibits]. An intermittent type 1 alarm condition is occurring. Check drive Parameter 211 - [Drive Alarm 1]. A continuous type 1 alarm condition exists. Check drive Parameter 211 - [Drive Alarm 1].
connection to the drive. It will turn steady green or red.
and communicating with the drive.
transferring I/O data to a controller.
transferring I/O data to a controller.
has an IP address, and is connected to a Modbus/TCP network but does not have an I/O connection.
and communicating on the network to a controller.
but is idle.
BOOTP is enabled, and the adapter is transmitting data packets on the network.
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
2-8 Installing the Adapter
Configuring/Verifying Key Drive Parameters
The PowerFlex 7-Class drive can be separately configured for the control and Reference functions in various combinations. For example, you could set the drive to have its control come from a peripheral or terminal block with the Reference coming from the network. Or you could set the drive to have its control come from the network with the Reference coming from another peripheral or terminal block. Or you could set the drive to have both its control and Reference come from the network.
The following steps in this section assume that the drive will receive the Logic Command and Reference from the network.
1. Use drive Parameter 090 - [Speed Ref A Sel] to set the drive speed
Reference to “22” (DPI Port 5).
2. If hard-wired discrete digital inputs are not used to control the drive,
verify that unused digital input drive Parameters 361 - [Dig In1 Sel] and 362 - [Dig In2 Sel] are set to “0” (Not Used).
3. Verify that drive Parameter 213 - [Speed Ref Source] is reporting that
the source of the Reference to the drive is “22” (DPI Port 5). This ensures that any Reference commanded from the network can be monitored by using drive Parameter 002 - [Commanded Speed]. If a problem occurs, this verification step provides the diagnostic capability to determine whether the drive/adapter or the network is the cause.

Commissioning the Adapter

To commission the adapter, you must set a unique IP address on the network. (Refer to the Glossary installing the adapter and applying power, you can set the IP address by using a BOOTP server or by setting adapter parameters. (See Setting the IP
Address, Subnet Mask, and Gateway Address on page 3-6 for details).
By default, the adapter is configured so that you must set the IP address using a BOOTP server. To set the IP address using adapter parameters, you must disable the BOOTP feature. See Disabling the BOOTP Feature
page 3-6 for details.
Important:New settings for some adapter parameters (for example,
Parameters 04 - [IP Addr Cfg 1] through 07 - [IP Addr Cfg 4]) are recognized only when power is applied to the adapter or
it is reset. After you change parameter settings, cycle power or reset the adapter.
for details about IP addresses.) After
on
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P

Chapter 3

Configuring the Adapter

This chapter provides instructions and information for setting the parameters to configure the adapter.
Topic Page
Configuration Tools Using the PowerFlex 7-Class HIM 3-2 Using BOOTP 3-3 Setting the IP Address, Subnet Mask, and Gateway Address 3-6 Setting the Data Rate 3-8 Setting the I/O Configuration 3-8 Setting a Communication Fault Action 3-9 Setting the Message I/O Timer 3-10 Setting Web Access Control 3-11 Resetting the Adapter 3-12 Viewing the Adapter Status Using Parameters 3-12 Flash Updating the Adapter 3-13
3-1

Configuration Tools

For a list of parameters, refer to Appendix B, Adapter Parameters. For definitions of terms in this chapter, refer to the Glossary
The adapter stores parameters and other information in its own non-volatile memory. You must, therefore, access the adapter to view and edit its parameters. The following tools can be used to access the adapter parameters:
Tool Refer to…
PowerFlex HIM page 3-2 BOOTP Server page 3-3 DriveExplorer Software
(version 2.01 or higher) DriveExecutive Software
(version 3.01 or higher)
http://www.ab.com/drives/driveexplorer, or DriveExplorer online help (installed with the software)
http://www.ab.com/drives/drivetools, or DriveExecutive online help (installed with the software)
.
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
3-2 Configuring the Adapter

Using the PowerFlex 7-Class HIM

If your drive has either an LED or LCD HIM (Human Interface Module), it can be used to access parameters in the adapter as shown below. It is recommended that you read through the steps for your HIM before performing the sequence. For additional information, refer to your PowerFlex Drive User Manual or the PowerFlex 7-Class HIM Quick Reference (publication 20HIM-QR001).
Using an LED HIM
Step Example Screens
1. Press the key and then the Device (Sel) key to display the Device Screen.
2. Press the or key to scroll to the adapter. Letters represent files in the drive, and numbers represent ports. The adapter is usually connected to port 5.
3. Press the (Enter) key to enter your selection. A parameter database is constructed, and then the first parameter is displayed.
4. Edit the parameters using the same techniques that you use to edit drive parameters.
ALT
Sel
Using an LCD HIM
Step Example Screens
1. In the main menu, press the or key to scroll to Device Select.
2. Press the (Enter) key to enter your selection.
3. Press the or key to scroll to the adapter (20-COMM-M).
4. Press the (Enter) key to select the adapter. A parameter database is constructed, and then the main menu for the adapter is displayed.
5. Edit the parameters using the same techniques that you use to edit drive parameters.
NOTE: All configuration procedures throughout this chapter use the PowerFlex 7-Class LCD HIM to access parameters in the adapter and show example LCD HIM screens.
F-> Stopped Auto
0.00 Hz
Main Menu: Diagnostics Parameter
Device Select
Port 5 Device 20-COMM-M Main Menu:
Diagnostics
Parameter
Device Select
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
Configuring the Adapter 3-3

Using BOOTP

By default, the adapter is configured so that you can set its IP address, subnet mask, and gateway address by using a BOOTP utility. You can select from a variety of BOOTP utilities. These instructions use Rockwell’s BOOTP Server (version 2.3 or higher), a stand-alone program that incorporates the functionality of standard BOOTP utilities with a graphical interface. It is available from http://www.software.rockwell.com/support/
download/detail.cfm?ID=3390. Refer to the Readme file and online Help
for detailed directions and information.
TIP: If desired, you can disable BOOTP and configure the IP address, subnet mask, and gateway address by setting parameters. For details, see
Setting the IP Address, Subnet Mask, and Gateway Address
Configuring the Adapter Using BOOTP Server
1. On the adapter label, note the adapter’s hardware Ethernet Address
(MAC), which will be used in Step 6.
2. On a computer connected to the Modbus/TCP network, start the
BOOTP software. The BOOTP Server window (Figure 3.1
Figure 3.1 BOOTP Server Window
on page 3-6.
) appears.
3. To properly configure devices on your Modbus/TCP network, you must
configure settings in the BOOTP software to match the network. Select Tools > Network Settings to display the Network Settings window (Figure 3.2
).
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
3-4 Configuring the Adapter
Figure 3.2 Network Settings Window
4. Edit the following:
Box Type
Subnet Mask Gateway Primary DNS The address of the primary DNS server to be used on the local end of the link
Secondary DNS Optional — the address of the secondary DNS server to be used on the local
Domain Name The text name corresponding to the numeric IP address that was assigned to
(1)
For definitions of these terms, refer to the Glossary.
5. Click OK to apply the settings. Devices on the network issuing BOOTP
requests appear in the BOOTP Request History list.
6. In the BOOTP Request History list, either double-click the adapter’s Ethernet Address (MAC) noted in Step 1, or click New in the Relation List. The New Entry dialog box (Figure 3.3 the Ethernet Address (MAC) is automatically entered. In the latter case, you must manually enter it.
Figure 3.3 New Entry Dialog Box
(1)
(1)
The subnet mask for the adapter’s network. The IP address of the gateway device on the adapter’s network.
for negotiating with remote devices.
end of the link for negotiating with remote devices when the primary DNS server is unavailable.
the server that controls the network.
) appears. In the first case,
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
7. Edit the following:
Box Type
IP Address Host Name Optional Description Optional
(1)
For definitions of these terms, refer to the Glossary.
(1)
A unique IP address for the adapter
Configuring the Adapter 3-5
8. Click OK to apply the settings. The adapter appears in the Relation List
(Figure 3.4
Figure 3.4 BOOTP Server Window with Adapter in the Relation List
9. To assign this configuration to the adapter permanently, select the
device in the Relation List and click Disable BOOTP/DHCP. When power is cycled on the adapter, it will use the configuration you assigned it and not issue new BOOTP requests.
) with the new settings.
TIP: To enable BOOTP for an adapter that has had BOOTP disabled, first select the adapter in the Relation List, then click Enable BOOTP, and finally reset the adapter or power cycle the drive.
10. To save the Relation List, select File > Save.
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
3-6 Configuring the Adapter

Setting the IP Address, Subnet Mask, and Gateway Address

By default, the adapter is configured so that you set its IP address, subnet mask, and gateway address using a BOOTP server. If you want to set these attributes using the adapter parameters instead, you must disable BOOTP and then set the appropriate parameters in the adapter.
Disabling the BOOTP Feature
1. Set the value of Parameter 03 - [BOOTP] to “0” (Disabled).
Figure 3.5 Example BOOTP LCD HIM Screen
Port 5 Device 20-COMM-M Parameter #: 03
BOOTP
0
Disabled
2. Reset the adapter (see Resetting the Adapter on page 3-12).
After disabling the BOOTP feature, you can then configure the IP address, subnet mask, and gateway address using adapter parameters.
Value Setti ng
0 Disabled 1 Enabled (Default)
Setting an IP Address Using Parameters
1. Verify that Parameter 03 - [BOOTP] is set to “0” (Disabled). This parameter must be set to Disabled to configure the IP address using the adapter parameters.
2. Set the value of Parameters 04 - [IP Addr Cfg 1] through 07 - [IP Addr Cfg 4] to a unique IP address.
Figure 3.6 Example IP Addr Cfg 1 LCD HIM Screen
Port 5 Device 20-COMM-M Parameter #: 04
IP Addr Cfg 1
0
0 <> 255
3. Reset the adapter (see Resetting the Adapter on page 3-12).
The NET A status indicator will be steady green or flashing green if the IP address is correctly configured.
Default = 0.0.0.0 255 . 255 . 255 . 255
[IP Addr Cfg 1]
[IP Addr Cfg 2]
[IP Addr Cfg 3]
[IP Addr Cfg 4]
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
Configuring the Adapter 3-7
Setting a Subnet Mask Using Parameters
1. Verify that Parameter 03 - [BOOTP] is set to “0” (Disabled). This
parameter must be set to Disabled to configure the subnet mask using the adapter parameters.
2. Set the value of Parameters 08 - [Subnet Cfg 1] through 11 - [Subnet
Cfg 4] to the desired value for the subnet mask.
Figure 3.7 Example Subnet Cfg 1 LCD HIM Screen
Port 5 Device 20-COMM-M Parameter #: 08
Subnet Cfg 1
0
0 <> 255
3. Reset the adapter (see Resetting the Adapter on page 3-12).
Setting a Gateway Address for the Adapter Using Parameters
1. Verify that Parameter 03 - [BOOTP] is set to “0” (Disabled). This
parameter must be set to Disabled to configure the gateway address using the adapter parameters.
2. Set the value of Parameters 12 - [Gateway Cfg 1] through 15 -
[Gateway Cfg 4] to the IP address of the gateway device.
Figure 3.8 Example Gateway Cfg 1 LCD HIM Screen
Port 5 Device 20-COMM-M Parameter #: 12
Gateway Cfg 1
0
0 <> 255
Default = 0.0.0.0
[Subnet Cfg 1]
Default = 0.0.0.0
[Gateway Cfg 1]
255 . 255 . 255 . 255
[Subnet Cfg 2]
[Subnet Cfg 3]
[Subnet Cfg 4]
255 . 255 . 255 . 255
[Gateway Cfg 2]
[Gateway Cfg 3]
[Gateway Cfg 4]
3. Reset the adapter (see Resetting the Adapter on page 3-12).
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
3-8 Configuring the Adapter

Setting the Data Rate

By default, the adapter is set to autodetect, so it automatically detects the data rate and duplex setting used on the network. If you need to set a specific data rate and duplex setting, the value of Parameter 16 - [EN Rate Cfg] determines the Ethernet data rate and duplex setting that the adapter will use to communicate. For definitions of data rate and duplex, refer to the
Glossary
1. Set the value of Parameter 16 - [EN Rate Cfg] to the data rate at which
.
your network is operating.
Figure 3.9 Example Ethernet Rate Cfg LCD HIM Screen
Port 5 Device 20-COMM-M Parameter #: 16
EN Rate Cfg
0
Autodetect
TIP: Auto detection of baud rate and duplex works properly only if the device (usually a switch) on the other end of the cable is also set to auto detect the baud rate/duplex. If one device has the baud rate/duplex hard coded, the other device must be hard-coded to the same settings.
Value Data Rate
0 Autodetect (default) 1 10 Mbps Full 2 10 Mbps Half 3100 Mbps Full 4100 Mbps Half

Setting the I/O Configuration

2. Reset the adapter (see Resetting the Adapter on page 3-12).
The I/O configuration determines the data that is sent to and from the drive. Logic Command/Status, Reference/Feedback, and Datalinks may be enabled or disabled. A “1” enables the I/O. A “0” disables the I/O.
1. Set the bits in Parameter 24 - [DPI I/O Cfg].
Figure 3.10 Example DPI I/O Cfg LCD HIM Screen
Port 5 Device 20-COMM-M Parameter #: 24
DPI I/O Cfg xxxxxxxxxxx0000 Cmd/Ref b00
Bit 0 is the right-most bit. In Figure 3.10, it is highlighted and equals “1.”
2. If Logic Command/Reference is enabled, configure the parameters in the drive to accept the Logic Command and Reference from the adapter. For example, set Parameter 90 - [Speed Ref A Sel] in a PowerFlex 70 or 700 drive to “22” (DPI Port 5) so that the drive uses the Reference from the adapter. Also, verify that the mask parameters (for example, Parameter 276 - [Logic Mask]) in the drive are configured to receive the desired logic from the adapter. Refer to the documentation for your drive for details.
Bit Description
0 Logic Command/Reference (Default) 1 Datalink A 2 Datalink B 3 Datalink C
1
4 Datalink D 5…15 Not Used
20-COMM-M Modbus/TCP Adapter User Manual
Publication 20COMM-UM014C-EN-P
Loading...
+ 68 hidden pages