20-COMM-M Modbus/TCP Adapter: User Manual
20-COMM-M Modbus/TCP Adapter: User Manual
20-COMM-M Modbus/TCP Adapter: User Manual
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 http://
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.
Throughout this manual, when necessary we use notes to make you aware of
safety considerations.
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.
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 4-9
register for a 0-based Modbus/TCP master device, and the registers to read for the
example provided.
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
Appendix A Specifications
Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Mechanical. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Regulatory Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Glossary
Index
Topic Page
Related Documentation P-1
Rockwell Automation Support P-2
Conventions Used in This Manual P-2
Related Documentation
For: Refer to: Publication
EtherNet/IP EtherNet/IP Media Planning and Installation Manual (1) ODVA Pub. 148
EtherNet/IP Network Infrastructure Guidelines (1) ODVA Pub. 35
EtherNet/IP Performance and Application Guide ENET-AP001
DriveExplorer™ http://www.ab.com/drives/driveexplorer, and DriveExplorer online help (2) —
DriveTools™ SP (includes DriveExecutive™) http://www.ab.com/drives/drivetools, and DriveExecutive online help (2) —
PowerFlex 7-Class HIM HIM Quick Reference 20HIM-QR001
PowerFlex® 70/70EC Drive PowerFlex 70 User Manual 20A-UM001
PowerFlex 70/700 Reference Manual PFLEX-RM001
PowerFlex 70EC/700VC Reference Manual PFLEX-RM004
PowerFlex® 700/700VC Series A Drive PowerFlex 700 Series A User Manual 20B-UM001
PowerFlex® 700VC Series B Drive PowerFlex 700 Series B User Manual 20B-UM002
PowerFlex 70/700 Reference Manual PFLEX-RM001
PowerFlex 70EC/700VC Reference Manual PFLEX-RM004
PowerFlex® 700H Drive PowerFlex 700H Installation Instructions PFLEX-IN006
PowerFlex 700H Programming Manual 20C-PM001
PowerFlex® 700S Drive PowerFlex 700S with Phase I Control User Manual 20D-UM001
(Frames 1 through 6) PowerFlex 700S with Phase I Control Reference Manual PFLEX-RM002
PowerFlex 700S with Phase II Control Installation Instructions 20D-IN024
PowerFlex 700S with Phase II Control User Manual 20D-UM006
PowerFlex 700S with Phase II Control Reference Manual PFLEX-RM003
PowerFlex® 700S Drive PowerFlex 700S with Phase I Control User Manual 20D-UM001
(Frames 9 and higher) PowerFlex 700S with Phase I Control Reference Manual PFLEX-RM002
PowerFlex 700S with Phase II Control Installation Instructions PFLEX-IN006
PowerFlex 700S with Phase II Control User Manual 20D-UM006
PowerFlex 700S with Phase II Control Reference Manual PFLEX-RM003
PowerFlex® 700L Drive PowerFlex 700L User Manual 20L-UM001
PowerFlex® Digital DC Drive PowerFlex Digital DC Drive User Manual 20P-UM001
Modbus RTU Protocol Specification www.modicon.com/techpubs/TechPubNew PI_MBUS_300.pdf
(1) Use this link to the ODVA EtherNet/IP library for these publications: http://odva.org/Home/ODVATECHNOLOGIES/EtherNetIP/EtherNetIPLibrary/tabid/76/
Default.aspx
(2)
The online help is installed with the software.
Rockwell Automation Rockwell Automation, Inc. offers support services worldwide, with over 75
Support 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.
Conventions Used in This This manual provides information about the adapter and using it with
Manual 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.
• 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.
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 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
➌ ➍
• 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.
• 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.
• 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.
❑ One adapter
❑ A 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 screwdriver
❑ Ethernet 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 tool
❑ A PC connection to the Modbus/TCP network
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. PowerFlex 7-Class DPI
Network Communication
Verify that the PowerFlex drive is not powered. Then, connect the Adapter Installation
adapter to the network using an Ethernet cable and to the drive Instructions (publication
using the Internal Interface cable. Use the captive screws to 20COMM-IN004) and
secure and ground the adapter to the drive. Chapter 2,
Note: When installing the adapter in a DPI External Comms Kit, Installing the Adapter
refer to the 20-XCOMM-DC-BASE Installation Instructions
(publication 20COMM-IN001) supplied with the kit.
4 Apply power to the adapter. Chapter 2,
Installing 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, Troubleshooting.
B. Configure/verify key drive parameters.
5 Configure the adapter for your application. Chapter 3,
Configuring the Adapter
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. Instructions for your
network tool
Use a network tool to configure the master device on the Modbus/
TCP network.
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 on page 2-6 for possible start-up status
indications and their descriptions.
Setting the Web Pages To use the adapter web pages, the Web Pages Switch must be set to its
Switch “Enable Web” position.
Enable Web
O1 2 Position
N
Disable Web
Position
5. Secure and ground the adapter to the drive (see Figure 2.3) by doing the
following:
20-COMM-M Adapter
➊
➋
➌
PowerFlex 70 - All Frames
Item Description
➊ 15.24 cm (6 in.) Internal Interface cable
➋ DPI Connector
➌ Ethernet cable
➍ 2.54 cm (1 in.) Internal Interface cable
Drive
0.9 N•m
(8.0 lb•in)
Adapter
4 Places
Internal Interface Cable
folded behind the adapter
and in front of the drive.
0.9 N•m
(8.0 lb•in)
4 Places 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.
X2
X1
0.9 N•m
(8.0 lb•in)
4 Places
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 700H Frames 9 and Larger
PowerFlex 700S Frames 9 and Larger
(Adapter mounts behind HIM panel.)
3. Connect one end of an Ethernet cable to the network. See Figure 2.4 for
an example of wiring to a Modbus/TCP network.
Figure 2.4 Connecting the Ethernet Cable to the Network
Modbus/TCP
Switch
4. Route the other end of the Ethernet cable through the bottom of the
PowerFlex drive (Figure 2.3) and insert its Ethernet cable plug into the
mating adapter receptacle.
Applying Power
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.
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, Troubleshooting.
Figure 2.5 Drive and Adapter Status Indicators (location on drive may vary)
PORT
MOD
➋ NET A
NET B
➊
STS
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 for details about IP addresses.) After
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 on
page 3-6 for details.
Configuration Tools 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 http://www.ab.com/drives/driveexplorer, or
(version 2.01 or higher) DriveExplorer online help (installed with the software)
DriveExecutive Software http://www.ab.com/drives/drivetools, or
(version 3.01 or higher) DriveExecutive online help (installed with the software)
Using the PowerFlex 7-Class If your drive has either an LED or LCD HIM (Human Interface Module), it
HIM 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 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 on page 3-6.
8. Click OK to apply the settings. The adapter appears in the Relation List
(Figure 3.4) with the new settings.
Figure 3.4 BOOTP Server Window with Adapter in the Relation List
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.
Setting the IP Address, By default, the adapter is configured so that you set its IP address, subnet
Subnet Mask, and Gateway mask, and gateway address using a BOOTP server. If you want to set these
Address attributes using the adapter parameters instead, you must disable BOOTP
and then set the appropriate parameters in the adapter.
After disabling the BOOTP feature, you can then configure the IP
address, subnet mask, and gateway address using adapter parameters.
The NET A status indicator will be steady green or flashing green if the
IP address is correctly configured.
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
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.
Setting the I/O The I/O configuration determines the data that is sent to and from the drive.
Configuration Logic Command/Status, Reference/Feedback, and Datalinks may be
enabled or disabled. A “1” enables the I/O. A “0” disables the I/O.
Bit 0 is the right-most bit. In Figure 3.10, it is highlighted and equals “1.”
Setting a Communication By default, when I/O communications are disrupted (for example, a cable is
Fault Action disconnected), the drive responds by faulting if it is using I/O from the
network. You can configure a different response to disrupted I/O
communication using Parameter 23 - [Comm Flt Action].
Port 5 Device
20-COMM-M
Parameter #: 23
Comm Flt Action
0
Fault
Setting the Message I/O Set Parameter 19 - [Msg I/O Timer] to a communication loss timeout
Timer period suitable for your application. By default, the timeout is set to five (5)
seconds. You can increase or decrease this value. Alternatively, you can set
the value to zero (0) to disable this timeout feature so that the adapter does
not detect communication losses.
Setting Web Access Control By using a web browser to access the IP address set for the adapter, you can
view the adapter’s web pages for information about the adapter, its
connected drive, and other DPI devices connected to the drive, such as
HIMs or converters. Additionally, the adapter can be configured to
automatically send e-mail messages to desired addresses when selected
drive faults occur and/or are cleared, and/or when the adapter takes a
communication or idle fault action. For more details on the adapter’s web
pages, refer to Chapter 6, Viewing the Adapter’s Web Pages.
By default, the adapter web pages are disabled. Refer to Figure 2.1 and set
the Web Pages Switch (SW2) to the “Enable Web” (up) position.
Important: For a change to the switch setting to take effect, the adapter
must be reset (see Resetting the Adapter on page 3-12).
Bit 0 is the right-most bit. In Figure 3.13 it is highlighted and equals “1.”
Resetting the Adapter Changes to switch settings and some adapter parameters require that you
reset the adapter before the new settings take effect. You can reset the
adapter by power cycling the drive or by using Parameter 22 - [Reset
Module].
When you enter “1” (Reset Module), the adapter will be immediately reset.
When you enter “2” (Set Defaults), the adapter will set all adapter
parameters to their factory-default values. After performing a Set Defaults,
enter “1” (Reset Module) so that the new values take effect. The value of
this parameter will be restored to “0” (Ready) after the adapter is reset.
Viewing the Adapter Status The following parameters provide information about the status of the
Using Parameters adapter. You can view these parameters at any time.
Parameter Description
17 - [EN Rate Act] The data rate used by the adapter.
18 - [Modbus/TCP Port] The port used to transport Modbus/TCP messages.
20 - [Ref/Fdbk Size] The size of the Reference/Feedback. It will either be 16 bits or 32 bits. It is
set in the drive and the adapter automatically uses the correct size.
21 - [Datalink Size] The size of the Datalinks. It will either be 16 bits or 32 bits. It is set in the
drive and the adapter automatically uses the correct size.
25 - [DPI I/O Act] The Reference/Feedback and Datalinks used by the adapter. This value is
the same as Parameter 24 - [DPI I/O Cfg] unless the parameter was
changed and the adapter was not reset.
Datalink D
Datalink C
Datalink B
Datalink A
Not Used
Not Used
Not Used
Cmd/Ref
Bit
Definition
Flash Updating the Adapter The adapter can be flash updated over the network or serially through a
direct connection from a computer to the drive using a 1203-USB or
1203-SSS serial converter.
When flashing over the network, you can use the Allen-Bradley software
tool ControlFLASH, the built-in flash capability of DriveExplorer Lite or
Full, or the built-in flash capability of DriveExecutive.
Notes:
The adapter supports the Modbus/TCP function codes listed in Table 4.A.
Table 4.A Supported Modbus/TCP Function Codes
Function Name Description
Code
01 Read Coils (also known as Reads groups of up to 16 output bits simultaneously in the
Read Discrete Outputs) Logic Command word.
02 Read Discrete Inputs Reads groups of up to 16 input bits simultaneously in the
Logic Status word.
03 Read Holding Registers Reads any single or multiple parameters of the drive or its
(one or many) connected peripherals. It also reads the Logic Command,
Logic Status, Reference, Feedback, or Datalink words.
05 Write Single Coil (also Writes to individual output bits or groups of output bits in
known as Write Discrete the Logic Command word.
Output)
06 Write Single Register Writes to the Logic Command word or Keep-Alive register.
15 Write Multiple Coils (also Writes to groups of up to 16 output bits simultaneously in
known as Write Multiple the Logic Command word.
Discrete Outputs)
16 Write Multiple Registers Writes to any group of parameters of the drive or its
(one or many) connected peripherals. It also writes to the Logic
Command, Reference, or Datalink (Data In xx) words.
23 Read/Write Multiple Reads and/or writes to any group of parameters of the
Registers (also known as drive or its connected peripherals. It also reads the Logic
Read/Write Parameters) Command, Logic Status, Reference, Feedback, or Datalink
words—and writes to the Logic Command, Reference, and
Datalinks.
43 Read Device Identification Reads the vendor name, product code, and major/minor
firmware version of the connected drive.
Using the I/O On Modbus/TCP, data transfers are used to transfer the I/O data that
controls the drive and sets its Reference. Note that output I/O is data that the
master device sends and the adapter receives. Input I/O is status data that the
adapter sends and the master device receives.
Important: To enable the drive to use the I/O and Reference from the
Modbus/TCP network, you must set parameters in the drive to
receive the I/O and Reference. For details, refer to Configuring/
Verifying Key Drive Parameters on page 2-8.
On Modbus/TCP, you can set the Logic Command word using any of the
following function codes:
Table 4.D shows that there are 16 discrete registers to represent the Logic
Command word bit by bit. These registers are used only for writing single
bits or multiple bits of commands.
Table 4.E shows the Logic Command register used for writing 16-bit
commands or multiple decimal values.
Table 4.E Logic Command Register
Register Description Values
Address
10001 Logic Command 16-bit word. Bit definitions for PowerFlex 70/700 drives are in
Table 4.D. For other products, refer to their documentation.
To set the Reference, you must write the decimal values to register
addresses 10003 and 10004 (Table 4.F) using Function Code 16 or 23.
130 Hz
90 Hz Speed]
60 Hz - [Maximum
Par. 82
0 Hz
0 15123 22685 32767
Parameter 82 = Scaling
90 Hz = 32767
Table 4.G shows that there are 16 discrete registers to represent the Logic
Status word bit by bit. These registers are used only for reading single bits
or multiple bits of status.
Table 4.G Logic Status Registers (to Controller from Drive)
Register Logic Status Bit PowerFlex 70/700 Example
Address Description Values
1 0 Ready 0 = Not Ready (Par. 214)
1 = Ready
2 1 Active 0 = Not Active (Running)
1 = Active
3 2 Command Direction 0 = Reverse
1 = Forward
4 3 Actual Direction 0 = Reverse
1 = Forward
5 4 Accel 0 = Not Accelerating
1 = Accelerating
6 5 Decel 0 = Not Decelerating
1 = Decelerating
7 6 Alarm 0 = No Alarm (Par. 211 & 212)
1 = Alarm
8 7 Fault 0 = No Fault (Par. 243)
1 = Fault
9 8 At Speed 0 = Not At Reference
1 = At Reference
Table 4.G Logic Status Registers (to Controller from Drive) (Continued)
Register Logic Status Bit PowerFlex 70/700 Example
Address Description Values
10 9 Local Control Register Address
11 10 12 11 10
12 11 0 0 0 = Port 0 (TB)
0 0 1 = Port 1
0 1 0 = Port 2
0 1 1 = Port 3
1 0 0 = Port 4
1 0 1 = Port 5
1 1 0 = Port 6
1 1 1 = No Local
13 12 Reference Register Address
14 13 16 15 14 13
15 14 0 0 0 0 = Ref A Auto (Par. 90)
16 15 0 0 0 1 = Ref B Auto (Par. 93)
0 0 1 0 = Preset 2 Auto
0 0 1 1 = Preset 3 Auto
0 1 0 0 = Preset 4 Auto
0 1 0 1 = Preset 5 Auto
0 1 1 0 = Preset 6 Auto
0 1 1 1 = Preset 7 Auto
1 0 0 0 = Term Blk Manual
1 0 0 1 = DPI 1 Manual
1 0 1 0 = DPI 2 Manual
1 0 1 1 = DPI 3 Manual
1 1 0 0 = DPI 4 Manual
1 1 0 1 = DPI 5 Manual
1 1 1 0 = DPI 6 manual
1 1 1 1 = Jog Ref
Table 4.H shows the Logic Status register used for reading 16-bit status
fields or multiple decimal values.
Table 4.H Logic Status Register
Register Description Values
Address
10021 Logic Status Word 16-bit word. Bit definitions for PowerFlex 70/700 drives are in
Table 4.G. For other products, refer to their documentation.
To view the Feedback, you must read the decimal values of register
addresses 10023 and 10024 (Table 4.I) using Function Code 03 or 23. For
details about how the Feedback is scaled, refer to page 4-6.
Table 4.I Feedback Registers
Register Description Values
Address
10023 (1) Feedback Lo Bit 0…15 of 32-bit Feedback or the whole 16-bit Feedback
10024 Feedback Hi Bit 16…31 of 32-bit Feedback
(1)
For a 16-bit Feedback, you must read the complete 32-bit value.
Accessing Device Parameters There are two methods for accessing parameters in the drive or its
connected peripherals: the direct access method (for individual or
contiguous parameters) and the indirect access method (for contiguous or
non-contiguous parameters).
You can use Function Code 03 or 23 to read single or multiple device (drive
or its connected peripheral) parameters, and Function Code 16 or 23 to
write single or multiple device parameters (see Table 4.A). However,
Function Code 06 (Write Single Register) cannot be used because all device
parameters being written to require two contiguous register addresses.
By using the appropriate Unit Identifier for a device (Table 4.B), you can
directly access its parameters. Device parameter data is always contained in
a Lo Word and a Hi Word which reside in contiguous Modbus/TCP register
addresses. Therefore, the data in the starting register address and the next
contiguous register address must be read together as a pair. The starting
register address is determined by:
Starting Register Address = (Device Parameter No. x 2) - 1
For example, to access drive Parameter 003 - [Output Current] first set the
Unit Identifier to 0 (zero) to access drive parameters. Then use the formaula
above to determine the starting register address for drive Parameter 003 -
[Output Current] data:
Starting Register Address = (3 x 2) - 1 = 5
In this example, read both the starting register address 5 (Lo Word) and
register address 6 (Hi Word) to receive drive Parameter 003 - [Output
Current] data.
TIP: For a 0-based Modbus/TCP master device, subtract 1 for the starting
register address. Therefore, in the example above, read both the starting
register address 4 (Lo Word) and register address 6 (Hi Word) to receive
drive Parameter 003 - [Output Current] data.
For example, suppose the adapter is connected to the drive’s internal Port 5
and you want to use adapter Parameter 38 - [Indirect Par #1] to access
adapter Parameter 22 - [Reset Module] to reset the adapter. Using this
formula:
Indirect Par #x Value = 15000 + 22 = 15022
TIP: If the port to which the adapter is connected is not known, always use
“10000” for the Device Starting Address in the formula above. In this case,
set adapter Parameter 38 - [Indirect Par #1] to a value of “10022” for this
example to access adapter Parameter 22 - [Reset Module].
Using Datalinks A Datalink is a mechanism used by PowerFlex drives to transfer data to and
from the controller. Datalinks allow a drive parameter value to be read or
written without accessing the specific parameter. When enabled, each
Datalink occupies two 16-bit or 32-bit words in both the input and output
image. Use adapter Parameter 22 - [Datalink Size] to determine whether
the drive uses 16-bit or 32-bit words for Datalinks.
• When you use a Datalink to change a value, the value is NOT written to
the Non-Volatile Storage (NVS). The value is stored in volatile memory
and lost when the drive loses power. Thus, use Datalinks when you need
to change a value of a parameter frequently.
Reading Datalinks
Use the register addresses in Table 4.L to read Datalinks using Function
Code 03 or 23.
Writing Datalinks
Use the register addresses in Table 4.M to write to Datalinks using Function
Code 16 or 23.
Table 4.M Register Addresses to Write Datalinks
Register Description Detail
Address
10005 Datalink A1 In Lo Word
10006 Hi Word
10007 Datalink A2 In Lo Word
10008 Hi Word
10009 Datalink B1 In Lo Word
10010 Hi Word
10011 Datalink B2 In Lo Word
10012 Hi Word
10013 Datalink C1 In Lo Word
10014 Hi Word
10015 Datalink C2 In Lo Word
10016 Hi Word
10017 Datalink D1 In Lo Word
10018 Hi Word
10019 Datalink D2 In Lo Word
10020 Hi Word
In this example, the Parameter 10 - [Elapsed Run Time] value of 6553.9 Hrs
is read as “6553.9” in Datalink A1 Out and Datalink A2 Out.
Register Datalink Word Parameter Data (Hex)
Address
10025 A1 Out LSW 10 0003
10026 0000
10027 A2 Out MSW 10 0001
10028 0000
Conversion Example:
Parameter 010 - [Elapsed Run Time] = 6553.9 Hrs
MSW = 0001hex = 0001binary = 216 = 65536
LSW = 0003hex = 3
Engineering Value = 65536 + 3 = 65539
Parameter 10 Displayed Value = 6553.9 Hrs
Conversion Example:
Parameter 242 - [Power Up Marker] = 88.4541 hours
MSW = 000Dhex = 1101binary = 219 + 218 + 216 = 851968
LSW = 7F3Dhex = 32573
Engineering Value = 851968 + 32573 = 884541
Parameter 242 Displayed Value = 88.4541 Hrs
Supported Modbus The adapter supports the Modbus registers listed in Table 4.N.
Registers Table 4.N Modbus Registers Supported by the Adapter
Modbus Register Description
Write Product Command Word Bits
0x00001 Stop
0x00002 Start
0x00003 Jog
0x00004 Clear Faults
0x00005 Direction 1
0x00006 Direction 2
0x00007 Local Control
0x00008 MOP Increment
0x00009 Accel Rate 1
0x00010 Accel Rate 2
0x00011 Decel Rate 1
0x00012 Decel Rate 2
0x00013 Reference Select 1
0x00014 Reference Select 2
0x00015 Reference Select 3
0x00016 MOP Decrement
Read Product Status Word Bits
1x00001 Ready
1x00002 Active
1x00003 Command Direction
1x00004 Actual Direction
1x00005 Accel
1x00006 Decel
1x00007 Alarm
1x00008 Fault
1x00009 At Speed
1x00010 Local Control 1
1x00011 Local Control 2
1x00012 Local Control 3
1x00013 Reference Select 1
1x00014 Reference Select 2
1x00015 Reference Select 3
1x00016 Reference Select 4
Read/Write Various Holding Registers
4x10001 Product Logic Command
4x10002 Keep Alive Register
4x10003 Reference Lo (Bit 0…15 of 32-bit Reference or the whole 16-bit Reference)
4x10004 Reference Hi (Bit 16…32 of 32-bit Reference)
4x10005 Datalink A1 In Lo Word
4x10006 Datalink A1 In Hi Word
4x10007 Datalink A2 In Lo Word
4x10008 Datalink A2 In Hi Word
4x10009 Datalink B1 In Lo Word
4x10010 Datalink B1 In Hi Word
4x10011 Datalink B2 In Lo Word
4x10012 Datalink B2 In Hi Word
4x10013 Datalink C1 In Lo Word
4x10014 Datalink C1 In Hi Word
4x10015 Datalink C2 In Lo Word
4x10016 Datalink C2 In Hi Word
4x10017 Datalink D1 In Lo Word
4x10018 Datalink D1 In Hi Word
Troubleshooting
Understanding the Status The adapter has four status indicators. They can be viewed on the adapter or
Indicators through the drive cover. See Figure 5.1.
Figure 5.1 Status Indicators (location on drive may vary)
➊
➋
➌
➍
➊
➋
➌
➍
PORT Status Indicator This red/green bicolor LED indicates the status of the adapter’s connection
to the drive as shown in the table below.
MOD Status Indicator This red/green bicolor LED indicates the status of the adapter as shown in
the table below.
NET A Status Indicator This red/green bicolor LED indicates the status of the network connection
as shown in the table below.
NET B Status Indicator This green LED indicates the status of the adapter transmitting on the
network as shown in the table below.
Viewing Adapter Diagnostic If you encounter unexpected communications problems, the adapter’s
Items diagnostic items may help you or Rockwell Automation personnel
troubleshoot the problem. Adapter diagnostic items can be viewed using an
LCD PowerFlex 7-Class HIM (Diagnostics/Device Items), DriveExplorer
software (version 2.01 or higher), or DriveExecutive software (version 3.01
or higher).
35 IP Addr Act 1 Value of each byte in the adapter’s present IP address. A value of “0” appears if the adapter does
36 IP Addr Act 2 not currently have an IP address.
37 IP Addr Act 3 255 . 255 . 255 . 255
38 IP Addr Act 4
[IP Addr Act 1]
[IP Addr Act 2]
[IP Addr Act 3]
[IP Addr Act 4]
39 Subnet Act 1 Value of each byte in the adapter’s present subnet mask. A value of “0” appears if the adapter
40 Subnet Act 2 does not currently have a subnet mask.
41 Subnet Act 3
42 Subnet Act 4 255 . 255 . 255 . 255
[Subnet Act 1]
[Subnet Act 2]
[Subnet Act 3]
[Subnet Act 4]
43 Gateway Act 1 Value of each byte in the adapter’s present gateway address. A value of “0” appears if the
44 Gateway Act 2 adapter does not currently have a gateway address.
45 Gateway Act 3
46 Gateway Act 4 255 . 255 . 255 . 255
[Gateway Act 1]
[Gateway Act 2]
[Gateway Act 3]
[Gateway Act 4]
Viewing and Clearing The adapter has an event queue to record significant events that occur in the
Events operation of the adapter. When such an event occurs, an entry is put into the
event queue. You can view the event queue using an LCD PowerFlex
7-Class HIM, DriveExplorer (2.01 or higher) software, DriveExecutive
(1.01 or higher) software or other clients using the DPI Fault object.
The event queue can contain up to 32 entries. Eventually the event queue
will become full, since its contents are retained through adapter resets. At
that point, a new entry replaces the oldest entry. Only an event queue clear
operation or adapter power cycle will clear the event queue contents.
Events
Many events in the event queue occur under normal operation. If you
encounter unexpected communications problems, the events may help you
or Allen-Bradley personnel troubleshoot the problem. The following events
may appear in the event queue:
Table 5.B Adapter Events
Code Event Description
1 No Event Empty event queue entry.
2 DPI Bus Off Flt A bus-off condition was detected on DPI. This event may be caused by loose or broken cables or by noise.
3 Ping Time Flt A ping message was not received on DPI within the specified time.
4 Port ID Flt The adapter is not connected to a correct port on a DPI product.
5 Port Change Flt The DPI port changed after start up.
6 Host Sent Reset The drive sent a reset event message.
7 EEPROM Sum Flt The EEPROM in the adapter is corrupt.
8 Online @ 125kbpsThe adapter detected that the drive is communicating at 125 kbps.
9 Online @ 500kbpsThe adapter detected that the drive is communicating at 500 kbps.
10 Bad Host Flt The adapter was connected to an incompatible product.
11 Dup Port Flt Another peripheral with the same port number is already in use.
12 Type 0 Login The adapter has logged in for Type 0 control.
13 Type 0 Time Flt The adapter has not received a Type 0 status message within the specified time.
14 DL Login The adapter has logged into a Datalink.
15 DL Reject Flt The drive rejected an attempt to log in to a Datalink because the Datalink is not supported or is used by another
peripheral.
16 DL Time Flt The adapter has not received a Datalink message within the specified time.
17 Reserved Not used.
18 Control Disabled The adapter has sent a “Soft Control Disable” command to the drive.
19 Control Enabled The adapter has sent a “Soft Control Enable” command to the drive.
20 Message Timeout A Client-Server message sent by the adapter was not completed within 1 sec.
21 Flt Cfg Error One of the Flt Cfg xx parameters is set to a value greater than 65535 and the drive requires a 16-bit value.
22 App Updated Startup sequence detected new application firmware.
23 EN Comm Flt The adapter detected a communications fault on the network.
24 EN Sent Reset The adapter received a reset from the network.
25 EN Close Flt An I/O connection from the network to the adapter was closed.
26 EN Idle Flt The adapter is receiving “idle” packets from the network.
27 EN Open An I/O connection from the network to the adapter has been opened.
28 EN Timeout Flt An I/O connection from the network to the adapter has timed out.
29 PCCC IO Close The device sending PCCC Control messages to the adapter has set the PCCC Control Timeout to zero.
30 PCCC IO Open The adapter has begun receiving PCCC control messages (the PCCC Control Timeout was previously set to a
non-zero value).
31 PCCC IO Time Flt The adapter has not received a PCCC Control message for longer than the PCCC Control Timeout.
32 Watchdog T/O Flt The software detects a failure.
33 EEPROM Init Startup sequence detected a blank EEPROM map revision.
34 Normal Startup The adapter successfully started up.
35 Manual Reset The adapter was reset by changing its Reset Module parameter.
36 EN Link Down The Ethernet link was removed from the adapter.
37 EN Link Up An Ethernet link is available for the adapter.
38 BOOTP Response The adapter received a response to its BOOTP request.
39 Dup IP Addr The adapter uses the same IP address as another device on the network.
40-41 Reserved Not used.
42 Email Failed The adapter encountered an error attempting to send a requested e-mail message.
43-48 Reserved Not used.
Notes:
Future enhancements may result in adapter web pages that look different
than the examples shown in this chapter.
Accessing the Adapter’s After configuring the adapter, you can view its web pages. These pages
Web Home Page present information about the adapter, the drive to which it is connected,
and the other DPI devices connected to the drive such as a HIM.
By default the adapter web pages are disabled. To enable the web pages, set
the Web Pages Switch (SW2 in Figure 2.1) to its “Enable Web” position and
reset the adapter. Parameter 36 - [Web Enable] can be used to display the
setting (Enabled or Disabled) of this switch.
The computer can access the adapter web pages if it is connected to the
same network as the adapter, or if it is connected to a network with
access to the adapter’s network via a gateway device (for example, a
router).
2. In the Address box, type the IP address of the adapter, and then press
ENTER. The adapter web Home Page (Figure 6.1) appears.
Important: Clicking the browser’s Refresh button always re-displays
the Home Page even while viewing another adapter web
page.
Figure 6.1 Adapter Web Home Page Example
Process Display Pop-up The Process Display pop-up window dynamically shows a host’s
Window information. To view this window, click the “Process Display” link in the
navigation menu.
Figure 6.2 Example of Process Display Pop-up Window
Information Description
Product Text Description of host.
Status Status of host.
Commanded Direction Commanded direction of host.
Rotation Direction Rotation direction of host.
Process Status Line 1 – desired parameter of host and its dynamic value. (1)
Line 2 – desired parameter of host and its dynamic value. (2)
Line 3 – desired parameter of host and its dynamic value. (2)
(1) The parameter whose value is shown on this line is the feedback value from the drive, and is not
selectable.
(2)
The parameter whose value is shown on this line can be set by using the HIM. For details, see
the drive User Manual.
TCP/IP Configuration Web The TCP/IP Configuration web page provides information about the
Page adapter’s Ethernet settings and network activities.
Figure 6.3 Example of TCP/IP Configuration Web Page
Information Description
IP Address IP address of the adapter.
Subnet Mask Subnet mask for the adapter’s network.
Gateway Address Address for the gateway device on the adapter’s network.
BOOTP Whether BOOTP is being used to configure the adapter’s
network information.
Ethernet Address (MAC) Hardware address for the adapter.
Ethernet Received Packets Number of packets that the adapter has received.
Ethernet Receive Errors Number of receive errors reported by the hardware.
Ethernet Receive Overruns Number of receive buffer overruns reported by the hardware.
Ethernet Transmitted Packets Number of packets that the adapter has sent.
Ethernet Transmit Errors Number of transmit errors reported by the hardware.
Configure E-mail The Configure E-mail Notification web page contains selections and data
Notification Web Page fields for configuring the adapter to automatically send e-mail messages to
desired addresses when selected types of events occur.
C. Click the desired fault/alarm check boxes, and click Save Changes.
D. Click the “Back to E-mail Configuration Page” link.
If the IP address of the e-mail server is unknown, you can contact your
IT department or use the DOS window to enter a command to find its IP
address:
A. On the Windows task bar, click Start > Run to display the Run
window.
B. In the Run window Open field, type “cmd” and click OK to display
the DOS window.
TIP: To stop e-mail messages, uncheck all of the “Send an e-mail message
when…” boxes.
Disabling the adapter web pages by setting the Web Pages Switch (SW2 in
Figure 2.1) to the “Disable Web” position will NOT stop the adapter from
sending e-mail messages.
DPI Device Information DPI device information pages show a device’s module information,
Pages diagnostic items, fault queue, event queue, and alarm queue. Figure 6.8
shows an example module information page for the Port 0 device (host).
Figure 6.9, Figure 6.10, and Figure 6.11 respectively show example
diagnostic items, fault queue, and alarm queue pages for this device.
Figure 6.8 Example of Port 0 (PowerFlex 70 Drive) Module Information Page
Information Description
Product Text Text identifying the device
Vendor ID 1 = Allen-Bradley
Device Type 123
Product Code Code for the product name and its rating
Revision Firmware revision used by the device
Serial Number Serial number of the device
Status Operating status of the device (for example, faulted)
For drives that do not support an alarm queue, the adapter will still display
an alarm queue web page (Figure 6.11) showing that the alarm queue is not
available.
Figure 6.11 Example of Port 0 (PowerFlex 70 Drive) Alarm Queue Page
Figure 6.12 shows an example event queue page for the Port 5 device
(20-COMM-M adapter).
Notes:
• The PowerFlex drive is remotely located next to some I/O devices that
also need to be networked. The DPI External Comms Kit has an option
slot for general-purpose network I/O that a controller can use. Both the
drive and I/O devices are handled as one node on the network to reduce
the network node count.
Notes:
Specifications
Communications Network
Protocol Modbus/TCP
Data Rates 10 Mbps Full Duplex
10 Mbps Half Duplex
100 Mbps Full Duplex
100 Mbps Half Duplex
Connection Limits 30 TCP connections
16 simultaneous CIP messaging connections and 1 Modbus/
TCP I/O connection
• Explicit messaging-based control using PCCC or the
Register or Assembly objects
• Explicit messaging where “connected” is NOT chosen,
which is typically the default
• DriveExplorer connections to the drive
• DriveExecutive connections to the drive
Requested Packet Interval (RPI) 5 ms minimum
Packet Rate Up to 400 total I/O packets per second (200 in and 200 out)
Drive
Protocol DPI
Data Rates 125 kbps or 500 kbps
Electrical Consumption
Drive 350 mA at 5 VDC supplied by the host (drive or DPI External
Comms Kit)
Network None
Mechanical Dimensions
Height 19 mm (0.75 inches)
Length 86 mm (3.39 inches)
Width 78.5 mm (3.09 inches)
Weight 85 g (3 oz.)
Environmental Temperature
Operating -10…50°C (14…122°F)
Storage -40…85°C (-40…185°F)
Relative Humidity 5…95% non-condensing
Atmosphere Important: The adapter must not be installed in an area where
the ambient atmosphere contains volatile or corrosive gas,
vapors or dust. If the adapter is not going to be installed for a
period of time, it must be stored in an area where it will not be
exposed to a corrosive atmosphere.
Adapter Parameters
About Parameter Numbers The parameters in the adapter are numbered consecutively. However,
depending on which configuration tool you use, they may have different
numbers.
Configuration Tool Numbering Scheme
• HIM The adapter parameters begin with parameter 01. For example,
• DriveExplorer Parameter 01 - [DPI Port] is parameter 01 as indicated by this manual.
• DriveExecutive
• Explicit Messaging Refer to Chapter 4, Using Modbus/TCP Function Codes for details.
Parameter List
Parameter
No. Name and Description Details
01 [DPI Port] Default: 5
Displays the port to which the adapter is connected. Minimum: 0
This will usually be port 5. Maximum: 7
Type: Read Only
02 [DPI Data Rate] Default: 0 = 125 kbps
Displays the data rate used by the drive. This data rate Values: 0 = 125 kbps
is set in the drive and the adapter detects it. 1 = 500 kbps
Type: Read Only
03 [BOOTP] Default: 1 = Enabled
Configures the adapter to use BOOTP so that you can Values: 0 = Disabled
set its IP address, subnet mask, and gateway address 1 = Enabled
with a BOOTP server. Type: Read/Write
Reset Required: Yes
04 [IP Addr Cfg 1] Default: 0
05 [IP Addr Cfg 2] Default: 0
06 [IP Addr Cfg 3] Default: 0
07 [IP Addr Cfg 4] Default: 0
Sets the bytes in the IP address. Minimum: 0
Maximum: 255
255 . 255 . 255 . 255 Type: Read/Write
Reset Required: Yes
[IP Addr Cfg 1]
[IP Addr Cfg 2]
[IP Addr Cfg 3]
[IP Addr Cfg 4]
Important: To set the IP address using these
parameters, Parameter 03 - [BOOTP] must be set to
“0” (Disabled).
Parameter
No. Name and Description Details
08 [Subnet Cfg 1] Default: 0
09 [Subnet Cfg 2] Default: 0
10 [Subnet Cfg 3] Default: 0
11 [Subnet Cfg 4] Default: 0
Sets the bytes of the subnet mask. Minimum: 0
Maximum: 255
255 . 255 . 255 . 255 Type: Read/Write
Reset Required: Yes
[Subnet Cfg 1]
[Subnet Cfg 2]
[Subnet Cfg 3]
[Subnet Cfg 4]
Important: To set the subnet mask using these
parameters, Parameter 03 - [BOOTP] must be set to
“0” (Disabled).
12 [Gateway Cfg 1] Default: 0
13 [Gateway Cfg 2] Default: 0
14 [Gateway Cfg 3] Default: 0
15 [Gateway Cfg 4] Default: 0
Sets the bytes of the gateway address. Minimum: 0
Maximum: 255
255 . 255 . 255 . 255 Type: Read/Write
Reset Required: Yes
[Gateway Cfg 1]
[Gateway Cfg 2]
[Gateway Cfg 3]
[Gateway Cfg 4]
Parameter
No. Name and Description Details
19 [Msg I/O Timer] Default: 5 seconds
Sets the communication loss timeout period in Minimum: 0 seconds
seconds. The value zero (0) disables this parameter. Maximum: 180 seconds
Type: Read/Write
Reset Required: No
Parameter
No. Name and Description Details
24 [DPI I/O Cfg] Default: xxx0 0001
Sets the I/O that is transferred through the adapter. Bit Values: 0 = I/O disabled
1 = I/O enabled
Type: Read/Write
Reset Required: Yes
Datalink D
Datalink C
Datalink B
Datalink A
Not Used
Not Used
Not Used
Cmd/Ref
Bit
Definition
Default x x x 0 0 0 0 1
Bit 7 6 5 4 3 2 1 0
Datalink D
Datalink C
Datalink B
Datalink A
Not Used
Not Used
Not Used
Cmd/Ref
Bit
Definition
Default x x x 0 0 0 0 1
Bit 7 6 5 4 3 2 1 0
Parameter
No. Name and Description Details
37 [Web Features] Default: xxxx xxx1
Sets the access to the Web interface and Bit Values: 0 = Disabled
Web-configurable e-mail notification feature. 1 = Enabled
Type: Read/Write
Reset Required: No
E-mail Cfg
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Bit
Definition
Default x x x x x x x 1
Bit 7 6 5 4 3 2 1 0
Notes:
Logic Bits
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Status Description
x Ready 0 = Not Ready (Par. 214)
1 = Ready
x Active 0 = Not Active (Running)
1 = Active
x Command 0 = Reverse
Direction 1 = Forward
x Actual Direction 0 = Reverse
1 = Forward
x Accel 0 = Not Accelerating
1 = Accelerating
x Decel 0 = Not Decelerating
1 = Decelerating
x Alarm 0 = No Alarm (Par. 211 & 212)
1 = Alarm
x Fault 0 = No Fault (Par. 243)
1 = Fault
x At Speed 0 = Not At Reference
1 = At Reference
x x x Local Control (1) 000 = Port 0 (TB)
001 = Port 1
010 = Port 2
011 = Port 3
100 = Port 4
101 = Port 5
110 = Port 6
111 = No Local
x x x x Reference 0000 = Ref A Auto (Par. 90)
0001 = Ref B Auto (Par. 93)
0010 = Preset 2 Auto
0011 = Preset 3 Auto
0100 = Preset 4 Auto
0101 = Preset 5 Auto
0110 = Preset 6 Auto
0111 = Preset 7 Auto
1000 = Term Blk Manual
1001 = DPI 1 Manual
1010 = DPI 2 Manual
1011 = DPI 3 Manual
1100 = DPI 4 Manual
1101 = DPI 5 Manual
1110 = DPI 6 Manual
1111 = Jog Ref
(1)
See “Owners” in drive User Manual for further information.
Logic Bits
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command Description
x Normal Stop 0 = Not Normal Stop
1 = Normal Stop
x Start (1) 0 = Not Start
1 = Start
x Jog 1 0 = Not Jog using [Jog Speed 1] (Par. 29)
1 = Jog using [Jog Speed 1] (Par. 29)
x Clear Fault (2) 0 = Not Clear Fault
1 = Clear Fault
x x Unipolar Direction 00 = No Command
01 = Forward Command
10 = Reverse Command
11 = Hold Direction Control
x Reserved
x Jog 2 0 = Not Jog using [Jog Speed 2] (Par. 39)
1 = Jog using [Jog Speed 2] (Par. 39)
x Current Limit Stop 0 = Not Current Limit Stop
1 = Current Limit Stop
x Coast Stop 0 = Not Coast to Stop
1 = Coast to Stop
x Reserved
x Reserved
x Spd Ref Sel0
Bits
x Spd Ref Sel1 14 13 12
x Spd Ref Sel2 0 0 0 = Spd Ref A (Par. 27)
0 0 1 = Spd Ref B (Par. 28)
0 1 0 = Preset 2 (Par. 15)
0 1 1 = Preset 3 (Par. 16)
1 0 0 = Preset 4 (Par. 17)
1 0 1 = Preset 5 (Par. 18)
1 1 0 = Preset 6 (Par. 19)
1 1 1 = Preset 7 (Par. 20)
x Reserved
(1) A Not Stop condition (logic bit 0 = 0, logic bit 8 = 0, and logic bit 9 = 0) must first be present before a 1 = Start condition will start the drive.
(2)
To perform this command, the value must switch from “0” to “1.”
Logic Bits
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Status Description
x Active 0 = Not Active
1 = Active
x Running 0 = Not Running
1 = Running
x Command 0 = Reverse
Direction 1 = Forward
x Actual Direction 0 = Reverse
1 = Forward
x Accel 0 = Not Accelerating
1 = Accelerating
x Decel 0 = Not Decelerating
1 = Decelerating
x Jogging 0 = Not Jogging
1 = Jogging
x Fault 0 = No Fault (Par. 323, 324, 325)
1 = Fault
x Alarm 0 = No Alarm (Par. 326, 327, 328)
1 = Alarm
x Flash Mode 0 = Not in Flash Mode
1 = In Flash Mode
x Run Ready 0 = Not Ready to Run (Par. 156)
1 = Ready to Run
x At Limit (1) 0 = Not At Limit (Par. 304)
1 = At Limit
x Tach Loss Sw 0 = Not Tach Loss Sw
1 = Tach Loss Sw
x At Zero Spd 0 = Not At Zero Speed
1 = At Zero Speed
x At Setpt Spd 0 = Not At Setpoint Speed
1= At Setpoint Speed
x Enable 0 = Not Enabled
1 = Enabled
(1)
See Parameter 304 - [Limit Status] in the PowerFlex 700S drive User Manual for a description of the limit status conditions.
A Adapter
Devices such as drives, controllers, and computers usually require an
adapter to provide a communication interface between them and a network
such as Modbus/TCP. An adapter reads data on the network and transmits it
to the connected device. It also reads data in the device and transmits it to
the network.
ControlFLASH
An Allen-Bradley software tool that lets users electronically update
firmware on printed circuit boards.
Controller
A controller, also called programmable logic controller, is a solid-state
control system that has a user-programmable memory for storage of
instructions to implement specific functions such as I/O control, logic,
timing, counting, report generation, communication, arithmetic, and data
file manipulation. A controller consists of a central processor, input/output
interface, and memory. See also Scanner.
D Data Rate
The speed at which data is transferred on the Modbus/TCP network. You
can set the adapter to a data rate of 10 Mbps Full-Duplex, 10 Mbps
Half-Duplex, 100 Mbps Full-Duplex, or 100 Mbps Half-Duplex. If another
device on the network sets or auto-negotiates the data rate, you can set the
adapter to automatically detect the data rate.
Datalinks
A Datalink is a type of pointer used by PowerFlex 7-Class drives to transfer
data to and from the controller. Datalinks allow specified parameters to be
read or written to without using explicit messages. When enabled, each
Datalink in a PowerFlex 7-Class drive consumes either four bytes or eight
bytes in both the input and output image table of the controller. The drive
determines the size of Datalinks.
DPI Peripheral
A device that provides an interface between DPI and a network or user.
Peripheral devices are also referred to as “adapters” or “modules.” The
20-COMM-M adapter, 1203-USB or 1203-SSS converter, and PowerFlex
7-Class HIMs (20-HIM-xxx) are examples of DPI peripherals.
DPI Product
A device that uses the DPI communications interface to communicate with
one or more peripheral devices. For example, a motor drive such as a
PowerFlex 7-Class drive is a DPI product. In this manual, a DPI product is
also referred to as “drive” or “host.”
DriveExplorer Software
A tool for monitoring and configuring Allen-Bradley products and adapters.
It can be run on computers running various Microsoft Windows operating
systems. DriveExplorer (version 3.xx or higher) can be used to configure
this adapter and PowerFlex drives. Information about DriveExplorer
software and a free lite version can be accessed at http://www.ab.com/
drives/driveexplorer.
DriveTools SP Software
A software suite designed for running on various Microsoft Windows
operating systems. This software suite provides a family of tools, including
DriveExecutive, that you can use to program, monitor, control, troubleshoot,
and maintain Allen-Bradley products. DriveTools SP can be used with
PowerFlex drives. Information about DriveTools SP can be accessed at
http://www.ab.com/drives/drivetools.
Duplex
Duplex describes the mode of communication. Full-duplex communications
let a device exchange data in both directions at the same time. Half-duplex
communications let a device exchange data only in one direction at a time.
The duplex used by the adapter depends on the type of duplex that other
network devices, such as switches, support.
F Fault Action
A fault action determines how the adapter and connected drive act when a
communications fault (for example, a cable is disconnected) occurs.
Fault Configuration
When communications are disrupted (for example, a cable is disconnected),
the adapter and PowerFlex drive can respond with a user-defined fault
configuration. The user sets the data that is sent to the drive using specific
fault configuration parameters in the adapter. When a fault action parameter
is set to use the fault configuration data and a fault occurs, the data from
these parameters is sent as the Logic Command, Reference, and/or
Datalink(s).
Flash Update
The process of updating firmware in a device. The adapter can be flash
updated using various Allen-Bradley software tools. Refer to Flash
Updating the Adapter on page 3-13 for more information.
G Gateway
A device on a network that connects an individual network to a system of
networks. When a node needs to communicate with a node on another
network, a gateway transfers the data between the two networks. You need
to configure the address for the gateway device in the adapter if you want
the adapter to communicate with devices that are not on its network.
H Hardware Address
Each Ethernet device has a unique hardware address (sometimes called a
MAC address) that is 48 bits. The address appears as six digits separated by
colons (for example, xx:xx:xx:xx:xx:xx). Each digit has a value between 0
and 255 (0x00 and 0xFF). This address is assigned in the hardware and
cannot be changed. It is required to identify the device if you are using a
BOOTP utility.
Hold Last
When communication is disrupted (for example, a cable is disconnected),
the adapter and PowerFlex drive can respond by holding last. Hold last
results in the drive receiving the last data received via the network
connection before the disruption. If the drive was running and using the
Reference from the adapter, it will continue to run at the same Reference.
I I/O Data
I/O data, sometimes called “ implicit messages” or “input/output,” is
time-critical data such as a Logic Command and Reference. The terms
“input” and “output” are defined from the controller’s point of view. Output
is produced by the controller and consumed by the adapter. Input is
produced by the adapter and consumed by the controller.
IP Addresses
A unique IP address identifies each node on an Modbus/TCP network. An
IP address consists of 32 bits that are divided into four segments of one byte
each. It appears as four decimal integers separated by periods
(xxx.xxx.xxx.xxx). Each “xxx” can have a decimal value from 0 to 255. For
example, an IP address could be 192.168.0.1.
An IP address has two parts: a network ID and a host ID. The class of
network determines the format of the address.
0 1 7 15 23 31
Class A 0 Network ID Host ID
0 1 7 15 23 31
Class B 1 0 Network ID Host ID
0 1 2 7 15 23 31
Class C 1 1 0 Network ID Host ID
The Logic Status is used to monitor the PowerFlex 7-Class drive (for
example, operating state, motor direction). It consists of one 16-bit word of
input from the adapter to the network. The definitions of the bits in this
word depend on the drive, and are shown in Appendix C.
M Modbus/TCP Network
Modbus/TCP is an open network designed for use in industrial
environments. Modbus/TCP allows industrial devices to perform control,
configuration, and monitoring tasks using standard Ethernet IEEE 802.3
equipment, the TCP/IP protocol (which uses Ethernet II framing), and the
Modbus/TCP protocol. Modbus/TCP by itself, as with any Ethernet-based
protocol, does not address control determinism issues, though they can be
minimized by network design and the use of commercial network switches.
Ping
A message that is sent by a DPI product to its peripheral devices. They use
the ping to gather data about the product, including whether it can receive
messages and whether they can log in for control. On Ethernet, a ping can
be used to determine if a node exists.
R Reference/Feedback
The Reference is used to send a setpoint (for example, speed, frequency,
torque) to the drive. It consists of one word of output to the adapter from the
network. The size of the word (either a 16-bit word or 32-bit word) is
determined by the drive.
Feedback is used to monitor the speed of the drive. It consists of one word
of input from the adapter to the network. The size of the word (either a
16-bit word or 32-bit word) is determined by the drive.
S Status Indicators
Status indicators are LEDs that are used to report the status of the adapter,
network, and drive. They are on the adapter and can be viewed on the front
cover of the drive when the drive is powered.
Subnet Mask
An extension to the IP addressing scheme that lets you use a single network
ID for multiple physical networks. A bit mask identifies the part of the
address that specifies the network and the part of the address that specifies
the unique node on the network. A “1” in the subnet mask indicates the bit
is used to specify the network. A “0” in the subnet mask indicates that the
bit is used to specify the node.
Switches
Network devices that provide virtual connections that help to control
collisions and reduce traffic on the network. They are able to reduce
network congestion by transmitting packets to an individual port only if
they are destined for the connected device. In a control application, in which
real time data access is critical, network switches may be required in place
of hubs.
Z Zero Data
When communications are disrupted (for example, a cable is disconnected),
the adapter and drive can respond with zero data. Zero data results in the
drive receiving zero as values for Logic Command, Reference, and Datalink
data. If the drive was running and using the Reference from the adapter, it
will stay running but at zero Reference.
status indicators
definition, G-6
locating, 1-6
MOD, 1-6, 5-2
NET A, 1-6, 5-3
NET B, 1-6, 5-3
normal operation, 2-6
PORT, 1-6, 5-2
troubleshooting with, 5-2 to 5-3
understanding, 5-1
Subnet Cfg 1-4 parameters, B-2
subnet mask
definition, G-6
setting with BOOTP, 3-3
setting with parameters, 3-6
switches, G-6
T
TCP (Transmission Control Protocol), G-6
technical support, P-2
tools required, 1-3
troubleshooting, 5-1 to 5-7
U
Unit Identifier, 4-2
update, see flash update
W
Web Enable parameter, B-4
Web Features parameter, B-5
web pages
enabling with parameter, 3-11
for the adapter, 6-1 to 6-11
web site
BOOTP utility, G-1
DriveExecutive software, G-2
DriveExplorer software, G-2
DriveTools SP software, G-2
EDS files, G-3
manuals, P-1
wiring, see cables
Z
zero data
configuring the adapter for, 3-9
definition, G-6
www.rockwellautomation.com