Read this document and the documents listed in the additional resources section about installation, configuration, and
operation of this equipment before you install, configure, operate, or maintain this product. Users are required to
familiarize themselves with installation and wiring instructions in addition to requirements of all applicable codes, laws,
and standards.
Activities including installation, adjustments, putting into service, use, assembly, disassembly, and maintenance are required
to be carried out by suitably trained personnel in accordance with applicable code of practice.
If this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be
impaired.
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.
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.
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 consequence.
Identifies information that is critical for successful application and understanding of the product.
Labels may also be on or inside the equipment to provide specific precautions.
SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous
voltage may be present.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may
reach dangerous temperatures.
ARC FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to
potential Arc Flash. Arc Flash will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL
Regulatory requirements for safe work practices and for Personal Protective Equipment (PPE).
Allen-Bradley, Rockwell Software, and Rockwell Automation are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Summary of Changes
The information below summarizes the changes made to this manual since
its last release (March 2002).
Description of ChangesPage
Reformatted document from half size (5.5 x 8.5 in.) to full size (8.5 x 11 in.)Throughout
Added information about Connected Components Workbench software configuration
tool for drives and connected peripherals.
Revised the ‘DPI Ports and Internal Interface Cables’ figure, and the ‘Mounting and
Grounding the Adapter’ figure to show PowerFlex 700H/S Frames 9 and larger.
In the ‘Applying Power’ section in Chapter 2, added new subsections ‘Start-Up
Status Indications’ and ‘Configuring and Verifying Key Drive Parameters’.
In Chapter 3, added new section ‘Updating the Adapter Firmware’. 3-10
In the subsection ‘Reference/Feedback in Discrete I/O Image’ in Chapter 4, added
the following new sub-subsections:
• ‘PowerFlex 70/700/700H, and PowerFlex 700L Drives with 700 Control’
• ‘PowerFlex 700S and PowerFlex 700L Drives with 700S Control’
• ‘PowerFlex 753/755 Drives’
• ‘PowerFlex Digital DC Drives’
In the section ‘Block Transfer I/O Image’ in Chapter 4, added the new subsection
‘Datalink Scaling’.4-9
Revised Appendix D to include the following new sections:
• ‘PowerFlex 70/700/700H, and 700L (with 700 Control) Drives’.
• ‘PowerFlex 700S (Phase II Control) and 700L (with 700S Control) Drives’.
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. See the documentation for
your product for specific information about how it works with the adapter.
P-1
P-2
P-2
Conventions Used in This
Manual
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 revision number (FRN) is displayed as FRN X.xxx, where
‘X’ is the major revision number and ‘xxx’ is the minor revision number.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
P-2About This Manual
Rockwell Automation
Support
Rockwell Automation offers support services worldwide, with over 75 sales
and support offices, over 500 authorized distributors, and over 250
authorized systems integrators located throughout the United States alone.
In addition, Rockwell Automation representatives are in every major
country in the world.
Local Product Support
Contact your local Rockwell Automation 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 6,
Troubleshooting
Allen-Bradley Technical Support website at www.ab.com/support/abdrives
or contact Rockwell Automation.
, first. If you still have problems, then access the
PowerFlex 20-HIM-A3/-A5/-C3S/-C5S HIM Quick Reference, publication 20HIM-QR001
PowerFlex 20-HIM-A6/C6S HIM (Human Interface Module) User Manual, publication 20HIM-UM001
PowerFlex 70 User Manual, publication 20A-UM001
PowerFlex 70/700 Reference Manual, publication PFLEX-RM001
PowerFlex 70 Enhanced Control and 700 Vector Control Reference Manual, publication PFLEX-RM004
PowerFlex 700 Series A User Manual, publication 20B-UM001
PowerFlex 700 Series B User Manual, publication 20B-UM002
PowerFlex 70/700 Reference Manual, publication PFLEX-RM001
PowerFlex 70 Enhanced Control and 700 Vector Control Reference Manual, publication PFLEX-RM004
These documents contain additional information concerning related
products from Rockwell Automation.
Information on installing PowerFlex
Communication Adapters.
Information on the Connected Components Workbench
software tool—and includes a link for free software download.
, and online help
, and online help
(1)
(1)
Information on using PowerFlex 20-HIM-A3, 20-HIM-A5,
Information on using the DriveExplorer™ software tool.
Information on using the DriveExecutive™ software tool.
20-HIM-C3S, and 20-HIM-C5S HIMs.
Information on installing and using PowerFlex 20-HIM-A6 and
20-HIM-C6S HIMs.
Information on installing and programming PowerFlex 70
standard control and enhanced control drives.
Information on installing and programming PowerFlex 700
standard control and vector control Series A drives, and
PowerFlex 700 vector control Series B drives.
Information on installing and programming PowerFlex 700H
drives.
®
20-COMM-x Network
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
ResourceDescription
PowerFlex 700S w/Phase I Control Installation Manual (Frames 1…6), publication 20D-IN024
PowerFlex 700S w/Phase I Control Installation Manual (Frames 9 and 10), publication PFLEX-IN006
PowerFlex 700S w/Phase I Control User Manual (All Frame Sizes), publication 20D-UM001
PowerFlex 700S w/Phase I Control Reference Manual, publication PFLEX-RM002
PowerFlex 700S w/Phase II Control Installation Manual (Frames 1…6), publication 20D-IN024
PowerFlex 700S w/Phase II Control Installation Manual (Frames 9…14), publication PFLEX-IN006
PowerFlex 700S w/Phase II Control Programming Manual (All Frame Sizes), publication 20D-PM001
PowerFlex 700S w/Phase II Control Reference Manual, publication PFLEX-RM003
Information on installing and programming PowerFlex 700L
Information on installing and programming PowerFlex Digital
, and online help
, and online help
(1)
, and online help
(1)
, and online help
Information on installing and programming PowerFlex 700S
drives.
Liquid-Cooled AC drives.
Information on installing and programming PowerFlex
750-Series AC drives.
DC drives.
Information on using RSLinx® Classic software.
(1)
Information on installing and navigating the RSLogix Emulate
software for ladder logic programming with Allen-Bradley
PLC-5 and SLC 500 processors.
Information on using the RSLogix™ 500 software tool.
(1)
Information on using the RSLogix™ 5000 software tool.
About This ManualP-3
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 http://www.rockwellautomation.com/locations
For information such as firmware updates or answers to drive-related
questions, go to the Drives Service & Support website at http://
www.ab.com/support/abdrives and click on the Downloads or
Knowledgebase link.
.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
P-4About This Manual
Notes:
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
➊
➋
➌
➍
➎
Chapter 1
Getting Started
The adapter is intended for installation into a PowerFlex 7-Class drive and
is used for network communication.
When used with PowerFlex 750-Series drives, the 20-COMM-R adapter
must have firmware revision 1.010 or later, and must be installed using the
20-750-20COMM or 20-750-20COMM-F1 Communication Carrier Card.
This manual does include some information on using the 20-COMM-R
adapter with PowerFlex 750-Series drives—but there are operating
limitations. For details, see Compatible Products
TopicPage
Components
Features
Compatible Products
Required Equipment
Safety Precautions
Quick Start
1-1
1-2
1-3
1-3
1-5
1-6
on page 1-3.
Components
Item PartDescription
Status IndicatorsThree status indicators that indicate the status of the DPI, adapter,
➊
DPI ConnectorA 20-pin, single-row shrouded male header. An Internal Interface
➋
Remote I/O ConnectorA standard 3-pin connector to connect to the network.
➌
Rack Address Rotary
➍
Switches
Configuration DIP
➎
Switches
and network connection. See Chapter 6
cable is connected to this connector and a connector on the drive.
Switches to set the rack address. See Setting the Rack Address
Rotary Switches on page 2-2.
Switches to set the starting module group, last rack, rack size, and
baud rate. See Setting the Configuration DIP Switches
, Troubleshooting.
on page 2-3.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
1-2Getting Started
Features
The features of the adapter include the following:
• Typical mounting in a PowerFlex 7-Class drive.
• Captive screws to secure and ground the adapter to the drive.
• Compatibility with various configuration tools to configure the adapter
and connected host drive, including the following tools:
– PowerFlex HIM (Human Interface Module) on the drive, if available
– Connected Components Workbench software, version 1.02 or later
– DriveExplorer software, version 2.01 or later
– DriveExecutive software, version 3.01 or later
• Rotary switches to set a rack address before applying power to the
PowerFlex drive. Or, you can disable the switches and use an adapter
parameter to set the rack address.
• DIP switches to configure the adapter for starting module group, last/not
last RIO group within the rack, 1/4 or 1/2 rack, and baud rate. Or, you
can disable the switches and use adapter parameters to configure 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.
• Parameter-configured I/O (Logic Command/Reference and up to four
pairs of Datalinks) to accommodate application requirements. The
adapter can be configured to use a 1/4 rack (two 16-bit words) or 1/2
rack (four 16-bit words) of discrete I/O. Additionally, up to eighteen
16-bit words of I/O can be transferred using the Block Transfer I/O
image without increasing the size of the discrete I/O rack. See Chapter 4
Using Discrete and Block Transfer I/O
for more information.
,
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
• Block Transfer Messaging support.
• User-defined fault actions to determine how the adapter and connected
PowerFlex drive respond to the following:
– I/O messaging communication disruptions (Comm Flt Action)
– Controllers in idle mode (Idle Flt Action)
• Access to any PowerFlex drive and its connected peripherals on the
network to which the adapter is connected.
Getting Started1-3
Compatible Products
Required Equipment
At the time of publication, the adapter is compatible with the following
products:
• PowerFlex 70 drives with standard or enhanced control• PowerFlex 750-Series drives
• PowerFlex 700 drives with standard or vector control• PowerFlex Digital DC drives
• PowerFlex 700H drives• SMC™ Flex smart motor controllers
• PowerFlex 700S drives with Phase I or Phase II control• SMC-50 smart motor controllers
• PowerFlex 700L drives with 700 vector control or 700S control
(1)
The 20-COMM-R adapter can be used with PowerFlex 750-Series drives, but the adapter must have firmware revision 1.01
or later. Also, the adapter has the following limitations and differences:
- Only the first 16 bits of the Logic Command and Logic Status words are used.
- Only drive Ports 0…6 are supported.
- Controller must be capable of reading/writing 32-bit floating point (REAL) values.
- Speed Reference/Feedback scaling are Hz (or RPM) x 1000 (depending on the setting of drive parameter 300 - [Speed
Units].
See the PowerFlex 750-Series AC Drives Programming Manual, publication 750-PM001, for drive parameter information.
Some of the equipment that is required for use with the adapter is shipped
with the adapter, but some you must supply yourself.
(1)
Equipment Shipped with the Adapter
When you unpack the adapter, verify that the package includes the
following:
❑ One 20-COMM-R adapter
❑ One 2.54 cm (1 in.) long and one 15.24 cm (6 in.) long Internal
Interface cable (only one cable is needed to connect the adapter to the
drive; for which cable to use, see Figure 2.3 on page 2-5
❑ One 3-pin Remote I/O plug (connected to the Remote I/O connector on
the adapter)
❑ Two termination resistors (one 82 ohm and one 150 ohm resistor)
❑ One PowerFlex 7-Class DPI (Drive Peripheral Interface) Network
Communication Adapter Installation Instructions, publication
20COMM-IN004
TIP: When mounting the 20-COMM-R adapter in a PowerFlex 750-Series
drive, you must use a 20-750-20COMM or 20-750-20COMM-F1
Communication Carrier Card, publication 750COM-IN001—and the
20-COMM-R adapter must have firmware revision 1.010 or later.
)
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
1-4Getting Started
User-Supplied Equipment
To install and configure the adapter, you must supply the following:
❑ A small flathead screwdriver
❑ Remote I/O cable
❑ Drive and adapter configuration tool, such as the following:
– PowerFlex 20-HIM-xx HIM
– Connected Components Workbench software, version 1.02 or later
Connected Components Workbench is the recommended
stand-alone software tool for use with PowerFlex drives. You can
obtain a free copy by:
• Internet download at http://www.ab.com/support/abdrives/
webupdate/software.html
• Requesting a DVD at http://www.ab.com/onecontact/controllers/
micro800/
Your local distributor may also have copies of the DVD available.
Connected Components Workbench software cannot be used to
configure SCANport-based drives or Bulletin 160 drives.
– DriveExplorer software, version 2.01 or later
This software tool has been discontinued and is now available as
freeware at http://www.ab.com/support/abdrives/webupdate/
software.html. There are no plans to provide future updates to this
tool and the download is being provided ‘as-is’ for users that lost
their DriveExplorer CD, or need to configure legacy products not
supported by Connected Components Workbench software.
– DriveExecutive software, version 3.01 or later
A Lite version of DriveExecutive software ships with RSLogix
5000, RSNetWorx MD, FactoryTalk AssetCentre, and
ItelliCENTER software. All other versions are purchasable items:
• 9303-4DTE01ENE Drive Executive software
• 9303-4DTS01ENE DriveTools SP Suite (includes
DriveExecutive and DriveObserver software)
• 9303-4DTE2S01ENE DriveExecutive software upgrade to
DriveTools SP Suite (adds DriveObserver software)
DriveExecutive software updates (patches, and so forth) can be
obtained at http://www.ab.com/support/abdrives/webupdate/
software.html. It is highly recommended that you periodically check
for and install the latest update.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
❑ Controller configuration tool, such as RSLogix 5, RSLogix 500, or
RSLogix 5000 software
❑ A computer connection to the Remote I/O network by way of a
1203-USB serial converter
Getting Started1-5
!
!
!
!
!
!
!
!
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 electrostatic discharge (ESD) 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, see Guarding
Against Electrostatic Damage, publication 8000-4.5.2.
ATTENTION: Risk of injury or equipment damage exists. DPI
or SCANport host products must not be directly connected
together using 1202 cables. Unpredictable behavior due to timing
and other internal procedures can result if two or more devices
are connected this way.
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.
Parameters 10 - [Comm Flt Action] and 11 - [Idle Flt Action]
let you determine the action of the adapter and connected drive if
I/O communication is disrupted or the controller is idle. By
default, these parameters fault the drive. You can set these
parameters so that the drive continues to run, however,
precautions should be taken to verify that the settings of these
parameters do 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. The
examples in this publication are intended solely for purposes of
example. There are many variables and requirements with any
application. Rockwell Automation does not assume responsibility
or liability (to include intellectual property liability) for actual
use of the examples shown in this publication.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
1-6Getting Started
Quick Start
This section is provided to help experienced users quickly start using the
adapter. If you are unsure how to complete a step, see the referenced chapter.
Step ActionSee
1Review the safety precautions for the adapter.Throughout this manual
2Verify that the PowerFlex drive is properly installed.Drive User Manual
Chapter 2
Installing the Adapter
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
Chapter 4
Using Discrete and
Block Transfer I/O
Chapter 5,
Using Block Transfer
Messaging
Chapter 6,
Troubleshooting
3Commission the adapter.
a. With power removed, use the adapter Rack Address Rotary
Switches to set a unique rack address on the network.
b. Use the Configuration DIP Switches to set the following:
• Starting remote I/O module group (SW1 and SW2)
• Last rack (SW3)
• Rack size (SW4)
• Remote I/O baud rate (SW7 and SW8)
NOTE: If desired, the Rack Address Rotary Switches and
Configuration DIP Switches can be disabled so that adapter
parameters can be used instead to set these items. To disable all
hardware switch settings, set Configuration DIP Switches SW7
and SW8 both to the ‘On’ position. Then configure the appropriate
adapter parameters after applying power to the adapter.
4Install the adapter.
a. Verify that the PowerFlex drive is not powered.
b. Connect the adapter to the drive with the Internal Interface
cable.
c. Use the captive screws to secure and ground the adapter to
the drive.
d. Connect the adapter to the network with a Remote I/O cable.
NOTE: When installing the adapter in a PowerFlex 750-Series
drive, see the 20-750-20COMM and 20-750-20COMM-F1
Communication Carrier Cards Installation Instructions,
publication 750COM-IN001, supplied with the card.
5Apply power to the adapter.
a. Verify that the adapter is installed correctly.
The adapter receives power from the drive.
b. Apply power to the drive.
The status indicators should be green. If they flash red, there
is a problem. See Chapter 6
c. Configure and verify key drive parameters.
6Configure the adapter for your application.
Set adapter parameters for the following functions as required by
your application:
• Rack address, starting module group, last rack, rack size, and
baud rate (only when Configuration DIP Switches SW7 and
SW8 are both disabled—set to ‘On’)
• I/O configuration
• Fault actions
7Create a ladder logic program.
Use a controller configuration tool such as RSLogix software to
create a ladder logic program that lets you to do the following:
• Control the connected drive, by way of the adapter, by using
Discrete I/O and Block Transfer I/O.
• Monitor or configure the drive using Block Transfer Explicit
messages.
, Troubleshooting.
,
,
,
,
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Chapter 2
Installing the Adapter
This chapter provides instructions for installing the adapter in a PowerFlex
7-Class drive.
TopicPage
Preparing for an Installation
Selecting Remote I/O Cables
Commissioning the Adapter
Connecting the Adapter to the Drive
Connecting the Adapter to the Network
Applying Power
2-1
2-1
2-2
2-4
2-7
2-8
Preparing for an Installation
Selecting Remote I/O Cables
Before installing the adapter, verify that you have all required equipment.
See Required Equipment
Remote I/O adapters are connected to the Remote I/O network or link with
twinaxial cable used for Remote I/O and Data Highway Plus (DH+)
communications. When selecting a cable, remember these points:
• Only 1770-CD Belden #9463 is tested and approved for Remote I/O and
DH+ installations. Use other cables at your own risk.
• The maximum cable length depends on the baud rate.
Baud RateMaximum Cable Length
57.6 Kbps3,048 m (10,000 ft)
115.2 Kbps1,524 m (5,000 ft)
230.4 Kbps762 m (2,500 ft)
• All three connectors (blue, shield, and clear) must be connected at each
node.
• Do not use a star topology. Only two cables may be connected at any
wiring point. You can use a series topology and daisy-chain two wires at
a point.
on page 1-3.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
2-2Installing the Adapter
!
!
Commissioning the Adapter
To commission the adapter, set the Rack Address Rotary Switches and the
Configuration DIP Switches. Either set these switches to the desired
settings or disable them by sliding Configuration DIP Switches SW7 and
SW8 to the ‘On’ position so that adapter parameters can be used instead.
Important: New switch settings are recognized only when power is applied
to the adapter or it is reset. After you change a switch setting,
cycle power or reset the adapter.
ATTENTION: Risk of equipment damage exists. The adapter
contains electrostatic discharge (ESD) 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, see Guarding
Against Electrostatic Damage, publication 8000-4.5.2.
ATTENTION: Risk of equipment damage exists. Pen ink or
pencil lead may damage the adapter switches. Do not use a pen or
pencil to set the switches.
Setting the Rack Address Rotary Switches
The adapter accepts a rack address between 00 and 77 octal. The default
setting is 01. See Table 3.A on page 3-3
of the octal address to be used. Set the Rack Address Rotary Switches
(Figure 2.1
octal value, but is internally converted to a decimal address. Each Remote I/
O device must have a unique rack address that the controller can recognize.
Note the following points:
) to the octal address. The address is entered and displayed as an
to determine the decimal equivalent
• Although the adapter supports rack addresses up to 77 octal, not all
controllers recognize all of the addresses, and a Remote I/O channel can
support only 32 devices.
• If Configuration DIP Switches SW7 and SW8 are both set to ‘On’, the
adapter uses the decimal rack address set in Parameter 3 - [RIO Addr
2
1
0
9
8
on page 3-3.
3
7
2
1
4
5
0
6
9
8
3
4
5
6
7
Cfg]. See Setting the Rack Address
• PLC-2 controllers identify rack addresses differently than other
controllers. PLC-2 controllers identify the adapter rack address as one
plus the value of the switch settings.
Figure 2.1Setting the Rack Address Rotary Switches (Octal)
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Installing the Adapter2-3
ON
1
2
3
4
5
6
7
8
On = 1
Off = 0
The Rack Address Rotary Switch settings can be verified (as a decimal
value) by viewing Diagnostic Device Item number 29 (page 6-4
Setting the Configuration DIP Switches
Set the Configuration DIP Switches (Figure 2.2) to match your application
specifics for the controller and network.
Figure 2.2Setting the Configuration DIP Switches
).
SwitchesSetting Description
SW1 and SW212 SW1 and SW2 are used together to set the starting module group:
00 Group 0 (Default)
10 Group 2
01 Group 4
11 Group 6 – Only used if SW4 is set to “0” (1/4 rack).
SW30Not the last RIO rack (Default)
1Last RIO group within the rack
SW401/4 rack (Default)
11/2 rack
SW50Not Used
SW60Not Used
SW7 and SW878 SW7 and SW8 are used together to set the Remote I/O baud rate:
00 57.6 kbps (Default)
10 115.2 kbps
01 230.4 kbps
11 Disables all hardware switches. Instead, the adapter uses the values
of the following parameters:
• Parameter 3 - [RIO Addr Cfg] for the rack address
• Parameter 5 - [RIO Rate Cfg] for the baud rate
• Parameter 25 - [Start RIO Group] for the starting module group
• Parameter 26 - [Last RIO Rack] for the last physical rack
• Parameter 27 - [Rack Size] for the rack size
The Configuration DIP Switches SW7 and SW8 settings can be verified by
viewing Parameter 24 - [Switches] with any of the following drive
configuration tools:
• PowerFlex HIM
• Connected Components Workbench software, version 1.02 or later
• Drive Explorer software, version 2.01 or later
• DriveExecutive software, version 3.01 or later
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
2-4Installing the Adapter
!
The settings for all of the Configuration DIP Switches can be verified by
viewing Diagnostic Item number 28 (page 6-4
).
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 or open the drive cover.
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.3
5.Secure and ground the adapter to the drive (see Figure 2.4
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 N•m (8.0 lb•in).
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
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
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
20-COMM-R Adapter
Installing the Adapter2-5
Figure 2.3DPI Ports and Internal Interface Cables
➊
➋
➌
➍
ItemDescription
15.24 cm (6 in.) Internal Interface cable
➊
DPI Connector
➋
Remote I/O cable
➌
2.54 cm (1 in.) Internal Interface cable
➍
X2
X1
➍
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
2-6Installing the Adapter
X1
X2
Drive
Adapter
Internal Interface Cable
folded behind the adapter
and in front of the drive.
PowerFlex 70 - All Frame Sizes
(Adapter mounts in drive.)
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.
Ground Tab Detail
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
PowerFlex 700 Frames 2 and Larger
PowerFlex 700S Frames 2 through 6
(Adapter mounts in 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.
0.9 N•m
(8.0 lb•in)
4 Places
PowerFlex 700H Frames 9 and Larger
PowerFlex 700S Frames 9 and Larger
(Adapter mounts behind HIM panel.)
Ground Tab Detail
Figure 2.4Mounting and Grounding the Adapter
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
NOTE: When installing the adapter in a PowerFlex 750-Series drive, see
the 20-750-20COMM and 20-750-20COMM-F1 Communication Carrier
Card Installation Instructions, publication 750COM-IN001, supplied with
the card.
Installing the Adapter2-7
!
Clear
Shield
Blue
Clear
Shield
Blue
Single ConnectionDaisy-Chain Connection
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 a Remote I/O cable to the controller or create a daisy-chain
from another device on the Remote I/O network (see Figure 2.5
Important: Maximum cable length depends on the Remote I/O baud
rate. See Selecting Remote I/O Cables
details.
Figure 2.5Connecting a Remote I/O Cable to the Network
on page 2-1 for
).
4.Route the other end of the Remote I/O cable through the bottom of the
drive (Figure 2.4
5.Connect a 3-pin Remote I/O plug to the cable.
Figure 2.6Connecting a 3-Pin Remote I/O Plug to the Cable
).
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
2-8Installing the Adapter
!
6.If the adapter is at the end of the Remote I/O link, connect a termination
resistor (see Figure 2.7
The resistor should have a value of 82 or 150 ohms (82 ohms is
preferred).
Important: If the Remote I/O network is operating at 230.4 Kbps, an
82 ohm termination resistor must be used.
Important: If any of the following products, which cannot operate at
230.4 Kbps, are on the Remote I/O network, a 150 ohm
termination resistor must be used.
• 1771-SN scanner• 6008-SQH1 scanner
• 1772-SD scanner• 6008-SQH scanner
• 1772-SD2 scanner• 1771-AS adapter
• 1772-SR scanner• 1772-ASB (Ser. A) adapter
• 1775-S4A scanner• 1771-DCM adapter
• 1775-S4B scanner• 1771-AF device
Figure 2.7Connecting a Termination Resistor (if required)
).
Applying Power
Clear
Shield
Blue
7.Connect the Remote I/O cable plug to the adapter’s mating connector.
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. See Chapter 6
Start-Up Status Indications
Termination Resistor
(82 Ohms or 150 Ohms)
, Troubleshooting.
Status indicators for the drive and communication adapter can be viewed on
the front of the drive (Figure 2.8
start-up status indications are shown in Table 2. A
) after power has been applied. Possible
.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Installing the Adapter2-9
Figure 2.8Drive and Adapter Status Indicators (location on drive may vary)
PORT
MOD
➋
Table 2.A Drive and Adapter Start-Up Status Indications
NET A
NET B
➊
STS
Item NameColorStateDescription
Drive STS Indicator
STS
➊
(Status)
PORTGreenFlashingNormal operation. The adapter is establishing an I/O
➋
MODGreenFlashingNormal operation. The adapter is operating but is not
NET AGreenFlashingThe adapter is properly connected, but the controller is
NET B——Not used by Remote I/O adapter.
GreenFlashingDrive ready but not running, and no faults are present.
SteadyDrive running, no faults are present.
YellowFlashing,
drive stopped
Flashing,
drive running
Steady,
drive running
RedFlashingA fault has occurred.
SteadyA non-resettable fault has occurred.
Adapter Status Indicators
SteadyNormal operation. The adapter is properly connected
SteadyNormal operation. The adapter is operating and
SteadyNormal 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.
resetting, in test mode, in program mode, or not
properly configured to communicate with the adapter.
and communicating on the network.
For more details on status indicator operation, see page 6-2 and page 6-3.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
2-10Installing the Adapter
Configuring and 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.
TIP: For PowerFlex 750-Series drives, use drive Parameter 545 [Speed Ref A Sel] to set the drive speed Reference:
a.Set the Port field to ‘Port 0 - PowerFlex 75x’.
b.Set the Parameter field to point to the port in which the
20-COMM-R adapter/20-750-20COMM Communication Carrier
Card are installed (for example, ‘876 - Port 6 Reference’).
The number ‘876’ in the Parameter field of the example is the
parameter in the drive that points to the port.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Chapter 3
Configuring the Adapter
This chapter provides instructions and information for setting the
parameters to configure the adapter.
TopicPage
Configuration Tools
Using the PowerFlex 7-Class HIM to Access Parameters
Setting the Rack Address
Setting the Baud Rate
Setting the Starting Module Group
Setting the Last Rack
Setting the Rack Size
Setting the I/O Configuration
Setting a Fault Action
Resetting the Adapter
Viewing the Adapter Status Using Parameters
Updating the Adapter Firmware
3-1
3-2
3-3
3-4
3-4
3-5
3-5
3-6
3-7
3-8
3-9
3-10
Configuration Tools
For a list of parameters, see Appendix
definitions of terms in this chapter, see the Glossary
The adapter stores parameters and other information in its own nonvolatile
storage (NVS) memory. You must, therefore, access the adapter to view and
edit its parameters. The following tools can be used to access the adapter
parameters.
ToolSee
PowerFlex 7-Class HIMpage 3-2
Connected Components Workbench
software, version 1.02 or later
DriveExplorer software,
version 2.01 or later
DriveExecutive software,
version 3.01 or later
B, Adapter Parameters. For
.
http://www.ab.com/support/abdrives/webupdate/
software.html, or online help (installed with the software)
http://www.ab.com/drives/driveexplorer
DriveExplorer online help (installed with the software)
http://www.ab.com/drives/drivetools
DriveExecutive online help (installed with the software)
, or
, or
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
3-2Configuring the Adapter
ALT
Sel
F-> StoppedAuto
0.00Hz
Main Menu:
Diagnostics
Parameter
Device Select
Por t 5 Device
20-COMM-R
Main Menu:
Diagnostics
Parameter
Using the PowerFlex 7-Class
HIM to Access Parameters
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. We
recommend that you read through the steps for your HIM before performing
the sequence. For additional information, see the drive documentation or the
PowerFlex 7-Class HIM Quick Reference, publication 20HIM-QR001.
Using an LED HIM
StepExample 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.
Using an LCD HIM
StepExample 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-R).
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.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
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.
TIP: When using a PowerFlex 20-HIM-A6 or 20-HIM-C6S HIM, see its
User Manual, publication 20HIM-UM001.
Configuring the Adapter3-3
Por t 5 Device
20-COMM-R
Parameter #: 03
RIO Addr Cfg
1
0 <> 63
Default = 01
Setting the Rack Address
If adapter Configuration DIP Switches SW7 and SW8 (Figure 2.2) are both
set to ‘On’, the value of Parameter 03 - [RIO Addr Cfg] determines the
rack address. Note these points:
•Although the adapter supports rack addresses between 00 and 77 octal,
not all controllers recognize all of the addresses, and a Remote I/O
channel can support only 32 devices.
•PLC-2 controllers identify rack addresses differently than other
controllers. PLC-2 controllers identify the adapter rack address as one
plus the value of the parameter setting.
1.See Tab le 3. A
be used.
The rack address must be unique.
Table 3.A Rack Addresses (Decimal Equivalent versus Octal)
to determine the decimal equivalent of the octal address to
2.Set the value of Parameter 03 - [RIO Addr Cfg] to the decimal
equivalent of the octal address to be used.
The address is entered and displayed as a decimal value, but is
internally converted to an octal address.
Important: The HIM and software tools, such as DriveExplorer or
DriveExecutive, will display the address as a decimal value.
3.Reset the adapter (see Resetting the Adapter
on page 3-8).
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
3-4Configuring the Adapter
Por t 5 Device
20-COMM-R
Parameter #: 05
RIO Rate Cfg
0
57.6 kbps
ValueBaud Rate
057.6 Kbps (default)
1115.2 Kbps
2230.4 Kbps
Por t 5 Device
20-COMM-R
Parameter #: 25
Start RIO Group
0
Group 0
ValueBaud Ra te
0Group 0 (default)
1Group 2
2Group 4
3Group 6
Do not use this value if the
adapter uses a 1/2 rack, which
results in an error.
Setting the Baud Rate
Setting the Starting Module
Group
If adapter Configuration DIP Switches SW7 and SW8 (Figure 2.2) are both
set to ‘On’, the value of Parameter 05 - [RIO Rate Cfg] determines the
Remote I/O baud rate.
1.Set the value of Parameter 05 - [RIO Rate Cfg] to the baud rate at which
your network is operating.
2.Reset the adapter (see Resetting the Adapter
If adapter Configuration DIP Switches SW7 and SW8 (Figure 2.2) are both
set to ‘On’, the value of Parameter 25 - [Start RIO Group] determines the
starting module group.
1.Set the value of Parameter 25 - [Start RIO Group] to the desired
starting group.
on page 3-8).
2.Reset the adapter (see Resetting the Adapter
on page 3-8).
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Configuring the Adapter3-5
Por t 5 Device
20-COMM-R
Parameter #: 26
Last RIO Rack
0
Disabled
ValueLast Rack
0Disabled (default)
1Enabled
Por t 5 Device
20-COMM-R
Parameter #: 27
Rack Size
0
1/4 Rack
ValueRack Siz e
01/4 (default)
11/2
Setting the Last Rack
Setting the Rack Size
If adapter Configuration DIP Switches SW7 and SW8 (Figure 2.2) are both
set to ‘On’, the value of Parameter 26 - [Last RIO Rack] notifies the
controller that this device is the last device on a specified rack. This
parameter must be set to ‘1’ (Enabled) if the drive is the last device on a
rack address that uses a PLC-2 controller. We recommend that you set this
parameter to ‘1’ (Enabled) whenever a device is the last device on a rack.
1.Set the value of Parameter 26 - [Last RIO Rack] to the desired state.
2.Reset the adapter (see Resetting the Adapter
If adapter Configuration DIP Switches SW7 and SW8 (Figure 2.2) are both
set to ‘On’, the value of Parameter 27 - [Rack Size] determines the rack
size. With the 20-COMM-R adapter, you can use a 1/4 or 1/2 size rack. This
I/O is the Discrete I/O. For more information about using I/O, see
Chapter 4
, Using Discrete and Block Transfer I/O.
on page 3-8).
TIP: Additional I/O, such as Reference/Feedback and Datalinks, can be
transmitted using the Block Transfer I/O image.
1.Set the value of Parameter 27 - [Rack Size] to the size required for your
application.
2.Reset the adapter (see Resetting the Adapter
on page 3-8).
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
3-6Configuring the Adapter
BitDescription
0Logic Command/Reference (Default)
1Datalink A
2Datalink B
3Datalink C
4Datalink D
5…15Not Used
Por t 5 Device
20-COMM-R
Parameter #: 12
DPI I/O Config
xxxxxxxxxxx0000
1
Cmd/Refb00
Setting the I/O
Configuration
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. (Datalinks allow you to read/write directly to
parameters in the drive using Discrete I/O.) A ‘1’ enables the I/O and a ‘0’
disables the I/O.
1.Set the bits in Parameter 12 - [DPI I/O Config].
Bit 0 is the right-most bit. It is highlighted above 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. See the documentation for your drive for
details.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
3.If you enabled one or more Datalinks, configure parameters in the drive
to determine the source and destination of data in the Datalinks.
When using Datalinks, up to 8 drive [Data In xx] parameters
(300…307) and/or up to 8 [Data Out xx] parameters (310…317) must
be assigned to point to the appropriate drive parameters for your
application. Also, ensure that the Remote I/O adapter is the only adapter
using the enabled Datalinks. See Chapter 4
Transfer I/O for an example.
4.Reset the adapter (see Resetting the Adapter on page 3-8).
The adapter is ready to receive I/O.
, Using Discrete and Block
Configuring the Adapter3-7
!
Port 5 Device
20-COMM-R
Parameter #: 10
Comm Flt Action
0
Fault
Port 5 Device
20-COMM-R
Parameter #: 11
Idle Flt Action
0
Fault
Setting a Fault Action
By default, when I/O communication is disrupted (for example, a cable is
disconnected) or the controller is idle (in program mode or faulted), the
drive responds by faulting if it is using I/O from the network. You can
configure a different response to these faults:
•Disrupted I/O communication by using Parameter 10 - [Comm Flt
Action]
•An idle controller by using Parameter 11 - [Idle Flt Action]
ATTENTION: Risk of injury or equipment damage exists.
Parameters 10 - [Comm Flt Action] and 11 - [Idle Flt Action]
let you determine the action of the adapter and connected drive if
I/O communication is disrupted or the controller is idle. By
default, these parameters fault the drive. You can set these
parameters so that the drive continues to run, however,
precautions should be taken to verify that the settings of these
parameters do 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 faulted controller).
Changing the Fault Action
Set the values of Parameters 10 - [Comm Flt Action] and 11 - [Idle Flt
Action] to an action that meets your application requirements.
ValueActionDescription
0FaultThe drive is faulted and stopped. (Default)
1StopThe drive is stopped, but not faulted.
2Zero DataThe drive is sent ‘0’ values for data. This does not command a stop.
3Hold LastThe drive continues in its present state.
4Send Flt CfgThe drive is sent the data that you set in the fault configuration parameters
Changes to these parameters take effect immediately. A reset is not
required.
If communication is disrupted and then is re-established, the drive will
automatically take commands from the network again.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
3-8Configuring the Adapter
!
ValueDescription
0Ready (Default)
1Reset Module
2Set Defaults
Port 5 Device
20-COMM-R
Parameter #: 09
Reset Module
1
Reset Module
Setting the Fault Configuration Parameters
When setting Parameter 10 - [Comm Flt Action] or 11 - [Idle Flt Action]
to ‘Send Flt Cfg’, the values in the following parameters are sent to the drive
after an I/O communication fault and/or idle fault occurs. You must set
these parameters to values required by your application.
ParameterDescription
14 - [Flt Cfg Logic] A 16-bit value sent to the drive for Logic Command.
15 - [Flt Cfg Ref]A 32-bit value (0…4294967295) sent to the drive as a Reference or Datalink.
16 - [Flt Cfg x1 In]
through
23 - [Flt Cfg x2 In]
Changes to these parameters take effect immediately. A reset is not
required.
Important: If the drive uses a 16-bit Reference or 16-bit Datalinks, the most
significant word of the value must be set to zero (0) or a fault will occur.
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 09 - [Reset
Module].
ATTENTION: Risk of injury or equipment damage exists. If the
Set Parameter 09 - [Reset Module] to ‘1’ (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.
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 a connected adapter.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Configuring the Adapter3-9
Bit
Definition
Not Used
Not Used
Not Used
Datalink D
Datalink C
Datalink B
Datalink A
Cmd/Ref
Defaultxxx00001
Bit76543210
0 = I/O disabled
1 = I/O enabled
Viewing the Adapter Status
Using Parameters
The following parameters provide information about the status of the
adapter. You can view these parameters at any time.
ParameterDescription
04 - [RIO Addr Actual]The rack address used by the adapter. This will be one of the following
values:
• The address set by the Rack Address Rotary Switches.
• The value of Parameter 03 - [RIO Addr Cfg] if adapter Configuration
DIP Switches SW7 and SW8 are both set to ‘On’.
• An old address of the switches or parameter if they have been changed
and the adapter has not been reset.
06 - [RIO Rate Actual]The baud rate used by the adapter. This will be one of the following
values:
• The baud rate set by adapter Configuration DIP Switches SW7 and
SW8.
• The value of Parameter 05 - [RIO Rate Cfg] if adapter Configuration
DIP Switches SW7 and SW8 are both set to ‘On’.
• An old baud rate of the switches or parameter if they have been
changed and the adapter has not been reset.
07 - [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.
08 - [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.
13 - [DPI I/O Active]The Reference/Feedback and Datalinks used by the adapter. This value
is the same as Parameter 12 - [DPI I/O Config] unless the parameter
was changed and the adapter was not reset.
24 - [Switches]The status of the adapter Configuration DIP Switches. By default, all DIP
switches are set to ‘Off’ (enabled), and the adapter is configured based
on their settings. If both SW7 and SW8 are set to ‘On’, all hardware
switches, including the Rack Address Rotary Switches, are disabled and
the adapter is configured using values in the following adapter
parameters:
• Parameter 3 - [RIO Addr Cfg]
• Parameter 5 - [RIO Rate Cfg]
• Parameter 25 - [Start RIO Group]
• Parameter 26 - [Last RIO Rack]
• Parameter 27 - [Rack Size].
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
3-10Configuring the Adapter
Updating the Adapter
Firmware
The adapter firmware can be 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 updating firmware over the network, you can use the Allen-Bradley
ControlFLASH software tool, the built-in update capability of
DriveExplorer Lite or Full software, or the built-in update capability of
DriveExecutive software.
When updating firmware through a direct serial connection from a
computer to a drive, you can use the same Allen-Bradley software tools
described above, or you can use HyperTerminal software set to the
X-modem protocol.
To obtain a firmware update for this adapter, go to http://www.ab.com/
support/abdrives/webupdate. This website contains all firmware update files
and associated Release Notes that describe the following items:
• Firmware update enhancements and anomalies
• How to determine the existing firmware revision
• How to update firmware using ControlFLASH, DriveExplorer,
DriveExecutive, or HyperTerminal software
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Chapter 4
Using Discrete and Block Transfer I/O
This chapter provides information and examples about using I/O to control
a connected PowerFlex drive.
TopicPage
About I/O
Understanding the I/O Image
Discrete I/O Image
Block Transfer I/O Image
Example Ladder Logic Program Information
ControlLogix Controller Example
PLC-5 Controller Example
SLC 500 Controller Examples
4-1
4-2
4-4
4-7
4-11
4-12
4-15
4-17
About I/O
I/O is used to transfer the data which can control the PowerFlex drive and its
speed. It is also used for transmitting data through Datalinks.
The Remote I/O adapter uses Discrete I/O and Block Transfer I/O to
transfer I/O data. The ‘Discrete I/O’ is either 1/4 rack (two 16-bit words) or
1/2 rack (four 16-bit words). The rack size is set using Configuration DIP
Switch SW4 or, if the hardware switches have been disabled, adapter
Parameter 27 - [Rack Size]. The ‘Block Transfer I/O’ includes all Block
Transfer Read or Block Transfer Write messages that are 18 words or fewer.
The type of I/O that is transmitted between the drive and controller is set in
Parameter 12 - [DPI I/O Cfg]. When you set up your I/O, note the
following:
• The Logic Command/Status is always transmitted in the discrete I/O.
• The Reference is transmitted in the Discrete I/O if you are using a 1/2
rack, or in the Block Transfer I/O if you are using a 1/4 rack.
• Datalinks are always transmitted in the Block Transfer I/O.
Data In A1
Data In A2
Data In B1
Data In B2
Data In C1
Data In C2
Data In D1
Data In D2
Logic Status
Feedback
Data Out A1
Data Out A2
Data Out B1
Data Out B2
Data Out C1
Data Out C2
Data Out D1
Data Out D2
0BT Status
1Logic Status
2 - 3 Feedback
(1)
(2)
Figure 4.2Example I/O Image Using 1/2 Rack Configuration
(1)
Not used in 1/2 rack. The space is reserved so the Datalinks occupy the same Block Transfer I/O locations
regardless of 1/4 rack or 1/2 rack configuration.
(2)
Feedback is transmitted in both Discrete I/O and Block Transfer I/O.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-4Using Discrete and Block Transfer I/O
Discrete I/O Image
The Discrete I/O image is either a 1/4 rack or 1/2 rack. Use Configuration
DIP Switch SW4 to select 1/4 rack or 1/2 rack or, if the hardware switches
have been disabled, adapter Parameter 27 - [Rack Size]. The I/O that is
transmitted depends on the size of the rack. Figure 4.1
image, and Figure 4.2
Data in the Discrete I/O image is transferred between the controller and
Remote I/O adapter every scan.
Block Transfer Control/Status Word
Word 0 in the Discrete I/O image is always the 16-bit Block Transfer
Control/Status word. The ‘Block Transfer Control’ word is used for
handshaking between the scanner and adapter. Do not change this word.
The ‘Block Transfer Status’ word is used to determine when you can write
and read Block Transfers for Explicit Messages. The section Executing
Block Transfers for Explicit Messages on page 5-5 explains the bits in this
word and how to use them. Block Transfer I/O does not use the Block
Transfer Status word.
Logic Command/Logic Status in Discrete I/O Image
shows a 1/2 rack I/O image.
shows a 1/4 rack I/O
Word 1 in the Discrete I/O image is always the Logic Command/Logic
Status word. The ‘Logic Command’ word is a 16-bit word that is used to
control the drive (for example, start, stop, change direction). The ‘Logic
Status’ word provides details about how the drive is operating. PowerFlex
750-Series drives have a 32-bit Logic Command/Status word—but when
using the 20-COMM-R adapter only the first 16 bits can be used.
This manual contains the bit definitions for most compatible products
available at the time of publication in Appendix
Words . For other products, see their documentation.
Reference/Feedback in Discrete I/O Image
If the adapter is configured for 1/2 rack (Figure 4.2), word 2 and word 3 in
the discrete I/O image are reserved for Reference/Feedback.
Word16 -bit value32-bit value
2
Reference
3
Not Used
LSW = Least Significant Word (bits 0…15)
MSW = Most Significant Word (bits 16…31)
Feedback
0
Reference (LSW)
Reference (MSW)
D, Logic Command/Status
Feedback (LSW)
Feedback (MSW)
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
The Reference is produced by the controller and consumed by the adapter.
The Feedback is produced by the adapter and consumed by the controller.
The size of the Reference/Feedback is determined by the drive and can be
displayed using adapter Parameter 07 - [Ref/Fdbk Size].
Using Discrete and Block Transfer I/O4-5
0
0 Hz
Par. 55 - [Maximum Freq]
Par. 82 - [Maximum Speed]
130 Hz
90 Hz
60 Hz
327672268515123
Scaling = (Parameter 82 ÷ Parameter 55) * 32767
SizeValid Values
16-bit-32768 to 32767
32-bit-2147483648 to 2147483647
PowerFlex 70/700/700H, and PowerFlex 700L Drives with 700 Control
The Reference/Feedback value is a scaled engineering value; it is not in Hertz
or RPM. The Reference uses a ‘32767’ scale. The ‘32767’ endpoint of the
scale is equal to the value of drive parameter 55 - [Maximum Freq], which
has a default value of 130 Hz. For these drives, default scaling is 0…15123
which is equal to 0…60.0 Hz. This is based on the formula shown below.
Reference/Feedback scaling is limited by drive parameter 82 - [Maximum
Speed]. If the default value of 60 Hz. for parameter 82 - [Maximum Speed] is
changed, the speed Reference/Feedback scaling also changes. To determine
Reference/Feedback scaling, use the following formula:
(Parameter 82 ÷ Parameter 55) * 32767 = Scaling
Using drive parameter 82 and 55 default values, speed Reference/Feedback
scaling is:
(60 Hz ÷ 130 Hz) * 32767 = 15123
Therefore, 0…15123 = 0…60.0 Hz.
If parameter 82 - [Maximum Speed] is changed to 90 Hz, then:
(90 Hz ÷ 130 Hz) * 32767 = 22685
Therefore, 0…22685 = 0…90.0 Hz.
A graphic representation of this Reference/Feedback scaling is shown below.
For PowerFlex 70 drives with enhanced control, firmware 2.xxx or later, or
PowerFlex 700 drives with vector control, firmware 3.xxx or later, drive
parameter 298 - [DPI Ref Select] was added to simplify scaling for the
speed Reference/Feedback. When drive parameter 298 - [DPI Ref Select] is
set to its default ‘0’ (Max Freq), the speed Reference/Feedback scaling is as
shown above. However, when parameter 298 - [DPI Ref Select] is set to ‘1’
(Max Speed), the speed Reference/Feedback scaling is equal to parameter
82 - [Max Speed]:
Parameter 82 = Scaling
Using the parameter 82 default value, speed Reference/Feedback scaling is:
0…32767 = 0…60.0 Hz.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-6Using Discrete and Block Transfer I/O
If parameter 82 - [Maximum Speed] is changed to 90 Hz, then:
90 Hz = 32767
Speed Feedback uses the same scaling as the speed Reference.
TIP: For PowerFlex 700 drives with vector control, firmware 3.xxx or later,
parameter 299 - [DPI Fdbk Select] enables you to select the feedback data
coming from the drive over DPI. The default is ‘Speed Fdbk’ in Hz or RPM
determined by Parameter 079 - [Speed Units]. The data selection for
parameter 299 is also displayed on the 1st line of the HIM and on
DriveExplorer and DriveExecutive software screens in the drive status area
of the screen.
PowerFlex 700S and PowerFlex 700L Drives with 700S Control
The Reference/Feedback value is:
32767 = Base Motor Speed
The base speed is set using drive parameter 4 - [Motor RPM]. To set a speed
Reference/Feedback above base speed, a value greater than 32767 must be
entered.
For 16-bit processors, such as PLC-5 and SLC 500 controllers, the data
requires manipulation to set a speed Reference above 32767 or below
-32767. Please see the PowerFlex 700S AC Drives Phase II Control
Reference Manual, publication PFLEX-RM003, in the Chapter 1
‘Communications’ section. Then go to the ‘PLC 5 or SLC System’
subsection and see the ‘Reference/Feedback Programming’ sub-subsection.
PowerFlex 753/755 Drives
The Reference/Feedback value is Hz x 1000 or RPM x 1000. Drive
Parameter 300 - [Speed Units] determines whether the scaling is Hz or
RPM. The default scaling is Hz, where 0…60,000 equates to 0…60.000 Hz.
When Parameter 300 is set to RPM, then 0…1,765,000 equates to
0…1765.000 RPM.
For 16-bit processors, such as PLC-5 and SLC 500 controllers, the data
requires manipulation to set a speed Reference above 32767 or below
-32767. Please see the PowerFlex 700S AC Drives Phase II Control
Reference Manual, publication PFLEX-RM003, in the Chapter 1
‘Communications’ section. Then go to the ‘PLC 5 or SLC System’
subsection and see the ‘Reference/Feedback Programming’ sub-subsection.
PowerFlex Digital DC Drives
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
The Reference/Feedback value is:
25000 = Maximum Reference Speed
The maximum reference speed is set using drive parameter 45 - [Max Ref
Speed].
Using Discrete and Block Transfer I/O4-7
Block Transfer Write
Block Transfer Read
Block Transfer Write
Block Transfer Read
Block Transfer I/O Image
The Block Transfer I/O image is a Block Transfer message that contains
eighteen 16-bit words. It reserves two words for the Reference/Feedback
and four words for each Datalink (in case 32-bit values are used).
Figure 4.3Block Transfer I/O Image for 16-Bit Reference and Datalinks
Word 01Reference
Not Used
2
Datalink In A1
3
Not Used
4
Datalink In A2
5
Not Used
6
Datalink In B1
7
Not Used
8
Datalink In B2
9
Not Used
10
Datalink In C1
11
Not Used
12
Datalink In C2
13
Not Used
14
Datalink In D1
15
Not Used
16
Datalink In D2
17
Not Used
Feedback
0
Datalink Out A1
0
Datalink Out A2
0
Datalink Out B1
0
Datalink Out B2
0
Datalink Out C1
0
Datalink Out C2
0
Datalink Out D1
0
Datalink Out D2
0
Figure 4.4Block Transfer I/O Image for 32-Bit Reference and Datalinks
Word 01Reference (LSW)
Reference (MSW)
2
Datalink In A1 (LSW)
3
Datalink In A1 (MSW)
4
Datalink In A2 (LSW)
5
Datalink In A2 (MSW)
6
Datalink In B1 (LSW)
7
Datalink In B1 (MSW)
8
Datalink In B2 (LSW)
9
Datalink In B2 (MSW)
10
Datalink In C1 (LSW)
11
Datalink In C1 (MSW)
12
Datalink In C2 (LSW)
13
Datalink In C2 (MSW)
14
Datalink In D1 (LSW)
15
Datalink In D1 (MSW)
16
Datalink In D2 (LSW)
17
Datalink In D2 (MSW)
LSW = Least Significant Word (bits 0…15)
MSW = Most Significant Word (bits 16…31)
Feedback (LSW)
Feedback (MSW)
Datalink Out A1 (LSW)
Datalink Out A1 (MSW)
Datalink Out A2 (LSW)
Datalink Out A2 (MSW)
Datalink Out B1 (LSW)
Datalink Out B1 (MSW)
Datalink Out B2 (LSW)
Datalink Out B2 (MSW)
Datalink Out C1 (LSW)
Datalink Out C1 (MSW)
Datalink Out C2 (LSW)
Datalink Out C2 (MSW)
Datalink Out D1 (LSW)
Datalink Out D1 (MSW)
Datalink Out D2 (LSW)
Datalink Out D2 (MSW)
Block Transfer I/O requests must be eighteen (18) words or fewer. If a
Reference or Datalink In field is not configured to be used by the adapter,
any value placed in the field will be ignored by the adapter. If a Datalink
Out field is not configured to be used by the adapter, the value of that field is
undefined. The Feedback field will always contain the Feedback from the
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-8Using Discrete and Block Transfer I/O
drive. If a request has fewer than eighteen words, as much I/O data as will
fit in the request will be used.
Reference/Feedback in Block Transfer I/O Image
Word 0 and word 1 are reserved for the Reference/Feedback. The size of the
Reference (16-bits or 32-bits) is determined by the drive. If a 16-bit
Reference (Figure 4.3
as zero (0) during reads.
Important: If the adapter is configured as a 1/2 rack, it uses the Reference
from the Discrete I/O and ignores the Reference in the Block
Transfer I/O. Feedback is transmitted in both Discrete I/O and
Block Transfer I/O.
Datalinks in Block Transfer I/O Image
Words 2 through 17 are optionally enabled for Datalinks. A Datalink is a
mechanism used by PowerFlex drives to transfer data to and from the
controller. Datalinks let a drive parameter value to be read or written
without using an Explicit Message. When enabled, each Datalink occupies
four 16-bit words in both the input and output Block Transfer I/O image.
The size of Datalinks (16 bits or 32 bits) is determined by the drive. If 16-bit
Datalinks (Figure 4.3
is not used during writes and is read as zero (0) during reads.
) is used, word 1 is not used during writes and is read
) are used, the most significant word of each Datalink
Rules for Using Datalinks
• Each set of Datalink parameters in a PowerFlex drive can be used by
only one adapter. If more than one adapter is connected to a single drive,
multiple adapters cannot use the same Datalink.
• Parameter settings in the drive determine the data passed through the
Datalink mechanism. Note that some parameters may not be allowed as
Datalinks. See the documentation for your drive.
• When you use a Datalink to change a value, the value is not written to
the Nonvolatile Storage (NVS) memory. 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.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Discrete and Block Transfer I/O4-9
Datalink Scaling
PowerFlex 70/700/700H Drives and PowerFlex 700L Drives with 700 Control
Datalink scaling is not automatic and uses whole numbers (INTs or DINTs).
See the drive documentation to determine the unit resolution for the
associated parameter Datalink. For example, PowerFlex 700VC drive
parameter 3 - [Output Current] has a 0.1 unit resolution. Because Datalink
scaling uses whole numbers, the Output Current value is multiplied by 10 in
the adapter and then sent over the network. Suppose the actual Output
Current value is 35.5 amps. Reading the associated parameter Datalink
received by the controller, the value would be 355. By using ladder logic,
divide the value by 10 in the controller to get the correct scaling. See the
drive documentation to determine if the Datalink parameter is a 16-bit or
32-bit parameter.
PowerFlex 700S, PowerFlex 700L with 700S Control, PowerFlex 753/755, and
PowerFlex Digital DC Drives
Datalinks require scaling in the following way. Parameters are either 16-bit
or 32-bit integers or REALs. When the parameter is a 32-bit integer, the
data needs to be copied using a COP command to a DINT tag. (Because
PLC-5 and SLC 500 controllers do not support 32-bit integers, the data
must be separated into two 16-bit integers.) When the parameter is a REAL,
the data needs to be copied using a COP command to a REAL tag. See
subsequent sections in this chapter for ladder logic examples. See the drive
documentation to determine if the Datalink parameter is a 16-bit or 32-bit
integer parameter, or a REAL parameter.
Using 16-Bit Datalinks to Read/Write 32-Bit Parameters
This subsection only pertains to PowerFlex 70 (standard or enhanced
control), PowerFlex 700 (standard control), and PowerFlex 700H drives
which use 16-bit Datalinks. To read or write a 32-bit parameter using 16-bit
Datalinks, typically both Datalinks of a pair (A, B, C, D) are set to the same
32-bit parameter. For example, to read Parameter 10 - [Elapsed Run Time]
in a PowerFlex 70 drive, both Datalink A1 Out (Parameter 310) and
Datalink A2 Out (Parameter 311) are set to ‘10’. Datalink A1 Out will
contain the least significant word (LSW) and Datalink A2 Out will contain
the most significant word (MSW).
32-bit data is stored in binary as follows:
MSW231 through 2
LSW215 through 2
16
0
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-10Using Discrete and Block Transfer I/O
In this example, the Parameter 10 - [Elapsed Run Time] value of 6553.9 Hrs
is read as ‘6553.9’ in Datalink A1 Out (Parameter 310) and Datalink A2
Out (Parameter 311).
DatalinkWordParameterData (Hex)
A1 OutLSW100003
A2 OutMSW100001
Conversion Example:
Parameter 010 - [Elapsed Run Time] = 6553.9 Hrs
MSW = 0001
LSW = 0003
Engineering Value = 65536 + 3 = 65539
Parameter 10 Displayed Value = 6553.9 Hrs
Regardless of the Datalink combination, Datalink x1 Out will always
contain the LSW and Datalink x2 Out will always contain the MSW. In the
following example, the PowerFlex 70 drive parameter 242 - [Power Up
Marker] contains a value of 88.4541 hours.
DatalinkWordParameterData (Hex)
A2 OutMSW242000D
B1 OutLSW2427F3D
hex
hex
= 0001
=3
= 216 = 65536
binary
Conversion Example:
Parameter 242 - [Power Up Marker] = 88.4541 hours
MSW = 000D
LSW = 7F3D
Engineering Value = 851968 + 32573 = 884541
Parameter 242 Displayed Value = 88.4541 Hrs
hex
= 32573
hex
= 1101
= 219 + 218 + 216 = 851968
binary
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Discrete and Block Transfer I/O4-11
Example Ladder Logic
Program Information
The example ladder logic programs in the sections of this chapter are
intended for and operate PowerFlex 70 or PowerFlex 700 drives with the
20-COMM-R adapter in a 1/4 rack configuration.
Functions of the Example Programs
The example programs enable you to do the following:
• Receive Logic Status information from the drive.
• Send a Logic Command to control the drive (for example, start, stop).
• Send a Reference to the drive and receive Feedback from the drive by
Block Transfer I/O.
• Send/receive Datalink data to/from the drive by Block Transfer I/O.
• Access the drive using Block Transfer Messaging (see Chapter 5
Block Transfer Messaging).
Adapter Settings for the Example Programs
, Using
All adapter hardware switches have been disabled and the following
parameters have been set:
• Parameter 3 - [RIO Addr Cfg] = 1
• Parameter 12 - [DPI I/O Config] = xxx0 0011
(Logic Command/Reference and Datalink A are enabled)
• Parameter 25 - [Start RIO Group] = Group 0
• Parameter 27 - [Rack Size] = 1/4 rack
Scanner Settings for the Example Programs
Data files, when used, are pointed out in the examples.
Logic Command/Status Words
These examples use the Logic Command word and Logic Status word for
PowerFlex 70/700 drives. See Appendix
the bits in these words can vary if you are using a different DPI drive. See
the documentation for your drive.
D to view details. The definition of
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-12Using Discrete and Block Transfer I/O
Get the drive's logic status, feedback, and datalink outputs. See Figure 4.6 for ControlLogix Block Transfer I/O Read.
0
Jump To Subroutine
Routine Name BT_IO_Read
JSR
1
This subroutine contains the user's control logic. See Figure 4.7 for ControlLogix I/O User Logic.
2
Jump To Subroutine
Routine Name IO_UserLogic
JSR
3
Send the logic command, reference, and datalink inputs to the drive. See Figure 4.8 for ControlLogix Block Transfer I/O Write.
Jump To Subroutine
Routine Name BT_IO_Write
JSR
Perform messaging requests to the drive or peripherals. See Figure 5.3 for ControlLogix Block Transfer Messaging.
Jump To Subroutine
Routine Name BT_Messaging
JSR
(End)
ControlLogix Controller
Example
Figure 4.5ControlLogix Example Ladder Logic for Main Routine
Figure 4.6ControlLogix Example Ladder Logic for Block Transfer I/O Read
Fetch the drive's Feedback and Datalink outputs and place in an array of 18 16-bit words.
IOBlockTransferRead.en
0
1
2
/
Read the drive's Feedback word and place in Feedback tag.
Read Datalink A outputs from the drive and place in respective tags. Add similar rungs to use Datalinks B, C, and D.
Type - Block Transfer Read
Message ControlIOBlockTransferRead
Copy File
Source Dr iveLogicCommand
Dest The20CommR:O.Data[1]
Length1
Tag NameType
DriveLogicStatusINT
DriveCommandStartBOOL
DriveCommandStopBOOL
DriveCommandJogBOOL
DriveStatusActiveBOOL
DriveStatusFaultedBOOL
DriveStatusAtSpeedBOOL
DriveLogicCommandINT
COP
DriveStatusActive
DriveStatusFaulted
DriveStatusAtSpeed
DriveLogicCommand.1
DriveLogicCommand.0
DriveLogicCommand.2
DriveLogicCommand.3
COP
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-14Using Discrete and Block Transfer I/O
Place the desired Reference in the block transfer output structure.
0
Copy File
SourceDriveReference
Dest DriveBTOutputImage[0]
Length1
COP
Place the desired Datalink A input values into the block transfer output structure. Add similar rungs to use Datalinks B, C, and D.
1
Copy File
SourceDriveDatalinkA1In
Dest DriveBTOutputImage[2]
Length1
COP
2
Copy File
SourceDriveDatalinkA2In
Dest DriveBTOutputImage[4]
Length1
COP
3
Send the desired Reference and Datalink inputs to the drive.
/
IOBlockTransferWrite.EN
EN
DN
ER
Type - Block Transfer Write
Message ControlIOBlockTransferWrite
...
MSG
(End)
Figure 4.8ControlLogix Example Ladder Logic for Block Transfer I/O Write
Tag NameType
DriveReferenceINT
DriveBTOutputImageINT[18]
DriveDatalinA1InINT
DriveDatalinkA2InINT
DriveLogicCommandINT
The20CommR:OAB:RIO_4IOGROUP:O:0
IOBlockTransferWriteMESSAGE
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
See Figure 4.3 for the Block Transfer I/O image.
Using Discrete and Block Transfer I/O4-15
PLC-5 Controller Example
Figure 4.9PLC-5 Example Ladder Logic for Main Routine
This rung handles the logic needed to stop the drive upon the user's command. As shown, the user STOP input must be a normally closed pushbutton.
If the drive is running, pressing the STOP button will seal the stop command bit until the drive comes to a complete stop.
User
STOP
Input
0000
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
N7:0
0
Drive
RUNNI NG
Status
This rung allows the user to start the drive. Note that the drive may not start if the user briefly taps the button.
User
START
Input
N7:0
1
This rung allows the user to Jog the drive.
User
JOG
Input
N7:0
2
This rung allows the user to clear any faults present in the drive.
User
CLEAR FAULTS
Input
This rung moves the Reference from the User Operator Station to the Block Transfer Write file where it is moved to the drive by Block Transfer.
This rung moves the READY status bit from the drive to the user display.
Drive
READY
Status
I:011
This rung moves the RUNNING status bit from the drive to the user display.
Drive
RUNNI NG
Status
I:011
This rung moves the AT SPEED status bit from the drive to the user display.
Drive
AT SPEED
Status
I:011
This rung moves the drive Feedback word from the Block Transfer Read file to the User Operator Station.
This rung executes the file containing the I/O Block Transfer logic. See Figure 4.10, PLC Block Transfer I/O Read/Write.
This rung executes the file containing the Messaging Block Transfer logic. See Figure 5.4, PLC Block Transfer Messaging.
N7:0
0
1
10
I:011
3
Drive
STOP
Command
O:011
1
0
Drive
STOP
Command
Drive
START
Command
Drive
JOG
Command
Drive
CLEAR FAULTS
Command
O:011
3
MOV
MOV
Move
SourceN7:1
10000<
DestN10:0
10000<
User
DRIVE READY
Status
N7:10
0
User
DRIVE RUNNING
Status
N7:10
1
User
DRIVE AT SPEED
Status
N7:10
2
MOV
MOV
Move
SourceN11:0
0<
DestN7:11
0<
JSR
JSR
Jump To Subroutine
Prog File NumberU:3
JSR
JSR
Jump To Subroutine
Prog File NumberU:5
O:011
O:011
O:011
END
0
1
2
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-16Using Discrete and Block Transfer I/O
Figure 4.10 PLC-5 Example Ladder Logic for Block Transfer I/O (Read/Write)
This run executes an I/O BTR to move status information from the 20-COMM-R to the PLC. Note that this is the minimum logic needed -- a more complex system
may require additional sequencing logic.
BT9:0
0000
EN
This run executes an I/O BTW to move status information from the PLC to the 20-COMM-R. Note that this is the minimum logic needed -- a more complex system
may require additional sequencing logic.
BTR
Block Transfer Read
Module Type Generic Block Transfer
Rack001
Group0
Module0
Control BlockBT9:0
Data FileN11:0
Length18
ContinuousNo
BTW
BTW
Block Transfer Write
Module Type Generic Block Transfer
Rack001
Group0
Module0
Control BlockBT9:1
Data FileN10:0
Length18
ContinuousNo
See Figure 4.3 for the Block Transfer I/O image.
EN
DN
ER
EN
DN
ER
END
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Discrete and Block Transfer I/O4-17
SLC 500 Controller
Examples
Examples in this section are provided for SLC 500 Series C controllers with
firmware revision 3.xx and higher, and for SLC 500 controllers all versions.
Series C Controller with Firmware Revision 3.xx and Higher
In a series C, firmware revision 3.xx and higher SLC processor, Block
Transfer Read (BTR) and Block Transfer Write (BTW) instructions can be
used. When the length of the Block Transfer is 18 words or less, the
20-COMM-R adapter knows the Block Transfer is for I/O and not for an
explicit message Block Transfer (Chapter 5). Block Transfer setup is the
same for a 1/4 rack or 1/2 rack configuration. This example is for Rack 1,
Group 4 (the upper half rack).
Block Transfer Read Example
The following data is used for this example.
• Rack 1
• Group 4 (upper half rack)
• Slot 0 (always 0)
• Control Block N9:0 (user defined)
• Data File N21:0 (user defined)
• Buffer File M1:x.100 (Block Transfer Reads always start with M1,
where x is the slot in which the 1747-SN scanner card is in. In this
example, the 1747-SN card is in slot 2.)
• Requested Word Count is 18 or less (see See Figure 4.1 on page 4-2
See Figure 4.2 on page 4-3
• Transmitter Word Count (always 0)
• Control Block Length (always 3)
)
or
Important: Each Block Transfer needs to be offset by 100 (M1:x.100) and
the default is 3300 words, so you can perform up to 33 Block
Transfers. See the advanced configuration for your 1747-SN
scanner card under channel configuration.
Figure 4.11 SLC 500 Series C, FRN 3.xx and Higher, Example Ladder Logic for
Block Transfer Read
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-18Using Discrete and Block Transfer I/O
Block Transfer Write Example
The following data is used for this example.
• Rack 1
• Group 4 (upper half rack)
• Slot 0 (always 0)
• Control Block N10:0 (user defined)
• Data File N22:0 (user defined)
• Buffer File M0:x.200 (Block Transfer Writes always start with M0,
where x is the slot in which the 1747-SN scanner card is in. In this
example, the 1747-SN card is in slot 2.)
• Requested Word Count is 18 or less (see See Figure 4.1 on page 4-2
See Figure 4.2 on page 4-3
• Transmitter Word Count (always 0)
• Control Block Length (always 3)
Important: Each Block Transfer needs to be offset by 100 (M0:x.200) and
the default is 3300 words, so you can perform up to 33 Block
Transfers. See the advanced configuration for your 1747-SN
scanner card under channel configuration.
)
or
Figure 4.12 SLC 500 Series C, FRN 3.xx and Higher, Example Ladder Logic for
Block Transfer Write
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Discrete and Block Transfer I/O4-19
All Controller Versions
The SLC RIO scanner performs Block Transfers through control/status
buffers that you allocate in the scanner’s M0 and M1 files. The first 10
words of each file are reserved for either control words (M0) or status words
(M1). Block Transfer Read/Write data starts in word 11. See the Remote
I/O 1747-SN Scanner User Manual, publication 1747-UM013, for more
information.
The following data is required for the example program.
AddressValue (decimal)Description
N10:118Block Transfer Write Length
N10:2100Rack 1, Group 0, Slot 0
N10:318Block Transfer Read Length
N10:4100Rack 1, Group 0, Slot 0
The length of ‘28’ words used in the COP instructions in the ladder
example, reflect the 10 reserved words plus 18 words of data.
Figure 4.13 SLC 500 Example Ladder Logic for Main Routine (I/O User Logic)
This rung handles the logic needed to stop the drive upon the user's command. As shown, the user STOP input must be a normally
closed pushbutton.
If the drive is running, pressing the STOP button will seal the stop command bit until the drive comes to a complete stop.
User
STOP
Input
0000
0001
0002
0003
N7:0
0
Drive
RUNNING
Status
I:1.9
1747-SN
This rung allows the user to start the drive. Note that the drive may not start if the user briefly taps the button.
User
START
Input
N7:0
1
This rung allows the user to Jog the drive.
User
JOG
Input
N7:0
2
This rung allows the user to clear any faults present in the drive.
User
CLEAR FAULTS
Input
N7:0
3
Drive
STOP
Command
O:1.9
1
1747-SN
0
Drive
STOP
Command
O:1.9
1747-SN
Drive
START
Command
O:1.9
1747-SN
Drive
JOG
Command
O:1.9
1747-SN
Drive
CLEAR FAULTS
Command
O:1.9
3
1747-SN
0
1
2
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-20Using Discrete and Block Transfer I/O
Figure 4.13 SLC 500 Example Ladder Logic for Main Routine (I/O User Logic) -
continued
This rung moves the Reference from the User Operator Station to the Block Transfer Write file where it is moved to the drive by Block Transfer.
MOV
0004
This rung moves the READY status bit from the drive to the user display.
MOV
Move
SourceN7:1
30000 <
DestN10:10
30000 <
Drive
READY
Status
0005
0006
0007
0008
0009
0010
I:1.9
0
1747-SN
This rung moves the RUNNING status bit from the drive to the user display.
Drive
RUNNING
Status
I:1.9
1
1747-SN
This rung moves the AT SPEED status bit from the drive to the user display.
Drive
AT SPEED
Status
I:1.9
8
1747-SN
This rung moves the drive Feedback word from the Block Transfer Read file to the Operator Station.
This rung executes the I/O BTW logic. See Figure 4.12, SLC Block Transfer I/O Write.
This rung executes the I/O BTR Logic. See Figure 4.13, SLC Block Transfer I/O Read.
User
DRIVE READY
Status
N7:10
0
User
DRIVE RUNNING
Status
N7:10
1
User
DRIVE AT SPEED
Status
N7:10
2
MOV
MOV
Move
SourceN11:110
30000 <
DestN7:11
30000 <
JSR
JSR
Jump To Subroutine
SBR File NumberU:3
JSR
JSR
Jump To Subroutine
SBR File NumberU:4
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
This rung executes the messaging Block Transfer logic. See Figure 5.5, SLC Block Transfer Messaging.
0011
0012
JSR
JSR
Jump To Subroutine
SBR File NumberU:5
END
Using Discrete and Block Transfer I/O4-21
This rung executes once each time the SLC is switched into RUN mode. It resets any BTW control bits that might be set in the RIO scanner.
0000
S:1
15
First Pass
MOV
Move
Source0
0<
DestN10:0
-32768 <
MOV
I/O BTW Control
COP
Copy File
Source#N10:0
Dest#M0:1.100
Length28
COP
This rung transfers the Block Transfer Write (BTW) status buffer from the RIO scanner to the memory in the SLC. When the BTW is
complete, the data in this file will indicate if the BTW was successful or not.
Figure 4.14 SLC 500 Example Ladder Logic for Block Transfer I/O Write
See Figure 4.3 for the Block Transfer I/O image.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
4-22Using Discrete and Block Transfer I/O
Figure 4.15 SLC 500 Example Ladder Logic for Block Transfer I/O Read
This rung executes once each time the SLC is switched into RUN mode. It resets any BTR control bits that might be set in the RIO
scanner.
First Pass
0000
0001
0002
0003
S:1
15
This rung transfers the Block Transfer Read (BTR) status buffer from the RIO scanner to the memory in the SLC. When the BTR is
complete, the data in this file will indicate if the BTR was successful or not. This file will also contain the I/O data from the drive.
N11:110 = Feedback
N11:112 = Datalink A1
N11:114 = Datalink A2
This rung enables the BTR on the first pass through the program and re-enables it each time the BTR is completed or errors.
I/O BTR DN (Done)
N11:100
13
First Pass
S:1
15
This rung transfers the BTR information to the RIO scanner for execution.
This chapter provides information and examples for using Block Transfer to
send Explicit Messages to control, configure, and monitor a PowerFlex
7-Class drive on a Remote I/O network.
TopicPage
About Block Transfer Messaging
Formatting Block Transfer Messages
Executing Block Transfers for Explicit Messages
Example Programs
ControlLogix Controller Example
PLC-5 Controller Example
SLC 500 Controller Examples
5-2
5-2
5-5
5-6
5-7
5-9
5-11
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 does not assume responsibility
or liability (to include intellectual property liability) for actual
use of the examples shown in this publication.
ATTENTION: Risk of equipment damage exists. If Block
Transfer is used to send Explicit Messages that are programmed
to write parameter data to Nonvolatile Storage (NVS) frequently,
the NVS will quickly exceed its life cycle and cause the drive to
malfunction. Do not create a program that frequently uses Block
Transfer to send Explicit Messages to write parameter data to
NVS. Datalinks do not write to NVS and should be used for
frequently changed parameters.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
5-2Using Block Transfer Messaging
Block Transfer Write
Block Transfer Read
About Block Transfer
Messaging
Formatting Block Transfer
Messages
Block Transfer messaging is used to transfer data to the drive. The size of
Block Transfer messages to the Remote I/O adapter determines their
purpose.
WordsTypeUsed ForSee
18 or fewerI/OReference/Feedback and DatalinksChapter
20, 30, or 60ExplicitConfiguring and monitoring dataThis chapter
OtherNot RecognizedDo not use or an error will occur.
Block Transfer I/O
For information about Block Transfer I/O messages, see Chapter 4, Using
Discrete and Block Transfer I/O.
One Block Transfer request is processed per Remote I/O rack scan, but
multiple requests to a rack can be initiated. You can use Block Transfer
Read messages to gather input and status data from the adapter and Block
Transfer Write messages to send output and configuration data to the
adapter and connected drive.
Using Block Transfer to Initiate Explicit Messages
Figure 5.1Explicit Message Format
4
—
Bit 150150
Word 0 0x00Length0x00Length
Word 1 DPI Port0x81Status TypeStatus Size
Word 2 0x00CIP ServiceStatus Information
Word 3 CIP ClassData or Padding
Word 4 CIP Instance
Word 5 CIP Attribute
Word 6 Data or Padding
…
(20 word BTW length)
(30 word BTW length)
(60 word BTW length)
Most Significant Byte = bits 15…8
Least Significant Byte = bits 7…0
See Block Transfer Write Structure to Send Block Transfer Messages on
page 5-3 for a description of each word in a Block Transfer Write used to
initiate Explicit Messages.
Word 19
- or Word 29
- or Word 59
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Block Transfer Messaging5-3
See Block Transfer Read Structure to Receive Block Transfer Messages on
page 5-4 for a description of each word in a Block Transfer Read used to
receive an Explicit Message response.
Block Transfer Write Structure to Send Block Transfer Messages
Data FieldDescription
Word 0Length
The least significant byte contains the length of the Explicit Message. The most
significant byte is always zero. This is the length of the actual message in bytes, not
the size of the BTW in words.
This length excludes the two bytes of word 0, but includes words 1 and 2, and all of
the data in the main body of the message to be sent. If using a scattered read or
write with class code 0x93, the length includes the zero(s) after the last parameter as
place holders. See pages C-9…C-14.
Word 10x81 and DPI Port
The least significant byte contains the value 0x81. The most significant byte is the
DPI port. For PowerFlex drives, you can access:
0 - Drive
1 - Device at Port 1 (HIM)
2 - Device at Port 2
3 - Device at Port 3
Word 2CIP Service
The least significant byte contains a CIP service. The most significant byte is always
zero (0). CIP services include the following:
0x0E - Get Attribute Single
0x10 - Set Attribute Single
Word 3CIP Class
See Appendix C
Word 4CIP Instance
See Appendix C
Word 5CIP Attribute
See Appendix C
Word 6…19
Word 6…29
Word 6…59
Data or Padding
Data required for the message. The message must be either 20 words, 30 words, or
60 words. If it is not, pad the message with zeros.
, CIP Objects for a list of classes.
, CIP Objects for an instances in each class.
, CIP Objects for a list of attributes in each class.
4 - Device at Port 4
5 - Device at Port 5 (adapter)
6 - Device at Port 6
0x4B - Get Attributes Scattered
0x4C - Set Attributes Scattered
20-COMM-R Remote Adapter I/O User Manual
Publication 20COMM-UM004D-EN-P
5-4Using Block Transfer Messaging
Block Transfer Read Structure to Receive Block Transfer Messages
Data FieldDescription
Word 0Length
The least significant byte contains the length of the actual Explicit Message in bytes.
The most significant byte is always zero.
Word 1Status Size and Status Type
If an error occurred during the Explicit Message, the least significant byte will contain
the size of the status information and the most significant byte will contain the type of
status (1 = DPI, 2 = CIP) information.
If the Explicit Message completed without an error occurring, both of these bytes will
have values of zero.
0x00
0x01
0x02
Word 2Status Information
The least significant byte will contain the status information:
CIP
0x00
0x0E
0x08
0x16
0x16
0x14
0x09
0x10
0x13
0x15
Word 3…19
Word 3…29
Word 3…59
Data or Padding
This is the Explicit Message response data.
Message successful
DPI error
CIP error
DPI
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
Message is successful.
Service is not supported.
Service is not valid.
Class is not supported.
Instance is not supported.
Attribute is not supported.
Data value is out of range for the attribute.
The object is not in a correct state for the service. For example,
certain attributes cannot be set while the drive is running.
Not enough data was provided for the message.
Too much data was provided for the message.
Router message error.
Resource unavailable.
Transport Error.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Block Transfer Messaging5-5
Events
Bit 8
Bit 9
Bit 10
0
1
0
1
0
1
Bit Status (0 = Off, 1 = On)
Bit 11
0
1
➊➋ ➌➍
Executing Block Transfers
for Explicit Messages
1.Enter data into the program.
Data must be entered into a data file for a program to run. The data file
that is used depends on your controller and application.
2.Run the program.
When executing a Block Transfer message, the program must monitor
the Block Transfer Status word (Word 0) in the Discrete I/O Image. Its
bits are defined as shown in the following table.
BitsName and Description
0…7Node Adapter Chip
These bits are used by the node adapter chip to communicate with the master on the
network. The master application should not use these bits.
8DATA_VALID
0 = Data from the drive is not valid.
1 = Data from the drive is valid.
9Message Block Transfer Write Available
0 = Not ready
1 = Ready to receive a Block Transfer write.
10Message Block Transfer Read Available
0 = Not ready
1 = Data is available for a Block Transfer read.
11Message Block Transfer Error
0 = Block Transfer message succeeded.
1 = Block Transfer message failed.
12…15 Reserved
Do not use.
Figure 5.2
Figure 5.2Block Transfer Timeline
illustrates the events of a successful Block Transfer.
20-COMM-R Remote Adapter I/O User Manual
Publication 20COMM-UM004D-EN-P
5-6Using Block Transfer Messaging
The following table describes the main events and what a program is
monitoring when performing Block Transfer messaging.
Item EventDescription
BTW RequestBefore initiating a Block Transfer message, bit 8 must be 1. This
➊
BTW Data at
➋
Adapter
BTW CompleteWhen the Block Transfer is complete, bit 9 and bit 10 are set to 1.
➌
BTR RequestBefore initiating a Block Transfer Read message, bit 10 must be set
➍
setting indicates that the adapter and drive are communicating, so
a Block Transfer message will reach the drive.
Before initiating a Block Transfer Write message, bit 9 must be 1.
This setting indicates that a Block Transfer Write can be executed.
Because only one Block Transfer message can be active at a time,
bit 9 is set to 0 when the Block Transfer Write begins. Bit 9 and bit
10 remain at zero while the Block Transfer is being processed.
This setting indicates that the program can perform either a Block
Transfer Read or a Block Transfer Write.
Bit 11 remains at 0 if messaging is successful. If an error occurs, it
would be set to 1.
to 1. This setting indicates that data is available to read. When the
message is executed, bit 9 and bit 10 are set to 0 because only
one Block Transfer can be active at a time.
Example Programs
3.Receive data from the program.
After the program with Block Transfer messages has been run, the
results can be seen in a data file. The data file that is used depends on
your controller and application.
The example ladder logic programs (Figure 5.3, Figure 5.4, and Figure 5.6)
can be used to demonstrate how Block Transfer can be used to send Explicit
Messages from a ControlLogix, PLC or SLC controller, respectively. With
these examples, Block Transfer messaging is used to read or write a
parameter value from a PowerFlex 70 drive at Rack 1, Group 0, Slot 0.
These example ladder programs are continuations of the Discrete and Block
Transfer I/O example ladder programs in Chapter
ladder logic in that chapter performs Jump to Subroutines (JSRs) to these
examples.
4. The ‘Main Routine’
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Block Transfer Messaging5-7
ControlLogix Controller
Example
Data Format for a Read and Write Parameter
The data in this example is for a PowerFlex 70 drive at Remote I/O rack.
The following set of arrays shows a read of drive parameter 1 - [Output
Freq]. The value of parameter 1 is 213 (21.3 Hz).
MsgBlockTransferWrite (Request Data) to Read Drive Parameter 1 (Hex)
Int AddressValue (hex)DescriptionSee Page
Offset 0000ALength of Message = 10 bytes (A hex)5-3
Offset 10081Required Setting5-3
Offset 2000EService = Get_Attribute_SingleC-1
Offset 30093Class = 93 DPI Parameter ObjectC-5
Offset 40001Instance = Parameter 1 (1 hex)C-5
Offset 50009Attribute = 09 DPI Parameter ValueC-6
MsgBlockTransferRead (Response Data) to Read Drive Parameter 1 (Hex)
Int AddressValue (hex)DescriptionSee Page
Offset 00004Length of Message = 4 bytes 5-4
Offset 10000
Offset 20000
Offset 300D5Response Data = 213 (D5 hex) = 21.3 Hz.n/a
The Message was Successful5-4
The following set of data files shows a write of drive parameter 41 [Motor
NP Volts]. The value written is 2300 (230.0V AC).
MsgBlockTransferWrite (Request Data) to Write to Drive Parameter 41 (Hex)
Int AddressValue (hex)DescriptionSee Page
Offset 0000CLength of Message = 12 bytes (C hex)5-3
Offset 10081Required Setting5-3
Offset 20010Service = Set_Attribute_SingleC-1
Offset 30093Class = 93 DPI Parameter ObjectC-5
Offset 40029Instance = Parameter 41 (29 hex)C-5
Offset 50009Attribute = 09 DPI Parameter ValueC-6
Offset 608FCData = 2300 (8FC hex) = 230.0V ACn/a
MsgBlockTransferRead (Response Data) to Write to Drive Parameter 41 (Hex)
Int AddressValue (hex)DescriptionSee Page
Offset 00002Length of Message = 2 bytes 5-4
Offset 10000
Offset 20000
See Formatting Block Transfer Messages on page 5-2 for more information
on block transfer messages.
Make a local copy of the block transfer status word to avoid it changing mid-scan.
1
SendMessageRequest
ONS
SendMessageRequestOneShot
L
PerformMessagingRequest
U
MessagingRequestError
When the user enables the SendMessageRequest tag, start the message logic.
2
PerformMessagingRequest
BlockTransferStatus.9/BlockTransferStatus.10
EN
DN
ER
Type - Block Transfer Write
Message ControlMsgBlockTransferWrite
...
MSG
When requested (and the 20-COMM-R is ready), send the messaging request to the drive.
3
PerformMessagingRequest
BlockTransferStatus.10
EN
DN
ER
Type - Block Transfer Read
Message ControlMsgBlockTransferRead
...
MSG
Pick up the messaging response from the drive.
4
PerformMessagingRequest MsgBlockTransferRead.DN
U
PerformMessagingRequest
Once the response is complete, end the messaging transaction.
5
PerformMessagingRequest BlockTransferStatus.11
L
MessagingRequestError
U
PerformMessagingRequest
If a messaging error occurs, end the transaction and indicate the error.
(End)
Ladder Logic Program
Figure 5.3ControlLogix Example Ladder Logic for Block Transfer Messaging
Tag NameType
SendMessageRequestBOOL
SendMessageRequestOneShotBOOL
PerformingMessagingRequestBOOL
MessagingRequestErrorBOOL
The20CommR:IAB:RIO_4IOGROUP:I:0
MsgBlockTransferWriteMESSAGE
MsgBlockTransferReadMESSAGE
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Block Transfer Messaging5-9
PLC-5 Controller Example
Block Transfer Data Files for PLC-5 Example Program
The following set of data files shows a read of drive parameter 1 - [Output
Freq]. The value of parameter 1 is 213 (21.3 Hz).
Request Data (BTW) to Read Drive Parameter 1 (Hex)
AddressValue (hex)DescriptionSee Page
N12:0000ALength of Message = 10 bytes (A hex)5-3
N12:10081Required Setting5-3
N12:2000EService = Get_Attribute_SingleC-1
N12:30093Class = 93 DPI Parameter ObjectC-5
N12:40001Instance = Parameter 1 (1 hex)C-5
N12:50009Attribute = 09 DPI Parameter ValueC-6
Response Data (BTR) to Read Drive Parameter 1 (Hex)
AddressValue (hex)DescriptionSee Page
N13:00004Length of Message = 4 bytes 5-4
N13:10000
N13:20000
N13:300D5Response Data = 213 (D5 hex) = 21.3 Hz.n/a
The following set of data files shows a write of drive parameter 41 - [Motor
NP Volts]. The value written is 2300 (230.0V AC).
The Message was Successful5-4
Request Data (BTW) to Write to Drive Parameter 41 (Hex)
AddressValue (hex)DescriptionSee Page
N12:0000CLength of Message = 12 bytes (C hex)5-3
N12:10081Required Setting5-3
N12:20010Service = Set_Attribute_SingleC-1
N12:30093Class = 93 DPI Parameter ObjectC-5
N12:40029Instance = Parameter 41 (29 hex)C-5
N12:50009Attribute = 09 DPI Parameter ValueC-6
N12:608FCData = 2300 (8FC hex) = 230.0V ACn/a
Response Data (BTR) to Write to Drive Parameter 41 (Hex)
AddressValue (hex)DescriptionSee Page
N13:00002Length of Message = 2 bytes 5-4
N13:10000
N13:20000
See Formatting Block Transfer Messages
on block transfer messages.
The Message was Successful5-4
on page 5-2 for more information
20-COMM-R Remote Adapter I/O User Manual
Publication 20COMM-UM004D-EN-P
5-10Using Block Transfer Messaging
The user initiates a messaging transaction by setting the User Execute Message Input bit true. This causes one messaging BTW to be sent to the 20-COMM-R.
0000
N7:2
0
User
EXECUTE MESSAGE
Input
ONS
B3:0
1
L
B3:0
0
Execute Message
This rung causes one messaging BTW to execute when the 20-COMM-R is ready to receive a Messaging BTW and the user has requested the BTW.
0001
B3:0
0
Execute Message
I:010
11
Messaging BT
BTW AVAILABLE
Status
I:010
12
Messaging BT
BTR AVAILABLE
Status
EN
DN
ER
BTW
Block Transfer Write
Module Type Generic Block Transfer
Rack001
Group0
Module0
Control BlockBT9:2
Data FileN12:0
Length20
ContinuousNo
BTW
U
B3:0
0
Execute Message
This rung will wait until a BTR is available from the 20-COMM-R module and then execute a BTR.
0002
I:010
12
Messaging BT
BTR AVAILABLE
Status
EN
DN
ER
BTR
Block Transfer Read
Module Type Generic Block Transfer
Rack001
Group0
Module0
Control BlockBT9:3
Data FileN13:0
Length20
ContinuousNo
BTR
0003
END
Ladder Logic Program
Figure 5.4PLC-5 Example Ladder Logic for Block Transfer Messaging
The word length used in the BTW and BTR must be equal to 20, 30, or 60.
It must also be greater than or equal to the byte length used in Word 0 of the
message, converted to words (1 word = 2 bytes).
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Block Transfer Messaging5-11
SLC 500 Controller
Examples
Examples in this section are provided for SLC 500 Series C controllers with
firmware revision 3.xx and higher, and for SLC 500 controllers all versions.
Block Transfer Data Files for Example Program—Series C Controller
with Firmware Revision 3.xx and Higher
In a series C, firmware revision 3.xx and higher SLC processor, Block
Transfer Read (BTR) and Block Transfer Write (BTW) instructions can be
used. When the length of the Block Transfer is 20 words or higher, the
20-COMM-R adapter knows the Block Transfer is for explicit messages and
not for I/O Block Transfer (Chapter 4). Block Transfer setup is the same for
a 1/4 rack or 1/2 rack configuration. This example is for Rack 1, Group 4
(the upper half rack).
The following set of data files shows a read of drive parameter 1 - [Output
Freq]. The value of parameter 1 is 213 (21.3 Hz).
Request and Control Data to Read Drive Parameter 1 (Hex)
AddressValue (hex)DescriptionSee Page
N12:0000ALength of Message = 10 bytes (A hex)5-3
N12:10081Required Setting5-3
N12:2000EService = Get_Attribute_SingleC-1
N12:30093Class = 93 DPI Parameter ObjectC-5
N12:40001Instance = Parameter 1 (1 hex)C-5
N12:50009Attribute = 09 DPI Parameter ValueC-6
Response and Control Data to Read Drive Parameter 1 (Hex)
AddressValue (hex)DescriptionSee Page
N13:00004Length of Message = 4 bytes 5-4
N13:10000
N13:20000
N13:300D5Response Data = 213 (D5 hex) = 21.3 Hz.n/a
The following set of data files shows a write of drive parameter 41 - [Motor
NP Volts]. The value written is 2300 (230.0V AC).
Request and Control Data to Write to Drive Parameter 41 (Hex)
AddressValue (hex)DescriptionSee Page
N12:0000CLength of Message = 12 bytes (C hex)5-3
N12:10081Required Setting5-3
N12:20010Service = Set_Attribute_SingleC-1
N12:30093Class = 93 DPI Parameter ObjectC-5
N12:40029Instance = Parameter 41 (29 hex)C-5
N12:50009Attribute = 09 DPI Parameter ValueC-6
N12:608FCData = 2300 (8FC hex) = 230.0V ACn/a
The Message was Successful5-4
20-COMM-R Remote Adapter I/O User Manual
Publication 20COMM-UM004D-EN-P
5-12Using Block Transfer Messaging
Response and Control Data to Write to Drive Parameter 41 (Hex)
AddressValue (hex)DescriptionSee Page
N13:00002Length of Message = 2 bytes 5-4
N13:10000
N13:20000
Figure 5.5SLC 500 Series C, FRN 3.xx and Higher, Example Ladder Logic for
Block Transfer Read and Block Transfer Write
The Message was Successful5-4
The following data is used for this example.
• Rack 1
• Group 4 (upper half rack)
• Slot 0 (always 0)
• Control Block N9:0 and N10:0 (user defined)
• Data File N12:0 and N13:0 (user defined)
• Buffer File M0:x.100 and M1:x.200 (Block Transfer Writes always with
start M0 and Block Transfer Reads always start with M1, where x is the
slot in which the 1747-SN scanner card is in. In this example, the
1747-SN card is in slot 2.)
• Requested Word Count is 20, 40, or 60
• Transmitter Word Count (always 0)
• Control Block Length (always 3)
Important: Each Block Transfer needs to be offset by 100 (M1:x.100) and
the default is 3300 words, so you can perform up to 33 Block
Transfers. See the advanced configuration for your 1747-SN
scanner card under channel configuration.
The Block Transfer Write is transmitted first, and then the
Block Transfer Read is executed. (The BTW requests the data,
and the BTR reads back the data requested.)
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Block Transfer Messaging5-13
Block Transfer Data Files for Example Program—All SLC Versions
The following set of data files shows a read of drive parameter 1 - [Output
Freq]. The value of parameter 1 is 213 (21.3 Hz).
Request and Control Data to Read Drive Parameter 1 (Hex)
AddressValue (hex)DescriptionSee Page
N12:10000ALength of Message = 10 bytes (A hex)5-3
N12:110081Required Setting5-3
N12:12000EService = Get_Attribute_SingleC-1
N12:130093Class = 93 DPI Parameter ObjectC-5
N12:140001Instance = Parameter 1 (1 hex)C-5
N12:150009Attribute = 09 DPI Parameter ValueC-6
Response and Control Data to Read Drive Parameter 1 (Hex)
AddressValue (hex)DescriptionSee Page
N13:1100004Length of Message = 4 bytes 5-4
N13:1110000
N13:1120000
N13:11300D5Response Data = 213 (D5 hex) = 21.3 Hz.n/a
The following set of data files shows a write of drive parameter 41 - [Motor
NP Volts]. The value written is 2300 (230.0V AC).
The Message was Successful5-4
Request and Control Data to Write to Drive Parameter 41 (Hex)
AddressValue (hex)DescriptionSee Page
N12:10000CLength of Message = 12 bytes (C hex)5-3
N12:110081Required Setting5-3
N12:120010Service = Set_Attribute_SingleC-1
N12:130093Class = 93 DPI Parameter ObjectC-5
N12:140029Instance = Parameter 41 (29 hex)C-5
N12:150009Attribute = 09 DPI Parameter ValueC-6
N12:1608FCData = 2300 (8FC hex) = 230.0V ACn/a
Response and Control Data to Write to Drive Parameter 41 (Hex)
AddressValue (hex)DescriptionSee Page
N13:1100002Length of Message = 2 bytes 5-4
N13:1110000
N13:1120000
The Message was Successful5-4
20-COMM-R Remote Adapter I/O User Manual
Publication 20COMM-UM004D-EN-P
5-14Using Block Transfer Messaging
This rung executes once each time the SLC is switched into RUN mode. It resets any BTW control bits that might be set in the RIO
scanner.
0000
S:1
15
First Pass
MOV
Move
Source0
0<
DestN12:0
0<
MOV
COP
Copy File
Source#N12:0
Dest#M0:1.300
Length74
COP
This rung transfers the Block Transfer Write (BTW) status buffer from the RIO scanner to the memory in the SLC. When the BTW is
complete, the data in this file will indicate if the BTW was successful or not.
This rung enables a single BTW and then turns off the Message ENABLE bit.
0003
B3:0
0
Message
ENABLE
Bit
I:1.8
9
1747-SN
Message
BT Write
Available
I:1.8
10
1747-SN
Message
BT Read
Available
L
N12:0
15
Message BTW
BT EN (Enable)
U
B3:0
0
Message
ENABLE
Bit
This rung transfers the BTW information to the RIO scanner for execution.
0004
COP
Copy File
Source#N12:0
Dest#M0:1.300
Length74
COP
Block Transfers are handled differently in the SLC 500 controller and
require the following data for the example program.
AddressValue (decimal)Description
N12:120Block Transfer Write Length
N12:2100Rack 1, Group 0, Slot 0
N13:120Block Transfer Read Length
N13:2100Rack 1, Group 0, Slot 0
See Formatting Block Transfer Messages
on block transfer messages.
Ladder Logic Program
Figure 5.6SLC 500 Example Ladder Logic for Block Transfer Messaging
on page 5-2 for more information
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Using Block Transfer Messaging5-15
Figure 5.6SLC 500 Example Ladder Logic for Block Transfer Messaging - continued
This rung executes once each time the SLC is switched into RUN mode. It resets any BTR control bits that might be set in the RIO scanner.
First Pass
0005
0006
0007
0008
0009
S:1
15
This rung transfers the Block Transfer Read (BTR) status buffer from the RIO scanner to the memory in the SLC. When the BTR is complete,
the data in this file will indicate if the BTR was successful or not. This file will also contain the response to the previous BTW message.
This rung will wait until a BTR is available from the 20-COMM-R module and then execute a BTR.
Message
BT Read
Available
I:1.8
10
1747-SN
When the BTR is completed, this rung will disable the BTR.
Message BTR
BT DN (Done)
N13:100
13
This rung transfers the BTR information to the RIO scanner for execution.
This chapter provides information for diagnosing and troubleshooting
potential problems with the adapter and network.
TopicPage
Understanding the Status Indicators
PORT Status Indicator
MOD Status Indicator
NET A Status Indicator
Viewing Adapter Diagnostic Items
Viewing and Clearing Events
6-1
6-2
6-2
6-3
6-3
6-5
Understanding the Status
Indicators
The adapter has three status indicators. They can be viewed on the adapter
or through the drive cover.
➊
➋
➌
➍
➊
➋
➌
ItemStatus IndicatorDescriptionPage
PORTDPI Connection Status6-2
➊
MODAdapter Status6-2
➋
NET ARemote I/O Status6-3
➌
NET B (only on drive cover)Not used for Remote I/O—
➍
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
6-2Troubleshooting
PORT Status Indicator
StatusCauseCorrective Action
OffThe adapter is not powered or is not properly
connected to the drive.
Flashing RedThe adapter is not receiving a ping message from the
Steady RedThe drive has refused an I/O connection from the
Steady
Orange
Flashing
Green
Steady GreenThe adapter is properly connected and is
drive.
adapter.
Another DPI peripheral is using the same DPI port as
the adapter.
The adapter is connected to a product that does not
support Allen-Bradley DPI communications.
The adapter is establishing an I/O connection to the
drive.
communicating with the drive.
This red/green bicolor LED indicates the status of the adapter’s connection
to the drive as shown in the table below.
• Securely connect the adapter to the drive using the Internal
Interface (ribbon) cable.
• Apply power to the drive.
• Verify that cables are securely connected and not damaged.
Replace cables if necessary.
• Cycle power to the drive.
Important: Cycle power to the drive after making any of the
following corrections:
• Verify that all DPI cables on the drive are securely connected
and not damaged. Replace cables if necessary.
• Verify that the DPI drive supports Datalinks.
• Configure the adapter to use a Datalink that is not already
being used by another peripheral.
Connect the adapter to a product that supports Allen-Bradley
DPI communications (for example, a PowerFlex 7-Class drive).
• No action required. Normal behavior if no DPI I/O is enabled.
This status indicator will turn steady green or red.
• Ver ify Parameter 12 - [DPI I/O Cfg] settings.
No action required.
MOD Status Indicator
StatusCauseCorrective Action
OffThe adapter is not powered or is not properly
Flashing RedThe adapter has failed the firmware test or the Rack
Steady RedThe adapter has failed the hardware test.• Cycle power to the drive.
Flashing
Green
Steady GreenThe adapter is operational and transferring I/O data.No action required.
connected to the drive.
Address Rotary Switch setting is invalid.
The adapter firmware is being updated.
The adapter is operational, but is not transferring
I/O data.
This red/green bicolor LED indicates the status of the adapter as shown in
the table below.
• Securely connect the adapter to the drive using the Internal
Interface (ribbon) cable.
• Apply power to the drive.
• Verify that the Rack Address Rotary Switch setting is
between 0 and 77 octal or, if all hardware switches are
disabled, Parameter 3 - [RIO Addr Cfg] is between 0 and 63
decimal.
• Clear faults in the adapter.
• Cycle power to the drive.
• If cycling power does not correct the problem, the adapter
parameter settings may have been corrupted. Reset defaults
and reconfigure the adapter.
• If resetting defaults does not correct the problem, update the
adapter with the latest firmware revision.
• Replace the adapter.
• Place the scanner in RUN mode.
• Program the controller to recognize and transmit I/O to the
adapter.
• Configure the adapter for the program in the controller.
• Normal behavior if no DPI I/O is enabled.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Troubleshooting6-3
Main Menu:
Diagnostics
Parameter
Device Select
Device Item #3
Reference
NET A Status Indicator
StatusCauseCorrective Actions
OffThe adapter is not powered or is not properly
connected to the network.
Flashing Green The adapter is properly connected but is not
transferring I/O over the network.
Steady GreenThe adapter is properly connected and is
communicating with the scanner on the network.
Viewing Adapter Diagnostic
Items
This red/green bicolor LED indicates the status for the Remote I/O network
connection as shown in the table below.
• Securely connect the adapter to the drive using the Internal
Interface (ribbon) cable and to the network using a Remote I/O
cable.
• Correctly connect the Remote I/O network cable to the 3-pin
Remote I/O plug.
• Configure the adapter to use the baud rate at which the
network is operating.
• Configure the adapter to use a unique rack address on the
Remote I/O network.
• Apply power to the drive and network.
• Apply power to the controller.
• Verify that the scanner is in Run mode.
• Verify that the scanner is using the correct rack size for the
adapter.
• Verify that the adapter is configured for the correct rack size.
No action required.
If you encounter unexpected communications problems, the adapter’s
diagnostic items may help you or Rockwell Automation personnel
troubleshoot the problem. Adapter diagnostic items can be viewed with any
of these drive configuration tools:
• LCD PowerFlex 7-Class HIM (Diagnostics/Device Items)
• Connected Components Workbench software, version 1.02 or later
• DriveExplorer software, version 2.01 or later
• DriveExecutive software, version 3.01 or later
Using the HIM to View Adapter Diagnostic Items
StepExample Screen
1. Access parameters in the adapter.
See Using the PowerFlex 7-Class HIM to Access Parameters
page 3-2.
2. Press the or key to scroll to Diagnostics.
3. Press the (Enter) key to display the Diagnostics menu in
the adapter.
4. Repeat steps 2 and 3 to enter the Device Items option.
5. Press the or key to scroll through the items.
on
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
6-4Troubleshooting
Bit 0DIP SW1 state0 = open (off), 1 = closed (on)
Bit 1DIP SW2 state0 = open (off), 1 = closed (on)
Bit 2DIP SW3 state0 = open (off), 1 = closed (on)
Bit 3DIP SW4 state0 = open (off), 1 = closed (on)
Bit 4DIP SW5 state0 = open (off), 1 = closed (on)
Bit 5DIP SW6 state0 = open (off; always 0 because SW6 is not connected)
Bit 6DIP SW7 state0 = open (off), 1 = closed (on)
Bit 7DIP SW8 state0 = open (off), 1 = closed (on)
Table 6.A Adapter Diagnostic Items
No.NameDescription
1Common Logic CmdThe present value of the Common Logic Command being transmitted to the drive by this adapter.
2Prod Logic CmdThe present value of the Product Logic Command being transmitted to the drive by this adapter from
3ReferenceThe present value of the Reference being transmitted to the drive by this adapter. Note that a 16-bit
4Common Logic StsThe present value of the Common Logic Status being received from the drive by this adapter.
5Prod Logic StsThe present value of the Product Logic Status being received from the drive by this adapter from the
6FeedbackThe present value of the Feedback being received from the drive by this adapter. Note that a 16-bit
7Datalink A1 InThe present value of respective Datalink In being transmitted to the drive by this adapter. (If not using
8Datalink A2 In
9Datalink B1 In
10Datalink B2 In
11Datalink C1 In
12Datalink C2 In
13Datalink D1 In
14Datalink D2 In
15Datalink A1 OutThe present value of respective Datalink Out being received from the drive by this adapter. (If the
16Datalink A2 Out
17Datalink B1 Out
18Datalink B2 Out
19Datalink C1 Out
20Datalink C2 Out
21Datalink D1 Out
22Datalink D2 Out
23Field Flash CntThe present value of the Field Flash Counter.
24DPI Rx ErrorsThe present value of the DPI CAN Receive error counter register.
25DPI Tx ErrorsThe present value of the DPI CAN Transmit error counter register.
26-27 Reserved—
28DPI Switch 0The present states of all Configuration DIP Switches:
If this diagnostic item is any value other than 1, the values of items 7 through 14 (Datalink A1 In
through Datalink D2 In) are not actually being transferred to the drive.
the controller.
value will be sent as the Most Significant Word of the 32-bit field.
controller.
value will be sent as the Most Significant Word of the 32-bit field.
a Datalink, this parameter should have a value of zero.)
drive indicates a 16-bit datalink size, the value appears in the least significant 16 bits of this
diagnostic item, and the most significant 16 bits of this diagnostic item are zero.)
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
29Rack Address Switch The present setting (as a decimal value) of the Rack Address Rotary Switches.
Configuration DIP Switch changes do not take effect until the next time the adapter is reset.
Troubleshooting6-5
Main Menu:
Diagnostics
Parameter
Device Select
Event Q:1E3
Ping Time Flt
Dgn: Events
View Event Queue
Clear Event
Clr Event Queue
Viewing and Clearing
Events
The adapter has an event queue to record significant events that occur in the
operation of the adapter. When such an event occurs, an entry is put into the
event queue. You can view the event queue with any of these drive
configuration tools:
• LCD PowerFlex 7-Class HIM
• Connected Components Workbench software, version 1.02 or later
• DriveExplorer software, version 2.01 or later
• DriveExecutive software, version 1.01 or later
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.
Resetting the adapter to defaults has no effect on the event queue.
Using the HIM to View and Clear Events
StepExample Screen
Viewing Events
1. Access parameters in the adapter.
See Using the PowerFlex 7-Class HIM to Access Parameters
page 3-2.
2. Press the or key to scroll to Diagnostics.
3. Press the (Enter) key to display the Diagnostics menu in the
adapter.
4. Repeat steps 2 and 3 to enter the Events option and then View
Event Queue option.
5. Press the or key to scroll through events.
The most recent event is Event 1.
Clearing Events
1. Access parameters in the adapter.
See Using the PowerFlex 7-Class HIM to Access Parameters on
page 3-2.
2. Press the or key to scroll to Diagnostics.
3. Press the (Enter) key to display the Diagnostics menu in the
adapter.
4. Repeat steps 2 and 3 to enter the Events option and then the
Clear Event option or Clr Event Queue option.
A message will pop up to confirm that you want to clear the
message or queue.
5. Press the (Enter) key to confirm your request.
If Clr Event Queue was selected, all event queue entries will then
display ‘No Event’.
on
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
6-6Troubleshooting
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 6.B Adapter Events
CodeEventDescription
1No EventEmpty event queue entry.
2DPI Bus Off FltA bus-off condition was detected on DPI. This event may be caused by loose or broken cables or by noise.
3Ping Time FltA ping message was not received on DPI within the specified time.
4Port ID FltThe adapter is not connected to a correct por t on a DPI product.
5Port Change FltThe DPI port changed after start up.
6Host Sent ResetThe drive sent a reset event message.
7EEPROM Sum FltThe EEPROM in the adapter is corrupt.
8Online @ 125kbpsThe adapter detected that the drive is communicating at 125 kbps.
9Online @ 500kbpsThe adapter detected that the drive is communicating at 500 kbps.
10Bad Host FltThe adapter was connected to an incompatible product.
11Dup Port FltAnother peripheral with the same port number is already in use.
12Type 0 LoginThe adapter has logged in for Type 0 control.
13Type 0 Time FltThe adapter has not received a Type 0 status message within the specified time.
14DL LoginThe adapter has logged into a Datalink.
15DL Reject FltThe drive rejected an attempt to log in to a Datalink because the Datalink is not suppor ted or is used by
16DL Time FltThe adapter has not received a Datalink message within the specified time.
17Control DisabledThe adapter has sent a ‘Soft Control Disable’ command to the drive.
18Control EnabledThe adapter has sent a ‘Soft Control Enable’ command to the drive.
19Reserved—
20Normal StartupThe adapter successfully started up.
21Message TimeoutA Client-Server message sent by the adapter was not completed within 1 sec.
22DPI Fault MsgThe DPI Host drive has faulted.
23-27Reserved—
28DPI Fault ClearThe drive issued this because a fault was cleared.
29Reserved—
30NET Comm FltThe adapter detected a communications fault on the network.
31NET Sent ResetThe controller issued a reset command to the adapter.
32NET Idle FltThe adapter detected an ‘idle’ condition on the network.
33NET Timeout FltThe adapter detected a timeout on the network.
34Flt Cfg ErrorOne of the Flt Cfg xx parameters is set to a value greater than 65535 and the drive requires a 16-bit value.
35Reserved—
36Manual ResetThe adapter was reset by changing its Reset Module parameter.
37Language CRC BadThe language text memory segment is corrupt.
another peripheral.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Specifications
This appendix presents the specifications for the adapter.
TopicPage
Communications
Electrical
Mechanical
Environmental
Regulatory Compliance
A-1
A-1
A-1
A-1
A-2
Appendix A
Communications
Electrical
Mechanical
Network
Protocol
Network Baud Rate
Drive
Protocol
Data Rates
Consumption
Drive
Network
Dimensions
Height
Length
Width
Weight85 g (3 oz.)
Remote I/O
57.6 Kbps, 115.2 Kbps, or 230.4 Kbps
Available baud rates depend on the length of the Remote I/O
cable. See Selecting Remote I/O Cables
information.
DPI
125 Kbps or 500 Kbps
250 mA at 5V DC supplied by the host drive
None
19 mm (0.75 inches)
86 mm (3.39 inches)
78.5 mm (3.09 inches)
on page 2-1 for more
Environmental
Temperature
Operating
Storage
Relative Humidity5…95% non-condensing
AtmosphereImportant: The adapter must not be installed in an area where
-10…50 °C (14…122 °F)
-40…85 °C (-40…185 °F)
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.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
A-2Specifications
Regulatory Compliance
CertificationSpecification
ULUL508C
cULCAN / CSA C22.2 No. 14-M91
(1)
CE
CTickEN61800-3
(1)
The PowerFlex 70 drive passes Second Environment/Industrial. If First Environment/Restricted is needed for
radiated emissions, then a ferrite core (Fair-Rite part number 2643102002 or equivalent) must be added to the
Remote I/O cable. The PowerFlex 700 drive passes First and Second Environment without the ferrite core.
NOTE: This is a product of category C3 according to IEC 61800-3. It is not
intended for operation in a domestic environment.
EN50178 and EN61800-3
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Parameter List
Appendix B
Adapter Parameters
This appendix provides information about the adapter parameters. For
configuration tools to monitor or change parameter values of the drive,
adapter, and other connected peripherals, see Configuration Tools
page 3-1.
Parameter
No. Name and DescriptionDetails
01[DPI Port]
Displays the port to which the adapter is
connected. This will usually be port 5.
02[DPI Data Rate]
Displays the data rate used by the drive. This data
rate is set in the drive and the adapter detects it.
03[RIO Addr Cfg]
Sets the Remote I/O rack address (displayed as a
decimal value) used by the adapter if the hardware
switches have been disabled. All hardware
switches are disabled by setting Configuration DIP
Switches SW7 and SW8 both to ‘On’. (Updates
Parameter 04 - [RIO Addr Actual] after reset).
04[RIO Addr Actual]
Displays the Remote I/O rack address (as a
decimal value) actually used by the adapter.
05[RIO Rate Cfg]
Sets the network baud rate at which the adapter
communicates if the hardware switches have been
disabled. All hardware switches are disabled by
setting Configuration DIP Switches SW7 and SW8
both to ‘On’. (Updates Parameter 06 - [RIO Rate Act] after a reset.)
06[RIO Rate Actual]
Displays the actual network baud rate used by the
adapter.
07[Ref/Fdbk Size]
Displays the size of the Reference/Feedback. The
drive determines the size of the Reference/
Feedback.
08[Datalink Size]
Displays the size of each Datalink word. The drive
determines the size of Datalinks.
ATTENTION: Risk of injury or equipment damage exists. If the adapter is
transmitting I/O that controls the drive, the drive may fault when you reset the
adapter. Determine how your drive will respond before resetting a connected
adapter.
!
ATTENTION: Risk of injury or equipment damage exists. Parameter 10 [Comm Flt Action] lets you determine the action of the adapter and connected
drive if I/O communication is disrupted. By default, this parameter faults the
drive. You can set this parameter so that the drive continues to run, however,
precautions should be taken to verify 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).
!
ATTENTION: Risk of injury or equipment damage exists. Parameter 11 - [Idle
Flt Action] lets you determine the action of the adapter and connected drive
when the controller is idle. By default, this parameter faults the drive. You can
set this parameter so that the drive continues to run, however, precautions
should be taken to verify 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 faulted
controller).
Parameter
No. Name and DescriptionDetails
09[Reset Module]
No action if set to ‘0’ (Ready). Resets the adapter if
set to ‘1’ (Reset Module). Restores the adapter to
its factory default settings if set to ‘2’ (Set Defaults).
This parameter is a command. It will be reset to ‘0’
(Ready) after the command has been performed.
Default:0 = Ready
Values:0 = Ready
Type:Read/Write
Reset Required: No
1 = Reset Module
2 = Set Defaults
10[Comm Flt Action]
Sets the action that the adapter and drive will take
if the adapter detects that I/O communication has
been disrupted. This setting is effective only if I/O
that controls the drive is transmitted through the
adapter. When communication is re-established,
the drive will automatically receive commands over
the network again.
11[Idle Flt Action]
Sets the action that the adapter and drive will take
if the adapter detects that the controller is in
program mode or faulted. This setting is effective
only if I/O that controls the drive is transmitted
through the adapter. When the controller is put
back in Run mode, the drive will automatically
receive commands over the network again.
Default:0 = Fault
Value s:0 = Fau lt
1 = Stop
2 = Zero Data
3 = Hold Last
4 = Send Flt Cfg
Type:Read/Write
Reset Required: No
Default:0 = Fault
Value s:0 = Fau lt
1 = Stop
2 = Zero Data
3 = Hold Last
4 = Send Flt Cfg
Type:Read/Write
Reset Required: No
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Parameter
Bit
Definition
Not Used
Not Used
Not Used
Datalink D
Datalink C
Datalink B
Datalink A
Cmd/Ref
Default xxx00001
Bit76543210
Bit
Definition
Not Used
Not Used
Not Used
Datalink D
Datalink C
Datalink B
Datalink A
Cmd/Ref
Default xx x00001
Bit76543210
No. Name and DescriptionDetails
12[DPI I/O Config]
Sets the I/O that is transferred through the adapter.
Default:xxx0 0001
Bit Values:0 = I/O Disabled
Type:Read/Write
Reset Required: Yes
Adapter ParametersB-3
1 = I/O Enabled
13[DPI I/O Active]
Displays the I/O that the adapter is actively
transmitting. The value of this parameter will
usually be equal to the value of Parameter 12 - [DPI I/O Config] unless the parameter was
changed and the adapter was not reset.
14[Flt Cfg Logic]
Sets the Logic Command data that is sent to the
drive if any of the following is true:
• Parameter 10 - [Comm Flt Action] is set to ‘4’
(Send Flt Cfg) and I/O communication is
disrupted.
• Parameter 11 - [Idle Flt Action] is set to ‘4’
(Send Flt Cfg) and the controller is idle.
The bit definitions will depend on the product to
which the adapter is connected. See Appendix
or the documentation for the drive being used.
15[Flt Cfg Ref]
Sets the Reference data that is sent to the drive if
any of the following is true:
• Parameter 10 - [Comm Flt Action] is set to ‘4’
(Send Flt Cfg) and I/O communication is
disrupted.
• Parameter 11 - [Idle Flt Action] is set to ‘4’
(Send Flt Cfg) and the controller is idle.
Adapter Parameter 7 - [Ref/Fdbk Size] displays
the size of the Reference (16-bit or 32-bit) in the
drive.
Default:0
Minimum:0
Maximum:4294967295
Type:Read/Write
Reset Required: No
Important: If the drive uses a 16-bit
Reference, the most significant word of
this value must be set to zero (0) or a
fault will occur.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
B-4Adapter Parameters
Parameter
No. Name and DescriptionDetails
[Flt Cfg A1 In]
16
[Flt Cfg A2 In]
17
[Flt Cfg B1 In]
18
[Flt Cfg B2 In]
19
[Flt Cfg C1 In]
20
[Flt Cfg C2 In]
21
[Flt Cfg D1 In]
22
[Flt Cfg D2 In]
23
Sets the data that is sent to the Datalink in the
drive if any of the following is true:
• Parameter 10 - [Comm Flt Action] is set to ‘4’
(Send Flt Cfg) and I/O communication is
disrupted.
• Parameter 11 - [Idle Flt Action] is set to ‘4’
(Send Flt Cfg) and the controller is idle.
Adapter Parameter 8 - [Datalink Size] displays
the size of the Datalinks (16-bit or 32-bit) in the
drive.
24[Switches]
Displays the status of the adapter Configuration
DIP Switches. By default, these switches are
‘enabled’, and the adapter is configured based on
their settings. If SW7 and SW8 are both set to ‘On’,
all hardware switches are ‘disabled’ and the
adapter is configured using values in the following
adapter parameters:
• Parameter 3 - [RIO Addr Cfg]
• Parameter 5 - [RIO Rate Cfg]
• Parameter 25 - [Start RIO Group]
• Parameter 26 - [Last RIO Rack]
• Parameter 27 - [Rack Size]
25[Start RIO Group]
Sets the Remote I/O starting module group if the
hardware switches have been disabled. All
hardware switches are disabled by setting
Configuration DIP Switches SW7 and SW8 both to
‘On’.
26[Last RIO Rack]
Sets the last (or not last) physical group within a
rack address on a Remote I/O network if the
hardware switches have been disabled. All
hardware switches are disabled by setting
Configuration DIP Switches SW7 and SW8 both to
‘On’. Set this parameter to ‘1’ (Enabled) to indicate
that a drive is the last rack.
27[Rack Size]
Sets the rack size if the hardware switches have
been disabled. All hardware switches are disabled
by setting Configuration DIP Switches SW7 and
SW8 both to ‘On’.
Important: If the drive uses 16-bit
Datalinks, the most significant word of
this value must be set to zero (0) or a
fault will occur.
Bit Values:0 = Disabled
Type:Read Only
Default:0 = Group 0
Values:0 = Group 0
Type:Read/Write
Reset Required: Yes
Default:0 = Disabled
Bit Values:0 = Disabled
Type:Read/Write
Reset Required: Yes
Default:0 = 1/4 rack
Bit Values:0 = 1/4 rack
Type:Read/Write
Reset Required: Yes
1 = Enabled
1 = Group 2
2 = Group 4
3 = Group 6 (allowed
for 1/4 rack only)
1 = Enabled
1 = 1/2 rack
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Appendix C
CIP Objects
This appendix presents information about the CIP (Common Industrial
Protocol) objects that can be accessed for Block Transfer messages.
information on the format of Block Transfer messages and example ladder
logic programs, see Chapter
TopicClass CodePage
CIP Services
Common Messagesn/aC-2
DPI Device Object0x92146C-3
DPI Parameter Object0x93147C-5
DPI Fault Object0x97151C-15
DPI Alarm Object0x98152C-17
DPI Time Object0x9B155C-19
5, Using Block Transfer Messaging.
Hex.Dec.
n/aC-1
For
CIP Services
The following CIP services work with most objects in this appendix.
Service NameService CodeDescription
Hexadecimal Decimal
Get Attribute Single0x0E14Read a single attribute
Set Attribute Single0x1016Write to a single attribute
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
C-2CIP Objects
Common Messages
The following table lists messages that are commonly used to view and edit
information in a device. Other messages can be sent using the values within
each object listed.
All values are in decimal.
MessageService Class Instance AttributePage
Device Properties
Clear Run Time Accumulator (value to send = 1) 1415504C-19
Load Stored Values (value to send = 2)1614702C-5
Load Default Values (value to send = 3)1614702C-5
Read Product Family ID1414600C-3
Read Product Family Name1414601C-3
Read Real Time Clock Data 1415510C-19
Read Reference Time Stamp Data
Read Run Time Accumulator 14155timer #2C-19
Read User Text String1414605C-3
Store Values to NVS (value to send = 1)1614702C-5
Write Real Time Clock Data 1615512C-19
Write User Text String1614605C-3
Parameters
Read Parameter Full14147Param. # 7C-6
Read Parameter Value14147Param. # 9 = NVS
10 = RAM
Read Scattered Parameter Value7514700C-6
Write Parameter Values16147Param #9 = NVS
10 = RAM
Write Scattered Parameter Values7614700C-6
Links
Clear All Links (value to send = 1)1614709C-5
Clear Parameter Link (value to send = 0)16147Param. # 11C-6
Write Scattered Parameter Link 76147Param. #s 11C-6
Faults/Event
Clear Fault/Event (value to send = 1)1615103C-15
Clear Fault/Event Queue (value to send = 2)1615103C-15
Read Fault/Event14151Fault #1C-16
Read Fault/Event Full14151Fault #0C-16
Read Fault/Event Queue Size1415102C-15
Read Number of Entries in Queue1415106C-15
Read Trip Fault Queue Number1415104C-15
Reset Device (value to send = 3)1615103C-15
Alarms
Clear Alarm (value to send = 1)1615203C-17
Clear Alarm Queue (value to send = 2)1615203C-17
Read Alarm14152Alarm #1C-18
Read Alarm Full14152Alarm #0C-18
Read Number of Entries in Queue1415205C-17
Read Alarm Queue Size1415202C-17
C-6
C-6
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
CIP ObjectsC-3
DPI Device Object
Class Code
Hexadecimal Decimal
0x92146
Instances
The number of instances depends on the number of components in the
device. The total number of components can be read in Instance 0, Class
Attribute 4.
16Read OnlyParameter Processing Error BYTE0 = No error
A CONTAINER is a 32-bit block of data that contains the data type used by a parameter value. If signed, the value is sign extended. Padding is
used in the CONTAINER to ensure that it is always 32-bits.
This value is used in the formulas used to convert the parameter value between display units and internal units. See Formulas for
Converting on page C-8.
Do not continually write parameter data to NVS. See the attention on page 5-1.
Parameter value
Minimum value
Maximum value
Default value
Next parameter
Previous parameter
Units (for example, Amp, Hz)
Multiplier
Divisor
Base
Offset
Link (source of the value) (0 = no link)
Always zero (0)
Parameter name
source of the value) (0 = no link)
Descriptor (see page C-7
Parameter value
Minimum value
Maximum value
Default value
Parameter name
Units (for example, Amp, Hz)
1 = Value is less than the minimum
2 = Value is greater than the maximum
(2)
(2)
(2)
(2)
)
)
(3)
)
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
CIP ObjectsC-7
Descriptor Attributes
BitNameDescription
0Data Type (Bit 1)Right bit is least significant bit (0).
1Data Type (Bit 2)
2Data Type (Bit 3)
3Sign Type0 = Unsigned
4Hidden0 = Visible
5Not a Link Sink0 = Parameter can sink a link
6Not Recallable0 = Recallable from NVS
7ENUM0 = No ENUM text
8Writable0 = Read only
9Not Writable When Enabled0 = Writable when enabled (for example, drive running)
10Instance0 = Parameter value is not a Reference to another parameter
11ReservedMust be zero
12Decimal Place (Bit 0)Number of digits to the right of the decimal point.
13Decimal Place (Bit 1)
14Decimal Place (Bit 2)
15Decimal Place (Bit 3)
16Extended Data Type (Bit 1)Right bit is least significant bit (16).
17Extended Data Type (Bit 2)
18Extended Data Type (Bit 3)
19Parameter ExistsUsed to mark parameters that are not available to network tools.
20Not UsedReserved
21Formula LinksIndicates the Formula Data is derived from other parameters.
22Access Level (Bit 1)A 3-bit field used to control access to parameter data.
26Not a Link Source0 = May be the source end of a link
27Enhanced Bit ENUMParameter supports enhanced bit ENUMs.
28Enhanced ENUMParameter supports enhanced ENUMs.
29Uses DPI Limits ObjectParameter uses the DPI Limits Object.
30Extended DescriptorParameter uses Extended Descriptor bits, which can be obtained
31Always Upload/DownloadParameter shall always be included in uploads and downloads.
000 = BYTE used as an array of Boolean
001 = WORD used as an array of Boolean
010 = BYTE (8-bit integer)
011 = WORD (16-bit integer)
100 = DWORD (32-bit integer)
101 = TCHAR (8-bit (not unicode) or 16-bits (unicode)
110 = REAL (32-bit floating point value)
111 = Use bits 16, 17, 18
1 = Signed
1 = Hidden
1 = Parameter cannot sink a link
1 = Not Recallable from NVS
1 = ENUM text
1 = Read/write
1 = Not writable when enabled
1 = Parameter value refers to another parameter
0000 = 0
1111 = 15
000 = Reserved
001 = DWORD used as an array of Boolean
010 = Reserved
011 = Reserved
100 = Reserved
101 = Reserved
110 = Reserved
111 = Reserved
1 = May not be the source end of a link
by reading the DPI Extended Descriptor attribute for this
parameter.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
C-8CIP Objects
Formulas for Converting
Display Value = ((Internal Value + Offset) x Multiplier x Base) / (Divisor x 10
Internal Value = ((Display Value x Divisor x 10
Object-Specific Services
Service Code Implemented for:Service NameAllocation Size (in bytes)
(1)
0x4B
(1)
0x4C
(2)
0x4D
(2)
0x4E
(1)
Must be directed to Instance 0 and Attribute 0.
(2)
These services are supported only when the adapter is used with a PowerFlex 750-Series drive.
ClassInstancePar. NumberPar. Value
YesNoGet_Attributes_Scattered22
YesNoSet_Attributes_Scattered22
YesNoGet_Attributes_Scattered44
YesNoSet_Attributes_Scattered44
Decimal Places
) / (Multiplier x Base)) - Offset
Decimal Places
)
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
CIP ObjectsC-9
Format for Get_Attributes_Scattered Service
The structure shown below can get up to eighteen parameters in a single
message. In the Response Message, a parameter number with the high bit
set indicates that the associated parameter value field actually contains a
DPI error code.
Request (Write Data)Response (Read Data)
Word High ByteLow ByteHigh ByteLow Byte
0 0x00Length (Bytes)0x00Length (Bytes)
1 DPI Port #0x81Status CodeStatus Size
2 0x00CIP ServiceStatus Information
3 ClassParameter Number
4 InstanceParameter Value LSW
5 AttributeParameter Value MSW
6 Parameter NumberParameter Number
7 Pad WordParameter Value LSW
8 Pad WordParameter Value MSW
9 Parameter NumberParameter Number
10 Pad WordParameter Value LSW
11 Pad WordParameter Value MSW
12 Parameter NumberParameter Number
13 Pad WordParameter Value LSW
14 Pad WordParameter Value MSW
15 Parameter NumberParameter Number
16 Pad WordParameter Value LSW
20 word
Block
Transfer
30 word
Block
Transfer
17 Pad WordParameter Value MSW
18 Parameter NumberParameter Number
19 Pad WordParameter Value LSW
20 Pad WordParameter Value MSW
21 Parameter NumberParameter Number
22 Pad WordParameter Value LSW
23 Pad WordParameter Value MSW
24 Parameter NumberParameter Number
25 Pad WordParameter Value LSW
26 Pad WordParameter Value MSW
27 Parameter NumberParameter Number
28 Pad WordParameter Value LSW
29 Pad WordParameter Value MSW
Continued on next page.
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
C-10CIP Objects
60 word
Block
Tr an s fe r
Continued from previous page.
Word Request (Write Data)Response (Read Data)
30 Parameter NumberParameter Number
31 Pad WordParameter Value LSW
32 Pad WordParameter Value MSW
33 Pad WordParameter Number
34 Pad WordParameter Value MSW
35 Parameter NumberParameter Number
36 Pad WordParameter Value LSW
37 Pad WordParameter Value MSW
38 Parameter NumberParameter Number
39 Pad WordParameter Value LSW
40 Pad WordParameter Value MSW
41 Parameter NumberParameter Number
42 Pad WordParameter Value LSW
43 Pad WordParameter Value MSW
44 Parameter NumberParameter Number
45 Pad WordParameter Value LSW
46 Pad WordParameter Value MSW
47 Parameter NumberParameter Number
48 Pad WordParameter Value LSW
49 Pad WordParameter Value MSW
50 Parameter NumberParameter Number
51 Pad WordParameter Value LSW
52 Pad WordParameter Value MSW
53 Parameter NumberParameter Number
54 Pad WordParameter Value LSW
55 Pad WordParameter Value MSW
56 Parameter NumberParameter Number
57 Pad WordParameter Value LSW
58 Pad WordParameter Value MSW
59 Pad WordNot Used
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
CIP ObjectsC-11
The data in this example is for a Get_Attributes_Scattered of PowerFlex 70
parameters 1 - [Output Freq], 3 - [Output Current] and 6 - [Output Voltage]
from a device at node address 1.
Request Data for Get_Attributes_Scattered
AddressValue (hex) DescriptionPage
N30:0001CLength = 28 bytes (1C hex)5-3
N30:10081Port = 00, 0 x 815-3
N30:2004B0 x 00, Service = Get_Attributes_Scattered5-3
The structure shown below can set up to eighteen parameters in a single
message. In the Response Message, a parameter number with the high bit
set indicates that the associated pad word field contains an error code.
Request (Write Data)Response (Read Data)
Word High ByteLow ByteHigh ByteLow Byte
0 0x00Length (Bytes)0x00Length (Bytes)
1 DPI Port #0x81Status CodeStatus Size
2 0x00CIP ServiceStatus Information
3 ClassParameter Number
4 InstancePad Word or Error Code
5AttributePad Word
6 Parameter NumberParameter Number
7 Parameter Value LSWPad Word or Error Code
8 Parameter Value MSWPad Word
9 Parameter NumberParameter Number
10 Parameter Value LSWPad Word or Error Code
11 Parameter Value MSWPad Word
12 Parameter NumberParameter Number
13 Parameter Value LSWPad Word or Error Code
14 Parameter Value MSWPad Word
15 Parameter NumberParameter Number
16 Parameter Value LSWPad Word or Error Code
20 word
Block
Transfer
30 word
Block
Transfer
17 Parameter Value MSWPad Word
18 Parameter NumberParameter Number
19 Parameter Value LSWPad Word or Error Code
20 Parameter Value MSWPad Word
21 Parameter NumberParameter Number
22 Parameter Value LSWPad Word or Error Code
23 Parameter Value MSWPad Word
24 Parameter NumberParameter Number
25 Parameter Value LSWPad Word or Error Code
26 Parameter Value MSWPad Word
27 Parameter NumberParameter Number
28 Parameter Value LSWPad Word or Error Code
29 Parameter Value MSWPad Word
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
Continued on next page.
60 word
Block
Transfer
CIP ObjectsC-13
Continued from previous page.
Word Request (Write Data)Response (Read Data)
30 Parameter NumberParameter Number
31 Parameter Value LSWPad Word or Error Code
32 Parameter Value MSWPad Word
33 Parameter NumberParameter Number
34 Parameter Value LSWPad Word or Error Code
35 Parameter Value MSWPad Word
36 Parameter NumberParameter Number
37 Parameter Value LSWPad Word or Error Code
38 Parameter Value MSWPad Word
39 Parameter NumberParameter Number
40 Parameter Value LSWPad Word or Error Code
41 Parameter Value MSWPad Word
42 Parameter NumberParameter Number
43 Parameter Value LSWPad Word or Error Code
44 Parameter Value MSWPad Word
45 Parameter NumberParameter Number
46 Parameter Value LSWPad Word or Error Code
47 Parameter Value MSWPad Word
48 Parameter NumberParameter Number
49 Parameter Value LSWPad Word or Error Code
50 Parameter Value MSWPad Word
51 Parameter NumberParameter Number
52 Parameter Value LSWPad Word or Error Code
53 Parameter Value MSWPad Word
54 Parameter NumberParameter Number
55 Parameter Value LSWPad Word or Error Code
56 Parameter Value MSWParameter Number
57 Parameter NumberPad Word or Error Coder
58 Parameter Value LSWPad Word
59 Parameter Value MSWNot Used
20-COMM-R Remote I/O Adapter User Manual
Publication 20COMM-UM004D-EN-P
C-14CIP Objects
The data in this example is for a Set_Attributes_Scattered of PowerFlex 70
parameters 140 - [Accel Time 1], 142 - [Decel Time 1] and 100 - [Jog
Speed] to a device at node address 1.
Request Data for Set_Attributes_Scattered
AddressValue (hex) DescriptionPage
N30:0001CLength = 28 bytes (1C hex)5-3
N30:10081Port = 00, 0 x 815-3
N30:2004C0 x 00, Service = Set_Attributes_Scattered5-3