Rockwell Automation DeviceNet Communications Module User Manual

DeviceNet Com munications Module
M/N MDCOMM-DNET
Instruction Manual
D2-3520
The information in this manual is subject to change without notice.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Throughout this manual, the following notes are used to alert you to safety considerations:
ATTENTION:Identifies information about practices or circumstances that can lead to personal injury or death,
!
Important: Identifies information th at i s c riti cal for s uc cess ful a ppl ic ati on and
!
property damage, or economic loss.
understanding of the product.
ATTENTION:The drive may contain high voltages that can cause injury or death. Remove all power from the drive, and then verify power has been removed before installing or removing a DeviceNet module. Failure to observe these precautions could result in severe bodily injury or loss of life.
ATTENTION:Only qualified personnel familiar with the construction and o peration of this equipment and the hazards involved should install, adjust, operate, or service this equipment. Read and un derstand this docum ent in its entirety before proceeding. Failure to observe this precaution could result in severe bodily injury or loss of life.
ATTENTION:If the DeviceNet module is transmitting control I/O to the drive, the drive may fault when you reset the mod ule. Determine how your drive will respond before resetting a module. Failure to observe this precaution could result in bodily injury and/or damage to equipment.
ATTENTION:Comm Flt Action (7) and Idle Flt Action (8) let you determine the action of the mo du le an d connected drive if communications are disrupted. By default, these parame ters fault the drive. You can set these paramete rs so that t he drive continues to run. Pr eca uti ons s ho uld be taken to ensure that the settings of these parameters do not create a hazard of injury or equipment d amage. Failure to observe this p recaution could resu lt in bodily in jury and/or damage to equipment.
ATTENTION: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 test ing. Failur e to observe this precaution c ould result in bodily injury and/or damage to equipment.
RSLinx, RSLogix, and RSNetWorx are trademarks of Rockwell Software. DeviceNet is a trademark of the Open DeviceNet Vendor Association. Window, Windows CE, Windows NT, and Microsoft are either registered trademarks or trademarks of Microsoft Corporation. MD65, VS Utilities, Reliance, MDI, and SLC are trademarks of Rockwell Automation.
©2003 Rockwell Automation. All rights reserved.
CONTENTS
Chapter 1 Introduction
1.1 DeviceNet Module Features ..........................................1-1
1.2 Related Documentation.................................................1-2
1.3 Conventions Used in This Manual.................................1-3
1.4 Getting Assistance from Reliance Electric..................... 1-3
Chapter 2 Getting Started
2.1 DeviceNet Module Components....................................2-1
2.2 Required Equipment......................................................2-2
2.3 Installation Checklist...................................................... 2-3
Chapter 3 Installing the DeviceNet Module
3.1 Preparing for an Installation........................................... 3-1
3.2 Commissioning the Module ........................................... 3-1
3.3 Connecting the Module to the Network..........................3-4
3.4 Connecting the Module to the Drive ..............................3-5
3.5 Applying Power.............................................................. 3-7
Chapter 4 Configuring the DeviceNet Module
4.1 Configuration Tools........................................................ 4-1
4.2 Using the LCD OIM to Configure the Module................ 4-2
4.3 Using RSNetWorx for DeviceNet................................... 4-2
4.3.1 Setting Up RSLinx for RSNetWorx for DeviceNet4-2
4.3.2 Going Online with RSNetWorx for DeviceNet..... 4-4
4.3.3 Creating an Electronic Data Sheet (EDS) File..... 4-5
4.3.4 Accessing and Editing Parameters...................... 4-6
4.4 Setting the Node Address.............................................. 4-7
4.5 Setting the Data Rate....................................................4-7
4.6 Setting the I/O Configuration .........................................4-8
4.7 Selecting COS, Cyclic, or Polled I/O..............................4-8
4.7.1 Using COS (Change of State) Data Exchange....4-9
4.8 Setting a Fault Action................................................... 4-10
4.8.1 Setting the Fault Configuration Parameters......4-11
4.9 Resetting the Module...................................................4-12
4.10Viewing the Module Configuration............................... 4-13
Chapter 5 Configuring the Scanner
5.1 Configuring a Simple Network: An Example.................. 5-1
5.2 Setting Up the Scan List................................................5-2
5.3 Mapping the Drive Data in the Scanner......................... 5-5
5.3.1 Mapping the Input I/O..........................................5-5
Contents
I
5.3.2 Mapping the Output I/O .......................................5-6
5.4 Saving the Configuration................................................5-7
Chapter 6 Using I/O Messaging
6.1 About I/O Messaging.....................................................6-1
6.2 Understanding the I/O Image.........................................6-2
6.3 Using Logic Command/Status .......................................6-3
6.4 Using Reference/Feedback ...........................................6-3
6.5 Sample Ladder Logic Programs ....................................6-3
6.5.1 Sample ControlLogix Lad der Log ic Program.......6-4
6.5.2 Sample PLC-5 Ladder Logic Program.................6-7
6.5.3 Sample SLC Ladder Logic Program....................6-9
Chapter 7 Using Explicit Messaging
7.1 About Explicit Messaging........................................ ......7-1
7.2 Formatting Explicit Messages for a ControlLogix
Controller.......................................................................7-2
7.3 Formatting Explicit Messages for a PLC or SLC
Controller.......................................................................7-4
7.4 Running Explicit Messages ............................................7-7
7.5 ControlLogix Example....................................................7-8
7.6 PLC-5 Example............................................................7-11
7.7 SLC Example...............................................................7-13
Chapter 8 Using Multi-Drive Mode
8.1 Single-Drive Mode vs. Multi-Drive Mode........................8-1
8.2 System Wiring................................................................8-3
8.3 Understanding the I/O Image.........................................8-4
8.4 Configuring the RS-485 Network...................................8-5
8.5 Multi-Drive Ladder Logic Program Example.................. 8-6
8.6 ControlLogix Example....................................................8-8
8.7 Multi-Drive Mode Explicit Messaging...........................8-20
8.8 Additional Information..................................................8-22
Chapter 9 Troubleshooting the DeviceNet Module and Network
9.1 Understanding the Status Indicators..............................9-1
9.1.1 DRIVE Status Indicator........................................9-2
9.1.2 MS Status Indicator.............................................9-3
9.1.3 NET A Status Indicator........................................9-4
9.2 Module Diagnostic Items in Single- Drive Mode............9-5
9.3 Module Diagnostic Items in Multi-Drive Mode................9-5
9.4 Viewing and Clearing Events.........................................9-6
Appendix A Technical Specifications...................................................... A-1
Appendix B DeviceNet Module Parameters............................................. B-1
II
DeviceNet Communications Module
Appendix C DeviceNet Objects ................................................................C-1
Appendix D Logic Command/Status Words .............................................D-1
Glossary ..................................................................................Glossary-1
Index .......................................................................................Index-1
Contents
III
IV
DeviceNet Communications Module
List of Figures
Figure 2.1 – Components of the DeviceNet Module...................................2-1
Figure 3.1 – Setting the Node Address/ Data Switches and
Single-/Multi-Drive Operation Jumper..................................... 3-2
Figure 3.2 – Connecting a 5-Pin Linear Plug to the Cable..........................3-5
Figure 3.3 – MDI Ports and Internal Interface Cables.................................3-6
Figure 3.4 – Mounting the Module..............................................................3-7
Figure 4.1 – Accessing the DeviceNet Parameters usi ng the LCD OIM..... 4-2
Figure 4.2 – Configure Drivers Dialog Box with a Configured Driver.......... 4-3
Figure 4.3 – Sample DeviceNet Network (Graph View).............................. 4-4
Figure 4.4 – EDS Wizard Screen................................................................ 4-5
Figure 4.5 – Sample MD65 Drive Dialog Box (Drive Parameters Tab)....... 4-6
Figure 4.6 – DeviceNet Node Address Screen on an LCD OIM................. 4-7
Figure 4.7 – DeviceNet Data Rate Screen on an LCD OIM........................ 4-7
Figure 4.8 – I/O Configuration Screen on an LCD OIM.............................. 4-8
Figure 4.9 – COS Status Mask Configuration Screen on an LCD OIM ...... 4-9
Figure 4.10 – COS Fdbk Change Configuration Screen on an LCD OIM... 4-9
Figure 4.11 – Fault Action Screens on an LCD OIM.................................4-11
Figure 4.12 – Reset Screen on an LCD OIM............................................ 4-12
Figure 5.1 – Sample DeviceNet Network....................................................5-1
Figure 5.2 – Configuration View (Graph Tab).............................................5-2
Figure 5.3 – Scanlist Page in the Scanner Module Dialog Box..................5-3
Figure 5.4 – Edit I/O Parameters Dialog Box.............................................. 5-3
Figure 5.5 – Input Page on the Scanner Module Dialog Box...................... 5-5
Figure 5.6 – Output Page on the Scanner Module Dialog Box................... 5-6
Figure 6.1 – Example of Single-Drive I/O Image........................................6-2
Figure 6.2 – Sample ControlLogix Ladder Logic Program.......................... 6-5
Figure 6.3 – Sample ControlLogix Ladder Logic Program (continued)....... 6-6
Figure 6.4 – Sample PLC-5 Ladder Logic Program.................................... 6-7
Figure 6.5 – Sample PLC-5 Ladder Logic Program (continued)................. 6-8
Figure 6.6 – Sample SLC Ladder Logic Program....................................... 6-9
Figure 6.7 – Sample SLC Ladder Logic Program (continued).................. 6-10
Figure 6.8 – Sample SLC Ladder Logic Program (continued).................. 6-11
Figure 7.1 – ControlLogix Message Format in RSLogix 5000.................... 7-2
Figure 7.2 – PLC Explicit Message Format................................................7-4
Figure 7.3 – SLC Explicit Message Format................................................7-4
Figure 7.4 – Explicit Message Process.......................................................7-7
Figure 7.5 – Data Format for a Read and Write Parameter (1 of 2)........... 7-8
Figure 7.6 – Data Format for a Read and Write Parameter (2 of 2)........... 7-9
Figure 7.7 – Sample ControlLogix Ladder Logic Program........................ 7-10
Contents
V
Figure 7.8 – Sample PLC-5 Ladder Logic Program..................................7-12
Figure 7.9 – Sample SLC Ladder Logic Program.....................................7-14
Figure 8.1 – Example of a Single-Drive Mode Network..............................8-1
Figure 8.2 – Example of a Multi-Drive Mode Network.................................8-2
Figure 8.3 – AK-U0-RJ45-TB2P Terminal Block Connector.......................8-3
Figure 8.4 – AK-U0-RJ45-TB2P Connector Wiring Diagram......................8-4
Figure 8.5 – Example of Multi-Drive I/O Image...........................................8-5
Figure 8.6 – Main Routine...........................................................................8-9
Figure 8.7 – Main Routine (Continued).....................................................8-10
Figure 8.8 – Drive 0 Control Routine.........................................................8-11
Figure 8.9 – Drive 0 Control Routine (Continued).....................................8-12
Figure 8.10 – Drive 1 Control Routine.......................................................8-13
Figure 8.11 – Drive 1 Control Routine (Continued)................................... 8-14
Figure 8.12 – Drive 2 Control Routine.......................................................8-15
Figure 8.13 – Drive 2 Control Routine (Continued)................................... 8-16
Figure 8.14 – Drive 3 Control Routine.......................................................8-17
Figure 8.15 – Drive 3 Control Routine (Continued)................................... 8-18
Figure 8.16 – Drive 4 Control Routine.......................................................8-19
Figure 8.17 – Drive 4 Control Routine (Continued)................................... 8-20
Figure 8.18 – Parameter Read Message Configuration............................8-21
Figure 8.19 – Parameter Write Message Configuration............................8-21
Figure 9.1 – Status Indicators (location on drive may vary)........................9-1
Figure 9.2 – VS Utilities Event View/Clear Screen......................................9-6
VI
DeviceNet Communications Module
List of Tables
Table 2.2 – Equipment Shipped with the DeviceNet Module......................2-2
Table 2.3 – Required User-Supplied Equipment........................................2-2
Table 3.1 – Node Address Switch Settings (UP = OPEN = 1)....................3-3
Table 3.2 – Data Rate Switch Settings (UP = OPEN = 1)..........................3-3
Table 3.3 – Jumper Settings for Single- or Multi-Drive Operation..............3-4
Table 4.1 – Configuration Tools..................................................................4-1
Table 4.2 – Procedure for Setting Up RSLinx for RSNetworx for
DeviceNet ................................................................................4-3
Table 4.3 – Viewing Devices on the DeviceNet Network using
RSNetWorx..............................................................................4-4
Table 4.4 – Procedure for Creating an EDS File........................................4-5
Table 4.5 – Procedure to Access and Edit Parameters Using RSNetWorx4-6
Table 4.6 – Selections for Drive Response to Communication Fault........4-10
Table 4.7 – Fault Configuration Parameters.............................................4-11
Table 4.8 – Module Configuration Parameters.........................................4-13
Table 5.1 – Input/Output Size Configuration...............................................5-4
Table 5.2 – Scan Rates..............................................................................5-4
Table 5.3 – Scanner Module Memory Locations ........................................5-6
Table 5.4 – Scanner Module Memory Locations ........................................5-7
Table 6.1 – Tags for the Sample ControlLogix Program.............................6-4
Table 6.2 – Control File for Block Transfers...............................................6-7
Table 7.1 – ControlLogix Message Requests and Responses...................7-3
Table 7.2 – Number of Transaction Blocks Reserved for Explicit
Messaging................................................................................7-5
Table 7.3 – PLC / SLC Explicit Message Requests....................................7-5
Table 7.4 – PLC / SLC Explicit Message Responses.................................7-6
Table 7.5 – Tags for the Sample Explicit Messaging Program...................7-9
Table 7.6 – Request Data for Read of Drive Parameter 39......................7-11
Table 7.7 – Response Data for Read of Drive Parameter 39...................7-11
Table 7.8 – Request Data for Write to Drive Parameter 101....................7-11
Table 7.9 – Response Data for Write to Drive Parameter 101.................7-11
Table 7.10 – Request Data for Read of Drive Parameter 101..................7-13
Table 7.11 – Response Data for Read of Drive Parameter 101 ...............7-13
Table 7.12 – Request Data for Write to Drive Parameter 101..................7-13
Table 7.13 – Response Data for Write to Drive Parameter 101 ...............7-13
Table 8.1 – Additional Throughput Time for Logic Command/Reference... 8-3
Contents
VII
Table 9.1 – DRIVE Status Indicator: State Definitions................................9-2
Table 9.2 – MS Status Indicator: State Definitions......................................9-3
Table 9.3 – NET A Status Indicator: State Definitions................................9-4
Table 9.4 – Diagnostic Items Accessed Using VS Utilities in
Single-Drive Mode....................................................................9-5
Table 9.5 – Diagnostic Items Accessed Using VS Utilities in
Multi-Drive Mode......................................................................9-5
Table 9.6 – Event Codes and Descriptions.................................................9-7
VIII
DeviceNet Communications Module
CHAPTER 1
Introduction
This manual provides information about the DeviceNet module (MDCOMM-DNET) and using it with MD65 drives. The module is mounted in the MD65 drive and receives its required power from the drive and from the DeviceNet network.
This manual is intended for qualified electrical personnel familiar with installing, programming, and maintaining AC drives and DeviceNet networks.
1.1 DeviceNet Module Features
The DeviceNet module features the following:
Switches that ena ble y ou to set a no de ad dress and n etwor k dat a
rate before applying power to the drive. Alternatively, you can disable the switches and use parameters to configure these features.
A jumper that allows you to select between Single- or Multi-Drive
mode of operation. In single mode, the module represents one single drive on one node. In Multi-Drive mode, the module represents up to five drives on one node.
A number of configurati on to ols tha t ca n be used to configure the
module and connected drive. The tools include the Operator Interface Module (OIM) on the drive, network software such as RSNetWorx for DeviceNet, or drive-configuration software such as VS Utilities.
Status indicators that report the status of the drive
communications, module, and network. They are visible both when the cover is opened and when it is closed.
Introduction
I/O, including L ogic Comman d/Reference, that may be co nfigured
for your application using a parameter.
Explicit and UCMM (Un conne cted Me ssag e Manag er) mess ages
are supported.
Multiple data exchange methods, including polled, cyclic, and
change of st ate (COS), th at can b e used t o transmi t dat a betwee n the network and module.
1-1
User-defined fault actions that determine how the module and
MD65 drive respon d to commun ication disr uptions on th e network and controllers in idle mode.
Faulted node recovery is supported. You can configure a device
even when it is faulted on the network if you have a configuration tool that uses faulted node recovery and have properly set module node address switches and data rate switches.
1.2 Related Documentation
Refer to the following related publications as necessary for more information. All of the publications are available from http://www.theautomationbookstore.com.
D2-3519 MD65 AC Drive User Manual
D2-3488 VS Utilities Getting Results Manual
Online help installed with the software
RA-IN003A-EN-P RJ 45 Splitter Cable For Use With DSI/MDI
Products
D2-3523 MD65 Communication Mo dul e Cov er
DN-2.5 DeviceNet Product Overview
DN-6.7.2 DeviceNet Cable System Planning and
Installation Manual
1-2
DN-6.5.16 DeviceNet Starter Kit
1756-5.66 ControlLogix DeviceNet Scanner
Installation Instructions
9399-WAB32GR Getting Results with RSLinx
Online help installed with the software
9399-RL53GR RSLogix 5 Getting Results Guide
Online help installed with the software
9399-RL50GR RSLogix 500 Getting Results Guide
Online help installed with the software
9399-RLD300GR RSLogix 5000 Getting Results Guide
Online help installed with the software
9399-DNETGR RSNetWorx for DeviceNet Getting Results
Guide Online help installed with the software
1747-5.8 DeviceNet Scanner Module Installation
Instructions
DeviceNet Communications Module
1747-6.5.2 DeviceNet Scanner Module Configuration
Manual
1747-5.14 DeviceNet Scanner Module Installation
Instructions
1771-6.5.118 DeviceNet Scanner Module Configuration
Manual
1.3 Conventions Used in This Manual
The following conventions are used throughout this manual:
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.
Parameters will be referenced as follows:
Parameter Name (Parameter Number) For example: Mode (01)
The terms MDI and DSI are used interchangeably. Both terms
refer to the serial interface.
1.4 Getting Assistance from Reliance
Electric
Introduction
If you have any questions or problems with the products described in this instruction manual, contact your local Reliance Electric sal es office.
For technical assistance, call 1-800-726-8112. Before calling, please review the trou ble sh ooting section of this manual and check the Reliance drives website for additional information. When you call this number, you will be asked for the drive model number and this instruction manual number.
1-3
1-4
DeviceNet Communications Module
CHAPTER 2
Getting Started
This chapter provides:
• A description of the DeviceNet module’s components
• A list of parts shipped with the module
• A list of user-supplied parts required for installing the module
• An installation checklist
2.1 DeviceNet Module Components
Status Indicators
MDI Connector A 20-pin, single-row shrouded male
DeviceNet Connector A 5-pin connector to w h ic h a 5- pin linear
Node Address/Rate
Switches Mode Jumper (J2)
Figure 2.1 – Components of the DeviceNet Module
Getting Started
Three LEDs tha t in dic ate th e st atus of the connected drive, module, and network. Refer to chapter 9, Troubleshooting.
header. An Internal Interface cable is connected to this connector and a connector on the drive. See table 2.2.
plug can be connected. Switches for setting the node address
and network data rate. Selects Single- or Multi-Drive mode of
operation.
2-1
2.2 Required Equipment
Table 2.2 lists the equipment shipped with the DeviceNet module. When you unpa ck the module , verify th at the packa ge inc ludes all of these items.
Table 2.2 – Equipment Shipped with the DeviceNet Module
Item Description
DeviceNet module
15.24 cm (6 in) Internal Interface cable Five-pin linear DeviceNet plug (connected to the DeviceNet
connector on the module) Grounding wrist strap DeviceNet Module User Manual (D2-3520)
Table 2.3 lists user-supplied equipment also required to install and configure the DeviceNet module.
Table 2.3 – Required User-Supplied Equipment
Item Description
A small flathead screwdriver DeviceNet cable
• Thin cable with an outside diameter of 6.9 mm (0.27 in.) is recommended
Configuration tool, such as :
•LCD OIM
• VS Utilities
• RSNetWorx for DeviceNet
• Serial Converter
Computer with a DeviceNet communications module installed (such as 1784-PCD, 1784-PCID, 1784-PCIDS, or 177-KFD)
Controller configuration software (examples: RSLogix5, RSLogix500, or RSLogix 5000)
DeviceNet Cover Kit (replaces stan dard cover supplied with MD65 drive when the DeviceNet module is installed).
• B-Frame: Model Number 6MD-COMMCVRB
• C-Frame: Model Number 6MD-COMMCVRC
2-2
DeviceNet Communications Module
2.3 Installation Checklist
This section is designed to help experienced users start using the DeviceNet module. If you are unsure how to complete a step, refer to the referenced chapter.
Step Action Refer to
1 Review the safety precautions for the
module.
2 Verify that the MD65 drive is properly
installed.
3 Commission the module.
Set a unique node address and the appropriate data rate us in g th e s w itc he s o n the module . If desired, you can disable the switches and use parameter settings instead.
4 Install the module.
Verify that the MD65 drive and DeviceNet network are not powered. Then, connect the module to the network using a DeviceNet cable and to the drive using the Internal Interface cable. Use the captive screws to secure and grou nd the mo dule to the drive.
5 Apply power to the module.
The module receives power from the drive and network. Apply power to the network and to the drive. The status indicators should be green. If they flash re d, there i s a problem. Refer to Chapter 9, Troubleshooting.
6 Configure the module for your
application.
Set the parameters for the following features as required by your application:
• Node address and data rate.
• I/O configuration.
• Change of State, Cyclic, or polled I/O data exchange.
• Fault action s.
Throughout this manual
MD65 AC Drive User Manual
Chapter 3, Installing the DeviceNet Module
Chapter 4, Configuring the DeviceNet Module
Getting Started
2-3
Step Action Refer to
7 Apply power to the DeviceNet master
and other devices on the network.
Verify that the master and network are installed and functio ning in accor dance with DeviceNet standa rds, and then apply power to them.
8 Configure the scanner to communicate
with the module.
Use a network tool such as RSNetWorx for DeviceNet to configure the scanner on the network. Make sure to:
• Set up the scan list.
• Map the module data to the scan list.
• Save you r Devic eNet confi guratio n to th e scanner and a file.
9 Create a ladder logic program.
Use a programming tool such as RSLogix to create a ladder logic program that enables you to do the following:
• Control the module and connected drive.
• Monitor or configure the drive using Explicit Messages.
DeviceNet Cable System Planning and Installation Manual
Chapter 5, Configuring the Scanner
Chapter 6, Using I/O Messaging
Chapter 7, Using Explicit Messaging
2-4
DeviceNet Communications Module
CHAPTER 3
Installing the
DeviceNet Module
Chapter 3 provides instructions for installing the DeviceNet module in an MD65 drive.
3.1 Preparing for an Installation
Before installing the DeviceNet module:
• Read the DN-2.5, and the
Installation Manual
provide informati on on selecti ng cable s, setting up a netw ork, and network bas ics.
• Verify that you have all required equipment. Refer to chapter 2, Getting Started.
3.2 Commissioning the Module
DeviceNet Product Overvi ew Manual
DeviceNet Cable System Planning and
, Publication DN-6.7.2. These manuals will
, Publication
To commission the module, you must set a unique node address and the data rate that is used by the ne twork. (Refer to the Glossary for details about data rates and node addresses.)
Important: New settings are recognized only when power is applied
Step 1. Set the node address and data rate switches as shown in
Step 2. Set the module mode jumper for Single- or Multi-Drive
Installing the DeviceNet Module
to the module. If you change a setting, cycle power.
ATTENTION: The DeviceNet module contains ESD- (Electrostatic Discharge) sensitive parts that
!
can be damaged if you do not follow ESD control procedures. S t atic contro l preca utions ar e requi red when handling the module. Failure to observe these precautions could result in damage to equipment.
figure 3.1.
operation. See figure 3.1 and table 3.3.
3-1
Important: If all switches are in the CLOSED position (all 0s), then
J2
J2
p
n
e
n
8
3
5
6
E
U
1
8
3
5
6
the Node Address and Data Rate are determined by parameter settings in DN Addr Cfg (02) and DN Rate Cfg (04).
Single Drive
eratio
O
NOD
P = OPEN =
Multi-Driv
Operatio
Switches Description Default
SW 1 Least Significant Bit (LSB) of Node Address 1 SW 2 Bit 1 of Node Address 1 SW 3 Bit 2 of Node Address 1 SW 4 Bit 3 of Node Address 1
Node 63
SW 5 Bit 4 of Node Address 1 SW 6 Most Significant Bit (MSB) of Node Address 1 SW 7 Least Significant Bit (LSB) of Data Rate 1 Autobaud SW 8 Most Significant Bit (MSB) of Data Rate 1
Figure 3.1 – Setting the Node Address/ Data Switches and Single-/Multi-Drive
Operation Jumper
3-2
DeviceNet Communications Module
Table 3.1 – Node Address Switch Settings (UP = OPEN = 1)
Switch Setting Node Switch Setting Node
SW 1SW 2SW 3SW 4SW 5SW 6AddressSW 1SW 2SW 3SW 4SW 5SW 6 Address
000000 0 101100 13 100000 1 011100 14 010000 2 111100 15 110000 3 000010 16 001000 4 100010 17 101000 5 010010 18 011000 6 110010 19 111000 7 001010 20 000100 8 101010 21 100100 9 011010 22 010100 10 111010 23 110100 11 000110 24 001100 12 100110 25
SW 1SW 2SW 3SW 4SW 5SW 6AddressSW 1SW 2SW 3SW 4SW 5SW 6 Address
010110 26 101101 45 110110 27 011101 46 001110 28 111101 47 101110 29 000011 48 011110 30 100011 49 111110 31 010011 50 000001 32 110011 51 100001 33 001011 52 010001 34 101011 53 110001 35 011011 54 001001 36 111011 55 101001 37 000111 56 011001 38 100111 57 111001 39 010111 58 000101 40 110111 59 100101 41 001111 60 010101 42 101111 61 110101 43 011111 62 001101 44 111111 63
Table 3.2 – Data Rate Switch Settings (UP = OPEN = 1)
Switch Setting Data
SW 7 SW 8 Rate
0 0 125 kbps 1 0 250 kbps 0 1 500 kbps 1 1 Autobaud
Installing the DeviceNet Module
3-3
Table 3.3 – Jumper Settings for Single- or Multi-Drive Operation
Jumper
Description
Setting
Right position or jumper missing
Left position Sets the module for Multi-Driv e operation mode using
Sets the module for Single-Drive mode (default setting) using a single drive connection.
Important: In this mode, connections to multiple drives must be removed since all powered and connected host s will respond to a ny message s ent by the module.
up to 5 different drives. MDI peripherals do not operate with the module in this mode.
3.3 Connecting the Module to the Network
ATTENTION: The drive may contain high voltages
that can cause injury or death. Remove all power
!
Step 1. Remove power from the drive. Step 2. Use static control precautions. Step 3. Remove the driv e cov er. Step 4. Connect a DeviceNet cable to the network and route it
Important: Maximum cable length depends on data rate. Refer to
Step 5. Connect a 5-pin linear plug to the DeviceNet cable. Refer
from the drive, and then verify power has been removed before inst alling or remo ving a D evic eNet module. Failure to o bserve these pre cautions coul d result in severe bodily injury or loss of life.
through the bottom of the MD65 drive. DeviceNet thin cable with an outside diameter of 6.9 mm (0.27 in.) is recommended. (See figure 3.5.)
data rate
to figure 3.2.
Note that a 10-pin linear plug is not supported. Use the
5-pin linear plug shipped with the module.
in the Glossary.
3-4
DeviceNet Communications Module
5 4 3 2 1
Terminal Color Signal Function
5 Red V+ Power Supply 4 White CAN_H Signal High 3 Bare SHIELD Shield 2 Blue CAN_L Signal Low 1BlackV– Common
Figure 3.2 – Connecting a 5-Pin Linear Plug to the Cable
Red White
Bare Blue Black
Step 6. Insert the DeviceNet cable plug into the mating module
receptacle and secure it with the two screws. (See figure
3.3, item 3.) Verify that the colors of the wires match up with the color codes on the receptacle.
3.4 Connecting the Module to the Drive
Step 1. Remove power from the drive. Step 2. Use static control precautions. Step 3. Mount the module on the B- or C-Frame Communications
Module Cover us ing the screw on the De viceNet m odule to secure it into place. See figure 3.3. Also, refer to the installation manual that shipped with the Communications Cover (D2-3523).
• B-Frame Cover: M/N 6MD-COMMCVRB
• C-Frame Cover: M/N 6MD-COMMCVRC
Important: Tighten the screw in the lower left hole to ground the
Step 4. Conne ct the Int erna l Interface cable to the MDI port on th e
module. See figure 3.4.
drive and then to the MDI connector on the module.
Installing the DeviceNet Module
3-5
MDCOMM-DNET DeviceNet Module
3-6
MD65 Drive B and C Frames (cover removed)
MDI connector
15.24 cm (6 in) Internal Interface cable DeviceNet cable
Figure 3.3 – MDI Ports and Internal Interface Cables
Back of Cover 6MD-COMMCVRB 6MD-COMMCVRC
DeviceNet Communications Module
MD65 Drive B and C Frames (cover removed)
Figure 3.4 – Mounting the Module
3.5 Applying Power
ATTENTION: Unpredictable operation may occur if
you fail to verify that p aram eter s etting s and s witch
!
settings are compa tible with your application . Verif y that settings are compatible with your application before applying power to the drive. Failure to observe these precautions could result in severe bodily injury or loss of life.
DeviceNet Module
Mounted on Back of Cover
Step 1. Reinstall the cover on the drive. The status indicators can
be viewed on the front of the drive after power has been applied.
Step 2. Ensure that the module will have a unique address on the
network and is set at the correct da ta rate or to autoba ud. If a new data rate or address is needed, reset the switches on the module (refer to section 3.2).
Installing the DeviceNet Module
3-7
Step 3. Apply power to the drive. The module receives its power
Step 4. If the software settings for the data rate and node address
from the connected drive and network. When you apply power to the product and network for the first time, the status indicators should be green after an initialization. If the status indicators are red, there is a problem. Refer to chapter 9, Troubleshooting the DeviceNet Module and Network.
are to be used, a configur ation tool such as VS Util ities ca n be used to adjust th e re spe ct ive p a r am eter s in the mo dule.
3-8
DeviceNet Communications Module
CHAPTER 4
Configuring the
DeviceNet Module
Chapter 4 provides instructions and information for setting the
parameters in the DeviceNet module.
For a list of parameters, refer to Appendix B, DeviceNet Module
Parameters. For definitions of terms in this chapter, refer to the
Glossary.
4.1 Configuration Tools
The DeviceNet module stores parameters and other information in
its own non-volatile memory. Therefore, you must access the
module to view and edi t it s p arameters. Table 4.1 lis t s the tools that
can be used to access the module parameters.
Table 4.1 – Configuration Tools
Tool Refer To:
VS Utilities Software VS Utilities online help LCD OIM Sect ion 4.2 RSNetWorx for DeviceNet Section 4.3
RSNetWorx for DeviceNet (version 4.018) and RSLinx (version
2.40) were used for examples in this manual. Different versions of
software may differ in appearance and procedures.
Note that explicit messaging can also be used to configure a
DeviceNet module and drive. Refer to Chapter7, Using Explicit
Messaging.
Configuring the DeviceNet Module
4-1
4.2 Using the LCD OIM to Configure the Module
Use the procedure in figure 4.1 to access the parameters on the DeviceNet module using the LCD OIM (M/N MD4LCD-PNL, MD4ALCD, or MD1CC). If you are unfamiliar with the operation of the LCD OIM, refer to the OIM Quic k Referenc e (D2-350 8) for more information.
Device Sel e ct MDI Devices
DIAG PARAM
DSEL
MEM
SEL
MDI Devices
MD65
MDCOMM-DNET
Parameters Linear List
Changed Params
PARAM
DSEL
DIAG
Figure 4.1 – Accessing the DeviceNet Parameters using the LCD OIM
4.3 Using RSNetWorx for DeviceNet
RSNetWorx for DeviceNet is a Rockwell Software application that can be used to set up Devi ceNet netwo rks and con figure conn ected devices.
4.3.1 Setting Up RSLinx for RSNetWorx for DeviceNet
To use RSNetWorx for DeviceNet, you must first set up a driver in RSLinx. The driver provides a communications link between the computer and DeviceNet network. See table 4.2 and figure 4.2 for this procedure.
MEM
SEL
4-2
DeviceNet Communications Module
Table 4.2 – Procedure for Setting Up RSLinx for RSNetworx for DeviceNet
o
Step Action Icon
1. Start RSLinx, and select Communications > Configure Drivers to display the Configure
Drivers dialog box. See figure 4.2.
Shortcut t RSLinx
2. In the Available Driver Types box, select DeviceNet Drivers, and then click Add New. The DeviceNet Driver Selection dialog box appears.
3. In the Available DeviceNet Drivers list, select the module connected to your computer, and then click Select. A Driver Configuration dia lo g box appears.
Configure the driver for your computer and network settings, and then click OK. The Configure Drivers dialog box reports the progress of the configuration. Then, the Add New RSLinx Driver dialog box appears.
4. Type a name (if desired), and then click OK. The Configure Drivers dialog box reappears, and the new driver is in the Configured Drivers List. See figure 4.2.
5. Click Close to close the dialog box. Leave RSLinx running.
Figure 4.2 – Configure Drivers Dialog Box with a Configured Driver
Configuring the DeviceNet Module
4-3
4.3.2 Going Online with RSNetWorx for DeviceNet
You can view the devices on a DeviceNet network by going online. A device may appear as an unrecognized device (node 63 in figure
4.3) if RSNetWorx for DeviceNet does not have an Electronic Data Sheet (EDS) file for it. See table 4.3 for the procedure to view devices.
Table 4.3 – Viewing Devices on the DeviceNet Network using RSNetWorx
Step Action Icon
1. After setting up a driver in RSLinx, start RSNetWorx for DeviceNet.
2. Select Network > Online. If the Browse for Network dialog box appears, RSLinx has multiple drivers configured. Select your DeviceNet network, and click OK. A prompt appears.
3. RSNetworx browses the network and any devices on the network appear in the Configuration View. You can select Graph, Spreadsheet, or Master/Slave views. Figure
4.3 shows a sample network in a Graph view.
Shortcut to
RSNetWorx
4-4
Figure 4.3 – Sample DeviceNet Network (Graph View)
DeviceNet Communications Module
Loading...
+ 116 hidden pages