22comm Um005c en P
22comm Um005c en P
22-COMM-P
FRN 2.xxx
User Manual
identify a hazard
avoid the hazard
recognize the consequences
Allen-Bradley, DriveExplorer, PLC-5, PowerFlex, SCANport, and SLC are trademarks of Rockwell Automation, Inc.
Profibus is a trademark of the Profibus Vendor Association.
Table of Contents
Preface
Chapter 1
Getting Started
Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compatible Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Required Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status of Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 2
P-1
P-2
P-2
P-4
1-1
1-2
1-3
1-3
1-4
1-5
1-6
Chapter 3
Chapter 4
Chapter 5
3-1
3-2
3-3
3-4
3-4
3-5
3-6
3-7
4-1
4-2
4-3
4-5
5-1
5-2
5-2
5-3
Table of Contents
Chapter 6
Chapter 7
Chapter 8
Troubleshooting
Locating the Status Indicators . . . . . . . . . . . . . . . . . . . . . . . .
PORT Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MOD Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Net A Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adapter Diagnostic Items in Single Drive Mode . . . . . . . . . .
Adapter Diagnostic Items in Multi-Drive Mode . . . . . . . . . .
Viewing and Clearing Events. . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A
8-1
8-2
8-3
8-4
8-4
8-5
8-6
Specifications
Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Regulatory Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix B
7-1
7-4
7-5
7-6
7-7
7-7
A-1
A-1
A-1
A-2
A-2
Adapter Parameters
About Parameter Numbers. . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Parameter List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Appendix C
Appendix D
Glossary
Index
Preface
Page
P-1
P-2
P-2
Related Documentation
For:
DriveExplorer
Refer to:
DriveExplorer Getting Results Manual
Online help (installed with the software)
DriveTools SP
www.ab.com/drives/drivetools/Index
HIM
PowerFlex 4-Class HIM Quick Reference
PowerFlex 40 Drive PowerFlex 40 User Manual
PowerFlex 40 Quick Start
RSLinx
Getting Results with RSLinx
Online help (installed with the software)
RSLogix 5
RSLogix 5 Getting Results Guide
Online help (installed with the software)
RSLogix 500
RSLogix 500 Getting Results Guide
Online help (installed with the software)
Scanner
SST-PFB-SLC Users Guide
SLC
SLC 500 Modular Hardware Style Installation and
Operation Manual
SLC
SLC 500 and MicroLogix 1000 Instruction Set
Publication
9306-5.2
22HIM-QR001
22B-UM001
22B-QS001
9399-WAB32GR
9399-RL53GR
9399-RL50GR
Version 2.03
1747-6.2
1747-6.15
Documentation for the above and this manual can be obtained online at
http://www.ab.com/manuals.
Documentation from SST / Woodhead can be obtained online at
http://www.mysst.com/download.
P-2
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.
P-3
P-4
Summary of Changes
The information below summarizes the changes to this manual since its
first release (February 2004) of the Profibus adapter FRN 2.xxx:
Description of New or Updated Information
Use of ferrites clarified.
- Note: 3) canceled
- Point 6. added:
- New text and Ferrite Selection Table added
- Two Notes (1) and (2) for CE compliance added
IMPORTANT Note modified
New Event, Code 19 Not COMM Flt added
Note (1) added for Logic bits 14 and 15
See Page(s)
2-6
7-6
8-6
C-2
Chapter 1
Getting Started
The 22-COMM-P Profibus adapter is a communication option intended
for installation into a PowerFlex 40 drive. It can also be used with other
Allen-Bradley products that support an internal DSI adapter.
The Multi-Drive feature (Chapter 7) also provides a means for
PowerFlex 4 drives and other DSI Hosts to connect to Profibus.
Topic
Components
Features
Compatible Products
Required Equipment
Page
1-1
1-2
1-3
1-3
Topic
Safety Precautions
Quick Start
Status of Operation
Page
1-4
1-5
1-6
Components
Figure 1.1 Components of the Adapter
Item Part
Status Indicators
Description
Three LEDs that indicate the status of the
connected drive, adapter, and network.
DSI Connector
A 20-pin, single-row shrouded male header.
An Internal Interface cable is connected to
this connector and a connector on the drive.
Profibus Connector A 9-pin, female D-Sub connector.
Node Address/
Switches (SW1-7) for setting the node
Firmware Update address and SW8 for Firmware flash
Switches
updating.
Mode Jumper (J2) Selects Single or Multi-Drive mode of
operation.
SWAP Jumper (J3) Determines the Intel or Motorola (SWAP)
data format for the corresponding PLC.
Refer to
Chapter 8,
Troubleshooting
Chapter 2,
Installing the
Adapter
1-2
Getting Started
Features
The Profibus adapter features the following:
The low seven bits of 8-bit DIP switch let you set a node address,
and the MSB bit provides write access for the Flash update of
module firmware.
Also, for the Single Drive mode, the slave device's parameters on the
Profibus network can be configured and monitored by the software
tools Drive Explorer or DriveTools SP via DSI.
Getting Started
1-3
Compatible Products
The Profibus adapter is compatible with Allen-Bradley PowerFlex 40
drives and other products that support an internal DSI adapter. At the
time of publication, compatible products include:
PowerFlex 40 drives
Required Equipment
Equipment Shipped with the Adapter
When you unpack the adapter, verify that the package includes:
One Profibus adapter
A 2.54 cm (1 in.) and a 12.7 cm (5 in.) Internal Interface cable (only
one cable is needed to connect the adapter to the drive)
One grounding wrist strap
One floppy disc with GSD file
This manual
User-Supplied Equipment
To install and configure the Profibus adapter, you must supply:
A small flathead screwdriver
Profibus cable
One 9-pin, male D-Sub Profibus connector.
[Note: Profibus connectors are available from a variety of sources
and in various sizes. As such, there may be mechanical limitations
that prohibit the use of some connectors.]
Configuration tool, such as:
PowerFlex 4-Class HIM (22-HIM-*)
DriveExplorer (version 3.01 or higher)
- uses 22-SCM-232 DSI serial converter (version 2.001 or higher)
DriveTools SP version 2.02 or higher
Profibus configuration software
Controller configuration software
1-4
Getting Started
Safety Precautions
Please read the following safety precautions carefully:
!
!
!
!
!
!
Getting Started
1-5
Quick Start
This section is designed to help experienced users start using the
Profibus adapter. If you are unsure how to complete a step, refer to the
referenced chapter.
Step
1 Review the safety precautions for the adapter.
2
Refer to
Throughout This
Manual
Drive User
Manual
Chapter 2,
Installing the
Adapter
Page 3-4
Page 7-6
Chapter 3,
Configuring the
Adapter
Chapter 4,
Configuring the
Profibus
Scanner
10 Create a ladder logic program.
Appendix D,
Use a programming tool such as RSLogix to create a ladder logic SLC Ladder
Logic
program that enables you to do the following:
Examples
Control the adapter and connected drive.
Monitor or configure the drive using Parameter Messaging.
1-6
Getting Started
Status of Operation
The adapter uses three status indicators to report its operating status.
They can be viewed through the drive cover. See Figure 1.2.
Figure 1.2 Status Indicators (location on drive may vary)
Item Status
Indicator
PORT
(1)
Status(1)
Description
Green
MOD
Flashing
Green
Green
NET A
Flashing
Green
Green
NET B
Flashing
Green
Off
If all status indicators are off, the adapter is not receiving power.
Refer to Chapter 2, Installing the Adapter, for instructions on installing the adapter.
If any other conditions occur, refer to Chapter 8, Troubleshooting.
Chapter 2
Page
2-1
2-1
2-4
2-7
2-8
2-10
2-2
J2
SWAP
Multi-Drive
Operation
Single Drive
Operation
NODE
ADDRESS SWITCHES
J4
J1
UP = OPEN = 1
Switches
SW 1
SW 2
SW 3
SW 4
SW 5
SW 6
SW 7
SW 8
SW 8
Setting
0
1
Description
Default
Least Significant Bit (LSB) of Node Address
1
Bit 1 of Node Address
1
Bit 2 of Node Address
1
Bit 3 of Node Address
1
Bit 4 of Node Address
1
Bit 5 of Node Address
1
Most Significant Bit (MSB) of Node Address
1
SW8 Firmware Update
1
Description
Write Access Firmware Update
Normal Operating State
Switch Setting
SW 2 SW 3 SW 4 SW 5
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
1
0
0
1
1
0
0
0
0
1
0
0
0
1
0
1
0
1
0
1
0
1
0
0
1
1
0
0
1
1
0
1
1
1
0
1
1
1
0
0
0
0
1
0
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
1
1
1
0
1
1
1
0
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
0
0
0
0
1
1
1
1
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
SW 6 SW 7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Node
Addr.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.
.
.
112
113
114
115
116
117
118
119
120
121
122
123
124
125
2-3
2-4
Left position
2-5
ERNI Connector
Signal
Shield
Not connected
B-LINE
RTS
GND BUS
+5V BUS
Not connected
A-LINE
Function
2-6
EN55011 Class A
EN55011 Class B
No ferrite required
2-7
Termination
The first and last node on the Profibus network needs to be
terminated by using a Profibus connector with terminating resistors
(See Figure 2.7.)
Some connector manufacturers offer standard terminating connectors,
such as the yellow ERNI Profibus termination vertical connector (Part #
103659). Standard Profibus node connectors, such as the Phoenix
Subcon Plus M1 (Part #2761826), can be configured as a terminating
connector by adding resistors
Figure 2.7 Connection for terminating resistors
R x D /T x D -N
R x D /T x D -P
V c c
A
8
6
3 9 0
G N D
2 2 0
3 9 0 O h m
R x D /T x D -N
R x D /T x D -P
2-8
PowerFlex 40 Drive
B and C Frames
(cover removed)
Back of Cover
Description
DSI Connector
15.24 cm (6 in.) Internal Interface cable
Description
Profibus cable
Retaining screws
Adapter Mounted
on Back of Cover
PowerFlex 40 Drive
B and C Frames
(cover removed)
2-9
2-10
Applying Power
Chapter 3
Page
3-1
3-2
3-3
3-4
Topic
Setting a Fault Action
Resetting the Adapter
Viewing the Adapter
Configuration
Page
3-5
3-6
3-7
Configuration Tools
The Profibus adapter stores parameters and other information in its own
non-volatile memory. You must, therefore, access the adapter to view
and edit its parameters. A number of configuration tools can be used to
configure the adapter and connected drive for the Single Drive mode.
The tools include:
Tool
DriveExplorer
(version 3.01 or higher)
DriveTools SP
(version 2.02 or higher)
PowerFlex 4-Class HIM (22-HIM-*)
Refer To:
DriveExplorer Getting Results Manual,
Publication 9306-5.3, or the online help
DriveTools SP Online Help
PowerFlex 4-Class HIM (22-HIM-*) page 3-2
3-2
Key(s)
Example Screens
Parameters
Groups
Linear List
Changed Params
DIAG
2.
4.
Press Enter to
display the DSI
Devices menu.
Press Down Arrow
to scroll to
22-COMM-P.
Press Enter to
access the
parameters. Edit the
adapter parameters
using the same
techniques that you
use to edit drive
parameters.
MEM
SEL X
DSEL
MEM
SEL X
MEM
SEL X
DSI Devices
and
PARAM
DSI Devices
PowerFlex 40
22-COMM-P
Parameters
Linear List
Changed Params
DIAG
5.
DSEL
Device Selected
Sel
DIAG
3.
PARAM
PARAM
DSEL
Mode
RO
Parameter:
001
Single Drive 0
VALUE
LIMITS
SEL X
3-3
3-4
3-5
Action
Fault (default)
Stop
Zero Data
Hold Last
Description
The drive is faulted and stopped. (Default)
The drive is stopped, but not faulted.
The drive is sent 0 for output data after a
communications disruption. This does not
command a stop.
The drive continues in its present state after a
communications disruption.
The drive is sent the data that you set in the fault
configuration parameters (Parameters 13 - [Flt Cfg
Logic] and 14- [Flt Cfg Ref]).
Parameter:
#
Fault
VALUE
LIMITS
009
Parameter:
#
Fault
SEL X
VALUE
LIMITS
010
0
SEL X
3-6
Name
Flt Cfg Logic
Flt Cfg Ref
Description
A 16-bit value sent to the drive for Logic Command.
A 16-bit value (0 4000) sent to the drive as a Reference.
#
Ready
VALUE
LIMITS
008
Value
0
1
2
Description
Ready (Default)
Reset Module
Set Defaults
SEL X
3-7
Name
Mode
04
05
12
Description
Displays the Single or Multi-Drive operating mode
selected with the jumper J2 on the adapter.
Values
0 = Single drive operation
1 = Multi-Drive operation
Profibus Node Address actually used by the adapter.
Profibus actual operating data rate.
Displays the Drives that are active in the Multi-Drive
mode.
Bit Definitions:
0 = Drive 0 Active
1 = Drive 0-1 Active
2 = Drive 0-2 Active
3 = Drive 0-3 Active
4 = Drive 0-4 Active
3-8
Chapter 4
Page
4-1
4-2
4-3
4-5
Example Network
In this example, we will be configuring two PowerFlex 40 drives,
to be Station 1 and Station 2 on a Profibus network. This will be the
configuration used throughout the manual. Apart from the node address
and scanner mapping, they will have identical configurations.
This chapter describes the steps to configure a simple network like the
network in Figure 4.1.
4-2
SYS LED
Config Port
Front Label
Profibus Port
Station 0
PowerFlex 40
Station 1
PowerFlex 40
Station 2
Online
Browse
window
Network
Configuration
window
4-3
4-4
4. Find the directory location of the data file(s) you wish to add
(typically, the source location is a floppy disk in drive A:).
A_B_07FF.gsd is the GSD file for the 22-COMM-P as shown in
Figure 4.5.
Figure 4.5 Adding the GSD file for the 22-COMM-P
4-5
6. Click on the (+) sign of the Slaves folder as shown in Figure 4.6.
Figure 4.6 Masters/Slaves Library window
4-6
Connection and Baud Rate settings configure how the software tool will
communicate with the CONFIG RS232 port on the scanner.
6. Click on the COM Port tab.
4-7
4-8
4-9
13. The Parameter Access module has now been added as shown in
Figure 4.15.
Figure 4.15 Modules: Parameter Access Viewing Window
14. Click on the SLC Address tab as shown in Figure 4.16. Settings can
be chosen to map Station modules to SLC addresses. In our example
M1/M0 files are used for Input / Output.
Note that the Reference/Feedback Drive 0 (Ctrl/Stat & Ref/Fdbk) starts
at word 0.
4-10
M1/M0 Offset
0
2
4-11
17. The same steps for configuring Station 1 will be used for configuring
Station 2. Refer to previous steps (starting at step #9, Page 4-7)
for Configuring the SST-PFB-SLC Profibus Scanner-Station 2.
(See Figure 4.19.)
Figure 4.19 Station 2 Network window
M1/M0 Offset
6
8
4-12
M0 / M1 Addressing
Station 1
Station 2
0
6
1
7
2
8
Chapter 5
Page
5-1
5-2
5-2
5-3
5-2
Figure 5.1 illustrates an example of a Single drive I/O image (16-bit words).
Figure 5.1 Single Drive Example of I/O Image
DSI
Profibus
Controller
Scanner
Adapter
Word and I/O
PowerFlex 40 Drive
Output
Image
(Write)
0 Logic Command
1 Reference
Logic Command
Reference
Input
Image
(Read)
0 Logic Status
1 Feedback
Logic Status
Feedback
Message
Handler
Message
Buffer
Message
Handler
Single drive mode is the typical configuration, where one node consists
of a PowerFlex 40 drive with a 22-COMM-P adapter.
For Multi-Drive mode, where one node can consist of up to 5 drives,
refer to Chapter 7, Using Multi-Drive Mode.
5-3
Using Reference/Feedback
When enabled, Reference/Feedback begins at word 1 in the I/O image.
The Reference (16 bits) is produced by the controller and consumed by
the adapter. The Feedback (16 bits) is produced by the adapter and
consumed by the controller.
Size
16-bit
(1)
Example
Figure 5.1
The Reference for a PowerFlex 4 or 40 is set in Hz. and not in engineering units
like other PowerFlex drives. For example, 300 equates to 30.0 Hz (the decimal
point is always implied).
5-4
Chapter 6
Page
6-1
6-2
6-3
6-2
Complete Parameter
Data Exchange
Retrieve Parameter
Data Exchange
Response
Event
1. You format the required data and set up the ladder logic program to
send a Parameter Data Exchange request to the scanner module
(download).
2. The scanner module transmits the Parameter Data Exchange Request
to the slave device over the Profibus network.
3. The slave device transmits the Parameter Data Exchange Response
back to the master.
4. The controller retrieves the Parameter Data Exchange Response.
5. The Parameter Data Exchange is complete.
6-3
Parameter Protocol
This protocol uses 4 words in the Profibus I/O area. Requests and
responses are a handshake procedure and cannot be batched, meaning
that if the master sends a request, it has to wait for the response before
sending a new request.
With this protocol you can:
Read 8-bit or 16-bit parameters from any DSI port
Write 8-bit or 16-bit parameters to any DSI port
Read the Adapter Fault Code
Read Events
Read Diagnostic Items
Figure 6.2 Parameter Message Format
Request
Bit
15-12
11
10-0
Parameter Access
RC
SPM
PNU
Word 1 (PCA)
Parameter Access
Subindex
Word 2 (IND)
Parameter Access
Spare
Word 3 (PVA)
Parameter Access
Parameter value
Word 4 (PVA)
Response
15-12
RC
11
SPM
10-0
PNU
Subindex
Spare
Parameter value
6-4
3
4
Description
PNU - Parameter Number (Bit 0-10)
The parameter number determines which parameter to access, in the selected
peripheral. Parameters 1-1023 can be accessed.
Parameter numbers 1024 - 2047 are used to access the fault object. Parameter
1024 is equal to the latest fault, 1025 to the prior fault, and so on
Bit definitions
1-1023
Parameters (Drive or Adapter)
1024
Adapter Fault Code
1025-1056
Adapter Events
1280-1289
Diagnostic Items (Single Drive)
1280-1304
Diagnostic Items (Multi Drive)
SPM - Spontaneous Message (Bit 11)
Reserved - Should always bet set to 0.
RC - Request/Response Code (Bit 12-15)
One of the following codes have to be used:
0 = No request
1 = Request parameter value
2 = Change parameter value (8-bit & 16-bit word)
3 = Spare
4 = Parameter minimum
5 = Parameter maximum
6 = default value
7 -15 = Reserved
IND - Index
The IND is used to specify which drive we intend to send a message
0 - 2 bits = DSI port
Bit definitions
0 0 0 Drive 0 single drive mode
0 0 1 Drive 0-1 multi-drive mode
0 1 0 Drive 0-2 multi-drive mode
0 1 1 Drive 0-3 multi-drive mode
1 0 0 Drive 0-4 multi-drive mode
1 0 1 Adapter
3 - 15 = Reserved
PVA - Parameter value
Spare
PVA - Parameter value (8-bit & 16-bit word)
Read Request: Not used
Write Request: Contents the write value for a 8-bit or 16-bit parameter.
6-5
2
3
4
Description
PNU - Parameter Number (Bit 0-10)
Requested parameter number.
SPM - Spontaneous Message (Bit 11)
Reserved - is always set to 0.
RC - Request/Response Code (Bit 12-15)
One of the following codes will be sent:
0 = No request
1 = Transfer parameter value (8-bit & 16-bit word)
2 = Spare
3-6 = Reserved
7 = Request rejected (including Adapter Fault Code and Parameter Message
Fault Code, see table below)
9-15 = Reserved
IND - Index
Port ID of requested parameter
PVA - Parameter value
Spare
PVA - Parameter value (8-bit & 16-bit word)
Read Response: Contents the value from a 8-bit or 16-bit parameter,
or the Fault Code (if RC=7).
Write Response: Confirms the write value for a 8-bit or 16-bit parameter,
or the Fault Code (if RC=7)
Description
DSI port watchdog
Profibus network loss
Not compatible product
DSI time-out or additional DSI master connected
Description
Service not supported (i.e., Set service to a read-only parameter)
Service not valid
Parameter does not exist (i.e., Parameter number>max number of parameters)
Data value out of range (i.e., Set value is out of range)
State conflict (i.e., Parameter is not changeable while the product is in an
operating state)
6-6
Chapter 7
Topic
Single Mode vs. Multi-Drive
Mode
Page
7-1
Topic
Configuring the RS-485 (DSI)
Network
Page
7-6
System Wiring
Understanding the I/O Image
7-4
7-5
PowerFlex 40
with 22-COMM-P
PowerFlex 40
with 22-COMM-P
PowerFlex 40
with 22-COMM-P
7-2
HIM
22-SCM-232
22-COMM-P
AK-U0-RJ45-TB2P
Connector w/3rd Party
Terminating Resistor
RS-485
AK-U0-RJ45-TB2P
AK-U0-RJ45-TB2P
Connector w/3rd Party
Terminating Resistor
7-3
Controller can control, monitor, and read/write parameters for all five
drives.
Since the RS-485 ports are used for daisy-chaining the drives, there
is no connection for a peripheral device such as a HIM. The
AK-U0-RJ45-SC1 DSI Splitter cable cannot be used to add a second
connection for a peripheral device.
7-4
System Wiring
To daisy-chain the drives off the PowerFlex 40 with the 22-COMM-P
adapter (Drive 0), the AK-U0-RJ45-TB2P terminal block connector
(Figure 7.4) can be used for easy installation.
Figure 7.4 AK-U0-RJ45-TB2P Terminal Block Connector
PowerFlex 40
with 22-COMM-P
Drive
#2
Drive
#3
Drive
#4
Drive
#5
120
Watt
Resistor
120
Watt
Resistor
7-5
Figure 7.6 illustrates the Multi-Drive I/O image with 16-bit words.
Profibus
Controller
Scanner
Output
Image
(Write)
Input
Image
(Read)
Adapter
Word and I/O
0 Logic Command
1 Reference
PF 40 Drive 0
2 Logic Command
3 Reference
4 Logic Command
5 Reference
6 Logic Command
7 Reference
8 Logic Command
9 Reference
0 Logic Status
1 Feedback
PF 40 Drive 0
2 Logic Status
3 Feedback
4 Logic Status
5 Feedback
6 Logic Status
7 Feedback
8 Logic Status
9 Feedback
Message
Handler
Message
Buffer
7-6
Value
5 (RS485 [DSI] Port)
5 (RS485 [DSI] Port)
4 (19.2kbps)
1-247 (must be unique)
0 (RTU 8-N-1)
17 - [Drv 0 Addr]
18 - [Drv 1 Addr]
19 - [Drv 2 Addr]
20 - [Drv 3 Addr]
21 - [Drv 4 Addr]
Value
0 = Drive 0 connected
1 = Drives 0-1 connected
2 = Drives 0-2 connected
3 = Drives 0-3 connected
4 = Drives 0-4 connected
= Parameter A104 - [Comm Node Address] in Drive 0
= Parameter A104 - [Comm Node Address] in Drive 0-1
= Parameter A104 - [Comm Node Address] in Drive 0-2
= Parameter A104 - [Comm Node Address] in Drive 0-3
= Parameter A104 - [Comm Node Address] in Drive 0-4
After setting the 22-COMM-P parameters, set the adapter Mode Jumper
from Single drive operation to Multi-Drive operation, and reset the
adapter or cycle power. Refer to Chapter 2, Commissioning the Adapter.
Important: 22-COMM-P parameters can be set using a DSI peripheral
(HIM, DriveExplorer with 22-SCM-232, etc.) ONLY when
the Mode Jumper is in the Single mode position.
7-7
IND (0 - 2 bits)
000
001
010
011
100
PNU
39
39
39
39
39
Additional Information
7-8
Chapter 8
Troubleshooting
Chapter 8 contains troubleshooting information.
Topic
Locating the Status Indicators
Page
8-1
8-2
8-3
8-4
Topic
Adapter Diagnostic Items in
Single Drive Mode
Adapter Diagnostic Items in
Multi-Drive Mode
Viewing and Clearing Events
Page
8-4
8-5
8-6
Number
Status Indicator
PORT
Description
DSI Connection Status
Page
8-2
MOD
Adapter Status
8-3
NET A
Profibus Status
8-4
NET B
8-2
Troubleshooting
Cause
Corrective Action
The adapter is not powered or Securely connect the adapter to the drive
is not connected properly to
using the ribbon cable.
the drive.
Apply power to the drive.
Flashing The adapter is not receiving a Verify that cables are securely connected.
Red
ping message from the drive. Cycle power to the drive.
Solid
The drive has refused an
Important: Cycle power to the product after
Red
I/O connection from the
making the following correction:
adapter.
Verify that all DSI cables are securely
Another DSI peripheral is
connected and not damaged. Replace
using the same DSI port as
cables if necessary.
the adapter.
Check the Events, replace the adapter with
a compatible A-B branded product
(22-COMM-P)
Flashing not used
Green
Solid
The adapter is properly
No Action.
Green
connected and is
communicating with the drive.
Solid
The adapter is booting.
Wait until boot program has been finished
Orange
Flashing The adapter is in flash mode
Orange (SW8 down).
Application failure
Troubleshooting
8-3
Cause
The adapter is not powered.
Corrective Action
Securely connect the adapter to the drive
using the ribbon cable.
Apply power to the drive.
Flashing The adapter has faults
Clear faults in the drive.
Red
or a drive is missing in
Disconnect additional DSI peripheral and
Multi Drive mode.
cycle power to the drive.
If cycling power does not correct the
problem, the parameter settings may have
been corrupted. Reset defaults and
reconfigure the module.
If resetting defaults does not correct the
problem, flash the adapter with the latest
firmware release.
For Multi-Drive mode, determine which
drive is missing or faulted. Check cabling
and configuration settings (see Configuring
the RS-485 (DSI) Network section in
Chapter 7).
Solid
The adapter has failed the
Cycle power to the drive.
Red
hardware test.
Replace the adapter.
Flashing The adapter is operational but Place the scanner in RUN mode.
Configure the adapter for the program in
Green
is not transferring I/O data.
the controller.
Program the controller to recognize and
transmit I/O to the adapter.
Solid
The adapter is operational
No Action.
Green
and transferring I/O data.
8-4
Troubleshooting
Cause
Corrective Actions
The adapter is not powered Securely connect the adapter to the drive
using the Internal Interface cable and to the
or is not connected
network using a Profibus cable.
properly to the network or
(Screw D-shell to the adapter).
the Node Address is
wrong.
Check the SW8 of DIP-Switches and set it to
one - Normal operating state.
Check the DIP-Switches (SW1~SW7) node
address and the Scanner setting.
Apply power to the drive.
Flashing Error in Profibus
Re-configure the Profibus module.
Red
configuration.
Solid
not used
Red
Flashing not used
Green
Solid
The adapter is properly
No action required.
Green
connected and
communicating on the
network.
Note: For the Multi Drive mode, disconnecting a DSI cable from a
daisy-chained drive does not lead to an error! There is no
indication in the adapter that a drive is missing, except that
commands to the missing drive have no effect.
Name
Field Flash Cnt
Adapter Events
Reference
Logic Cmd
Logic Sts
Feedback
Profibus Rx Errors
Profibus Tx Errors
Data Rate
Node Address
Description
The number of Firmware Updates.
The number of events in the event queue.
Reference from Profibus returned to DSI drive.
Command from Profibus returned to DSI drive.
Status of the drive returned to Profibus.
Feedback from drive returned to Profibus.
Current value of the Profibus Receive Error Counter register.
Current value of the Profibus Transmit Error Counter register.
Current setting of the Profibus baud rate.
Current setting of the adapter Node address switch.
Troubleshooting
Name
Field Flash Cnt
Adapter Events
Drv 0 Reference
Drv 0 Logic Cmd
Drv 0 Logic Sts
Drv 0 Feedback
Drv 1 Reference
Drv 1 Logic Cmd
Drv 1 Logic Sts
Drv 1 Feedback
Drv 2 Reference
Drv 2 Logic Cmd
Drv 2 Logic Sts
Drv 2 Feedback
Drv 3 Reference
Drv 3 Logic Cmd
Drv 3 Logic Sts
Drv 3 Feedback
Drv 4 Reference
Drv 4 Logic Cmd
Drv 4 Logic Sts
Drv 4 Feedback
Profibus Rx Errors
Profibus Tx Errors
Active drives number
Description
The number of Firmware Updates.
The number of events in the event queue.
Reference from Profibus returned to DSI Drive 0.
Command from Profibus returned to DSI Drive 0.
Status of the Drive 0 returned to Profibus.
Feedback from Drive 0 returned to Profibus.
Reference from Profibus returned to DSI Drive 0-1.
Command from Profibus returned to DSI Drive 0-1.
Status of the Drive 0-1 returned to Profibus.
Feedback from Drive 0-1 returned to Profibus.
Reference from Profibus returned to DSI Drive 0-2.
Command from Profibus returned to DSI Drive 0-2.
Status of the Drive 0-2 returned to Profibus.
Feedback from Drive 0-2 returned to Profibus.
Reference from Profibus returned to DSI Drive 0-3.
Command from Profibus returned to DSI Drive 0-3.
Status of the Drive 0-3 returned to Profibus.
Feedback from Drive 0-3 returned to Profibus.
Reference from Profibus returned to DSI Drive 0-4.
Command from Profibus returned to DSI Drive 0-4.
Status of the Drive 0-4 returned to Profibus.
Feedback from Drive 0-4 returned to Profibus.
Current value of the Profibus Receive Error Counter register.
Current value of the Profibus Transmit Error Counter register.
The number of active slave drives.
8-5
8-6
Troubleshooting
Events
Many events in the Event queue occur under normal operation.
If you encounter unexpected communications problems, the events may
help you or Rockwell Automation personnel troubleshoot the problem.
The following events may appear in the event queue:
Code Event
Description
0
No Event
Text displayed in an empty event queue entry.
1
EEPROM Sum Flt Startup sequence detected corrupt EEPROM storage in the
adapter.
2
Slave Detected
A DSI slave was detected on the slave I/O line
3
Slave Removed A DSI slave was removed on the slave I/O line
7
Bad I/O Config
The actual connected drives are different from I/O
configuration (Adapter Parameter 11)
8
Host Timeout
An Parameter Data to a Drive Host timed out waiting for a
response.
9
Slave Timeout
An Param. Data to a Slave timed out waiting for a response.
10
Bad Host Flt
The adapter was connected to an incompatible product.
11
DSI Bus Off Flt
A bus-off condition was detected on DSI. This event may be
caused by loose or broken cables or by noise.
13
P-DP Idle
The Profibus Adapter received a Network Clear from the
Profibus Master.
14
P-DP Online
The Profibus adapter has gone on-line the Profibus Network.
15
P-DP Offline
The Profibus adapter has gone off-line the Profibus Network.
17
DSI Fault Msg
The Host faulted
18
DSI Fault Clear
The user cleared a fault in the adapter
19
Not COMM Flt
The adapter detected a fault condition on the PB network
21
Program damage The Checksum of the Program is wrong
Appendix A
Specifications
This chapter present the specifications for the adapter.
Topic
Communications
Electrical
Mechanical
Page
A-1
A-1
A-1
Topic
Page
Environmental
A-2
Regulatory Compliance A-2
Communications
Network
Protocol
Data Rates
Drive
Protocol
Profibus
9.6kbps, 19.2kbps, 93.75kbps, 187.5kbps, 500kbps,
1.5Mbps, 3Mbps, 6Mbps, 12Mbps. The adapter has an
auto baud rate detection.
DSI
Electrical
Consumption
Drive
Network
Mechanical
Dimensions
Height
Length
Width
Weight
19 mm (0.75 inches)
86 mm (3.39 inches)
78.5 mm (3.09 inches)
57 g (2 oz.)
A-2
Specifications
Environmental
Temperature
Operating
Storage
Relative Humidity
Vibration
Shock
Altitude
Regulatory Compliance
Certification
UL
CE
Specification
UL508C
EN50178 and EN61800-3
Appendix B
Adapter Parameters
Appendix B provides information about the Profibus adapter parameters.
Topic
Page
About Parameter Numbers B-1
Parameter List
B-1
Numbering Scheme
The adapter parameters begin with parameter 1.
For example, Parameter 04 - [P-DP Addr Actual] is
parameter 04 as indicated by this manual.
Parameter List
Parameter
No. Name and Description
Details
01 [Mode]
Default:
Displays the Single or Multi-Drive operating mode Values:
selected with the jumper J2 on the adapter.
Type:
04 [P-DP Addr Actual]
Default:
Profibus Node Address actually used by the
Minimum:
Maximum:
adapter.
Type:
05 [P-DP Rate Actual]
Default:
PROFIBUS actual operating data rate.
Values:
Type:
N/A
0 = Single Drive
1 = Multiple Drive
Read Only
N/A
00
127
Read Only
N/A
0 = 9.6 kbps
1 = 19.2 kbps
2 = 45.45 kbps
3 = 93.75 kbps
4 = 187.5 kbps
5 = 500 kbps
6 = 1.5 Mbps
7 = 3 Mbps
8 = 6 Mbps
9 = 12 Mbps
10 = Off-line
Read Only
B-2
Adapter Parameters
Parameter
No. Name and Description
08 [Reset Module]
No action if set to Ready. Resets the adapter if
set to Reset Module. Restores the adapter to its
factory default settings if set to Set Defaults. This
parameter is a command. It will be reset to 0 =
Ready after the command has been performed.
!
09
11
12
Type:
Reset Required:
0 = Ready
0 = Ready
1 = Reset Module
2 = Set Defaults
Read/Write
No
!
10
Details
Default:
Values
0 = Fault
0 = Fault
1 = Stop
2 = Zero Data
3 = Hold Last
4 = Send Flt Cfg
Read/Write
No
Type:
Reset Required:
Default:
Bit Values:
Type:
0 = Fault
0 = Fault
1 = Stop
2 = Zero Data
3 = Hold Last
4 = Send Flt Cfg
Read/Write
No
0
0 = Drive 0
1 = Drives 0-1
2 = Drives 0-2
3 = Drives 0-3
4 = Drives 0-4
Read/Write
Yes
N/A
0 = Drive 0
1 = Drives 0-1
2 = Drives 0-2
3 = Drives 0-3
4 = Drives 0-4
Read Only
Adapter Parameters
Parameter
No. Name and Description
13 [Flt Cfg Logic]
Sets the Logic Command data that is sent to the
drive if any of the following is true:
Parameter 09 - [Comm Flt Action] is set to
Send Flt Cfg and communications are
disrupted.
Parameter 10 - [Idle Fault Action] is set to
Send Flt Cfg and the scanner is put into
Program mode.
The bit definitions will depend on the product to
which the adapter is connected.
14 [Flt Cfg Ref]
Sets the Reference data that is sent to the drive if
any of the following is true:
Parameter 09- [Comm Flt Action] is set to
Send Flt Cfg and communications are
disrupted.
Parameter 10 - [Idle Flt Action] is set to Send
Flt Cfg and the scanner is put into Program
mode.
17
18
19
20
21
24
B-3
Details
Default:
Minimum:
Maximum:
Type:
Reset Required:
Default:
Minimum:
Maximum:
Type:
Reset Required:
0
0
4000
Read/Write
No
Default:
Values:
[Drv 0 Addr]
[Drv 1 Addr]
[Drv 2 Addr]
[Drv 3 Addr]
[Drv 4 Addr]
Type:
N/A
0 = WAIT_PRM
1 = WAIT_CFG
2 = DATA_EX
3 = ERROR
Read Only
B-4
Notes:
Adapter Parameters
Appendix C
C-2
Active
Command
Direction
Actual
Direction
Accel
Decel
Alarm
Fault
At Speed
Main Freq
Operation
Command
Parameters
Description
0 = Not Ready
1 = Ready
0 = Not Active
1 = Active
0 = Reverse
1 = Forward
0 = Reverse
1 = Forward
0 = Not Accelerating
1 = Accelerating
0 = Not Decelerating
1 = Decelerating
0 = No Alarm
1 = Alarm
0 = No Fault
1 = Fault
0 = Not At Reference
1 = At Reference
0 = Not Controlled By Comm
1 = Controlled By Comm
0 = Not Controlled By Comm
1 = Controlled By Comm
0 = Not Locked
1 = Locked
Digital
Input 1
Status
Digital
Input 2
Status
Digital
Input 3
Status (1)
Digital
Input 4
Status (1)
(1) This status is available only with firmware revision FRN 2.xx and higher.
Appendix D
Topic
Single Drive Example
Multi Drive Example
Page
D-2
D-9
D-2
The expample program demonstrates using Logic Command / Reference, Logic Status / Feedback and Parameter
Access using the Parameter Protocol.
On power-up, zero out the transmit buffer to the Scanner.
First Pass
S:1
FLL
Fill File
Source
Dest
Length
0
15
Automatically have the SST-PFB-SCL scanner's watchdog period track that of the
SCL processor (recommended per SST user manual)
MOV
Move
Source
Dest
0
#N20:0
12
S:3
2561<
M0:1.4011
?<
The Scanner is configured to 12 bytes (6 words) of inputs for each drive. Two drives require 24 bytes (12 words).
Read the drives data from the Profibus scanner.
File N10: contains the acutal read data that can be used elsewhere in the ladder program.
Station 1
Station 2
M1:1.0 (N10:0) M1:1.6
M1:1.1 (N10:1) M1:1.7
M1:1.2 (N10:2) M1:1.8
M1:1.3 (N10:3) M1:1.9
M1:1.4 (N10:4) M1:1.10
M1:1.5 (N10:5) M1:1.11
(N10:6)
(N10:7)
(N10:8)
(N10:9)
(N10:10)
(N10:11)
Description
Logic Status
Speed Feedback
Parameter Protocol Word 1 (PCA)
Parameter Protocol Word 2 (IND)
Parameter Protocol Word 3 (PVA 1)
Parameter Protocol Word 4 (PVA 2)
COP
COP
Copy File
Source
Dest
Length
#M1:1.0
#N10:0
12
JSR
Jump To Subroutine
SBR File Number
U:3
JSR
Jump To Subroutine
SBR File Number
U:4
(N20:6)
(N20:7)
(N20:8)
(N20:9)
(N20:10)
(N20:11)
Description
Logic Command
Speed Reference
Parameter Protocol Word 1 (PCA)
Parameter Protocol Word 2 (IND)
Parameter Protocol Word 3 (PVA1)
Parameter Protocol Word 4 (PVA2)
COP
COP
Copy File
Source
Dest
Length
#N20:0
#M0:1.0
12
END
Station 1
Stop
Command
B3:20
Station 1
Logic Command
STOP
N20:0
0
0
Station 1
Start
Command
B3:20
Station 1
Logic Command
START
N20:0
1
1
Station 1
Jog
Command
B3:20
Station 1
Logic Command
JOG
N20:0
2
2
Station 1
Clear Faults
Command
B3:20
Station 1
Logic Command
CLEAR FAULTS
N20:0
3
3
Station 1
Reverse
Command
B3:20
Station 1
Logic Command
FORWARD
N20:0
4
4
Station 1
Reverse
Command
B3:20
Station 1
Logic Command
REVERSE
N20:0
5
To control the speed reference over the Profibus, the three Reference Select bits (bits 14-12) need to have the values 011.
Station 1
Logic Command
REFERENCE SELECT 0
N20:0
6
12
Station 1
Logic Command
REFERENCE SELECT 1
N20:0
7
13
"Never Closed"
B3:20
Station 1
Logic Command
REFERENCE SELECT 2
N20:0
8
5
14
D-3
D-4
First Pass
S:1
10
15
This circuit utilizes the Parameter Protocol. A REQUEST to Station 1 is processed only once at a time, and after each
RESPONSE from Station 1 a zero must be sent and received to 'handshake' before the next REQUEST/RESPONSE
transaction can take place. For example:
Send a param. read request --> Receive a parameter read response --> Send a "0" --> Receive a "0" --> [Transaction compl.]
If the RESPONSE PCA Word 1 (N10:2) is "0", then a REQUEST can be initiated.
Elsewhere in the user program these words must be loaded with message data prior to initiating the REQUEST.
N7:10 = RC = the operation to be performed ("1" = Read, "2" = 16-bit Write),
N7:11 = PNU = the parameter number to read or write
N7:12 = Subindex = the DPI port # ("0" = Host or PowerFlex drive, "5" = 22-COMM-P, etc.)
N7:13 = PVA #1 (the parameter value (high word)) - only used when writing parameters
N7:14 = PVA #2 (the parameter value (low word)) - only used when writing parameters
The four Parameter Protocol Words set up in the scanner are used to perform the Parameter Protocol:
N20:2 = contains RC (the operation to be performed) and PNU (the parameter number to read or write) combined
N20:3 = Subindex (the DPI port #)
N20:4 = PVA #1 (the parameter value (high word))
N20:5 = PVA #2 (the parameter value (low word))
B3:19/15 is turned ON elsewhere in the program after a REQUEST message (N7:10-14) is loaded. This causes one Param.
Protocol read or write to occur and B3:19/15 is turned OFF when the transaction is complete.
Station 1
Par Prot
Station 1
Messaging
RESPONSE
Station 2
Request
PCA Word
PCA Word
B3:19
EQU
MOV
Equal
Move
11
15
Source A
N10:2
Source
N7:11
0<
77<
Source B
0
Dest
N20:2
0<
0<
RC bit 0
N7:10
0
RC bit 1
N7:10
1
RC bit 2
N7:10
2
IND Word
(Subindex)
COP
COP
Copy File
Source
Dest
Length
PCA Word
RC bit 0
N20:2
L
12
PCA Word
RC bit 1
N20:2
L
13
PCA Word
RC bit 2
N20:2
L
14
#N7:12
#N20:3
3
D-5
12
0
0<
N20:2
0<
Station 1
Par Prot
Messaging
Request
B3:19
U
15
13
END
D-6
Station 2
Stop
Command
B3:21
Station 2
Logic Command
STOP
N20:6
0
0
Station 2
Start
Command
B3:21
Station 2
Logic Command
START
N20:6
1
1
Station 2
Jog
Command
B3:21
Station 2
Logic Command
JOG
N20:6
2
2
Station 2
Clear Faults
Command
B3:21
Station 2
Logic Command
CLEAR FAULTS
N20:6
3
3
Station 2
Reverse
Command
B3:21
Station 2
Logic Command
FORWARD
N20:6
4
4
Station 2
Reverse
Command
B3:21
Station 2
Logic Command
REVERSE
N20:6
5
To control the speed reference over the Profibus, the three Reference Select bits (bits 14-12) need to have the values 011.
Station 2
Logic Command
REFERENCE SELECT 0
N20:6
6
12
Station 2
Logic Command
REFERENCE SELECT 1
N20:6
7
13
"Never Closed"
B3:21
Station 2
Logic Command
REFERENCE SELECT 2
N20:6
8
5
14
D-7
First Pass
S:1
10
15
This circuit utilizes the Parameter Protocol. A REQUEST to Station 2 is processed only once at a time, and after each
RESPONSE from Station 2 a zero must be sent and received to 'handshake' before the next REQUEST/RESPONSE
transaction can take place. For example:
Send a parameter read request --> Receive a param. read response --> Send a "0" --> Receive a "0" --> [Transaction compl.]
If the RESPONSE PCA Word 1 (N10:8) is "0", then a REQUEST can be initiated.
Elsewhere in the user program these words must be loaded with message data prior to initiating the REQUEST.
N7:30 = RC = the operation to be performed ("1" = Read, "2" = 16-bit Write)
N7:31 = PNU = the parameter number to read or write
N7:32 = Subindex = the DPI port # ("0" = Host or PowerFlex drive, "5" = 22-COMM-P, etc.)
N7:33 = PVA #1 (the parameter value (high word)) - only used when writing parameters
N7:34 = PVA #2 (the parameter value (low word)) - only used when writing parameters
The four Parameter Protocol Words set up in the scanner are used to perform the Parameter Protocol:
N20:8 = contains RC (the operation to be performed) and PNU (the parameter number to read or write) combined
N20:9 = Subindex (the DPI port #)
N20:10 = PVA #1 (the parameter value (high word))
N20:11 = PVA #2 (the parameter value (low word))
B3:19/0 is turned ON elsewhere in the program after a REQUEST message (N7:30-34) is loaded. This causes one
Parameter Protocol read or write to occur and B3:19/0 is turned OFF when the transaction is complete.
Station 2
Par Prot
Station 2
Messaging
RESPONSE
Station 2
Request
PCA Word
PCA Word
B3:19
EQU
MOV
11
Equal
Move
0
Source A
N10:8
Source
N7:31
0<
77<
Source B
0
Dest
N20:8
0<
0<
RC bit 0
N7:30
0
RC bit 1
N7:30
1
RC bit 2
N7:30
2
IND Word
(Subindex)
COP
Copy File
Source
Dest
Length
PCA Word
RC bit 0
N20:8
L
12
PCA Word
RC bit 1
N20:8
L
13
PCA Word
RC bit 2
N20:8
L
14
#N7:32
#N20:9
3
D-8
0
0<
N20:8
0<
Station 2
Par Prot
Messaging
Request
B3:19
U
0
13
END
D-9
The expample program demonstrates using Logic Command / Reference, Logic Status / Feedback and Parameter
Access using the Parameter Protocol.
On power-up, zero out the transmit buffer to the Scanner.
First Pass
S:1
FLL
Fill File
Source
Dest
Length
0
15
Automatically have the SST-PFB-SCL scanner's watchdog period track that of the
SCL processor (recommended per SST user manual)
MOV
Move
Source
Dest
0
#N20:0
10
S:3
2561<
M0:1.4011
?<
The Scanner is configured to 20 bytes (10 words) of inputs: 4 Bytes "Ctrl/Stat & Ref Fdbk" for each drive (= 12 Bytes)
8 Bytes "Parameter Access"
Read the drives data from the Profibus scanner.
File N10: contains the acutal read data that can be used elsewhere in the ladder program.
Address
Description
M1:1.0 (N10:0) Logic Status Drive 0
M1:1.1 (N10:1) Speed Feedback Drive 0
M1:1.2 (N10:2) Logic Status Drive 1
M1:1.3 (N10:3) Speed Feedback Drive 1
M1:1.4 (N10:4) Logic Status Drive 2
M1:1.5 (N10:5) Speed Feedback Drive 2
M1:1.6 (N10:6) Parameter Access Word 1 (PCA)
M1:1.7 (N10:7) Parameter Access Word 2 (IND)
M1:1.8 (N10:8) Parameter Access Word 3 (PVA 1)
M1:1.9 (N10:9) Parameter Access Word 4 (PVA 2)
COP
Copy File
Source
Dest
Length
#M1:1.0
#N10:0
10
JSR
JSR
Jump To Subroutine
SBR File Number
U:3
JSR
JSR
Jump To Subroutine
SBR File Number
U:4
D-10
JSR
JSR
Jump To Subroutine
SBR File Number
U:5
JSR
JSR
Jump To Subroutine
SBR File Number
U:6
File No.
(N20:0)
(N20:1)
(N20:2)
(N20:3)
(N20:4)
(N20:5)
(N20:6)
(N20:7)
(N20:8)
(N20:9)
Description
Logic Command Drive 0
Speed Reference Drive 0
Logic Command Drive 1
Speed Reference Drive 1
Logic Command Drive 2
Speed Reference Drive 2
Parameter Access Word 1 (PCA)
Parameter Access Word 2 (IND)
Parameter Access Word 3 (PVA 1)
Parameter Access Word 4 (PVA 2)
COP
Copy File
Source
Dest
Length
#N20:0
#M0:1.0
10
END
D-11
Controlling the Logic Command word in the drive. B3:20/* bits are controlled elsewhere in the user program.
Station 0
Stop
Command
B3:20
Station 0
Logic Command
STOP
N20:0
0
0
Station 0
Start
Command
B3:20
Station 0
Logic Command
START
N20:0
1
1
Station 0
Jog
Command
B3:20
Station 0
Logic Command
JOG
N20:0
2
2
Station 0
Clear Faults
Command
B3:20
Station 0
Logic Command
CLEAR FAULTS
N20:0
3
3
Station 0
Reverse
Command
B3:20
Station 0
Logic Command
FORWARD
N20:0
4
4
Station 0
Reverse
Command
B3:20
5
Station 0
Logic Command
REVERSE
N20:0
To control the speed reference over the Profibus, the three reference select bits (bits 14-12)
.
need to have the values 11.
Station 0
Logic Command
REFERENCE SELECT 0
N20:0
6
12
Station 0
Logic Command
REFERENCE SELECT 1
N20:0
7
13
"Never Closed"
B3:20
Station 0
Logic Command
REFERENCE SELECT 2
N20:0
8
5
14
10
END
D-12
Controlling the Logic Command word in the drive. B3:21/* bits are controlled elsewhere in the user program.
Station 1
Stop
Command
B3:21
Station 1
Logic Command
STOP
N20:2
0
0
Station 1
Start
Command
B3:21
Station 1
Logic Command
START
N20:2
1
1
Station 1
Jog
Command
B3:21
Station 1
Logic Command
JOG
N20:2
2
2
Station 1
Clear Faults
Command
B3:21
Station 1
Logic Command
CLEAR FAULTS
N20:2
3
3
Station 1
Reverse
Command
B3:21
Station 1
Logic Command
FORWARD
N20:2
4
4
Station 1
Reverse
Command
B3:21
Station 1
Logic Command
REVERSE
N20:2
5
4
To control the speed reference over the Profibus, the three Reference Select bits (bits 14-12) need to have the values 011.
Station 1
Logic Command
REFERENCE SELECT 0
N20:2
6
12
Station 1
Logic Command
REFERENCE SELECT 1
N20:2
7
13
"Never Closed"
B3:21
Station 1
Logic Command
REFERENCE SELECT 2
N20:2
8
5
14
10
END
D-13
Station 2
Stop
Command
B3:22
Station 2
Logic Command
STOP
N20:4
0
0
Station 2
Start
Command
B3:22
Station 2
Logic Command
START
N20:4
1
1
Station 2
Jog
Command
B3:22
Station 2
Logic Command
JOG
N20:4
2
2
Station 2
Clear Faults
Command
B3:22
Station 2
Logic Command
CLEAR FAULTS
N20:4
3
3
Station 2
Reverse
Command
B3:22
Station 2
Logic Command
FORWARD
N20:4
4
4
Station 2
Reverse
Command
B3:22
Station 2
Logic Command
REVERSE
N20:4
5
4
To control the speed reference over the Profibus, the three Reference Select bits (bits 14-12) need to have the values 011.
Station 2
Logic Command
REFERENCE SELECT 0
N20:4
6
12
Station 2
Logic Command
REFERENCE SELECT 1
N20:4
7
13
"Never Closed"
B3:22
Station 2
Logic Command
REFERENCE SELECT 2
N20:4
14
Station 2
Speed Reference
Write
MOV
MOV
Move
Source
Dest
10
N19:5
314<
N20:5
0<
END
D-14
This section of the routine is only needed if the application needs to perform Parameter Protocol Reads or Writes to Station 2.
On power-up, initialize the Parameter Protocol routine.
Par Prot
Messaging
Request
B3:19
U
0
First Pass
S:1
0
15
This circuit utilizes the Parameter Protocol. A REQUEST to the Profibus adapter is processed only once at a time,
and after each RESPONSE from the adapter a zero must be sent and received to 'handshake' before the next
REQUEST/RESPONSE transaction can take place. For example:
Send a param. read request --> Receive a param. read response --> Send a "0" --> Receive a "0" --> [Transaction complete]
If the RESPONSE PCA Word 1 (N10:6) is "0", then a REQUEST can be initiated
.
Elsewhere in the user program these words must be loaded with message data prior to initiating the REQUEST.
N7:10 = RC = the operation to be performed ("1" = Read, "2" = 16-bit Write)
N7:11 = PNU = the parameter number to read or write
N7:12 = Subindex = the DPI port # ("0" = Station 0, "1" = Station 1, "2" = Station 2, "5" = 22-COMM-P, etc.)
N7:13 = PVA #1 (the parameter value (high word)) - only used when writing parameters
N7:14 = PVA #2 (the parameter value (low word)) - only used when writing parameters
The four Parameter Protocol Words set up in the scanner are used to perform the Parameter Protocol:
N20:6 = contains RC (the operation to be performed) and PNU (the parameter number to read or write) combined
N20:7 = Subindex (the DPI port #)
N20:8 = PVA #1 (the parameter value (high word))
N20:9 = PVA #2 (the parameter value (low word))
B3:19/0 is turned ON elsewhere in the program after a REQUEST message (N7:10-14) is loaded. This causes one
Parameter Protocol read or write to occur and B3:19/0 is turned OFF when the transaction is complete.
Par Prot
Messaging
RESPONSE
Request
PCA Word
PCA Word
B3:19
EQU
MOV
Equa
Move
1
0
Source A
N10:6
Source
N7:11
0<
77<
Source B
0
Dest
N20:6
0<
12304<
RC bit 0
N7:10
0
RC bit 1
N7:10
1
RC bit 2
N7:10
2
IND Word
(Subindex)
COP
Copy File
Source
Dest
Length
PCA Word
RC bit 0
N20:6
L
12
PCA Word
RC bit 1
N20:6
L
13
PCA Word
RC bit 2
N20:6
L
14
#N7:12
#N20:7
3
D-15
0
0<
N20:6
12304<
Par Prot
Messaging
Request
B3:19
U
0
3
END
D-16
Glossary
A
Adapter
Devices such as drives, controllers, and computers usually require an
adapter to provide a communication interface between them and a
network such as Profibus. 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 22-COMM-P Profibus adapter is an adapter that connects,
PowerFlex drives to a Profibus Network. Adapters are sometimes also
called cards, embedded communication options, gateways,
modules, and peripherals.
ControlFLASH
ControlFLASH is 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.
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.
Data Rate
The data rate is the speed at which data is transferred on the Profibus
network. The available data rates depend on the type of cable and total
cable length used on the network:
Baudrate
9.6kbps
19.2kbps
93.75kbps
187.5kbps
500kbps
1.5Mbps
3Mbps
6Mbps
12Mbps
Glossary-2
DSI
Drive Serial Interface - a modification of the ModBus RS-485 serial
communication protocol used by various Allen-Bradley drives and
power products.
DSI Peripheral
A device that provides an interface between DSI and a network or user.
Peripheral devices are also referred to as adapters and modules.
The serial converter and PowerFlex 4-Class HIMs (22-HIM-*) are
examples of DSI peripherals.
DSI Product
A device that uses the DSI communications interface to communicate
with one or more peripheral devices. For example, a motor drive such as
a PowerFlex 4-Class drive is a DSI product. In this manual, a DSI
product is also referred to as product or host.
DriveExplorer Software
DriveExplorer software is a tool for monitoring and configuring
Allen-Bradley drives and communication adapters. It can be run on
computers running Microsoft Windows 95, 98, ME, NT 4.0 (Service
Pack 3 or later), 2000, XP and CE (version 2.11 and higher) operating
systems. DriveExplorer (version 3.01 or higher) can be used for this
communication adapter and PowerFlex 4-Class drives. Information
about DriveExplorer software and a free lite version can be accessed at
http://www.ab.com/drives/driveexplorer.
DriveTools SP Software
DriveTools SP Software is a tool for monitoring and configuring Allen
Bradley drives and communication adapters. It can be run on computers
running Microsoft Windows 98, ME, NT 4.0 (Service Pack 3 or later)
2000 and XP operating systems. DriveTools SP (version 2.02 or higher)
can be used for this communication adapter and PowerFlex 4-Class
drives. Information about DriveTools SP can be accessed at http://
www.ab.com/drives/drivetools/index.
Fault Action
A fault action determines how the adapter and connected product act
when a communications fault (for example, a cable is disconnected)
occurs or when the scanner is switched out of run mode. The former uses
a communications fault action, and the latter uses an idle fault action.
Glossary-3
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 in the fault configuration parameters (Parameter 13 - [Flt Cfg
Logic] and Parameter 14- [Flt Cfg Ref]). When a fault action
parameter is set to use the fault configuration and a fault occurs, the data
from these parameters is sent as the Command Logic and/or Reference.
Feedback
See Reference/Feedback
Flash Update
The process of updating firmware in the adapter. The adapter can be
flash updated using the controlFLASH tool or the X-Modem protocol
and a 1203-SSS Smart Self-powered Serial converter (firmware 3.001 or
higher firmware).
GSD File
A GSD File is a file used by network configuration tools to configure the
adapter. The GSD file contains GSD modules for setting up the
communication with the adapter.
I/O Data
I/O data, sometimes called implicit messages or input/output,
transmit time-critical data such as a Logic Command and Reference.
The terms input and output are defined from the scanners point of
view. Output is transmitted by the scanner and consumed by the adapter.
Input is transmitted by the adapter and consumed by the scanner.
Glossary-4
Master
See Scanner
Node Address
A Profibus network can have as many as 126 devices connected to it.
Each device on the network must have a unique node address between 0
and 126.
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.
Parameter Messaging
Parameter Messages are used to configure, monitor, and diagnose
devices over Profibus.
PowerFlex 4-Class Drives
The Allen-Bradley PowerFlex 4-Class family of drives include the
PowerFlex 4 and PowerFlex 40. These drives can be used for
applications ranging from 0.2 kW (0.25 HP) to 11kW (15 HP).
All PowerFlex 4-Class drives implement DSI, allowing those that
support an internal adapter to use the 22-COMM-P Profibus adapter. The
adapter can be installed in a PowerFlex 40 drive but not in the PowerFlex
4. This manual focuses on using the adapter with a PowerFlex 40 drive.
Glossary-5
Profibus Network
A Profibus network uses RS485 to connect devices (for example,
controllers, drives, and motor starters). A Profibus network can support a
maximum of 126 devices. Each device is assigned a unique node address
and transmits data on the network at the same data rate.
A cable is used to connect devices on the network. It contains the bus
signal. Devices can be connected to the network in a daisy chain
connection.
General information about Profibus and the Profibus specification are
maintained by the Profibus Trade Organization (PTO). PTO is online at
http://www.profibus.com.
Reference/Feedback
The Reference is used to send a Reference (for example, speed,
frequency, torque) to the product. It consists of one word of input 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 a product. It consists of one
word of output 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.
Scanner
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.
A Scanner is often called Master.
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.
Zero Data
When communications are disrupted (for example, a cable is
disconnected), the adapter and drive can respond with zero data.
Zero data results in the drive receiving zero as values for command data.
If the drive was running and using the Reference from the adapter,
it will stay running but at zero Reference.
Glossary-6
Index
Numerics
9-pin D-shell plug, 2-5
A
adapter
applying power, 2-9
commissioning, 2-1
compatible products, 1-3
components, 1-1
definition, G-1
features, 1-2
grounding, 2-7
illustration, 1-1
installing, 2-1 to 2-9
mounting, 2-7 to 2-8
parameters, B-1 to B-3
resetting, 3-6
Single/Multi-Drive mode of
operation, 2-4
specifications, A-1
tools to configure, 3-1
troubleshooting, 8-1
viewing the active configuration,
3-7
applying power to the adapter, 2-9
attentions, 1-4, 5-1, 6-1
D
data rate
definition, G-1
dimensions, A-1
DriveExplorer
accessing parameters with, 3-1
definition, G-2
free lite version, G-2
drives, see PowerFlex drives
B
baud rate, refer to data rate
bit definitions for logic command/
status word, C-1
C
cables
clamp-on ferrite cable clamp, 2-6
DSI Internal Interface, 2-6, 2-7
Profibus, 2-5
DriveTools SP
accessing parameters with, 3-1
definition, G-2
supported feature, 1-2
Drv 0 - 4 Addr parameters, B-3
Index-2
DSI
connector on adapter, 1-1
data rate, 3-7
definition, G-2
Internal Interface cable, 2-6, 2-7
peripheral, G-2
products, G-2
G
grounding the adapter, 2-7
GSD-file
adding, 4-3, 4-4
installing, 4-3
E
EEPROM, refer to Non-Volatile
Storage (NVS)
hold last
configuring an adapter for, 3-5
definition, G-3
events
clearing, 8-6
list of, 8-6
viewing, 8-6
I/O
examples
Profibus network, 4-1
F
fault action
configuring an adapter, 3-5
definition, G-2
fault configuration
configuring an adapter for, 3-5
definition, G-3
faults, refer to events
features, 1-2
firmware release, P-2
flash update, G-3
Flt Cfg Logic parameter, B-3
Flt Cfg Ref parameter, B-3
I
about, 5-1
configuring an adapter for, 3-4
definition, G-3
image, 5-2, 7-5
Idle Flt Action parameter, B-2
image, 5-2
installation
applying power to the adapter, 2-9
commissioning the adapter, 2-1
connecting to the drive, 2-6, 2-7
connecting to the network, 2-4
preparing for, 2-1
Internal Interface cable
connecting to a drive, 2-7
connecting to an adapter, 2-7
illustration, 2-7
Index-3
L
LEDs, refer to status indicators
Logic Command/Status
bit definitions, C-1
definition, G-4
in I/O image, 5-2, 7-5
using, 5-2
M
manual
conventions, P-2
related documentation, P-1
web site, P-1
Masters/Slaves Library, 4-5
mechanical dimensions, A-1
MOD status indicator
locating, 8-1
troubleshooting with, 8-3
modes of operation, 1-6
mounting the adapter, 2-7 to 2-8
Multi-Drive mode
additional information, 7-7
Parameter data, 7-7
setting with the jumper, 2-4
system wiring, 7-4
using, 7-1
versus Single mode, 7-1
N
NET A status indicator
locating, 8-1
troubleshooting with, 8-4
NET B status indicator
locating, 8-1
not used, 8-1
node address
definition, G-4
setting with switches, 2-2
O
operating status, 1-6
P
Parameter
Protocol, 6-3
Parameter messaging
about, 6-1
definition, G-4
running, 6-2
parameters
accessing, 3-1
active configuration, 3-7
convention, P-2
list of, B-1 to B-3
numbers, B-1
P-DP Addr Actual parameter, B-1
P-DP Rate Actual Parameter, B-1
P-DP State parameter, B-3
plug, 2-5
PORT status indicator
locating, 8-1
troubleshooting with, 8-2
power consumption, A-1
PowerFlex drives, G-4
4/40 logic command/status, C-1
compatible with adapter, 1-3
HIM, 1-1, 3-2, 3-3
installing adapter on, 2-6, 2-7
preparing for an installation, 2-1
processor, refer to controller
Index-4
Profibus
9-pin D-shell plug, 2-5
cable, 2-5
connector on adapter, 1-1
Profibus adapter, refer to adapter
programmable logic controller, refer to
controller
switches
locating, 1-1
setting, 2-2
T
technical support, P-2
tools required, 1-3
Q
Quick Start, 1-5
R
reference/feedback
definition, G-5
in I/O image, 5-2, 7-5
using, 5-3
U
update, see flash update
web site
for GSD-file, 4-3
for manuals, P-1
S
safety precautions, 1-4
scanner
definition, G-5
Single mode
setting with the jumper, 2-4
versus Multi-Drive mode, 7-1
specifications
adapter, A-1
SST Profibus scanner
configuration software, 4-2
configuring, 4-5
status indicators
definition, G-5
identifying, 1-6
locating, 8-1
Z
zero data
configuring an adapter for, 3-5
definition, G-5
www.rockwellautomation.com
Corporate Headquarters
Rockwell Automation, 777 East Wisconsin Avenue, Suite 1400, Milwaukee, WI, 53202-5302 USA, Tel: (1) 414.212.5200, Fax: (1) 414.212.5201
Headquarters for Allen-Bradley Products, Rockwell Software Products and Global Manufacturing Solutions
Americas: Rockwell Automation, 1201 South Second Street, Milwaukee, WI 53204-2496 USA, Tel: (1) 414.382.2000, Fax: (1) 414.382.4444
Europe/Middle East/Africa: Rockwell Automation SA/NV, Vorstlaan/Boulevard du Souverain 36, 1170 Brussels, Belgium, Tel: (32) 2 663 0600,
Fax: (32) 2 663 0640
Asia Pacific: Rockwell Automation, 27/F Citicorp Centre, 18 Whitfield Road, Causeway Bay, Hong Kong, Tel: (852) 2887 4788, Fax: (852) 2508 1846
Headquarters for Dodge and Reliance Electric Products
Americas: Rockwell Automation, 6040 Ponders Court, Greenville, SC 29615-4617 USA, Tel: (1) 864.297.4800, Fax: (1) 864.281.2433
Europe/Middle East/Africa: Rockwell Automation, Brhlstrae 22, D-74834 Elztal-Dallau, Germany, Tel: (49) 6261 9410, Fax: (49) 6261 17741
Asia Pacific: Rockwell Automation, 55 Newton Road, #11-01/02 Revenue House, Singapore 307987, Tel: (65) 6356-9077, Fax: (65) 6356-9011
U.S. Allen-Bradley Drives Technical Support
Tel: (1) 262.512.8176, Fax: (1) 262.512.2222, Email: [email protected], Online: www.ab.com/support/abdrives