Modbus RTU
Metasys N2
Siemens Building Technologies P1 FLN
User Manual
Important User Information
Solid state equipment has operational characteristics differing from those of
electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (Publication SGI-1.1
available from your local Rockwell Automation sales office or online atwww.rockwellautomation.com/literature) describes some important differences
between solid state equipment and hard-wired electromechanical devices.
Because of this difference, and also because of the wide variety of uses for solid
state equipment, all persons responsible for applying this equipment must
satisfy themselves that each intended application of this equipment is
acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect
or consequential damages resulting from the use or application of this
equipment.
The examples and diagrams in this manual are included solely for illustrative
purposes. Because of the many variables and requirements associated with any
particular installation, Rockwell Automation, Inc. cannot assume responsibility
or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use
of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without
written permission of Rockwell Automation, Inc. is prohibited.
http://
Throughout this manual, when necessary we use notes to make you aware of
safety considerations.
WARNING: Identifies information about practices or
circumstances that can cause an explosion in a hazardous
!
environment, which may lead to personal injury or death, property
damage, or economic loss.
Important: Identifies information that is critical for successful application and
understanding of the product.
ATTENTION: Identifies information about practices or
circumstances that can lead to personal injury or death, property
!
damage, or economic loss. Attentions help you identify a hazard,
avoid a hazard, and recognize the consequences.
Shock Hazard labels may be located on or inside the equipment
(e.g., drive or motor) to alert people that dangerous voltage may be
present.
Burn Hazard labels may be located on or inside the equipment
(e.g., drive or motor) to alert people that surfaces may be at
dangerous temperatures.
20-COMM-H RS-485 HVAC Adapter User Manual
PowerFlex, SMC Flex, DriveExplorer, DriveExecutive, DPI, DriveTools SP, and SCANport are either trademarks or registered trademarks
of Rockwell Automation, Inc.
Metasys is a trademark of Johnson Controls, Inc.
Modbus is a trademark of Schneider Automation.
P1 FLN is a trademark of Siemens Building Technologies.
Windows and Microsoft are registered trademarks of Microsoft Corporation.
Summary of Changes
The information below summarizes the changes made to this manual since
its last release (March 2004):
Description of ChangesPage
Reformatted document from half size (5.5 x 8.5 in.) to full size (8.5 x 11 in.)Throughout
Added SMC Flex to the list of compatible products, and Metasys N2 is compatible with
PowerFlex 700VC drive.
Added new Adapter Modbus Register Map section.4-2
Included information about using Modbus RTU mode to access 16-bit and 32-bit
parameters.
Added new Adapter Parameter Direct Access section.4-13
Added new Metasys N2 Device Identity subsection.5-1
Added new “Reference Setup Examples” subsection.5-4
Added tip about configuring Analog Data Integers (ADIs).5-9
Added Flashing Red/Green MOD status indicator information.8-3
Added new Parameter 32 - [RTU Param Mode] to select the 16-bit default mode or
optional 32-bit mode in which the adapter operates.
PowerFlex 700 User Manual
PowerFlex 700 Series B User Manual
PowerFlex 70/700 Reference Manual
PowerFlex 70EC/700VC Reference Manual
PowerFlex 700H Programming Manual
PowerFlex 700S with Phase I Control User Manual
PowerFlex 700S with Phase II Control User Manual
PowerFlex 700S Reference Manual
PowerFlex 700S Installation Instructions
PowerFlex 700S with Phase I Control User Manual
PowerFlex 700S with Phase II Control User Manual
PowerFlex 700S Reference Manual
P-1
—
—
20A-UM001
PFLEX-RM001
PFLEX-RM004
20B-UM001
20B-UM002
PFLEX-RM001
PFLEX-RM004
PFLEX-IN006
20C-PM001
20D-UM001
20D-UM006
PFLEX-RM002
PFLEX-IN006
20D-UM001
20D-UM006
PFLEX-RM002
You can view or download publications at
www.literature.rockwellautomation.com
documentation, contact your local Rockwell Automation distributor or sales
representative.
To find your local Rockwell Automation distributor or sales representative,
visit www.rockwellautomation.com/locations
For information such as firmware updates or answers to drive-related
questions, go to the Drives Service & Support web site at www.ab.com/
support/abdrives and click on the “Downloads” or “Knowledgebase” link.
. To order paper copies of technical
.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
P-2About This Manual
Rockwell Automation
Support
Rockwell Automation, Inc. offers support services worldwide, with over 75
sales/support offices, over 500 authorized distributors, and over 250
authorized systems integrators located through the United States alone. In
addition, Rockwell Automation, Inc. representatives are in every major
country in the world.
Local Product Support
Contact your local Rockwell Automation, Inc. representative for:
• Sales and order support
• Product technical training
• Warranty support
• Support service agreements
Technical Product Assistance
For technical assistance, please review the information in Chapter 8,
Troubleshooting
Allen-Bradley Technical Support web site at www.ab.com/support/abdrives
or contact Rockwell Automation, Inc.
, first. If you still have problems, then access the
Conventions Used in This
Manual
The following conventions are used throughout this manual:
• Parameter names are shown in the format Parameter xx - [*]. The xx
represents the parameter number. The * represents the parameter name—
for example Parameter 01 - [DPI Port].
• Menu commands are shown in bold type face and follow the format
Menu > Command. For example, if you read “Select File > Open,” you
should click the File menu and then click the Open command.
• The firmware release is displayed as FRN X.xxx. The “FRN” signifies
Firmware Release Number. The “X” is the major release number. The
“xxx” is the minor update number.
• This manual provides information about the adapter and using it with
PowerFlex 7-Class (Architecture-Class) drives. The adapter can be used
with other products that support a DPI™ adapter, such as SMC™ Flex.
Refer to the documentation for your product for specific information
about how it works with the adapter.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Chapter 1
Getting Started
The adapter is a communication option intended for installation into a
PowerFlex 7-Class drive. It can also be used with other Allen-Bradley
products that support a DPI™ (Drive Peripheral Interface) adapter.
Status IndicatorsFour LEDs that indicate the status of the DPI, the adapter, and
➊
DPI ConnectorA 20-pin, single-row shrouded male header. An Internal Interface
➋
Terminal BlockA 6-screw terminal block connects the adapter to the network.
➌
Node Address SwitchesTwo switches set the node address.
➍
Network Selector SwitchSwitch selects the network protocol to which the adapter
➎
network connection. Refer to Chapter 8
cable is connected to this connector and a connector on the
drive.
operates.
➎
, Troubleshooting.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
1-2Getting Started
Features
The adapter features include:
• Typical mounting in a PowerFlex 7-Class drive using captive screws to
secure and ground the adapter to the drive.
• Compatibility with various configuration tools to configure the adapter
and connected drive. The tools include the PowerFlex HIM on the drive,
and drive-configuration software such as DriveExplorer (version 2.01 or
higher) or DriveExecutive (version 3.01 or higher).
• 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-configurable I/O (Logic Command/Reference and up to four
pairs of Datalinks) to meet application requirements.
• User-defined fault actions to determine how the adapter and PowerFlex
drive respond to communication disruptions on the network.
• Switches to allow setting a node address before applying power to the
drive. Alternatively, you can disable the switches and use a parameter to
configure the node address.
• A switch lets you select from the following three network protocols:
• Available read/write access to parameters, allowing parameter values to
be configured and monitored over the network.
• Support for DPI routing, enabling access to any networked PowerFlex
7-Class drive (with 20-COMM-H adapter) using DriveExplorer (version
2.01 or higher) to monitor and configure that drive and its connected
peripherals.
DPI is a second generation peripheral communication interface. The adapter
is compatible with Allen-Bradley PowerFlex 7-Class drives and other
products that support DPI. At the time of publication, compatible products
include:
Network
Protocol
Modbus RTU
Metasys N2
Siemens P1 FLN
The PowerFlex 70/700 are used for examples in this manual. Refer to a DPI
Host product’s user manual for additional information.
70700EC 700VC700H700S7000
Compatible PowerFlex DrivesSMC
Flex
✔✔✔✔✔✔✔
✔✔✔✔✔
✔✔✔✔✔
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Getting Started1-3
Required Equipment
Equipment Shipped with the Adapter
When you unpack the adapter, verify that the package includes:
❑ One adapter
❑ A 2.54 cm (1 in.) and a 15.24 cm (6 in.) Internal Interface cable (only
one cable is needed to connect the adapter to the drive)
User-Supplied Equipment
To install and configure the adapter, you must supply:
❑ A small flathead screwdriver
❑ Network-specific cable to connect the adapter to the network. Refer to
the network-specific documentation for the cable recommendations and
requirements.
❑ Configuration tool, such as:
– PowerFlex 7-Class HIM (20-HIM-*)
– DriveExplorer (version 2.01 or higher)
– DriveExecutive stand-alone software (version 3.01 or higher) or
bundled with the DriveTools SP suite (version 1.01 or higher)
– Third-party network configuration software
❑ A PC connection to the network
Safety Precautions
Please read the following safety precautions carefully.
ATTENTION: Risk of injury or death exists. The PowerFlex
drive may contain high voltages that can cause injury or death.
!
Remove all power from the PowerFlex drive, and then verify
power has been discharged before installing or removing an
adapter.
ATTENTION: Risk of injury or equipment damage exists. Only
personnel familiar with drive and power products and the
!
associated machinery should plan or implement the installation,
start up, configuration, and subsequent maintenance of the
product using an adapter. Read and understand this entire manual
before proceeding. Failure to comply may result in injury and/or
equipment damage.
ATTENTION: Risk of equipment damage exists. The adapter
contains ESD (Electrostatic Discharge) sensitive parts that can be
!
damaged if you do not follow ESD control procedures. Static
control precautions are required when handling the adapter. If
you are unfamiliar with static control procedures, refer to
Guarding Against Electrostatic Damage (publication
8000-4.5.2).
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.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
1-4Getting Started
ATTENTION: Risk of injury or equipment damage exists.
Parameter 15 - [Comm Flt Action] lets you determine the
!
action of the adapter and connected drive if communications are
disrupted. By default, this parameter faults the drive. You can set
this parameter so that the drive continues to run. Precautions
should be taken to ensure that the setting of this parameter does
not create a risk of injury or equipment damage. When
commissioning the drive, verify that your system responds
correctly to various situations (for example, a disconnected
cable).
ATTENTION: Risk of injury or equipment damage exists.
Parameter 11 - [Network Timeout] lets you determine how
!
long it will take the adapter to detect network communication
losses. By default, this parameter sets the timeout to ten seconds.
It can be set so that the duration is shorter, longer, or disabled.
Take precautions to ensure that the setting does not create a risk
of injury or equipment damage. When commissioning the drive,
verify that your system responds correctly to various situations
(for example, a disconnected cable).
ATTENTION: Risk of injury or equipment damage exists. DPI
or SCANport host products must not be directly connected via
!
1202 cables. Unpredictable behavior due to timing and other
internal procedures can result if two or more hosts are connected
in this manner.
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, Inc. does not assume
responsibility or liability (to include intellectual property
liability) for actual use of the examples shown in this publication.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Getting Started1-5
Quick Start
This section is provided to help experienced users quickly start using the
adapter. If you are unsure how to complete a step, refer to the referenced
chapter.
Step ActionRefer to…
1Review the safety precautions for the adapter.Throughout This Manual
2Verify that the PowerFlex drive is properly installed.Drive User Manual
3Commission the adapter.
Select the network protocol using the adapter Network Selector
switch. Set a unique node address using the adapter Node
Address switches or set both switches to “0” and configure the
node address later using an adapter parameter.
4Install the adapter.
Verify that the PowerFlex drive and network are not powered.
Then, connect the adapter to the network using a network-specific
cable and to the drive using the Internal Interface cable. Use the
captive screws to secure and ground the adapter to the drive.
5Apply power to the adapter.
A. The adapter receives power from the drive. Verify that the
adapter and network are installed correctly and then turn on the
network and apply power to the drive. The status indicators
should be green. If they flash red, there is a problem. Refer to
Chapter 8, Troubleshooting.
B. Configure/verify key drive parameters.
6Configure the adapter for your application.
Set adapter parameters for the following functions as required by
your application:
• Node address, data rate, and parity
• I/O configuration
• Fault actions
7Set up the master device to communicate with the adapter.
Use a network tool to configure the master device on the network.
Chapter 2
Installing the Adapter
Chapter 2,
Installing the Adapter
Chapter 2,
Installing the Adapter
Chapter 3,
Configuring the Adapter
Instruction manual for
your network tool
,
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
1-6Getting Started
Status Indicators
The adapter uses four status indicators to report its operating status. They
can be viewed on the adapter or through the drive cover
(Figure 1.2
Figure 1.2Status Indicators (location on drive may vary)
➊
➋
➌
➍
).
➊
➋
➌
➍
Item Name
PORT
➊
MOD
➋
NET A
➌
NET B
➍
After installing the adapter and applying power to the drive, refer to
Start-Up Status Indications
indications and their descriptions.
on page 2-7 for possible start-up status
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-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
Commissioning the Adapter2-1
Connecting the Adapter to the Drive2-3
Connecting the Adapter to the Network2-6
Applying Power2-7
2-1
Preparing for an Installation
Commissioning the Adapter
Before installing the adapter, verify that you have all required equipment.
Refer to Required Equipment
To commission the adapter, you must set a unique node address and select a
network protocol.
Important:New settings are recognized only when power is applied to the
adapter or it is reset. If you change a switch setting, cycle power
or reset the adapter to activate the changes.
ATTENTION: Risk of equipment damage exists. The adapter
contains ESD (Electrostatic Discharge) sensitive parts that can be
!
damaged if you do not follow ESD control procedures. Static
control precautions are required when handling the adapter. If
you are unfamiliar with static control procedures, refer to
Guarding Against Electrostatic Damage (publication
8000-4.5.2).
Important:To guard against device malfunction, it is recommended wear a
grounding wrist strap when installing the adapter.
on page 1-3.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
2-2Installing the Adapter
1. Set the adapter’s node address by rotating the node address switches to
the desired value for each digit.
Important:Each node on the network must have a unique address.
Figure 2.1Setting the Node Address
SettingDescription
01 – 99Node address used by the adapter.
00 (Default)If network protocols are capable of handling a node address of 0 or node
addresses higher than 99, these addresses can be configured by setting the
switches to 00 and then setting Parameter 03 - [Net Addr Cfg] to the
desired network node address.
The switch settings can be verified using a PowerFlex HIM, DriveExplorer
software, or DriveExecutive software, and viewing Diagnostic Device Item
numbers 40-42 (page 8-5
).
Installing the Adapter2-3
Connecting the Adapter to the
Drive
ATTENTION: Risk of injury or death exists. The PowerFlex
drive may contain high voltages that can cause injury or death.
!
Remove power from the drive, and then verify power has been
discharged before installing or removing the adapter.
1. Remove power from the drive and network.
2. Use static control precautions.
3. Remove the drive cover or open the drive door.
4. Connect the Internal Interface cable to the DPI port on the drive and
then to the DPI connector on the adapter (see Figure 2.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-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
2-4Installing the Adapter
Figure 2.3DPI Ports and Internal Interface Cables
20-COMM-H Adapter
➋
➌
PowerFlex 700 Frames 0 and 1
PowerFlex 700S Frames 0 and 1
➊
PowerFlex 70 - All Frames
➍
PowerFlex 700 Frames 2 and Larger
PowerFlex 700S Frames 2 through 6
Item Description
15.24 cm (6 in.) Internal Interface cable
➊
DPI Connector
➋
Ethernet cable
➌
2.54 cm (1 in.) Internal Interface cable
➍
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
X2
X1
➍
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Figure 2.4Mounting and Grounding the Adapter
Drive
0.9 N•m
(8.0 lb•in)
4 Places
Adapter
Internal Interface Cable
folded behind the adapter
and in front of the drive.
Installing the Adapter2-5
PowerFlex 70 - All Frame Sizes
(Adapter mounts in drive.)
PowerFlex 700 Frames 0 and 1
PowerFlex 700S Frames 0 and 1
(Adapter mounts on door.)
0.9 N•m
(8.0 lb•in)
4 Places
Ground Tab Detail
Verify metal ground tab is bent 90°
and is under the adapter before
tightening screw. After tightening
the screw, verify continuity exists
between the head of the screw
and drive ground.
PowerFlex 700 Frames 2 and Larger
PowerFlex 700S Frames 2 through 6
(Adapter mounts in drive.)
Ground Tab Detail
0.9 N•m
(8.0 lb•in)
4 Places
X2
X1
PowerFlex 700H Frames 9 and Larger
PowerFlex 700S Frames 9 and Larger
(Adapter mounts behind HIM panel.)
Verify metal ground tab is bent 90° and
is under the adapter before tightening
screw. After tightening the screw, verify
continuity exists between the head of
the screw and drive ground.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
2-6Installing the Adapter
Connecting the Adapter to
the Network
ATTENTION: Risk of injury or death exists. The PowerFlex
drive may contain high voltages that can cause injury or death.
!
Remove power from the drive, and then verify power has been
discharged before installing or removing the adapter.
1. Remove power from the network and drive.
2. Use static control precautions.
3. Connect an RS-485 cable to the network, and route it through the
GND
).
B
COM
TERM
A
SHIELD
bottom of the PowerFlex drive (Figure 2.4
4. Connect a six-pin linear plug to the RS-485 cable. (See Figure 2.5
the terminal definitions.)
Figure 2.5Typical Network Connections
Node 1Node 2Node "n"
TERM
ABCOM
SHIELD
GND
TERMAB
COM
SHIELD
for
GND
TerminalSignalFunction
TERMTermination
ASignal ATxRxDBSignal BTxRxD+
COMCommonSignal Common
SHIELDShieldShield RC Termination
GNDGround
(1)
Jumper terminals TERM and A on the adapter at end of the RS-485 network. This enables a built-in
RC termination network on the adapter.
(2)
The shield must be grounded at a single point on the network (jumper terminals SHIELD and GND).
A 3-wire network using Belden 3106A cable or equivalent is recommended for Modbus RTU applications
and shown in Figure 2.3 above. A 2-wire network using Belden 3105A cable or equivalent (COM
terminal is not connected) can also be used for most applications. However, a 3-wire network is more
robust in noisy environments.
For Metasys N2 or Siemens P1 FLN applications, refer to published guidelines from Johnson Controls or
Siemens Building Technologies respectively.
(1)
(2)
Signal RC Termination
Shield GND Termination
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Installing the Adapter2-7
Applying Power
ATTENTION: Risk of equipment damage, injury, or death
exists. Unpredictable operation may occur if you fail to verify
!
that parameter settings are compatible with your application.
Verify that settings are compatible with your application before
applying power to the drive.
Install the drive cover or close the drive door, and apply power to the drive.
The adapter receives its power from the connected drive. When you apply
power to the adapter for the first time, its topmost “PORT” status indicator
should be steady green after an initialization. If it is red, there is a problem.
Refer to Chapter 8
Start-Up Status Indications
Status indicators for the drive and communications adapter can be viewed
on the front of the drive (Figure 2.6
start-up status indications are shown in Table 2.A
Figure 2.6Drive and Adapter Status Indicators (location on drive may vary)
➋
, Troubleshooting.
) after power has been applied. Possible
.
PORT
MOD
NET A
NET B
STS
Table 2.A Drive and Adapter Start-Up Status Indications
Item NameColorStateDescription
Drive STS Indicator
➊
STS
(Status)
GreenFlashingDrive ready but not running, and no faults are present.
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].
➊
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
2-8Installing the Adapter
Item NameColorStateDescription
Adapter Status Indicators
PORTGreenFlashingNormal Operation. The adapter is establishing an I/O
➋
SteadyNormal Operation. The adapter is properly connected
MODGreenFlashingNormal Operation. The adapter is operating but is not
SteadyNormal Operation. The adapter is operating and
NET AGreenFlashingNormal Operation. The adapter is properly connected
SteadyNormal Operation. The adapter is properly connected
NET BGreenOffNormal Operation. The adapter is properly connected
FlashingNormal Operation. The adapter is properly connected
Configuring/Verifying Key Drive Parameters
The PowerFlex 7-Class drive can be separately configured for the control
and Reference functions in various combinations. For example, you could
set the drive to have its control come from a peripheral or terminal block
with the Reference coming from the network. Or you could set the drive to
have its control come from the network with the Reference coming from
another peripheral or terminal block. Or you could set the drive to have
both its control and Reference come from the network.
connection to the drive. It will turn solid green or red.
and communicating with the drive
transferring I/O data.
transferring I/O data.
but does not have an I/O connection.
and communicating on the network.
but is idle.
and transmitting data packets on 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 digital inputs are not used, change drive Parameters 361 - [Dig In1
Sel] through 366 - [Dig In6 Sel] 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.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Chapter 3
Configuring the Adapter
This chapter provides instructions and information for setting the
parameters in the adapter.
TopicPage
Configuration Tools
Using the PowerFlex 7-Class HIM3-2
Setting the Node Address3-3
Setting the Network Data Rate3-3
Setting the Network Parity3-4
Setting Stop Bits (Modbus RTU only)3-4
Setting the I/O Configuration3-5
Setting a Network Time-out3-6
Setting a Fault Action3-7
Resetting the Adapter3-8
Viewing the Adapter Status Using Parameters3-9
Flash Updating the Adapter3-10
3-1
Configuration Tools
For a list of parameters, refer to Appendix B, Adapter Parameters. For
definitions of terms in this chapter, refer to the Glossary
The adapter stores parameters and other information in its own non-volatile
memory. You must, therefore, access the adapter to view and edit its
parameters. The following tools can be used to access the adapter
parameters:
ToolRefer to…
PowerFlex HIMpage 3-2
DriveExplorer Software
(version 2.01 or higher)
DriveExecutive Software
(version 3.01 or higher)
http://www.ab.com/drives/driveexplorer, or
DriveExplorer online help (installed with the software)
http://www.ab.com/drives/drivetools, or
DriveExecutive online help (installed with the software)
.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
3-2Configuring the Adapter
Using the PowerFlex 7-Class
HIM
If your drive has either an LED or LCD HIM (Human Interface Module), it
can be used to access parameters in the adapter as shown below. It is
recommended that you read through the steps for your HIM before
performing the sequence. For additional information, refer to your
PowerFlex Drive User Manual or the HIM Quick Reference card.
Using an LED HIM
StepKey(s)Example Screens
1. Press ALT and then Sel (Device) to display
the Device Screen.
2. Press the Up Arrow or Down Arrow to scroll
to the adapter. Letters represent files in the
drive, and numbers represent ports. The
adapter is usually connected to port 5.
3. Press the Enter key to enter your selection.
A parameter database is constructed, and
then the first parameter is displayed.
4. Edit the parameters using the same
techniques that you use to edit drive
parameters.
ALT
Device
Sel
or
Using an LCD HIM
StepKey(s)Example Screens
1. In the main menu, press the Up Arrow or
Down Arrow to scroll to Device Select.
2. Press Enter to enter your selection.
3. Press the Up Arrow or Down Arrow to scroll
to the adapter (20-COMM-H).
4. Press Enter 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.
or
or
NOTE: LCD HIM screens are shown throughout this chapter for example
configuration procedures.
F-> StoppedAuto
0.00Hz
Main Menu:
Diagnostics
Parameter
Device Select
Port 5 Device
20-COMM-H
Main Menu:
Diagnostics
Parameter
Device Select
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Configuring the Adapter3-3
Setting the Node Address
Setting the Network Data Rate
If the Node Address switches on the adapter are set to “00,” the value of
Parameter 03 - [Net Addr Cfg] determines the node address.
1. Set the value of Parameter 03 - [Net Addr Cfg] to a unique node
address.
Figure 3.1Example Net Addr Cfg 1 Screen
Port 5 Device
20-COMM-H
Parameter #: 03
Net Addr Cfg
1
0 <> 247
2. Reset the adapter (see Resetting the Adapter on page 3-8). The actual
node address is then displayed by Parameter 04 - [Net Addr Act].
The data rate at which the adapter operates varies based on the type of
network and your network configuration. Refer to the following table.
1. Set the value of Parameter 05 - [Net Rate Cfg] to the data rate at
which your network is operating.
Figure 3.2Example Net Rate Cfg Screen
Port 5 Device
20-COMM-H
Parameter #: 05
Net Rate Cfg
1
9600
2. Reset the adapter (see Resetting the Adapter on page 3-8). The actual
data rate is then displayed by Parameter 06 - [Net Rate Act].
ValueBaud
04800
19600 (default)
219200
338400
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
3-4Configuring the Adapter
Setting the Network Parity
The parity that the adapter uses to verify data integrity varies based on the
type of network and your network configuration. Refer to the following
table.
NetworkPossible Types of Parity
Modbus RTUNone, Even, or Odd
Metasys N2None
Siemens Building Technologies P1 FLNNone
1. Set the value of Parameter 07 - [Net Parity Cfg] to the type of parity
that is used on the network.
Figure 3.3Example Network Parity Screen
Port 5 Device
20-COMM-H
Parameter #: 07
Net Parity Cfg
0
None
2. Reset the adapter (see Resetting the Adapter on page 3-8). The actual
network parity is then displayed by Parameter 08 - [Net Parity Act].
ValueType of Parity
0None (default)
1Odd
2Even
Setting Stop Bits (Modbus
RTU only)
Parameter 30 - [Stop Bits Cfg] enables you to set 1 or 2 stop bits for the
Modbus RTU network protocol. When the adapter rotary switch is set to
“N2” or “P1,” the Stop Bits Cfg value is ignored and does not transfer to
read-only Parameter 09 - [Stop Bits Act] on power-up or reset (N2 and P1 are
fixed at 1 stop bit).
1. Set the value of Parameter 30 - [Stop Bits Cfg].
Figure 3.4Example Stop Bits Screen
Port 5 Device
20-COMM-H
Parameter #: 30
Stop Bits Cfg
1-bit
2. Reset the adapter (see Resetting the Adapter on page 3-8). The actual
stop bits is then displayed by Parameter 09 - [Stop Bits Act].
0
ValueType of Stop Bit
01-bit (default)
12-bits
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Configuring the Adapter3-5
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. A “1” enables the I/O. A “0” disables the I/O.
1. Set the bits in Parameter 16 - [DPI I/O Cfg].
Figure 3.5Example DPI I/O Cfg Screen
Port 5 Device
20-COMM-H
Parameter #: 16
DPI I/O Cfg
xxxxxxxxxxx0000
Cmd/Refb00
Bit 0 is the right-most bit. In Figure 3.5, it is highlighted and equals “1.”
2. If Logic Command/Reference is enabled, configure the parameters in
the drive to accept the Logic Command and Reference from the adapter.
For example, set Parameter 90 - [Speed Ref A Sel] in a PowerFlex 70 or
700 drive to “22” (DPI Port 5) so that the drive uses the Reference from
the adapter. Also, verify that the mask parameters (for example,
Parameter 276 - [Logic Mask]) in the drive are configured to receive the
desired logic from the adapter. Refer to the documentation for your
drive for details.
BitDescription
0Logic Command/Reference (Default)
1Datalink A
2Datalink B
3Datalink C (not used with Metasys N2
1
4Datalink D (not used with Metasys N2
5 - 15 Not Used
3. If you enabled one or more Datalinks, configure parameters in the drive
to determine the source and destination of data in the Datalink(s). For
example, configure the Datalinks in PowerFlex 70 and 700 drives by
setting Parameters 300 - [Data In A1] to 317 - [Data Out D2]. Also,
ensure that this adapter is the only adapter using the enabled
Datalink(s).
4. Reset the adapter (see Resetting the Adapter
The adapter is ready to send and receive I/O. The following chapters
provide information about basic data transfer for each type of protocol.
NetworkRefer to…
Modbus RTUChapter 4
Metasys N2Chapter 5, Using Metasys N2
Siemens Building Technologies P1 FLNChapter 6, Using Siemens Building Technologies P1 FLN
For details about using Datalinks for all types of networks, refer to
Chapter 7
, Using Datalinks with All Protocols.
, Using Modbus RTU
on page 3-8).
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
3-6Configuring the Adapter
Setting a Network Time-out
The network timeout sets an interval within which the adapter must
communicate with its master. If this time is exceeded, the adapter
determines a loss of network communications has occurred and responds
with the action specified in Parameter 15 - [Comm Flt Action].
By default, the timeout is set to ten (10) seconds. You can increase or
decrease this value. Alternatively, you can set the value to zero (0) so that
the adapter does not detect communication losses.
ATTENTION: Risk of injury or equipment damage exists.
Parameter 11 - [Network Timeout] lets you determine how
!
long it will take your adapter to detect network communication
losses. By default, this parameter sets the timeout to ten (10)
seconds. You can set it so that the duration is shorter, longer, or
disabled. Take precautions to ensure that the setting does not
create a risk of injury or equipment damage. When
commissioning the drive, verify that your system responds
correctly to various situations (for example, a disconnected
cable).
Set the network timeout in Parameter 11 - [Network Timeout].
Figure 3.6Example Network Timeout Screen
Port 5 Device
20-COMM-H
Parameter #: 11
Network Timeout
10Sec
0 <> 180
Changes to this parameter take effect immediately. A reset is not required.
Default = 10 seconds
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Configuring the Adapter3-7
Setting a Fault Action
By default, when I/O communications are disrupted (for example, a cable is
disconnected), the drive responds by faulting if it is using I/O from the
network. You can configure a different response to disrupted I/O
communication using Parameter 15 - [Comm Flt Action].
ATTENTION: Risk of injury or equipment damage exists.
Parameter 15 - [Comm Flt Action] lets you determine the action
!
of the adapter and connected drive if I/O communications are
disrupted. By default, this parameter faults the drive. You can set
this parameter so that the drive continues to run. Precautions
should be taken to ensure that the setting of this parameter does
not create a risk of injury or equipment damage. When
commissioning the drive, verify that your system responds
correctly to various situations (for example, a disconnected cable).
Changing the Fault Action
Set the value of Parameter 15 - [Comm Flt Action] to the desired
response:
ValueActionDescription
0FaultThe drive is faulted and stopped. (Default)
1StopThe drive is stopped, but not faulted.
2Zero DataThe drive is sent 0 for output data. (The command word and Reference are
set to zero.) 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 this parameter takes effect immediately. A reset is not required.
Setting the Fault Configuration Parameters
If you set Parameter 15 - [Comm Flt Action] to “Send Flt Cfg,” the values
in the following parameters are sent to the drive after an I/O
communications fault occurs. You must set these parameters to values
required by your application.
Parameter NameDescription
25Flt Cfg Logic A 16-bit value sent to the drive for Logic Command.
26Flt Cfg RefA 32-bit value (0 – 4294967295) sent to the drive as a Reference or
27 – 34Flt Cfg x1 In
or
Flt Cfg x2 In
Datalink.
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.
Changes to these parameters take effect immediately. A reset is not required.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
3-8Configuring the Adapter
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 cycling power to the drive or by using Parameter 14 - [Reset
Module].
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 a connected adapter.
Set Parameter 14 - [Reset Module] to “1” (Reset Module).
Figure 3.8Example Reset Module Screen
Port 5 Device
20-COMM-H
Parameter #: 14
Reset Module
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.
Value Description
0Ready (Default)
1Reset Module
2Set Defaults
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Configuring the Adapter3-9
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 - [Net Add Act]Displays the actual network address of the adapter.
06 - [Net Rate Act]Displays the network data rate actually used by the adapter. Only valid
08 - [Net Parity Act]Displays the actual network parity used by the adapter. Only valid values
09 - [Stop Bits Act]Displays the actual number of stop bits used by the selected protocol.
10 - [Net Chksum Type] Displays the type of checksum used by the selected protocol. The values
17 - [DPI I/O Act]Displays the Reference/Feedback and Datalinks used by the adapter. This
values for the specified network are displayed.
for the specified network are displayed.
This value is network-dependent:
• ModBus RTU Protocol – The number of stop bits used depends on the
value set by Parameter 30 - [Stop Bits Cfg]). If the value is “0,” the
adapter uses 1 stop bit; otherwise, it uses 2 stop bits.
• Metasys N2 Protocol – Uses only 1 bit, so the adapter shows only this
value.
• Siemens Building Technologies P1 FLN Protocol – Uses only 1 bit, so
the adapter shows only this value.
are as follows:
• CRC16 (0) is Cyclic Redundancy Check with 0 as a seed value. The
Siemens Building Technologies P1 FLN protocol uses this checksum.
• RLC is Run Length Checksum. The Metasys N2 protocol uses this
checksum.
CRC16 (-1) is Cyclic Redundancy Check with -1 as a seed value. The
Modbus RTU protocol uses this checksum.
value is the same as Parameter 16 - [DPI I/O Cfg] unless the parameter
was changed and the adapter was not reset.
Bit
Definition
Not Used
Not Used
Not Used
Datalink D
Datalink C
Datalink B
Datalink A
Default xxx00001
Bit76543210
Cmd/Ref
0 = I/O disabled
1 = I/O enabled
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
3-10Configuring the Adapter
Flash Updating the Adapter
The adapter can be flash updated over the network or serially through a
direct connection from a computer to the drive using a 1203-USB or
1203-SSS serial converter.
When flashing over the network, you can use the Allen-Bradley software
tool ControlFLASH, the built-in flash capability of DriveExplorer Lite or
Full, or the built-in flash capability of DriveExecutive.
When flashing 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 set to the X-modem protocol.
To obtain a flash update for this adapter, go to http://www.ab.com/support/
abdrives/webupdate. This site contains all firmware update files and
associated Release Notes that describe firmware update enhancements/
anomalies, how to determine the existing firmware version, and how to flash
update using DriveExplorer, DriveExecutive, ControlFLASH or
HyperTerminal.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Chapter 4
Using Modbus RTU
This chapter provides information about controlling a PowerFlex 7-Class
drive, setting its Reference, and accessing its parameters through
configurable objects when the Modbus RTU network protocol is selected.
TopicPage
Understanding Modbus RTU
Using the Modbus RTU Point Map for I/O4-4
Accessing Drive Parameters4-9
Using Broadcast Messages4-12
TIP: Datalinks can also be used for accessing parameters. For information
about using Datalinks, refer to Chapter 7
Protocols.
4-1
, Using Datalinks with All
Understanding Modbus RTU
The Modbus RTU protocol is a messaging structure used to establish
master-slave communication between intelligent devices. The protocol
defines the format of the messages.
Messages from a master to a slave contain the address of the slave, a
function code defining the requested action, any data to be sent, and an
error-checking field. Messages from a slave to a master contain fields
confirming the action taken, any data to be returned, and an error-checking
field. If an error occurred in the receipt of the message or if the slave is
unable to perform the requested action, the slave will construct an error
message and send it as its response.
Modbus RTU can access a single address or multiple addresses
simultaneously, either reading or writing single-bit values or 16-bit values.
Modbus RTU Data Formats
Modbus data types are 1-bit and 16-bit values. Refer to Table 4.A.
The adapter supports the Modbus RTU commands listed in Table 4.B.
Table 4.B Modbus RTU Commands Supported by RS-485 Adapter
Function CodeDescription
01Read Coil Status
02Read Input Status
03Read Holding Registers
04Read Input Registers
05Force Single Coil
06Write Single Register
08Diagnostics
Subfunction 00 Only - Return Query Data (loop back)
16Write Multiple Registers
23Read/Write 4x Registers
Data Addresses in Modbus Messages
All data addresses in Modbus messages are referenced to zero. That is, the
first occurrence of a data item is addressed as item number zero. Therefore,
when you create a message, you must address it to one less than the Modbus
address in the manual. The following are examples:
Adapter Modbus Register
Map
• Logic Command is Holding Register address 4x0001 in Table 4.F on
page 4-7, so you address it as register “0000” in the data address field of
the message.
• Feedback Hi is Input Register address 3x0003 in Table 4.H on page 4-8
so you address it as register “0002” in the data address field of the
message.
• Start is Coil address 0x0002 in Table 4.E on page 4-6
as coil “0001” in the data address field of the message.
• At Speed is Input address 1x0009 in Table 4.G on page 4-7
address it as input “0008” in the data address field of the message.
, so you address it
Table 4.C provides an overview of the Modbus register addresses and their
1x0001Ready
1x0002Active
1x0003Command Direction
1x0004Actual Direction
1x0005Accel
1x0006Decel
1x0007Alarm
1x0008Fault
1x0009At Speed
1x0010Local Control
1x0011
1x0012
1x0013Reference
1x0014
1x0015
1x0016
Read Various Input Registers
3x0001Product Status Word
3x0002Feedback Lo (Bits 0…15 of 32-bit Feedback)
3x0003Feedback Hi (Bits 16…31 of 32-bit Feedback or whole 16-bit Feedback)
3x0004Read USER IN 1
3x0005Read USER IN 2
3x0006Read USER IN 3
3x0007Read USER IN 4
3x0008Read USER IN 5
3x0009Read USER IN 6
3x0010Read USER IN 7
3x0011Read USER IN 8
3x0012Read Datalink A1 Out
3x0013
3x0014Read Datalink A2 Out
3x0015
3x0016Read Datalink B1 Out
3x0017
3x0018Read Datalink B2 Out
3x0019
3x0020Read Datalink C1 Out
3x0021
3x0022Read Datalink C2 Out
3x0023
3x0024Read Datalink D1 Out
3x0025
3x0026Read Datalink D2 Out
3x0027
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
4-4Using Modbus RTU
Table 4.C Adapter Modbus Register Map (Continued)
Modbus RegisterFunction
Write Various Holding Registers
4x0001Product Logic Command
4x0002Reference Lo (Bits 0…15 of 32-bit Reference)
4x0003Reference Hi (Bits 16…31 of 32-bit Reference or whole 16-bit Reference)
4x0004Parameter # for USER IN1
4x0005Parameter # for USER IN2
4x0006Parameter # for USER IN3
4x0007Parameter # for USER IN4
4x0008Parameter # for USER IN5
4x0009Parameter # for USER IN6
4x0010Parameter # for USER IN7
4x0011Parameter # for USER IN8
4x0012Write USER OUT1
4x0013Write USER OUT2
4x0014Write USER OUT3
4x0015Parameter # for USER OUT1
4x0016Parameter # for USER OUT2
4x0017Parameter # for USER OUT3
4x0018Write Datalink A1 In
4x0019
4x0020Write Datalink A2 In
4x0021
4x0022Write Datalink B1 In
4x0023
4x0024Write Datalink B2 In
4x0025
4x0026Write Datalink C1 In
4x0027
4x0028Write Datalink C2 In
4x0029
4x0030Write Datalink D1 In
4x0031
4x0032Write Datalink D2 In
4x0033
Direct Parameter Access
4x0100 + param #20-COMM-H Parameter Direct Access (with adapter in 16-bit mode)
4x0100 + (param # x 2)20-COMM-H Parameter Direct Access (with adapter in 32-bit mode)
4x1000 + param #Drive Parameter Direct Access (with adapter in 16-bit mode)
4x1000 + (param # x 2)Drive Parameter Direct Access (with adapter in 32-bit mode)
Using the Modbus RTU Point
Map for I/O
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
On Modbus, data transfers are used to transfer the I/O data that controls the
drive and sets its Reference. Note that output I/O is data that the master
device sends and the adapter receives. Input I/O is status data that the
adapter sends and the master device receives.
Important:In order for the drive to use the I/O and Reference from the
Modbus RTU network, you must set parameters in it and the
adapter to receive the I/O and Reference. For details, refer to
Setting the I/O Configuration
on page 3-5.
Using Modbus RTU4-5
Setting the Logic Command and Reference
ATTENTION: Select and use either the “Product Logic
Command Discrete Outputs (0x000x)” or the “Product Logic
!
Command Register Output (4x0001)” as a control method, but
not both. Conflicts caused from using both methods can result in
dangerous operation. Failure to observe this caution could cause
bodily injury and/or damage to equipment.
On Modbus RTU, there are two ways to set the logic command: discrete
outputs (Table 4.E on page 4-6
page 4-7).
• When you need to set only one bit in the logic command word, you can
use a discrete output. For example, to stop a PowerFlex 70/700 drive (bit
0), you can use a discrete output (Modbus Address 0x0001).
• When you need to set multi-bit fields in the logic status word or to set the
entire logic status word, you must use the register output to maintain data
integrity. For example, to set the direction of a PowerFlex 70/700 drive
(bits 4 and 5), you must use a register output (Modbus Address 4x0001).
) and register outputs (Table 4.F on
A 16-bit product logic word is buffered in the adapter, holding the last logic
command sent to the drive regardless of whether it was sent through the
discrete outputs or through the product logic command register output.
When a bit is updated through the discrete outputs or the register output, a
new logic command is generated and sent to the drive.
To set the Reference, you must use a register output (Modbus Address 4x0002
and/or 4x0003 in Table 4.F on page 4-7
is a scaled value; it is not an engineering value. For example, in PowerFlex 70/
700 drives, the reference is scaled based on the value of Parameter 55 - [Maximum Freq], but the commanded maximum speed can never exceed the
value of Parameter 82 - [Maximum Speed]. Tabl e 4.D
References and their results on a PowerFlex 70/700 drive that has its
Parameters 55 - [Maximum Freq] set to 130 Hz and 82 - [Maximum
Speed] set to 60 Hz.
Table 4.D Example Speed Reference and Feedback for a PowerFlex 70/700
A value of 32767 is equivalent to 100%. The effects of values greater than 32767 depend on
whether the DPI product uses a bipolar or unipolar direction mode. Refer to the
documentation for your DPI product.
(2)
The drive runs at 60 Hz instead of 130 Hz or 65 Hz because Parameter 82 - [Maximum
Speed] sets 60 Hz as the maximum speed.
(3)
The Feedback value is also scaled based on the value of Parameter 55 - [Maximum Freq],
For example, 60/130 = 0.46 so 32767 x 0.46 = 15123.
Scale
(1)
100%130 Hz60 Hz
). Remember that the Reference value
shows example
Feedback
Output Speed
(2)
(2)
15123
ValuePercentValue
15123
(3)
(3)
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
4-6Using Modbus RTU
Table 4.E shows that there are 16 discrete points to represent the command
word bit by bit. These points can be used only for writing single-bit
commands.
Table 4.E Logic Command: Discrete Outputs (to Drive from Controller)
Table 4.F shows the register outputs. These outputs must be used for writing
multi-bit commands and the Reference.
Table 4.F Logic Command and Reference: Register Outputs
Modbus
AddressOutput DescriptionValues
4x0001Product Logic Command 16-bit word. Bit definitions for PowerFlex 70/700 drives are in
Tabl e 4 .E
4x0002Reference LoBit 0…15 of 32-bit reference.
(1)
4x0003
(1)
The reference value is sent only when accessing address 4x0003. If a 32-bit reference is used, the 32-bit value
will be merged together by register 4x0002 and 4x0003 when accessing address 4x0003.
Viewing the Logic Status and Feedback
On Modbus RTU, there are two ways to view the logic status: discrete
inputs (Table 4.G
discrete inputs when you need to view only one bit in the logic status word.
For example, to view whether a PowerFlex 70/700 drive is Ready (bit 0),
you can use a discrete input (Modbus Address 1x0001).
Reference HiBit 16…31 of 32-bit reference or the whole 16-bit reference.
) and register inputs (Table 4.H on page 4-8). You can use
. For other products, refer to their documentation.
When you need to view multi-bit fields in the logic status word or to view
the entire logic status word, you must use a register input to maintain data
integrity. For example, to view the local control of a PowerFlex 70/700
drive (bits 9…11), you must use a register input (Modbus Address 3x0001).
To view the Feedback, you must also use a register input (Modbus Address
3x0002 and/or 3x0003). For details about how the feedback is scaled, refer
to the Setting the Logic Command and Reference
Table 4.G
word bit by bit. These points can be used only for reading single-bit status.
Table 4.G Logic Status: Discrete Inputs (to Controller from Drive)
Modbus
AddressLogic Status Bit
1x00010Ready0 = Not Ready
1x00021Active0 = Not Running
1x00032Command Direction0 = Reverse
1x00043Actual Direction0 = Reverse
1x00054Accel0 = Not Accelerating
1x00065Decel0 = Not Decelerating
1x00076Alarm0 = No Alarm
1x00087Fault0 = No Fault
1x00098At Speed0 = Not At Reference
shows that there are 16 discrete points to represent the status
1x001312ReferenceModbus Address
1x00141316 15 14 13
1x0015140000 = Ref A Auto
1x0016150001 = Ref B Auto
PowerFlex 70/700 Example
DescriptionValues
001= Port 1
010= Port 2
011= Port 3
100= Port 4
101= Port 5
110= Port 6
111 = No Local
0010 = Preset 2 Auto
0011 = Preset 3 Auto
0100 = Preset 4 Auto
0101 = Preset 5 Auto
0110 = Preset 6 Auto
0111 = Preset 7 Auto
1000= Term Blk Manual
1001 = DPI 1 Manual
1010 = DPI 2 Manual
1011 = DPI 3 Manual
1100 = DPI 4 Manual
1101 = DPI 5 Manual
1110 = DPI 6 manual
1111= Jog Ref
Table 4.H shows the register inputs. These inputs must be used for reading
multi-bit status fields and the Feedback.
Table 4.H Logic Status and Feedback: Register Inputs
Modbus
AddressInput DescriptionValues
3x0001Product Status Word16-bit word. Bit definitions for PowerFlex 70/700 drives are in
Tabl e 4 .G
3x0002Feedback LoBit 0…15 of 32-bit feedback
(1)
Feedback HiBit 16…31 of 32-bit feedback or the whole 16-bit feedback.
3x0003
(1)
The Feedback value is refreshed only when accessing address 3x0003. This is to maintain data integrity.
. For other products, refer to their documentation.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Using Modbus RTU4-9
Accessing Drive Parameters
There are two methods for accessing drive parameters: the direct access
method and the pointer access method.
Direct Access Method
You can use Function Code 03 to read and Function Codes 06 (single) and
16 (multiple) to write, to directly access the drive parameters (see
Table 4.B on page 4-2
read or write as opposed to first having to write the “Param# for INx” or
“Param# for OUTx” using the Pointer Access Method.
When a 41000 or higher Modbus address is used, the adapter assumes the
controller is accessing the drive’s parameters directly. The address is
determined by:
For example, with the adapter in 16-bit mode, Parameter 1 is accessed by
Modbus Address 41000. In the 32-bit mode, Parameter 1 is accessed by
Modbus Address 41002. Any attempts to access a parameter number that
does not exist will return an error.
). This allows direct access of parameters in a single
The 32-bit adapter mode requires a minimum of two registers to read or
write, and is always an even number since two 16-bit registers are read for
each 32-bit data item.
Pointer Access Method
Reading Parameter Values
With a configurable input point, you can read any 16-bit parameter in the
drive. The sequence for reading parameter values is as follows:
1. Set one or more Param# for INx points in the controller to the parameter
number(s) that you want to read. You can set up to eight Param# for INx
points. Refer to Table 4.I on page 4-10
2. Send a message with a Write Single Register (code 06) or Write
Multiple Register (code 16) function. You need to send the Param# for
INx point(s) to the adapter only one time per power cycle because,
when the adapter receives the Param# for INx point(s), it stores them in
its RAM. The adapter then continuously reads the values for the drive
parameters specified in the Param# for INx points.
3. Send a message with a Read Input Registers (code 04) function. The
adapter reads the drive parameter(s) that have been configured in the
Param# for IN point(s) and returns their values in the User INx point(s).
It can return up to eight User INx points. Refer to Table 4.I on
page 4-10. You can perform Read Input Registers continuously, if
desired.
.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
4-10Using Modbus RTU
Figure 4.1Configurable Input Point Operations
ControllerAdapter
Param#
for INx
With the adapter in 16-bit mode, 8 User IN items are available.
Table 4.IConfigurable Objects Inputs with Adapter in 16-bit Mode
4x0004Register OutputParam # for IN10 = Not in use
4x0005Param # for IN2
4x0006Param # for IN3
4x0007Param # for IN4
4x0008Param # for IN5
4x0009Param # for IN6
4x0010Param # for IN7
4x0011Param # for IN8
Write Single Register (code 06)
Write Multiple Register (code 16)
Read Input Registers (code 04) Request
Response Data
or
User
INx
- or 1 to maximum parameter #
and
Drive
User
Default
0
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
16-bit Mode Example: Write a value of “12” to register 4x0004. Read
register 3x0004 to read the 16-bit data value from drive parameter 12.
With the adapter in 32-bit mode, 4 User IN items are available.
Table 4.J Configurable Objects Inputs with Adapter in 16-bit Mode
4x0004Register OutputParam # for IN10 = Not in use
4x0005Param # for IN2
4x0006Param # for IN3
4x0007Param # for IN4
32-bit Mode Example: Write a value of “12” to register 4x0004. Read
register 3x0004 and store the returned 16-bit data. Read register 3x0005 and
Register InputUser IN1 Lo
User IN1 Hi
User IN2 Lo
User IN2 Hi
User IN3 Lo
User IN3 Hi
User IN4 Lo
User IN4 Hi
Depends on parameter selected0
- or 1 to maximum parameter #
User
Default
0
Using Modbus RTU4-11
store the returned 16-bit data. Use both 16-bit data items to make one 32-bit
value for drive parameter 12.
Writing Parameter Values
ATTENTION: Risk of equipment damage exists. If
configurable output points are programmed to write parameter
!
data to Non-Volatile 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 configurable outputs
to write parameter data to NVS. Datalinks do not write to NVS
and should be used for frequently changed parameters.
With a configurable output point, you can write a new value for any 16-bit
parameter in the drive. The sequence for writing parameter values is as
follows:
1. Set one or more Param# for OUTx points in the controller to the
parameter number(s) to which you want to write. A value of zero in the
Param# field disables the writing of data for that specific point. Refer to
the drive user manual for the desired parameter number(s). You can set
up to three Param# for OUTx points at a time. Refer to Table 4.K on
page 4-12.
2. Send a message with a Write Single Register (code 06) or Write
Multiple Register (code 16) function. You need to send the Param# for
OUTx point(s) to the adapter only one time per power cycle because,
when the adapter receives the Param# for OUTx point(s), it stores them
in its RAM.
3. Set the values that you want to write to the parameters in the User
OUTx points. You can set up to three User OUTx points at a time. Refer
to Table 4.K on page 4-12
4. Send a message with a Write Single Register (code 06) or Write
Multiple Register (code 16) function. Each time that the adapter
receives the values in the User OUTx points, it writes them to the drive
parameters.
Figure 4.2Configurable Output Point Operations
ControllerAdapter
Param#
for OUTx
User
OUTx
.
Write Single Register (code 06)
or
Write Multiple Register (code 16)
Write Single Register (code 06)
or
Write Multiple Register (code 16)
and
Drive
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
4-12Using Modbus RTU
Table 4.K Configurable Objects: Outputs with Adapter in 16-bit Mode
Using Broadcast Messages
Modbus
AddressData DirectionDescriptionValues
4x0012Register OutputUser OUT1Depends on parameter selected0
4x0013User OUT2
4x0014User OUT3
4x0015Param # for OUT10 = Not in use
4x0016Param # for OUT2
4x0017Param # for OUT3
16-bit Mode Example: Write a value of “101” to register 4x0015. Write a
value of “123” to register 4x0012. The drive parameter 101 value now
equals 12.3.
32-bit Mode: User OUT items are not supported when using the adapter in
the 32-bit mode.
A Modbus RTU global broadcast feature enables you to send a command
(start, stop, etc.) to all drives on the network at the same time by using
Modbus Address “0.” This feature can also be used to write the same
message to each network drive via a single message, for example setting
Accel Time to 5 seconds in every drive.
Important:Every node capable of receiving a broadcast message will act
upon the message, so it is required that broadcast messages are
used only on networks of similar devices. For example,
PowerFlex 70 and 700 drives use the same Logic Command
structure, Reference format and the same Modbus addressing,
so these could be controlled together using a broadcast
message. Always check the Modbus addressing, Logic
Command structure, Reference format, etc. for every node
device type before designing a system with broadcast
messages.
- or 1 to maximum parameter #
User
Default
0
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
The adapter also enables you to independently scale the broadcast message
Reference of its connected drive by using Parameter 31 - [RTU Ref. Adjust]. The scaling factor can be set from 0…200.0%. This lets the drive
Reference either match the broadcast message Reference (= 100%), scale
below the broadcast message Reference (<100%), or scale above the
broadcast message Reference (>100%).
Using Modbus RTU4-13
Adapter Parameter Direct
Access
Table 4.L provides an overview of the Modbus register addresses for
directly accessing the adapter parameters.
Table 4.L Adapter Parameter Direct Access Modbus Register Map
A write access to this register triggers a store/update of this parameter value
to the internal adapter EEPROM as a 32-bit value.
Flt Cfg Ref Hi
Flt Cfg A1 In Hi
Flt Cfg A2 In Hi
Flt Cfg B1 In Hi
Flt Cfg B2 In Hi
Flt Cfg C1 In Hi
Flt Cfg C2 In Hi
Flt Cfg D1 In Hi
Flt Cfg D2 In Hi
N2 Ref Scale Hi
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
4-14Using Modbus RTU
Notes:
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Chapter 5
Using Metasys N2
This chapter provides information about controlling a PowerFlex 7-Class
drive, setting its Reference, and accessing its parameters through
configurable objects when the Metasys N2 network protocol is selected.
TopicPage
Understanding Metasys N2
Using the Metasys N2 Point Map for I/O5-3
Using Metasys Configurable Objects to Access Parameters5-8
TIP: Datalinks can also be used for accessing parameters. For information
about using Datalinks, refer to Chapter 7
Protocols.
, Using Datalinks with All
5-1
Understanding Metasys N2
Metasys nodes are built up by the use of several virtual objects. The
Metasys N2 master performs read and write commands to these virtual
objects, and the adapter transfers/translates the data between these virtual
objects and the drive.
When a read or write command occurs to a certain dedicated virtual object,
data in the virtual objects is refreshed from or transferred to the drive.
The Metasys N2 master performs read and write commands to the virtual
objects one at a time. The data types that are used in the virtual objects are
binary input (BI), binary output (BO), analog input (AI), analog output
(AO), and internal integer (ADI), which is a 16-bit data value.
The Metasys master also performs cyclic polling of all the virtual objects.
Device Identity
The 20-COMM-H adapter must be configured in the master controller as a
Vendor device (VND) Code 10 hex.
Metasys N2 Virtual Objects
A Metasys N2 node may contain up to 256 virtual objects in each of its
seven different data types, called regions (Table 5.A
).
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
5-2Using Metasys N2
Table 5.A Description of the Regions of a Virtual Object
RegionTypeShortDescription
Region 1Analog InputAI32-bit, IEEE-standard floats
Region 2Binary InputBI1-bit
Region 3Analog OutputAO32-bit, IEEE-standard floats
Region 4Binary OutputBO1-bit
Region 5Internal FloatADF32-bit, IEEE-standard floats (Analog Data Float)
Region 6Internal IntegerADI16-bit (Analog Data Integer)
Region 7Internal ByteDB8-bit (Analog Data Byte)
Metasys N2 Data Types
Table 5.B Internal Structure of Metasys N2 Analog Input (AI)
AttributeTypeDescription
1ByteObject Configuration
2ByteObject Status
3FloatAnalog Input Value
8FloatLow Alarm Limit
9FloatLow Warning Limit
10FloatHigh Warning Limit
11FloatHigh Alarm Limit
12FloatDifferential
Table 5.C Internal Structure of Metasys N2 Binary Input (BI)
AttributeTypeDescription
1ByteObject Configuration
2ByteObject Status
Table 5.D Internal Structure of Metasys N2 Analog Output (AO)
AttributeTypeDescription
1ByteObject Configuration
2ByteObject Status
3FloatCurrent Value
Table 5.E Internal Structure of Metasys N2 Binary Output (BO)
AttributeTypeDescription
1ByteObject Configuration
2ByteObject Status
3IntegerMinimum On-Time
4IntegerMinimum Off-Time
5IntegerMaximum Cycle/Hour
Table 5.F Internal Structure of Metasys N2 Internal Integer (ADI)
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
AttributeTypeDescription
1ByteObject Status
2IntegerCurrent Value. Signed 16-bit.
Using Metasys N25-3
Using the Metasys N2 Point
Map for I/O
On Metasys N2, data transfers are used to transfer the I/O data that controls
the drive and sets its Reference. Note that Output I/O is data that the master
device sends and the adapter receives. Input I/O is status data that the
adapter sends and the master device receives.
Important:In order for the drive to use the I/O and Reference from the
Metasys N2 network, you must set parameters in it and the
adapter to receive the I/O and Reference. For details, refer to
Setting the I/O Configuration
Setting the Logic Command and Reference
ATTENTION: Select and use either the point type Digital (BO)
or the word type Analog (AO) as a control method, but not both.
!
Conflicts caused from using both methods can result in dangerous
operation. Failure to observe this precaution could cause bodily
injury and/or damage to equipment.
On Metasys N2, there are two ways to set the logic command: binary
outputs (Table 5.L on page 5-5
page 5-6).
) and an analog output (Table 5.M on
on page 3-5.
• When you need to set only one bit in the Logic Command word, you can
use binary outputs. For example, to stop a PowerFlex 70/700 drive (bit
0), you can use a binary output (BO#1).
• When you need to set multi-bit fields in the Logic Command word or to
set the entire Logic Command word, you must use the analog output to
maintain data integrity. For example, to set the Reference Selection of a
PowerFlex 70/700 drive (bits 12…14), you must use an analog output
(AO#1).
A 16-bit product logic word is buffered in the adapter, holding the last Logic
Command sent to the drive regardless of whether it was sent through the
binary outputs or through product logic command outputs (AO#1). When a
bit is updated through either of these outputs, a new Logic Command will
be generated and sent to the drive.
To set the Reference, you must use an analog output (AO#2). Table 5.G
shows example References and their results on a PowerFlex 70/700 drive
that has its Parameters 55 - [Maximum Freq] set to 70 Hz and 82 -
[Maximum Speed] set to 60 Hz, and adapter Parameter 29 - [N2 Ref
Scale] is set to 32,767.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
5-4Using Metasys N2
Table 5.G Example Speed Reference and Feedback for a PowerFlex 70/700 Drive
The actual value transmitted over the network is an engineering unit where
100% equals sending the value in the adapter Parameter 29 - [N2 Ref Scale],
and 0% equals sending a zero.
The Feedback percent value is also scaled based on the value of adapter
Parameter 29 - [N2 Ref Scale].
The drive runs at 60 Hz instead of 70 Hz because Parameter 82 - [Maximum
Speed] sets 60 Hz as the maximum speed.
Feedback
(2)
(3)
85.7%
Reference Setup Examples
Table 5.H PowerFlex 70EC and PowerFlex 700VC Default Example
When drive parameter 298 - [DPI Ref Sel] = 1 (Max Speed), the Reference and Feedback scaling
is always defined as 32767, which will cause the drive to run at the value of drive parameter 82 [Maximum Speed]. In this example, the drive will run at 60 Hz.
(1)
(1)
Using Metasys N25-5
Table 5.L shows that there are 16 binary outputs to represent the command
word bit by bit. These outputs can be used only for writing single-bit
commands.
Table 5.L Logic Command: Binary Outputs (Inputs to a Drive)
Network Point
Type (NPT)
BO10Stop0 = Not Stop
BO21Start
BO32Jog0 = Not Jog
BO43Clear
BO54DirectionNetwork Point Addresses
BO6506 05
BO76Local Control 0 = No Local Control
BO87MOP
BO98Accel RateNetwork Point Addresses
BO10910 09
BO1110Decel RateNetwork Point Addresses
BO121112 11
BO1312Reference
BO141315 14 13
BO15140 0 0 = No Command
BO1615MOP
(1)
A 0 = Not Stop condition (logic 0) must first be present before a 1 = Start condition will start the drive.
(2)
To perform this command, the value must change from “0” to “1.”
Network Point
Address (NPA)
Logic
Command Bit
PowerFlex 70/700 Example
DescriptionValues
(1) (2)
Faults
Increment
Select
Decrement
1 = Stop
0 = Not Start
1 = Start
1 = Jog
0 = Not Clear Faults
(2)
1 = Clear Faults
0 0 = No Command
0 1 = Forward Command
1 0 = Reverse Command
1 1 = Hold Direction Control
Table 5.M shows the analog outputs. These outputs must be used for writing
multi-bit commands and the Reference.
Table 5.M Logic Command and Reference: Analog Outputs
Network Point
Type (NPT)
AO1Product Logic
AO2Reference-100.0…100.0%
Additional Configuration Specific for Metasys N2
The Reference (AO#2) for Metasys N2 is set as a percentage from
-100…100%. However, the actual value transmitted over DPI is in an
engineering unit that equals the entered percentage. Parameter 29 - [N2 Ref Scale] determines the engineering unit value sent when AO#2 is set to
100%. The relationship is linear, where:
Network Point
Address (NPA)
100%
Parameter
DescriptionRange
16-bit word. Bit definitions for PowerFlex 70/700
Command
drives are in Table 5.L
their documentation.
. For other products, refer to
0%
0
Pr. 29 Value
By default, Parameter 29 - [N2 Ref Scale] equals 32,767, which is the
maximum Reference value for PowerFlex 70/700 drives. Note that
additional scaling is performed in the PowerFlex 70/700 drive, where
32,767 equals the frequency selected in drive Parameter 55 - [Maximum Freq]. For other DPI hosts, refer to the documentation of the specific DPI
host product.
Viewing the Logic Status and Feedback
On Metasys N2, there are two ways to view the Logic Status: binary inputs
(Table 5.N on page 5-7
can use binary inputs when you need to view only one bit in the Logic
Status word. For example, to view whether a PowerFlex 70/700 drive is
ready (bit 0), you can use a binary input (BI 1).
When you need to view multi-bit fields in the Logic Status word, to view
the entire Logic Status word, or to view the Feedback word, you must use
an analog input. For example, to view the local control of a PowerFlex 70/
700 drive (bits 9…11), you must use an analog input (AI #1). To view the
Feedback, you must use an analog input (AI #2 or AI #3).
) and an analog input (Table 5.O on page 5-8). You
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Using Metasys N25-7
Table 5.N shows that there are 16 binary inputs to represent the status word
bit by bit. These inputs can be used only for reading single-bit status.
Table 5.N Logic Status: Binary Inputs (Output from a Drive)
Network Point
Type (NPT)
BI10Ready0 = Not Ready
BI21Active0 = Not Running
BI32Command
BI43Actual Direction 0 = Reverse
BI54Accel0 = Not Accelerating
BI65Decel0 = Not Decelerating
BI76Alarm0 = No Alarm
BI87Fault0 = No Fault
BI98At Speed0 = Not At Reference
BI109Local ControlNetwork Point Addresses
BI111012 11 10
BI12110 0 0= Port 0 (TB)
BI1312Reference
BI141316 15 14 13
BI15140 0 00 = Ref A Auto
BI16150 0 01 = Ref B Auto
Network Point
Address (NPA)
Logic
Status Bit
PowerFlex 70/700 Example
DescriptionValues
1 = Ready
1 = Running
Direction
(typically used
when
commanding
drive speed
from source
other than
Metasys)
0 = Reverse
1 = Forward
1 = Forward
1 = Accelerating
1 = Decelerating
1 = Alarm
1 = Fault
1 = At Reference
001= Port 1
010= Port 2
011= Port 3
100= Port 4
101= Port 5
110= Port 6
1 1 1= No Local
Network Point Addresses
for reading multi-bit status fields and the Feedback.
shows the analog inputs. These inputs must be used
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
5-8Using Metasys N2
Table 5.O Logic Status and Feedback: Analog Inputs
Using Metasys Configurable
Objects to Access Parameters
Network Point
Type (NPT)
AI1Product Status
AI2Feedback Lo-100.0…100.0%
Configurable objects are inputs and outputs that let you read and write
parameter values. These objects handle only 16-bit parameter values.
Reading Parameter Values
The configurable points may show any 16-bit parameter in the drive by
configuring the Param# point. The Param# for INx points are stored in the
RAM in the adapter and need to be written to only one time per power cycle.
The adapter reads the value of the drive parameter configured in the Param#
point and shows the result in the User INx point. The adapter reads the
parameter values from the drive continuously one at a time when Param# is
set to a non-zero value. See Figure 5.1
Figure 5.1Configurable Input Point Operation Objects Inputs
Network Point
Address (NPA)
Parameter
DescriptionRange
16-bit word. Bit definitions for PowerFlex 70/700
Word
drives are in Tab l e 5 . N
to their documentation.
ADI1Param # for IN1 0 (not in use), 1 to maximum # of drive
ADI2Param # for IN2 0 (not in use), 1 to maximum # of drive
ADI3Param # for IN3 0 (not in use), 1 to maximum # of drive
ADI4Param # for IN4 0 (not in use), 1 to maximum # of drive
Network Point
Address (NPA) NameDescriptionDefault
ADI
AI
parameters
parameters
parameters
parameters
User
INx
0
0
0
0
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Table 5.Q Example of Configurable Objects: Inputs
Using Metasys N25-9
Network Point
Type (NPT)
AI3Output Frequency -400…400 Hz [0.1 Hz]60.0
AI4Output Current0.0 to Drive Related Amps [0.1 A]14.0
AI5Output Voltage0.0 to Drive Related Volts [0.1 VAC] 460.0
AI6Output Power0.0 to Drive Related kW [0.1 kW]7.5
ADI1Param # for IN1Integer # of drive parameter1
ADI2Param # for IN2Integer # of drive parameter3
ADI3Param # for IN3Integer # of drive parameter6
ADI4Param # for IN4Integer # of drive parameter7
Writing Parameter Values
!
These outputs are written from the adapter each time the User OUT point is
written from the network.
Network Point
Address (NPA) NameDescriptionDefault
ATTENTION: Risk of equipment damage exists. If
configurable outputs are programmed to write parameter data to
Non-Volatile 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 configurable outputs to
write parameter data to NVS. Datalinks do not write to NVS and
should be used for frequently changed parameters.
TIP: Analog Data Integers (ADIs) are configured by first selecting
an Analog Output (AO) setpoint and then selecting the ADI.
A value of zero in the Param# field disables the writing of data for that
specific point. Refer to the drive user manual for the desired parameter
number.
Figure 5.2Configurable Objects: Outputs
ControllerDrive
Param#
for OUTx
User
OUTx
Table 5.R Configurable Objects: Outputs
Network Point
Type (NPT)
AO3User OUT1User-defined Output 10
AO4User OUT2User-defined Output 20
ADI5Param# for OUT1 0 (not in use), 1 to maximum # of
ADI6Param# for OUT2 0 (not in use), 1 to maximum # of
Network Point
Address (NPA) DescriptionRangeDefault
ADI
AO
0
drive parameters
0
drive parameters
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
5-10Using Metasys N2
Notes:
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Chapter 6
Using Siemens Building Technologies P1 FLN
This chapter provides information about controlling a PowerFlex 7-Class
drive, setting its Reference, and accessing its parameters through points
when the Siemens Building Technologies P1 FLN network protocol is
selected.
TopicPage
Understanding Siemens Building Technologies P1 FLN
Using the P1 FLN Point Map for I/O6-5
Using the P1 FLN Point Map to Access Parameters6-9
TIP: Datalinks can also be used for accessing parameters. For information
about using Datalinks, refer to Chapter 7
Protocols.
6-1
, Using Datalinks with All
Understanding Siemens
Building Technologies P1 FLN
ATTENTION: Risk of injury or equipment damage exists. On
P1 FLN networks, 16-bit values are truncated to 15-bit values.
!
Unpredictable operation may result from using non-15-bit drive
parameters with the configurable points. Recognize the data
range limitation of P1 FLN and understand the data value ranges
of each parameter to be accessed over the network. Refer to the
drive user manual for information about drive parameter sizes.
P1 FLN nodes are built by the use of several points. The P1 FLN master
controller performs read and write commands to these points, and the
adapter transfers/translates the data between these points and the drive.
All values (byte-sized, Boolean, and true integers) are represented in a
16-bit word over the network, where the sign bit is always positive. The
actual range allowed by P1 FLN, however, is always 15 bits: 0…32767 for
integers, 0…255 for bytes, and 0 or 1 for Boolean. The limit of 15 bits
prevents the use of the adapter’s P1 FLN mode with 32-bit DPI hosts, where
either Reference/Feedback or Datalink values are represented in 32-bit
format. 16-bit real values will be truncated to show only 15-bit values.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
6-2Using Siemens Building Technologies P1 FLN
P1 FLN Point Types
Logic analog and digital I/O points are used for controlling the drive,
monitoring status, and reading/writing parameters. Table 6.A
point types.
Table 6.A Point Types
Abbreviation NameUsed for
LDILogical Digital InputsReading bit level points (0 or 1) such as drive status. For
LDOLogical Digital Outputs Writing bit-level points (0 or 1) such as drive commands. For
LAILogical Analog InputsReading word-level points such as FREQ OUTPUT (Point
LAOLogical Analog Outputs Writing word-level points such as REFERENCE (Point 92)
Some points can be unbundled. Unbundle means that you can characterize
the subpoint so that three additional items can be enabled for that specific
subpoint:
shows the four
example, FWD.REV MON (point 21) provides the status of
the rotation direction of the drive.
example, CMD RUN.STOP (Point 24) commands the drive
to run.
03) and CURRENT (Point 06).
and acceleration (Point 31).
• The subpoint can be monitored for COV (Change of Value). All
unbundled points are reported for any change of value when a “Scan for
COV” command is issued. (Analog points may have COV limits defined
to reduce network traffic.)
• The subpoint can be overridden by the operator.
• Unbundling a point allows the operator to set up a virtual point in the
controller's database, which when commanded, can also affect the
subpoints in the device.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Using Siemens Building Technologies P1 FLN6-3
Siemens Building Technologies P1 FLN Point Map
Description
(4)
momentary Stop command to the drive.
0 – 255NoCurrent limit of the drive. Min value 0.9; max value 6.0
(3)
value 3276.7
value 3276.7
0 – 32767 NoAcceleration time of the drive. Min value 0.1; max
0 – 32767 NoDeceleration time of the drive. Min value 0.1; max
(3)
(3)
English
Point
Point
Table 6.B Siemens Building Technologies P1 FLN Point List
UnitsSlopeInterceptON Text OFF Text DefaultRangeCOV
Descriptor
(2)
Type
(1)
Number
01LAOCTRL ADDRESS10990 – 255NoNode address of this device.
{03}LAIFREQ OUTPUTHZ0.01-163.8300 – 32767YesDrive speed in frequency (Hertz).
{04}LAIPCT OUTPUTPCT0.1000 – 32767 YesDrive speed in percentage of max.
{05}LAISPEEDRPM1000 – 32767 YesDrive speed in RPM.
{06}LAICURRENTAMPS0.1000 – 32767 YesDrive current consumption in amps.
{07}LAITORQUEPCT0.1-1638.300 – 32767 YesDrive torque in percentage of max.
{08}LAIPOWERKW0.1000 – 32767YesDrive power in kW.
{09}LAIDRIVE TEMPDEG C0.1-1638.300 – 32767 YesDrive temperature in degree C.
{11}LAIDRIVE MWHMWH0.1000 – 32767YesDrive total power consumption in MWH.
{12}LAIRUN TIMEHRS0.1000 – 32767YesDrive total run time in hours.
{13}LAIDC BUS VOLTVOLTS0.1000 – 32767 YesDrive DC bus voltage.
{20}LAOOVRD TIME1000 – 255YesNot used by this application.
{21}LDIFWD.REV MON10REVFWD0 (FWD)0 – 1YesMonitor the rotation direction of the drive.
{22}LDOCMD FWD.REV10REVFWD0 (FWD)0 – 1YesCommand the rotation direction of the drive.
{23}LDIRUN.STOP MON10RUNSTOP0 (STOP)0 – 1YesMonitor the Run/Stop status of the drive.
{24}LDOCMD RUN.STOP10RUNSTOP0 (NO)0 – 1YesCommand Run to the drive. A STOP issues a
{25}LDIREADY10READY NOTRDY 0 (NOTRDY) 0 – 1YesMonitor the Ready status of the drive.
{26}LDORUN ENABLE10ENABLE STOP0 (NO)0 – 1YesMust be set to ENABLE to allow controlling the drive.
{29}LDODAY.NGT10NIGHTDAY0 (DAY)0 – 1YesNot used by this application.
{30}LAOCURRNT LIMIT0.10
{31}LAOACCEL TIME0.10
{32}LAODECEL TIME0.10
36LAOPARAM IN1000 – 32767 NoParameter number to User In point.
{37}LAIUSER IN1000 – 32767 YesUser-defined input.
38LAOPARAM OUT1000 – 32767 NoParameter number to USER IN point.
39LAOUSER OUT1000 – 32767NoUser-defined output.
{44}LAIDLNK A1 OUT1000 – 32767 YesBits 0-14 of Datalink Out A1.
For a description of point types, refer to Table 6.A on page 6-2. Note that the outputs and inputs are from the network perspective, not the drive perspective. For example, an LAO is an output from the controller on
(1)
(2)
COV indicates whether the points is able to support COVs and overrides.
Depends on DPI Host product connected to (PowerFlex 70, etc.) and HP size.
(4)
(3)
the network, but it is an input to the drive.
Points not listed are not used in this application. Point numbers that appear in braces { } may be unbundled.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
6-4Using Siemens Building Technologies P1 FLN
Description
(3)
Will return to NORMAL (0) automatically.
English
UnitsSlopeInterceptON Text OFF Text DefaultRangeCOV
Descriptor
(2)
Point
Type
(1)
Point
Number
{46}LAIDLNK A2 OUT1000 – 32767 YesBits 0-14 of Datalink Out A2.
{48}LAIDLNK B1 OUT1000 – 32767 YesBits 0-14 of Datalink Out B1.
{50}LAIDLNK B2 OUT1000 – 32767 YesBits 0-14 of Datalink Out B2.
Table 6.B Siemens Building Technologies P1 FLN Point List (Continued)
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
{52}LAIDLNK C1 OUT1000 – 32767 YesBits 0-14 of Datalink Out C1.
{54}LAIDLNK C2 OUT1000 – 32767 YesBits 0-14 of Datalink Out C2.
{56}LAIDLNK D1 OUT1000 – 32767 YesBits 0-14 of Datalink Out D1.
the network, but it is an input to the drive.
Points not listed are not used in this application. Point numbers that appear in braces { } may be unbundled.
For a description of point types, refer to Table 6.A on page 6-2. Note that the outputs and inputs are from the network perspective, not the drive perspective. For example, an LAO is an output from the controller on
{58}LAIDLNK D2 OUT1000 – 32767 YesBits 0-14 of Datalink Out D2.
{60}LAIINPUT REF 10.001-16.38300 – 32767YesShows the Input Reference 1 parameter.
{62}LAODLNK A1 IN1000 – 32767 YesBits 0-14 of Datalink In A1.
{64}LAODLNK A2 IN1000 – 32767 YesBits 0-14 of Datalink In A2
{66}LAODLNK B1 IN1000 – 32767 YesBits 0-14 of Datalink In B1.
{68}LAODLNK B2 IN1000 – 32767 YesBits 0-14 of Datalink In B2.
{70}LAODLNK C1 IN1000 – 32767YesBits 0-14 of Datalink In C1.
{72}LAODLNK C2 IN1000 – 32767YesBits 0-14 of Datalink In C2.
{74}LAODLNK D1 IN1000 – 32767YesBits 0-14 of Datalink In D1.
{76}LAODLNK D2 IN1000 – 32767YesBits 0-14 of Datalink In D2.
{89}LAOLOGIC CMD LO1000 – 255YesLower 8 bits of Product Logic Command Word.
{90}LAOLOGIC CMD HI1000 – 255YesHigher 8 bits of Product Logic Command Word.
{91}LAIFEEDBACK1000 – 32767YesFeedback value bits 0-14 (absolute value).
{92}LAOREFERENCE1000 – 32767YesReference value bits 0-14.
{93}LDIOK.FAULT10FAULTOK0 (OK)0 – 1YesShows if the drive is faulted or not.
{94}LDORESET FAULT10RESET NORMAL 0 (NORMAL) 0 – 1YesResets the fault condition in the drive. Special point.
{95}LAILOGIC STS LO1000 – 255YesLower 8 bits of Product Logic Status Word.
{96}LAILOGIC STS HI1000 – 255YesHigher 8 bits of Product Logic Status Word.
{99}LAOERROR STATUS1000 – 255YesNot used by this application.
(1)
COV indicates whether the points is able to support COVs and overrides.
(2)
(3)
Using Siemens Building Technologies P1 FLN6-5
Using the P1 FLN Point Map
for I/O
On Siemens Building Technologies P1 FLN, data transfers are used to
transfer the I/O data that controls the drive and sets its Reference. Note that
Output I/O is data that the master device sends and the adapter receives.
Input I/O is status data that the adapter sends and the master device receives.
Important:In order for the drive to use the I/O and Reference from the P1
FLN network, you must set parameters in it and the adapter to
receive the I/O and Reference. For details, refer to
Setting the I/O Configuration
Setting the Logic Command and Reference
ATTENTION: Select and use either the point type Digital
(LDO) or the word type Analog (LAO) as a control method, but
!
not both. Conflicts caused from using both methods can result in
dangerous operation. Failure to observe this precaution could
cause bodily injury and/or damage to equipment.
On Siemens Building Technologies P1 FLN, there are two ways to control a
drive and set its Reference.
• The more common way uses points such as CMD RUN.STOP (point 24)
and RUN ENABLE (point 26). Refer to Table 6.B on page 6-3
of points. For example, to start a PowerFlex 70/700 drive, you can set
CMD RUN.STOP (point 24) to “RUN.” To stop it, you can set CMD
RUN.STOP (point 24) to “STOP” or RUN ENABLE (point 26) to
“STOP.”
on page 3-5.
for a list
ATTENTION: LOGIC CMD LO (point 89) must be written
prior to LOGIC CMD HI (point 90) to maintain data integrity of
!
the Logic Command word. Failure to observe this precaution
could result in bodily injury and/or damage to equipment.
• The second way uses LOGIC CMD HI (point 90) and LOGIC CMD LO
(point 89). The LOGIC CMD LO and LOGIC CMD HI points are both
8-bit points. The adapter joins these two words together to make a 16-bit
command word. Refer to Appendix
for definitions of the bits in the command word. The command word in
the adapter’s buffer is updated with the content of LOGIC CMD LO and
LOGIC CMD HI points. It is transferred to the drive when LOGIC CMD
HI is written. Therefore, to maintain data integrity of the command word,
LOGIC CMD LO must be written prior to writing LOGIC CMD HI. For
example, to start a PowerFlex 70/700 drive, you can write a value of “2”
to LOGIC CMD LO and a value of “0” to LOGIC CMD HI. To stop it,
you can write a value of “1” to LOGIC CMD LO and a value of “0” to
LOGIC CMD HI.
The Reference value is a 16-bit value in the drive but will only use 15 bits
due to the P1 FLN protocol limitation. You can send the reference using
REFERENCE (point 92). Remember that the Reference value is a scaled
C, Logic Command/Status Words,
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
6-6Using Siemens Building Technologies P1 FLN
engineering value. For example, in PowerFlex 70/700 drives, the Reference
is scaled based on the value of Parameter 55 - [Maximum Freq], but the
commanded maximum speed can never exceed the value of Parameter 82 - [Maximum Speed]. Table 6 .C
on a PowerFlex 70/700 drive that has its Parameters 55 - [Maximum Freq] set to 130 Hz and 82 - [Maximum Speed] set to 60 Hz.
Table 6.C Example Speed Reference and Feedback for a PowerFlex 70/700
A 0 = Not Stop condition (Logic Command bit 0) must first be present before a 1 = Start condition will start the
drive.
(2)
To perform this command, the value must change from “0” to “1.”
(3)
Setting CMD RUN.STOP to STOP issues a momentary Stop command to the drive. Logic Command Bit 0 is
momentarily set to 1 (STOP) to initiate a Stop and then set to 0 (Not Stop).
The P1 FLN point map provides points to execute other commands on an
adapter or drive. These points include CTRL ADDRESS (point 01),
CURRENT LIMIT (point 30), ACCEL TIME (point 31), and DECEL
TIME (point 32). Refer to Table 6.E on page 6-8
various points.
Viewing the Logic Status and Feedback
There are two ways to determine drive status:
• The more common way uses points such as RUN.STOP MON (point 23)
and FWD.REV MON (point 21) that represent individual bits in the
Logic Status word. Refer to Table 6.B on page 6-3
example, to view if a PowerFlex 70/700 drive is running, you can read
RUN.STOP MON (point 23) to see if it is “RUN” or “STOP.” To view its
direction, you can read FWD.REV MON (point 21) to see if it is “FWD”
or “REV.”
• The second way uses LOGIC STS LO (point 95) and LOGIC STS HI
(point 96). The LOGIC STS LO and LOGIC STS HI are both 8-bit
points that the adapter can use to report its 16-bit status word. Refer to
Appendix
the status word. Since LOGIC STS LO gets updated only when LOGIC
STS HI is read, you must read LOGIC STS HI prior to reading LOGIC
STS LO to maintain the data integrity of the status word. For example, to
view if a PowerFlex 70/700 drive is running, you can read LOGIC STS
HI and LOGIC STS LO and determine if bit 1 is “0” (Not Running) or
“1” (Running). To view its direction, you can read LOGIC STS LO and
LOGIC STS HI and determine if bit 3 is “0” (Reverse) or “1” (Forward).
C, Logic Command/Status Words, for definitions of the bits in
(point 05) report the feedback in values such as Hz, percent of maximum
speed, and RPM, respectively.
• FEEDBACK (point 91) reports the feedback as a scaled value. For an
explanation of how the Reference/Feedback is scaled, refer to the Setting
the Logic Command and Reference on page 6-5.
Table 6.E
and the points that you can use to view them.
Table 6.E Logic Status
Point
Number(s) Point Name
25READY0Ready0 = Not Ready
95LOGIC STS LO bit 0
23RUN.STOP MON1Active0 = Not Running
95LOGIC STS LO bit 1
95LOGIC STS LO bit 2 2Command
21FWD.REV MON3Actual
95LOGIC STS LO bit 3
95LOGIC STS LO bit 4 4Accel0 = Not Accelerating
95LOGIC STS LO bit 5 5Decel0 = Not Decelerating
95LOGIC STS LO bit 6 6Alarm0 = No Alarm
93OK.FAULT7Fault0 = No Fault
95LOGIC STS LO bit 7
96LOGIC STS HI bit 0 8At Speed0 = Not At Reference
96LOGIC STS HI
shows the status that you can view on a PowerFlex 70/700 drive
PowerFlex 70/700 Example
Logic
Status Bit
9, 10, and 11 Local
bits 3, 2, 1
Descriptio
nValues
1 = Ready
1 = Running
0 = Reverse
Direction
Direction
Control
1 = Forward
0 = Reverse
1 = Forward
1 = Accelerating
1 = Decelerating
1 = Alarm
1 = Fault
1 = At Reference
LOGIC STS HI Bits
03 02 01
000= Port 0 (TB)
001= Port 1
010= Port 2
011= Port 3
100= Port 4
101= Port 5
110= Port 6
111= No Local
(1)
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Using Siemens Building Technologies P1 FLN6-9
Table 6.E Logic Status (Continued)
PowerFlex 70/700 Example
Point
Number(s) Point Name
96LOGIC STS HI
bits 7, 6, 5, 4
(1)
The values in this column are for LOGIC STS LO (point 95) and LOGIC STS HI (point 96). For details about
other point values, refer to Table 6.B on page 6-3
Logic
Status Bit
12, 13, 14,
and 15
Descriptio
nValues
Reference LOGIC STS HI Bits
07 06 05 04
0000= Ref A Auto
0001= Ref B Auto
0010= Preset 2 Auto
0011= Preset 3 Auto
0100= Preset 4 Auto
0101= Preset 5 Auto
0110= Preset 6 Auto
0111= Preset 7 Auto
1000= Term Blk Manual
1001= DPI 1 Manual
1010= DPI 2 Manual
1011= DPI 3 Manual
1100= DPI 4 Manual
1101= DPI 5 Manual
1110= DPI 6 Manual
1111= Jog Ref
.
(1)
Using the P1 FLN Point Map to
Access Parameters
The P1 FLN point map provides points to monitor a number of other
features in the drive. These points include CURRENT (point 06), TORQUE
(point 07), and POWER (point 08). Refer to Table 6.E
the various points.
Drive parameters can be accessed using Configurable Points or Datalinks
(Chapter 7
Reading Parameter Values
Configurable points USER IN (point 37) and PARAM IN (point 36) are
points that enable any parameter in the drive to be monitored. The USER IN
shows only 15-bit values; therefore, only 16-bit drive parameters can be
used (however, only values between 0…32767 would be used).
The PARAM IN is used to configure which parameter is to be monitored,
and the value ends up in the USER IN. For example, for a PowerFlex 70 or
700 drive, writing the value of “1” into PARAM IN point (reading drive
parameter 1) would provide the Output Frequency in USER IN point.
, Using Datalinks with All Protocols).
for a description of
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
6-10Using Siemens Building Technologies P1 FLN
Writing Parameter Values
!
Configurable Points USER OUT (point 39) and PARAM OUT (point 38)
are points that enable write access to any parameter in the drive. However,
due to the 15-bit limitation, only 16-bit drive parameters should be
accessed.
For example, for a PowerFlex 70/700 drive, writing a value of “140” in
PARAM OUT (writing drive parameter 140) and the value of “200” in
USER OUT would set drive Parameter 140 - [Accel Time 1] to 20.0
seconds.
ATTENTION: Risk of equipment damage exists. If
configurable points are programmed to write parameter data to
Non-Volatile 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 configurable points to write
parameter data to NVS. Datalinks do not write to NVS and should
be used for frequently changed parameters.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Chapter 7
Using Datalinks with All Protocols
This chapter provides information and examples showing how to use
Datalinks.
TopicPage
Using Datalinks
Using Datalinks with Modbus7-3
Using Datalinks with Metasys N27-4
Using Datalinks with Siemens P1 FLN7-5
7-1
Using Datalinks
A Datalink is a mechanism used by PowerFlex drives to transfer data to and
from the controller. Datalinks “point” to specific drive parameters to be
accessed. When enabled, each Datalink occupies two 16-bit or two 32-bit
words in both the input and output image. Adapter Parameter 19 - [Datalink Size] indicates whether the drive uses 16-bit or 32-bit words for
Datalinks.
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 must not try to use the same Datalink.
• Parameter settings in the drive determine the data passed through the
Datalink mechanism. Refer to the documentation for your drive.
• When you use a Datalink to change a value, the value is NOT written to
the Non-Volatile Storage (NVS). The value is stored in volatile memory
and lost when the drive loses power. Thus, use Datalinks when you need
to change a value of a parameter frequently.
32-Bit Parameters using 16-Bit Datalinks
This subsection only pertains to PowerFlex 70 (SC or EC), PowerFlex 700
(SC), and PowerFlex 700H drives which use 16-bit Datalinks. To read (and/
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 and Datalink A2 Out 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).
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
7-2Using Datalinks with All Protocols
32-bit data is stored in binary as follows:
MSW231 through 2
LSW215 through 2
In this example, the Parameter 10 - [Elapsed Run Time] value of 6553.9 Hrs
is read as “6553.9” in Datalink A1 Out and Datalink A2 Out.
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
16
0
= 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
Configuring Datalinks
Configuring Datalinks from the drive side is a two-step process:
1. Configure the datalink parameters in the drive. For example, in a
PowerFlex 70 or 700 drive, set Parameters 300 - [Data In A1] to 317 - [Data Out D2] to “point” to the parameters to be accessed. For
instance, to read drive Parameter 1 - [Output Freq], set Parameter
310 - [Data Out A1] to “1.”
2. Enable the desired Datalinks in Parameter 16 - [DPI I/O Cfg] in the
adapter. This tells the adapter to transfer Datalink data to and from the
drive. For example, to enable Datalink A1, set bit 1 to “1.” For details,
refer to Setting the I/O Configuration
= 1101
hex
= 32573
hex
= 219 + 218 + 216 = 851968
binary
on page 3-5.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Using Datalinks with All Protocols7-3
Using Datalinks with Modbus
This section presents information about using Datalinks with Modbus
networks. For information about using Datalinks for Metasys N2 networks
or Siemens P1 FLN networks, refer to the Using Datalinks with Metasys N2
or Using Datalinks with Siemens P1 FLN
sections in this chapter.
Modbus Datalinks Out: A…D
Table 7.A Modbus Datalinks Out - A1, A2
Modbus
AddressData Direction
3x0012Register InputDatalink A1 OutNot usedLSW of 32-bit
(1)
3x0013
3x0014Register InputDatalink A2 Out
3x0015
(1)
A read access to address 3x0013 initiates a refresh of Datalink A1 value before reading.
(2)
A read access to address 3x0015 initiates a refresh of Datalink A2 value before reading.
Table 7.B Modbus Datalinks Out - B1, B2
Modbus
AddressData Direction
3x0016Register InputDatalink B1 Out
3x0017
3x0018Register InputDatalink B2 Out
3x0019
(1)
A read access to address 3x0017 initiates a refresh of Datalink B1 value before reading.
(2)
A read access to address 3x0019 initiates a refresh of Datalink B2 value before reading.
Register InputDatalink A1 Out16-bit valueMSW of 32-bit
(2)
Register InputDatalink A2 Out16-bit valueMSW of 32-bit
(1)
Register InputDatalink B1 Out16-bit valueMSW of 32-bit
(2)
Register InputDatalink B2 Out16-bit valueMSW of 32-bit
This section presents information about using Datalinks with Metasys N2
networks. For information about using Datalinks for Modbus networks or
Siemens P1 FLN networks, refer to the Using Datalinks with Modbus
Using Datalinks with Siemens P1 FLN
sections in this chapter.
and
Using Datalinks with All Protocols7-5
Metasys N2 Datalinks Out: A and B (No Datalinks C and D)
Table 7.IMetasys N2 Datalinks Out - A1, A2
Network Point
Type (NPT)
AI7InputDatalink A1 Out 16-bit
AI8InputDatalink A2 Out 16-bit
Table 7.J Metasys N2 Datalinks Out - B1, B2
Network Point
Type (NPT)
AI9InputDatalink B1 Out 16-bit
AI10InputDatalink B2 Out 16-bit
Network Point
Address (NPA) Direction
Network Point
Address (NPA) Direction
Parameter
Description
Parameter
Description
16-Bit
Datalink 32-Bit Datalink
Limited to
value
value
16-Bit
Datalink 32-Bit Datalink
value
value
-16,777,215…16,777,215
Limited to
-16,777,215…16,777,215
Limited to
-16,777,215…16,777,215
Limited to
-16,777,215…16,777,215
Metasys N2 Datalinks In: A and B (No Datalinks C and D)
Table 7.K Metasys N2 Datalinks In - A1, A2
Network Point
Type (NPT)
AO5OutputDatalink A1 In16-bit
AO6OutputDatalink A2 In16-bit
Network Point
Address (NPA) Direction
Parameter
Description
16-Bit
Datalink 32-Bit Datalink
Limited to
value
value
-16,777,215…16,777,215
Limited to
-16,777,215…16,777,215
Using Datalinks with
Siemens P1 FLN
Table 7.L Metasys N2 Datalinks In - B1, B2
Network Point
Type (NPT)
AO7OutputDatalink B1 In16-bit
AO8OutputDatalink B2 In16-bit
This section presents information about using Datalinks with Siemens P1
FLN networks. For information about using Datalinks for Modbus networks
or Metasys N2 networks, refer to the Using Datalinks with Modbus
Using Datalinks with Metasys N2
DLNK A1 OUT to DLNK D2 OUT contain the Datalink Out A1 to D2
parameters from the drive. DLNK A1 IN to DLNK D2 IN contain the
Datalink In A1 to D2 parameter values to the drive.
For example, a PowerFlex 70 or 700 drive enabling Datalink A for the
adapter and configuring drive Parameter 310 - [Data Out A1] to “1” will
provide drive Parameter 1 - [Output Frequency] at the DLNK A1 OUT
point. Configuring Parameter 300 - [Data In A1] to “140” in the drive will
transfer the value of the DLNK A1 IN point value to drive Parameter 140 - [Accel Time 1] when accessed.
Network Point
Address (NPA) Direction
Parameter
Description
sections in this chapter.
16-Bit
Datalink 32-Bit Datalink
value
value
Limited to
-16,777,215…16,777,215
Limited to
-16,777,215…16,777,215
or
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
7-6Using Datalinks with All Protocols
Note that certain drives may utilize 32-bit datalinks. In this case, Datalinks
are not supported by the adapter. The adapter will support only 15-bit
Datalink values.
ATTENTION: Risk of injury or equipment damage exists. On
P1 FLN networks, 16-bit values are truncated to 15-bit values.
!
Unpredictable operation may result from using non-16-bit drive
parameters with the configurable points. Recognize the data
range limitation of P1 FLN and understand the data value ranges
of each parameter to be accessed over the network. Refer to the
drive user manual for information about drive parameter sizes.
Siemens P1 FLN Datalinks Out: A…D
P1 FLN devices work only with 15-bit integer values; therefore, these
points only show 15-bit values. If an adapter is connected to a host using
32-bit Datalinks, the adapter will be prevented from using Datalinks. The
DPI host determines if 16- or 32-bit Datalink values are used.
Table 7.M Siemens P1 FLN Datalinks Out: A…D
Point
Number
{44}LAIDLINK A1 OUT0Bit 0…14 of Datalink Out A1
{46}LAIDLINK A2 OUT0Bit 0…14 of Datalink Out A2
{48}LAIDLINK B1 OUT0Bit 0…14 of Datalink Out B1
{50}LAIDLNK B2 OUT0Bit 0…14 of Datalink Out B2
{52}LAIDLNK C1 OUT0Bit 0…14 of Datalink Out C1
{54}LAIDLNK C2 OUT0Bit 0…14 of Datalink Out C2
{56}LAIDLNK D1 OUT0Bit 0…14 of Datalink Out D1
{58}LAIDLNK D2 OUT0Bit 0…14 of Datalink Out D2
(1)
Point numbers that appear in braces { } may be unbundled at the field panel.
Siemens P1 FLN Datalinks In: A…D
P1 FLN devices work only with 15-bit integer values; therefore, these
points only show 15-bit values. If an adapter is connected to a host using
32-bit Datalinks, the adapter will be prevented from using Datalinks. The
DPI host determines if 16- or 32-bit Datalink values are used.
Table 7.N Siemens P1 FLN Datalinks In: A…D
Point
Number
{62}LAODLNK A1 IN0Bits 0…14 of Datalink In A1
{64}LAODLNK A2 IN0Bits 0…14 of Datalink In A2
{66}LAODLNK B1 IN0Bits 0…14 of Datalink In B1
{68}LAODLNK B2 IN0Bits 0…14 of Datalink In B2
{70}LAODLNK C1 IN0Bits 0…14 of Datalink In C1
{72}LAODLNK C2 IN0Bits 0…14 of Datalink In C2
{74}LAODLNK D1 IN0Bits 0…14 of Datalink In D1
{76}LAODLNK D2 IN0Bits 0…14 of Datalink In D2
(1)
Point numbers that appear in braces { } may be unbundled at the field panel.
Point
(1)
TypeDescriptor
Point
(1)
TypeDescriptor
Factory
DefaultDescription
Factory
DefaultDescription
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Chapter 8
Troubleshooting
This chapter provides information for diagnosing and troubleshooting
potential problems with the adapter and network.
TopicPage
Understanding the Status Indicators
PORT Status Indicator8-2
MOD Status Indicator8-2
NET A Status Indicator8-3
NET B Status Indicator8-3
Viewing Adapter Diagnostic Items8-4
Viewing and Clearing Events8-6
8-1
Understanding the Status
Indicators
The adapter has four status indicators. They can be viewed on the adapter or
through the drive cover. See Figure 8.1
Figure 8.1Status Indicators (location on drive may vary)
➊
➋
➌
➍
➊
➋
➌
➍
.
ItemStatus IndicatorDescriptionPage
PORTDPI Connection Status8-2
➊
MODAdapter Status8-2
➋
NET ASerial Communication Status8-3
➌
NET BSerial Communication Traffic Status8-3
➍
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
8-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 drive.
Steady RedThe drive has refused an I/O connection from the
adapter.
Another DPI peripheral is using the same DPI port
as the adapter.
Steady Orange The adapter is connected to a product that does not
support Rockwell Automation DPI communications.
A connection to a host with a 32-bit reference or
32-bit Datalinks is detected when the peripheral has
been configured to use the P1 FLN protocol. The
peripheral doesn’t support 32-bit devices when using
the P1 FLN network protocol.
Flashing Green The adapter is establishing an I/O connection to the
drive or I/O has been disabled.
Steady GreenThe adapter is properly connected and is
communicating with the drive.
This red/green bicolor LED indicates the status of the adapter’s DPI
connection to the drive as shown in the table below.
• Securely connect the adapter to the drive using the Internal
• Apply power to the drive.
• Verify that cables are securely connected and not damaged.
• 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
• Verify that the DPI drive supports Datalinks.
• Configure the adapter to use a Datalink that is not already being
• Connect the adapter to a product that supports Allen-Bradley DPI
• Connect the adapter to a product that uses a 16-bit reference and
• Verify the settings of Parameter 16 - [DPI I/O Cfg].
• Normal behavior if all I/O is disabled in Parameter 16 - [DPI I/O
No action required.
Interface (ribbon) cable.
Replace cables if necessary.
not damaged. Replace cables if necessary.
used by another peripheral.
communications (for example, a PowerFlex 7-Class drive).
16-bit Datalinks.
Cfg].
MOD Status Indicator
StatusCauseCorrective Action
OffThe adapter is not powered or is not properly
connected to the drive.
Flashing RedBad CRC of adapter parameters or flash program;
other recoverable fault condition.
Steady RedThe adapter has failed the hardware test.• Cycle power to the drive.
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.
• 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, flash the adapter
with the latest firmware release.
• Replace the adapter.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
StatusCauseCorrective Action
Flashing Green The adapter is operational, but is not transferring I/O
Flashing Red/
Green
Steady GreenThe adapter is operational and transferring I/O data. No action required.
data.
The adapter has detected a framing error.Check Parameter 09 -[Stop Bits Act] and Parameter 30 - [Stop Bits
• 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 all I/O has been disabled in Parameter 16 - [DPI
I/O Cfg].
Cfg].
Troubleshooting8-3
NET A Status Indicator
StatusCauseCorrective Actions
OffThe adapter is not powered or is not properly connected
to the network.
The first incoming network command is not yet
recognized.
Flashing RedA network connection has timed out.• Set the timeout in Parameter 11 - [Network Timeout].
Steady RedThe device has detected an error that has made it
incapable of communication on the network.
Flashing Green Online to network, but not producing or consuming I/O.
If Parameter 11 - [Network Timeout] has not been set
to “0” (zero), this indicates that the adapter has not
received any messages within the interval, but it has not
yet timed out. The LED will turn steady green when
communication resumes.
Steady GreenThe adapter is properly connected and communicating
on the network.
This red/green bicolor LED indicates the receive status of the adapter as
shown in the table below.
• Securely connect the adapter to the drive using the
Internal Interface (ribbon) cable.
• Correctly connect the RS-485 cable to the connector.
• Apply power to the drive.
• Set the baud rate and/or parity to match the controller.
• Set the correct network protocol.
• Place the scanner in RUN mode.
• Verify that there is not too much traffic on the network.
• Select the correct network protocol.
• Select correct data rate.
• Verify node address is correct.
• Cycle power to apply changes.
• Place the scanner in RUN mode.
• Program the scanner to send messages to this specific
adapter within the specified timeout.
• Configure the adapter for the program in the controller.
No action required.
NET B Status Indicator
StatusCauseCorrective Actions
OffThe adapter is not powered or is not transmitting on the
network.
Steady GreenThe adapter is transmitting data on the network.No action required.
This green LED indicates the transmit status of the adapter as shown in the
table below.
• Program a controller to recognize and transmit I/O to
the adapter.
• Place the controller in RUN mode or apply power.
• Configure the adapter for the program in the controller.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
8-4Troubleshooting
Viewing Adapter Diagnostic
Items
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 using an
LCD PowerFlex 7-Class HIM (Diagnostics/Device Items), DriveExplorer
software (version 2.01 or higher), or DriveExecutive software (version 1.01
or higher).
Using the HIM to View Adapter Diagnostic Items
StepKeysExample Screen
1. Access parameters in the adapter. Refer
to Using the PowerFlex 7-Class HIM on
page 3-2.
2. Press the Up Arrow or Down Arrow to
scroll to Diagnostics.
3. Press Enter to display the Diagnostics
menu in the adapter.
4. Repeat steps 2 and 3 to enter the Device Items option.
5. Press the Up Arrow or Down Arrow to
scroll through the items.
or
or
Main Menu:
Diagnostics
Parameter
Device Select
Device Item #27
Net Packet Rcvd
1022
Table 8.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
3ReferenceThe present value of the Reference being transmitted to the drive by this
4Common Logic StsThe present value of the Common Logic Status being received from the
5Prod Logic StsThe present value of the Product Logic Status being received from the
6FeedbackThe present value of the Feedback being received from the drive by this
7Datalink A1 InThe present value of respective Datalink In being transmitted to the
8Datalink A2 In
9Datalink B1 In
10 Datalink B2 In
11 Datalink C1 In
12 Datalink C2 In
13 Datalink D1 In
14 Datalink D2 In
the drive by this adapter.
adapter. Note that a 16-bit value will be sent as the Most Significant
Word of the 32-bit field.
drive by this adapter.
drive by this adapter.
adapter. Note that a 16-bit value will be sent as the Most Significant
Word of the 32-bit field.
drive by this adapter. (If not using a Datalink, this parameter should have
a value of zero. Refer to Chapter 7
information about Datalinks.)
, Using Datalinks with All Protocols for
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Troubleshooting8-5
Table 8.A Adapter Diagnostic Items (Continued)
No. NameDescription
15 Datalink A1 OutThe present value of respective Datalink Out being received from the
16 Datalink A2 Out
17 Datalink B1 Out
18 Datalink B2 Out
19 Datalink C1 Out
20 Datalink C2 Out
21 Datalink D1 Out
22 Datalink D2 Out
23 Field Flash CntrThe number of times this device has been flash updated.
24 DPI Rx ErrorsThe present value of the DPI CAN Receive error counter.
25 DPI Tx ErrorsThe present value of the DPI CAN Transmit error counter.
26 Net Packet SentNumber of packets sent by the adapter.
27 Net Packet RcvdNumber of OK packets received by the adapter.
28 Net Bad PacketNumber of BAD packets received by the adapter.
29 User IN 1Current value of configurable point User IN 1 (RTU / N2 / P1 FLN).
30 User IN 2Current value of configurable point User IN 2 (RTU / N2).
31 User IN 3Current value of configurable point User IN 3 (RTU / N2).
32 User IN 4Current value of configurable point User IN 4 (RTU / N2).
33 User IN 5Current value of configurable point User IN 5 (RTU).
34 User IN 6Current value of configurable point User IN 6 (RTU).
35 User IN 7Current value of configurable point User IN 7 (RTU).
36 User IN 8Current value of configurable point User IN 8 (RTU).
37 User OUT 1Current value of configurable point User OUT 1 (RTU / N2 / P1 FLN).
38 User OUT 2Current value of configurable point User OUT 2 (RTU / N2).
39 User OUT 3Current value of configurable point User OUT 3 (RTU).
40 Switch 1Current value of Rotary Switch 1 (Protocol Select) which can be “1” =
41 Switch 2Current value of Rotary Switch 2 (Node Address ones digit).
42 Switch 3Current value of Rotary Switch 3 (Node Address tens digit).
drive by this adapter. (If the 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. Refer to
Chapter 7
Datalinks.)
RTU, “0” = N2, or “9” = P1.
, Using Datalinks with All Protocols for information about
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
8-6Troubleshooting
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 using an LCD PowerFlex
7-Class HIM, DriveExplorer (2.01 or higher) software, DriveExecutive
(1.01 or higher) software or other clients using the DPI Fault object.
The event queue can contain up to 32 entries. Eventually the event queue
will become full, since its contents are retained through adapter resets. At
that point, a new entry replaces the oldest entry. Only an event queue clear
operation or adapter power cycle will clear the event queue contents.
Resetting the adapter to defaults has no effect on the event queue.
Using the HIM to View and Clear Events
StepKeysExample Screen
Viewing Events
1. Access parameters in the adapter. Refer
to Using the PowerFlex 7-Class HIM
page 3-2.
2. Press the Up Arrow or Down Arrow to
scroll to Diagnostics.
3. Press Enter 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 Up Arrow or Down Arrow to
scroll through the events. The most
recent event is Event 1.
Clearing Events
1. Access parameters in the adapter. Refer
to Using the PowerFlex 7-Class HIM
page 3-2.
2. Press the Up Arrow or Down Arrow to
scroll to Diagnostics.
3. Press Enter 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 Enter to confirm your request. If
Clr Event Queue was selected, all event
queue entries will then display “No
Event.”
on
on
Main Menu:
or
or
or
Diagnostics
Parameter
Device Select
Event Q:1E3
Ping Time Flt
Dgn: Events
View Event Queue
Clear Event
Clr Event Queue
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Troubleshooting8-7
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 8.B Adapter Events
Code EventDescription
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 port on a DPI product.
5Port Change FltThe DPI port changed after start up.
6Host Sent ResetThe drive sent a reset event message.
7EEPROM Sum Flt The EEPROM in the adapter is corrupt.
8Online @ 125kbps The adapter detected that the drive is communicating at 125 kbps.
9Online @ 500kbps The 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 supported or is used by another peripheral.
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.
19Message TimeoutA Client-Server message sent by the adapter was not completed within
1 sec.
20DPI Fault MsgThe drive has faulted.
21DPI Fault ClearThe drive issued this because a fault was cleared.
22Normal StartupThe adapter successfully started up.
23Flt Cfg ErrorThe adapter detected a 32-bit fault configuration reference when the
drive supports only a 16-bit reference, or detected a 32-bit fault
configuration Datalink value when the drive supports only 16-bit
Datalinks.
24Net Comm FltThe adapter detected a communications fault on the network.
25Net DetectedThe adapter has detected network communication.
26Net TImeout FltThe adapter has detected a network timeout. The timeout period is
configured in Parameter 11- [Network Timeout].
27Lang CRC BadThe CRC of the language text file is incorrect.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
8-8Troubleshooting
Notes:
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Specifications
Appendix A presents the specifications for the adapter.
Modbus RTU
Metasys N2
Siemens Building Technologies P1 FLN
4800, 9600, 19200, or 38400 baud
9600 baud
4800 or 9600 baud
DPI
125 kbps or 500 kbps
150 mA at 5 VDC supplied by the host (for example, drive)
None
19 mm (0.75 inches)
86 mm (3.39 inches)
78.5 mm (3.09 inches)
Environmental
Temperature
Operating
Storage
Relative Humidity5…95% non-condensing
AtmosphereImportant: The adapter must not be installed in an area where the
-10…50°C (14…122°F)
-40…85°C (-40…185°F)
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.
NOTE: This is a product of category C2 according to IEC 61800-3. In a
domestic environment this product may cause radio interference in which
case supplementary mitigation measures may be required.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Appendix B
Adapter Parameters
Appendix B provides information about the adapter parameters.
TopicPage
Parameter List
B-1
Parameter List
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 [Net Addr Cfg]
Configures the network node address if the network
switches on the adapter are set to “00.”
04 [Net Addr Act]
Displays the network address actually used by the
adapter.
05 [Net Rate Cfg]
Configures the network data rate at which the adapter
communicates.
The available values for this parameter depend on the
network protocol selected. Only valid values for the
specified network are displayed.
06 [Net Rate Act]
Displays the network data rate actually used by the
adapter.
07 [Net Parity Cfg]
Configures the network parity.
The available values for this parameter depend on the
network protocol selected. Only valid values for the
specified network are displayed.
08 [Net Parity Act]
Displays the actual network parity used by the adapter.
Displays the actual number of stop bits used by the
selected protocol.
This value is network-dependent:
• ModBus RTU Protocol – The number of stop bits
used depends on the value set by Parameter 30 - [Stop Bits Cfg].
• Metasys N2 Protocol – Uses only 1 bit, so the
adapter shows only this value.
• Siemens Building Technologies P1 FLN Protocol –
Uses only 1 bit, so the adapter shows only this value.
10 [Net Chksum Type]
Displays the type of checksum used by the selected
protocol. The value is network dependent:
• Modbus RTU Protocol – Uses CRC16 (-1) which is
Cyclic Redundancy Check with -1 as a seed value.
• Metasys N2 Protocol – Uses RLC which is Run
Length Checksum.
• Siemens Building Technologies P1 FLN – Uses
CRC16 (0) which is Cyclic Redundancy Check with 0
as a seed value.
11 [Network Timeout]
Configures the time in seconds to be used to detect
network communication loss.
Default:0 = 1-bit
Values:0 = 1-bit
1 = 2-bits
Type: Read Only
Default:0 = CRC16 (0)
Values:0 = CRC16 (0)
1 = RLC
2 = CRC16 (-1)
Type: Read Only
Default:10 seconds
Minimum:0 seconds
Maximum:180 seconds
Type:Read/Write
Reset Required: No
12 [Ref/Fdbk Size]
13 [Datalink Size]
14 [Reset Module]
ATTENTION: Risk of injury or equipment damage exists. Parameter 11 [Network Timeout] lets you determine how long it will take your adapter to detect
!
network communication losses. By default, this parameter sets the timeout to ten
seconds. You can set it so that the duration is shorter, longer, or disabled. Take
precautions to ensure that the setting does not create a risk of injury or equipment
damage. When commissioning the drive, verify that your system responds
correctly to various situations (for example, a disconnected cable).
Displays the size of the Reference/Feedback. The
drive determines the size of the Reference/Feedback.
Displays the size of each Datalink word. The drive
determines the size of Datalinks.
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.
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.
Default:0 = 16-bit
Values:0 = 16-bit
1 = 32-bit
Type: Read Only
Default:0 = 16-bit
Values:0 = 16-bit
1 = 32-bit
Type:Read Only
Default:0 = Ready
Values:0 = Ready
1 = Reset Module
2 = Set Defaults
Type:Read/Write
Reset Required: No
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Parameter
No. Name and DescriptionDetails
15 [Comm Flt Action]
Sets the action that the adapter will take if it detects a
network failure because it has not communicated with
its master within the interval specified in Parameter 11
- [Network Timeout]. This action takes effect only if
I/O that controls the drive is transmitted through the
adapter.
ATTENTION: Risk of injury or equipment damage exists. Parameter 15 - [Comm
Flt Action] lets you determine the action of the adapter and connected drive if I/O
!
communications are disrupted. By default, this parameter faults the drive. You can
set this parameter so that the drive continues to run. Precautions should be taken
to ensure that the setting of this parameter does not create a risk of injury or
equipment damage. When commissioning the drive, verify that your system
responds correctly to various situations (for example, a disconnected cable).
Default:0 = Fault
Values:0 = Fault
Type:Read/Write
Reset Required: No
Adapter ParametersB-3
1 = Stop
2 = Zero Data
3 = Hold Last
4 = Send Flt Cfg
16 [DPI I/O Cfg]
Sets the I/O that is transferred through the adapter.
17 [DPI I/O Act]
Displays the I/O that the adapter is actively
transmitting. The value of this parameter will usually be
equal to the value of Parameter 16 - [DPI I/O Cfg].
18 [Flt Cfg Logic]
Sets the Logic Command data that is sent to the drive
if Parameter 15 - [Comm Flt Action] is set to “4”
(Send Flt Cfg) and the adapter times out.
The bit definitions will depend on the product to which
the adapter is connected. See Appendix
documentation for the drive being used.
19 [Flt Cfg Ref]
Sets the Reference data that is sent to the drive if
Parameter 15 - [Comm Flt Action] is set to “4” (Send
Flt Cfg) and the adapter times out.
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.
Cmd/Ref
Cmd/Ref
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
B-4Adapter Parameters
Parameter
No. Name and DescriptionDetails
[Flt Cfg A1 In]
20
[Flt Cfg A2 In]
21
[Flt Cfg B1 In]
22
[Flt Cfg B2 In]
23
[Flt Cfg C1 In]
24
[Flt Cfg C2 In]
25
[Flt Cfg D1 In]
26
[Flt Cfg D2 In]
27
Sets the data that is sent to the Datalink in the drive if
Parameter 15 - [Comm Flt Action] is set to “4” (Send
Flt Cfg) and the adapter times out.
28 [Clear Counters]
Clears the network diagnostic counters.
29 [N2 Ref Scale]
Only used if Metasys N2 protocol is selected.
Determines the engineering unit sent over DPI for the
Reference when 100% is set for AO#2.
30 [Stop Bits Cfg]
Sets the number of stop bits used by the adapter when
the network protocol switch is set to “Modbus RTU.”
When any other protocol is selected, this parameter
setting has no effect.
31 [RTU Ref Adjust]
Sets the percent scale factor for the Reference from
the network when the network protocol switch is set to
“Modbus RTU,” and broadcast messages (Modbus
address “0”) are sent. This lets the drive’s Reference
either match the broadcast message Reference
(=100%), scale below it (<100%), or scale above it
(>100%). When any other protocol is selected, this
parameter setting has no effect.
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.
Default:0 = Ready
Values:0 = Ready
1 = Clear
Type:Read/Write
Reset Required: No
Default:32767
Minimum:0
Maximum:4294967295
Type:Read/Write
Reset Required: No
Default:0 = 1 bit
Values:0 = 1 bit
1 = 2 bits
Type:Read/Write
Reset Required: Yes
Default:100.0%
Minimum:0.0%
Maximum:200.0%
Type:Read/Write
Reset Required: No
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
32 [RTU Param Mode]
Sets the mode in which the adapter operates.
ATTENTION: To guard against equipment damage and/or personal injury, note
that changes to Parameter 31 - [RTU Ref Adjust] take effect immediately. A drive
!
receiving a broadcast message Reference from the adapter will receive the newly
scaled Reference, resulting in a change of speed.
Appendix D presents the definitions of the Logic Command and Logic
Status words that are used for some products that can be connected to the
adapter. If you do not see the Logic Command/Logic Status for the product
that you are using, refer to your product’s documentation.
A “0 = Not Stop” condition (logic 0) must first be present before a “1 = Start” condition will start the drive. The Start command acts as
a momentary Start command. A “1” will start the drive, but returning to “0” will not
(2)
This Start will not function if a digital input (parameters 361-366) is programmed for 2-Wire Control (option 7, 8 or 9).
(3)
This Reference Select will not function if a digital input (parameters 361-366) is programmed for “Speed Sel 1, 2 or 3” (option 15, 16
or 17). Note that Reference Select is “Exclusive Ownership” – see drive User Manual for more information.
Logic Command Word
xStop
xStart
xJog 0 = Not Jog
xClear Faults0 = Not Clear Faults
xxDirection00 = No Command
xLocal Control0 = No Local Control
xMOP Increment 0 = Not Increment
xxAccel Rate00 = No Command
xxDecel Rate00 = No Command
(1)
Select
stop the drive.
(1)(2)
(3)
0 = Not Stop
1 = Stop
0 = Not Start
1 = Start
1 = Jog
1 = Clear Faults
01 = Forward Command
10 = Reverse Command
11 = Hold Direction Control
See Parameter 304 - [Limit Status] in the PowerFlex 700S drive User Manual for a description of the limit status conditions.
Logic Status Word (Phase II Control)
xActive0 = Not Active
1 = Active
xRunning0 = Not Running
1 = Running
xCommand
Direction
xActual Direction0 = Reverse
xAccel0 = Not Accelerating
xDecel0 = Not Decelerating
xJogging0 = Not Jogging
xFault0 = No Fault
xAlarm0 = No Alarm
xFlash Mode0 = Not in Flash Mode
xRun Ready0 = Not Ready to Run
xAt Limit
xTach Loss Sw0 = Not Tach Loss Sw
xAt Zero Spd0 = Not At Zero Speed
(1)
0 = Reverse
1 = Forward
1 = Forward
1 = Accelerating
1 = Decelerating
1 = Jogging
1 = Fault
1 = Alarm
1 = In Flash Mode
1 = Ready to Run
0 = Not At Limit
1 = At Limit
1 = Tach Loss Sw
1 = At Zero Speed
1= At Setpoint Speed
1 = Enabled
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
AAdapter
Devices such as drives, controllers, and computers usually require an
adapter to provide a communication interface between them and a network.
An adapter reads data on the network and transmits it to the connected
device. It also reads data in the device and transmits it to the network.
The 20-COMM-H RS-485 HVAC adapter connects a PowerFlex 7-Class
drive to the network. Adapters are sometimes also called “cards,”
“embedded communication options,” “gateways,” “modules,” and
“peripherals.”
BBus Off
A condition that occurs when an abnormal rate of errors is detected in a
device. The bus off device cannot receive or transmit messages on the
network. This condition is often caused by corruption of the network data
signals due to noise or data rate mismatch.
CControlFLASH
An Allen-Bradley software tool that lets users electronically update
firmware on printed circuit boards. The tool takes advantage of the growing
use of flash memory (electronic erasable chips) across industrial control
products.
Glossary
DData Rate
Controller
A controller, also called programmable logic controller, is a solid-state
control system that has a user-programmable memory for storage of
instructions to implement specific functions such as I/O control, logic,
timing, counting, report generation, communication, arithmetic, and data
file manipulation. A controller consists of a central processor, input/output
interface, and memory. See also Scanner.
The speed at which data is transferred on the network. Each device on a
network must be set to the same data rate.
Datalinks
A Datalink is a type of pointer used by some PowerFlex drives to transfer
data to and from the controller. Datalinks allow specified parameter value(s)
to be accessed or changed without using explicit messages. When enabled,
each Datalink consumes either four bytes or eight bytes in both the input
and output image table of the controller. The drive determines the size of
Datalinks.
DPI (Drive Peripheral Interface)
A second generation peripheral communication interface used by various
Allen-Bradley drives and power products, such as PowerFlex 7-Class
drives.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
G-2Glossary
DPI Peripheral
A device that provides an interface between DPI and a network or user.
Peripheral devices are also referred to as “adapters” or “modules.” The
20-COMM-H adapter and PowerFlex 7-Class HIMs (20-HIM-xxx) are
examples of DPI peripherals.
DPI Product
A device that uses the DPI communications interface to communicate with
one or more peripheral devices. For example, a motor drive such as a
PowerFlex 7-Class drive is a DPI product. In this manual, a DPI product is
also referred to as “drive” or “host.”
DriveExplorer Software
A tool for monitoring and configuring Allen-Bradley products and adapters.
It can be run on computers running various Microsoft Windows operating
systems. DriveExplorer (version 3.xx or higher) can be used to configure
this adapter and PowerFlex drive. Information about DriveExplorer
software and a free lite version can be accessed at http://www.ab.com/
drives/driveexplorer.
DriveTools SP Software
A software suite designed for running on various Microsoft Windows
operating systems. This software suite provides a family of tools, including
DriveExecutive, that you can use to program, monitor, control, troubleshoot,
and maintain Allen-Bradley products. DriveTools SP can be used with
PowerFlex drives. Information about DriveTools SP can be accessed at
http://www.ab.com/drives/drivetools
FFault Action
A fault action determines how the adapter and connected drive act when a
communications fault (for example, a cable is disconnected) occurs.
Fault Configuration
When communications are disrupted (for example, a cable is disconnected),
the adapter and PowerFlex drive can respond with a user-defined fault
configuration. The user sets the data that is sent to the drive using specific
fault configuration parameters in the adapter. When a fault action parameter
is set to use the fault configuration data and a fault occurs, the data from
these parameters is sent as the Logic Command, Reference, and/or
Datalink(s).
Flash Update
The process of updating firmware in a device. The adapter can be flash
updated using various Allen-Bradley software tools. Refer to Flash
Updating the Adapter on page 3-10 for more information.
.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
GlossaryG-3
HHIM (Human Interface Module)
A device that can be used to configure and control a drive. PowerFlex
7-Class HIMs (20-HIM-xxx) can be used to configure PowerFlex 7-Class
drives and their connected peripherals.
Hold Last
When communication is disrupted (for example, a cable is disconnected),
the adapter and PowerFlex drive can respond by holding last. Hold last
results in the drive receiving the last data received via the network
connection before the disruption. If the drive was running and using the
Reference from the adapter, it will continue to run at the same Reference.
II/O Data
I/O data, sometimes called “ implicit messages” or “input/output,” is
time-critical data such as a Logic Command and Reference. The terms
“input” and “output” are defined from the controller’s point of view. Output
is produced by the controller and consumed by the adapter. Input is
produced by the adapter and consumed by the controller.
LLogic Command/Logic Status
The Logic Command is used to control the PowerFlex 7-Class drive (for
example, start, stop, direction). It consists of one 16-bit word of output to
the adapter from the network. The definitions of the bits in this word depend
on the drive, and are shown in Appendix
The Logic Status is used to monitor the PowerFlex 7-Class drive (for
example, operating state, motor direction). It consists of one 16-bit word of
input from the adapter to the network. The definitions of the bits in this
word depend on the drive, and are shown in Appendix
NNode Address
Each device on a network must have a unique node address to identify it. On
Modbus RTU, Metasys N2, and Siemens Building Technologies P1 FLN
networks, devices can have node addresses between 1 and 255 if the
network is set up to accommodate that number of devices.
NVS (Non-Volatile Storage)
NVS is the permanent memory of a device. Devices such as the adapter and
drive store parameters and other information in NVS so that they are not lost
when the device loses power. NVS is sometimes called “EEPROM.”
C.
C.
PParity Check
When the adapter uses a parity check, a non-data bit is added to each binary
word that it sends and receives. Devices on the network verify the data
integrity of the transmitted data by checking that the sum of the number of
ones in a word is always even or odd.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
G-4Glossary
Ping
A message that is sent by a DPI product to its peripheral devices. They use
the ping to gather data about the product, including whether it can receive
messages and whether they can log in for control.
PowerFlex 7-Class (Architecture Class) Drives
The Allen-Bradley PowerFlex 7-Class family of drives supports DPI and
includes the PowerFlex 70, PowerFlex 700, PowerFlex 700H, PowerFlex
700S, PowerFlex 700L, and PowerFlex 7000. These drives can be used for
applications ranging from 0.37…3000 kW (0.5…4000 HP).
RReference/Feedback
The Reference is used to send a setpoint (for example, speed, frequency,
torque) to the drive. It consists of one word of output to the adapter from the
network. The size of the word (either a 16-bit word or 32-bit word) is
determined by the drive.
Feedback is used to monitor the speed of the drive. It consists of one word
of input from the adapter to the network. The size of the word (either a
16-bit word or 32-bit word) is determined by the drive.
SScanner
A scanner is a separate module (of a multi-module controller) or a built-in
component (of a single-module controller) that provides communication
with adapters connected to a network. See also Controller.
Status Indicators
Status indicators are LEDs that are used to report the status of the adapter,
network, and drive. They are on the adapter and can be viewed on the front
cover of the drive when the drive is powered.
TType 0/Type 1/Type 2 Control
When transmitting I/O, the adapter can use different types of messages for
control. The Type 0, Type 1, and Type 2 events help Allen-Bradley
personnel identify the type of messages that an adapter is using.
ZZero Data
When communications are disrupted (for example, a cable is disconnected),
the adapter and drive can respond with zero data. Zero data results in the
drive receiving zero as values for Logic Command, Reference, and Datalink
data. If the drive was running and using the Reference from the adapter, it
will stay running but at zero Reference.
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Index
A
adapter
applying power, 2-7
commissioning, 2-1
compatible products, 1-2
components, 1-1
configuration tools, 3-1
configuring I/O for, 3-5
connecting to a drive, 2-3
connecting to the network, 2-6
definition, G-1
features, 1-2
flash updating, 3-10
grounding, 2-5
installation, 2-1to2-8
mounting on the drive, 2-5
parameters, B-1toB-4
resetting, 3-8
selecting operating mode, B-4
specifications, A-1
viewing its status, 3-9
applying power to the adapter, 2-7
attentions, 1-3
B
baud rate, see data rate
bit definitions of Logic Command/Status word for
PowerFlex 70/700/700H drives, C-1
PowerFlex 700S drives, C-3
bus off, G-1
C
cables
DPI Internal Interface, 2-3, 2-4
network, 2-6
Clear Counters parameter, B-4
Comm Flt Action parameter, B-3
commissioning the adapter, 2-1
communications module, see adapter
compatible products, 1-2
components of the adapter, 1-1
configuration tools, 3-1
connecting adapter to the
network, 2-6
connecting adapter to the drive, 2-3
connector on adapter, 1-1
ControlFLASH, G-1
controller, G-1
D
data rate
definition, G-1
setting, 3-3
data transfers
advanced (all protocols), 7-1 to 7-6
Metasys N2, 5-1 to 5-9
Modbus RTU, 4-1 to 4-13
Siemens Building Technologies P1 FLN, 6-1
to6-10
Datalink Size parameter, B-2
Datalinks
definition, G-1
Metasys N2, 7-4
Modbus RTU, 7-3 to 7-4
Siemens Building Technologies P1 FLN, 7-5
to7-6
using with all protocols, 7-1 to 7-6
diagnostic items, 8-4
dimensions, A-1
DPI
connecting to the adapter, 2-4
connecting to the drive, 2-4
illustration, 2-4
L
LCD HIM, 3-2
LED HIM, 3-2
LEDs, see status indicators
Logic Command/Status
bit definitions for
PowerFlex 70/700/700H drives, C-1
PowerFlex 700S drives, C-3
definition, G-3
on Metasys N2, 5-3 to 5-6
on Modbus RTU, 4-7 to 4-8
on Siemens Building Technologies P1 FLN,
6-5 to 6-9
M
manual
conventions, P-2
related documentation, P-1
web site, P-1
mechanical dimensions, A-1
Metasys N2
data transfers, 5-1 to 5-9
Datalinks, 7-4
point map, 5-3 to 5-6
selecting with a switch, 2-2
MOD status indicator
locating, 1-6
troubleshooting with, 8-2
Modbus RTU
accessing drive parameters, 4-9
broadcast messages, 4-12
data transfers, 4-1 to 4-13
Datalinks, 7-3to7-4
point map, 4-4 to 4-8
selecting with a switch, 2-2
mounting the adapter, 2-5
N
N2 Ref Scale parameter, B-4
NET A status indicator
locating, 1-6
troubleshooting with, 8-3
20-COMM-H RS-485 HVAC Adapter User Manual
Publication 20COMM-UM009D-EN-P
Index-3
Net Addr Act parameter, B-1
Net Addr Cfg parameter, B-1
NET B status indicator
locating, 1-6
troubleshooting with, 8-3
Net Chksum Type parameter, B-2
Net Parity Act parameter, B-1
Net Parity Cfg parameter, B-1
Net Rate Act parameter, B-1
Net Rate Cfg parameter, B-1
network
cable, 2-6
data rates, A-1
protocols
Metasys N2, 5-1
Modbus RTU, 4-1
selecting with a switch, 2-2
Siemens Building Technologies P1 FLN,
6-1
Network Timeout parameter, B-2
node address
definition, G-3
setting with a parameter, 3-3
setting with switches, 2-2
Non-Volatile Storage (NVS)
definition, G-3
in adapter, 3-1
O
operating mode selection for adapter, B-4
P
parameters
accessing, 3-1
convention, P-2
list of, B-1 to B-4
restoring to factory-default settings, 3-8
parity check, G-3
parity setting, 3-4
ping, G-4
point map
Metasys N2, 5-3 to 5-6
Modbus RTU, 4-4 to 4-8
Siemens Building Technologies P1 FLN, 6-3
PORT status indicator
locating, 1-6
troubleshooting with, 8-2
power consumption, A-1
PowerFlex drives
compatible with adapter, 1-2
definition, G-4
HIM, 3-2
preparing for an installation, 2-1
processor, see controller
programmable logic controller, see controller