Quick Start Logix5000 Control Systems: Connect PowerFlex 40 Drives over a DeviceNet Network Catalog Numbers Logix5000 Controllers, PowerFlex 40 Drives
Important User Information Solid-state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (publication SGI-1.1 available from your local Rockwell Automation sales office or online at http://www.rockwellautomation.com/literature/) describes some important differences between solid-state equipment and hard-wired electromechanical devices.
Table of Contents Preface About This Publication 5 Before Using This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Other Logix5000 Control System Quick Starts . . . . . . . . . . . . . . . . . . . . . . . 8 Where to Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 How Hardware is Connected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Required Software . . . . . . . .
Table of Contents Notes: 4 Rockwell Automation Publication IASIMP-QS028A-EN-P - July 2012
Preface About This Publication This quick start provides examples and procedures for including PowerFlex® 40 drives in a Logix5000 controllers control system over a DeviceNet network. The programming examples are not complex, and offer easy solutions to verify that devices are functioning and communicating properly. IMPORTANT This publication describes example tasks you complete when using PowerFlex 40 drives on a DeviceNet network.
Preface This table describes the tasks you must complete before using this publication. Table 1 - Required Tasks to Complete before Using This Quick Start Task Description Prepare the Logix5000 Assembling the control system and connecting to the DeviceNet network. At minimum, your system must control system include a controller, DeviceNet scanner module to access the DeviceNet network and the components required hardware to install a DeviceNet network.
Preface Table 1 - Required Tasks to Complete before Using This Quick Start Task Description Configure the network Completing tasks associated with configuring the DeviceNet network with RSNetWorx for DeviceNet software, such setting the node address for the DeviceNet scanner module your controller uses to access the DeviceNet network.
Preface Other Logix5000 Control System Quick Starts This quick start describes how to use a single component-type over a single network in a Logix5000 control system. Typically, though, a Logix5000 control system includes more than the controller, communication module, and a single component over a single network.
Preface Where to Start Required Tasks Described in the appropriate Logix5000 controller quick start 1. Prepare the Controller Hardware 2. Prepare the Computer 3. Configure the Network 4.
Preface How Hardware is Connected This quick start demonstrates the following Logix5000 control system that uses PowerFlex 40 drives on a DeviceNet network. Logix5000 Controller with DeviceNet Scanner Module Computer Connected to Logix5000 Controller PowerFlex 40 Drive with 22-COMM-D DeviceNet Adapter DeviceNet Power Supply 1606-XLDNET8 Required Software To complete examples in this quick start, you need this software. Software Required Software Version, min Required for This Task RSLogix 5000 20.
Preface Parts List You need these parts to use this publication. Quantity Cat. No.
Preface Notes: 12 Rockwell Automation Publication IASIMP-QS028A-EN-P - July 2012
Chapter 1 Prepare the PowerFlex 40 Drive Hardware In this chapter, you learn how to complete the following tasks: • Wire power to a PowerFlex 40 drive. • Set the DeviceNet communication card’s operation mode, node address, and communication rate. • Connect the communication card to the drive. • Connect the communication card to the network.
Chapter 1 Prepare the PowerFlex 40 Drive Hardware What You Need This table lists the products you need to complete the tasks described in this chapter. Quantity Cat. No.
Prepare the PowerFlex 40 Drive Hardware Chapter 1 Mount the Drive Mount the drive upright on a flat, vertical, and level surface with considerations for minimum mounting clearance, ambient operating temperature, debris protection, and storage. To complete the tasks described in this chapter, mount the 22B-V2P3N104 drive on a DIN rail. For complete mounting instructions, see the PowerFlex 40 Drives User Manual, publication 22B-UM001.
Chapter 1 Prepare the PowerFlex 40 Drive Hardware 2. Verify that a jumper is installed between I/O terminals 01 and 11 on the drive. 01 02 03 04 05 11 12 13 14 15 The drive ships from the factory with the jumper installed by default. 3. If a jumper is not installed, install one before continuing. 4. Remove the terminal block cover to access the power connections. 5. Insert the 120/240V AC, V AC COM, and chassis ground wires and tighten the terminal screws.
Prepare the PowerFlex 40 Drive Hardware Chapter 1 Set the Drive Operation, Node Address, and Communication Rate 1. Set the drive operation mode by inserting the mode jumper in the right-side position on the DeviceNet adapter. Single Drive Operation J2 This quick start uses Single Drive operation. 2. Use the node switches to set the node address. NODE This quick start uses node address 2. 1 2 3 4 5 6 1 2 3 4 5 6 7 8 UP = OPEN = 1 a.
Chapter 1 Prepare the PowerFlex 40 Drive Hardware 3. Adjust the rate switches the same way as the node switches described in step 2 to set the baud rate. 4. Use the following table to set the communication rate. Rate Switch 7 8 125 Kbps 0 0 250 Kbps 1 0 500 Kbps 0 1 Autobaud 1 1 This quick start uses Autobaud.
Prepare the PowerFlex 40 Drive Hardware Chapter 1 Connect the DeviceNet Adapter to the Drive WARNING: Verify that all incoming power is turned off before connecting the adapter to the drive. 1. Align the adapter with the right and bottom sides of the adapter cover. The DeviceNet connector on the adapter must be at the bottom of the cover. 2. Push the adapter onto the cover until it clicks. 3. Connect the Internal Interface cable to the DSI port on the adapter. 4.
Chapter 1 Prepare the PowerFlex 40 Drive Hardware 6. Tighten the screws. 0.5…0.6 Nm (4…5 lb-in) Connect the Drive to the DeviceNet Network 1. Connect the 1799-DNC5MMS 5-pin linear to micro male adapter to the female end of the 1485KP1F5-R5 KwikLink right-angle micro male to micro female connector cable. 2. Connect the cable to the DeviceNet connector on the drive. 3. Connect the drive to the DeviceNet network. 4. Apply power to the drive.
Chapter 2 Create DeviceNet Network Software Files In this chapter, you complete the following tasks: • Register an EDS file in RSNetWorx for DeviceNet software • Set the DeviceNet scanner module’s node address • Create a DeviceNet configuration file • Associate a DeviceNet configuration file with an RSLogix 5000 project • Create a DeviceNet scanlist IMPORTANT Multiple Logix5000 control systems can use PowerFlex 40 drives over a DeviceNet network.
Chapter 2 • Create DeviceNet Network Software Files These tasks described in Chapter 1, Prepare the PowerFlex 40 Drive Hardware on page 13: – – – – – Mount the Drive Wire Power to the Drive Set the Drive Operation, Node Address, and Communication Rate Connect the DeviceNet Adapter to the Drive Connect the Drive to the DeviceNet Network What You Need You need RSNetWorx for DeviceNet software to complete the tasks in this chapter.
Create DeviceNet Network Software Files Chapter 2 Register an EDS File - Optional You might need to register a device for use in RSNetWorx for DeviceNet software so the software recognizes the device and uses it appropriately. You register an electronic data sheet (EDS) file in the software. If you do not need to register an EDS file in RSNetWorx for DeviceNet software, skip to Set the 1769-SDN Scanner Module’s Node Address on page 26. 1.
Chapter 2 Create DeviceNet Network Software Files 6. When the EDS dialog box appears, click Next. 7. Verify that Register an EDS file(s). is checked and click Next. 8. Browse to the EDS file and click Next.
Create DeviceNet Network Software Files Chapter 2 9. When the EDS File Installation Test Results screen appears, click Next. 10. Select the graph image for the device you want to register and click Next. 11. Select the device you want to register and click Next. 12. Click Finish when the registration is successful.
Chapter 2 Create DeviceNet Network Software Files Set the 1769-SDN Scanner Module’s Node Address This quick start describes how to use a PowerFlex 40 drive in a CompactLogix 5370 L3 control system over a DeviceNet network. The computer is connected to the controller via an EtherNet/IP network, and the controller accesses the drive on the DeviceNet network via a 1769-SDN scanner module installed in a local expansion module slot.
Create DeviceNet Network Software Files Chapter 2 3. Click Browse. When the Device Selection dialog box appears, browse to the 1769SDN scanner module over an EtherNet/IP network or USB connection. This example uses an EtherNet/IP network connection. 4. Under the AB_ETHIP-1 driver, expand the path to the 1769-SDN scanner module as shown in the example graphic. 5. Click OK. 6. If you receive a linking device warning, click Yes.
Chapter 2 Create DeviceNet Network Software Files 7. Enter a node address of 1 for the 1769-SDN scanner module and click Apply. The Address is applied and is confirmed in the Messages box. 8. Record the node address. 9. Click Close.
Create DeviceNet Network Software Files Chapter 2 Create a DeviceNet Configuration File 1. From the File menu, choose New. 2. Click Who Active to go online. 3. Expand the networks to the appropriate DeviceNet network. In this example, the network is Port 2, DeviceNet.
Chapter 2 Create DeviceNet Network Software Files 4. Record the following information about the scanner module: – – Slot number in the CompactBus = 1 DeviceNet network node number = 1 Slot number = 1 DeviceNet network node number = 1 5. Click OK. 6. Click OK when the alert about uploading or downloading device information appears. RSNetWorx for DeviceNet software browses the network and shows the scanner module at DeviceNet network node number 1 and the drive at node number 2.
Create DeviceNet Network Software Files Chapter 2 7. Right-click the scanner module and choose Properties. 8. Click the Module tab. 9. Click Download. All configuration is cleared from the 1769-SDN scanner module, and the software is synchronized with the module.
Chapter 2 Create DeviceNet Network Software Files 10. From the Platform pull-down menu, choose CompactLogix. 11. Enter the slot number of the 1769-SDN scanner module. 12. Click OK. 13. Save the file and record the file name and path. This quick start uses the example file name DeviceNet.dnt.
Create DeviceNet Network Software Files Chapter 2 Associate the DeviceNet Configuration File with an RSLogix 5000 Project You must associate the DeviceNet network configuration file with your RSLogix 5000 project. TIP If you already created an RSLogix 5000 project for your Logix5000 controller, as described in Logix5000 controller quick starts, go to step 5 on page 34. 1. Verify the controller’s mode switch is in the PROG position. RUN REM 2. Open a new RSLogix 5000 project. PROG 3.
Chapter 2 Create DeviceNet Network Software Files 5. Configure the scanner module’s parameters on the RSNetWorx tab to associate the RSLogix 5000 project with the DeviceNet configuration file created in Create a DeviceNet Configuration File on page 29. IMPORTANT If you skipped step 1…step 4 because you already created an RSLogix 5000 project for your Logix5000 controller, verify that the project is open and you have accessed the scanner module’s RSNetWorx configuration tab. a. On the click Browse. b.
Create DeviceNet Network Software Files Chapter 2 Create a DeviceNet Scanlist 1. Verify that the controller’s mode switch is in the PROG position. RUN REM PROG 2. In your RSLogix 5000 project, right-click the scanner module and choose Properties. 3. On the RSNetWorx tab, click the Launch RSNetWorx for DeviceNet icon. The RSNetWorx for DeviceNet software appears with the DeviceNet file listed in the DeviceNet File (.dnt) field open.
Chapter 2 Create DeviceNet Network Software Files 4. From the Network menu, choose Online. 5. When alerted to uploading or downloading device information, click OK. 6. Right-click the PowerFlex 40 drive and choose Download to Device. 7. When prompted to continue configuration download, click Yes. The configuration downloads to the PowerFlex 40 drive.
Create DeviceNet Network Software Files Chapter 2 8. Right-click the 1769-SDN scanner module and choose Properties. 9. Click the Scanlist tab on the 1769-SDN Scanner Module dialog box. 10. When prompted to upload or download configuration, click upload. 11. When the upload is complete, the Scanlist tab appears.
Chapter 2 Create DeviceNet Network Software Files 12. Verify that Automap on Add is checked. 13. Move the PowerFlex 40 drive to the Scanlist. 14. Click Apply. 15. When prompted to download changes, click Yes. 16. Click OK. 17. Save the file and close RSNetWorx for DeviceNet software.
Chapter 3 Use a PowerFlex 40 Drive in an RSLogix 5000 Project In this chapter, you complete the following tasks: • Create DeviceNet tags with the DeviceNet Tag Generator tool • Download the updated RSLogix 5000 project to your controller • Edit the drive parameter values • Test the drive tags IMPORTANT Multiple Logix5000 control systems can use PowerFlex 40 drives over a DeviceNet network.
Chapter 3 Use a PowerFlex 40 Drive in an RSLogix 5000 Project Before You Begin Before you begin, you must complete these tasks: • These tasks described in Before Using This Publication on page 5: – – – – • These tasks described in Chapter 1, Prepare the PowerFlex 40 Drive Hardware on page 13: – – – – – • Mount the Drive Wire Power to the Drive Set the Drive Operation, Node Address, and Communication Rate Connect the DeviceNet Adapter to the Drive Connect the Drive to the DeviceNet Network These task
Use a PowerFlex 40 Drive in an RSLogix 5000 Project Chapter 3 What You Need You need the following software to complete the tasks in this chapter: • RSLogix 5000 software • DeviceNet Tag Generator tool in RSLogix 5000 software Follow These Steps Create DeviceNet Tags page 42 Download the Project page 45 Edit PowerFlex 40 Drive Parameter Values page 46 Test the PowerFlex 40 Tags page 48 Rockwell Automation Publication IASIMP-QS028A-EN-P - July 2012 41
Chapter 3 Use a PowerFlex 40 Drive in an RSLogix 5000 Project Create DeviceNet Tags IMPORTANT Before running the DeviceNet Tag Generator, verify the following: • RSLogix 5000 software is running and the project is open. • RSNetWorx for DeviceNet software is closed. 1. Launch the DeviceNet Tag Generator tool. 2. Select your RSLogix 5000 project and click Select Scanner. 3. Select the 1769-SDN scanner module that scans the network where the device is located and click Select RSNetWorx Project.
Use a PowerFlex 40 Drive in an RSLogix 5000 Project Chapter 3 4. Select the main DeviceNet configuration file and click Select Scanner Node. 5. Select the node of the DeviceNet scanner module and click Generate Tags. 6. Click Generate Tags.
Chapter 3 Use a PowerFlex 40 Drive in an RSLogix 5000 Project 7. When prompted to continue, click Yes. When tag generation is complete, the text log appears. 8. Close the DeviceNet Tag Generator. The DeviceNet Tag Generator created new programs and tags that were added to the controller organizer in your RSLogix 5000 project.
Use a PowerFlex 40 Drive in an RSLogix 5000 Project Chapter 3 Download the Project 1. Save your RSLogix 5000 project. 2. Move the controller’s mode switch to the PROG position. RUN REM PROG 3. Click the Controller Status icon and choose Download. 4. On the Download dialog box, click Download. The project downloads to the controller. IMPORTANT If you receive a fault message on your PowerFlex 40 drive, press on the keypad to clear the fault. 5. Move the controller’s mode switch to the RUN position.
Chapter 3 Use a PowerFlex 40 Drive in an RSLogix 5000 Project Edit PowerFlex 40 Drive Parameter Values You must change some of the drive parameters to complete the tasks in this chapter. You make the changes in the RSNetWorx for DeviceNet software file created previously in this quick start. IMPORTANT Verify that RSNetWorx for DeviceNet software is closed. 1. In your RSLogix 5000 project, right-click the 1769-SDN scanner module and choose Properties. 2.
Use a PowerFlex 40 Drive in an RSLogix 5000 Project Chapter 3 5. If your PowerFlex 40 drive has been previously used, reset it to factory defaults. a. Click the Parameters tab. b. From the Parameter 41, Reset To Defalts pull-down menu, choose Factory Rset for the current value. c. Click Apply. The drive is reset and fault F048 is displayed and blinks. d. Press to clear the fault. 6. From the Parameter 36, Start Source pull-down menu, choose Comm Port. 7.
Chapter 3 Use a PowerFlex 40 Drive in an RSLogix 5000 Project Test the PowerFlex 40 Tags 1. Move the controller’s mode switch to the RUN position. RUN REM PROG 2. In the configuration tree, doubleclick Controller Tags. 3. Change the tag O.CommandRegister.Run tag to 1. The 1769-SDN scanner module transitions to Run mode. 4. Expand the PowerFlex 40 output tag. In this case the tag is named Local_SDN_scanner_module_N02_POL_O. 5. Change the O.Reference tag to a value of 10. The value 10 equals 1.0 Hz.
Use a PowerFlex 40 Drive in an RSLogix 5000 Project Chapter 3 6. Change the O.Start tag to a value of 1. The display on the drive registers the speed increase in Hertz until the value entered at the reference tag is reached. 7. Change the O.Start tag back to 0. 8. Change the O.Stop tag to 1. The display on the drive shows a speed decrease until the drive reaches 0.00 Hz. 9. Change the Stop tag back to 0. 10. Select Go Offline.
Chapter 3 Use a PowerFlex 40 Drive in an RSLogix 5000 Project Notes: 50 Rockwell Automation Publication IASIMP-QS028A-EN-P - July 2012
Index Numerics 1485K-P1F5-R5 KwikLink right-angle micro male to micro female connector cable 11, 14 1769-SDN scanner module 26-28 1785P-P1E4-R5 Kwiklink sealed micro connector 11, 14 1799-DNC5MMS 5-pin linear to micro male adapter 11, 14 22B-V2P3N104 PowerFlex 40 AC drive 11, 14 22-COMM-D DeviceNet adapter 10, 11, 14 connect to drive 19 5-pin linear to micro male adapter 11, 14 B baud rate, see communication rate C communication rate set with switches 17 configure DeviceNet network 7 connections 22-COMM-D
Index P parts required 11, 14 prerequisite tasks 6-7 Q quick starts for devices in other Logix5000 control systems 8 R requirements parts 11, 14 prerequisite tasks 6-7 software 10, 22, 41 RSLogix 5000 software 7, 39-49 DeviceNet Tag Generator tool 41, 42-44 requirements 10 use tags 48 RSNetWorx for DeviceNet software 7, 21-38 configuration file 29-32 configure scanlist 35-38 edit drive configuration 46 register an EDS file 23-25 requirements 10 set node address 26-28 52 Rockwell Automation Publication
Rockwell Automation Support Rockwell Automation provides technical information on the Web to assist you in using its products. At http://www.rockwellautomation.com/support/, you can find technical manuals, a knowledge base of FAQs, technical and application notes, sample code and links to software service packs, and a MySupport feature that you can customize to make the best use of these tools.