CompactLogix System • CompactLogix Controllers • POINT I/O Modules • PowerFlex 70 Drives • PowerFlex 40 Drives • PanelView Plus Terminals Quick Start 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://literature.rockwellautomation.com) describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable. In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment. The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or liability for actual use based on the examples and diagrams. No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual. Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc., is prohibited. Throughout this manual, when necessary, we use notes to make you aware of safety considerations. WARNING IMPORTANT ATTENTION Identifies information about practices or circumstances that can cause an explosion in a hazardous environment, which may lead to personal injury or death, property damage, or economic loss. Identifies information that is critical for successful application and understanding of the product. Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence SHOCK HAZARD Labels may be located on or inside the equipment, for example, a drive or motor, to alert people that dangerous voltage may be present. BURN HAZARD Labels may be located on or inside the equipment, for example, a drive or motor, to alert people that surfaces may reach dangerous temperatures. Allen-Bradley, Rockwell Automation, TechConnect, CompactLogix, POINT I/O, FLEX I/O, PowerFlex 70, PowerFlex 40, RSLogix 5000, KwikLink, RSNetWorx, RSNetWorx for ControlNet, RSNetWorx for DeviceNet, ControlFlash, RSLinx, RSView, RSView Studio, Compact I/O, NetLinx, FactoryTalk Activation, RSView Machine Edition, RSViewME, RSLinx Classic, and PanelView Plus are trademarks of Rockwell Automation, Inc. Trademarks not belonging to Rockwell Automation are property of their respective companies. Where to Start Follow the path that matches your hardware and network configuration. Chapter 1 Prepare the CompactLogix Hardware Required page 17 Chapter 2 Prepare the Computer Required page 27 Optional Depending on your system. Chapter 3 Prepare the Distributed POINT I/O Hardware Chapter 4 Prepare the PowerFlex 70 Drive page 45 page 53 Optional Depending on your networks. Chapter 5 Prepare the PowerFlex 40 Drive page 59 Chapter 7 Configure the EtherNet/IP Network Chapter 8 Configure the ControlNet Driver page 75 page 81 Required page 107 3Publication IASIMP-QS001B-EN-P - June 2007 page 67 Chapter 9 Configure the DeviceNet Network page 85 Chapter 10 Create a Project Using RSLogix 5000 Software page 93 Optional Depending on your system. Chapter 11 Add Distributed I/O Modules to the Project Chapter 6 Prepare the PanelView Plus Terminal Chapter 12 Create a PowerFlex 70 Application page 137 Chapter 13 Create a PowerFlex 40 Application page 161 Chapter 14 Create a PanelView Plus Application page 183 3 Where to Start How Hardware is Connected This quick start demonstrates the following possible control systems. Choose your hardware and networks, then follow the matching examples. Option 1: 1769-L32E, 1769-L35E Control System Computer with Standard Ethernet Port 1769-L32E or 1769-L35E with Optional 1769-SDN for the DeviceNet Network Serial (CP3 Cable) Ethernet Switch PowerFlex 70 Drive with 20-COMM-E PanelView Plus terminal with built-in EtherNet/IP Distributed POINT I/O Modules with 1734-AENT PowerFlex 40 Drive with 22-COMM-E PanelView Plus Terminal with Built-in EtherNet/IP Port 4 Publication IASIMP-QS001B-EN-P - June 2007 Where to Start Option 2: 1769-L32C, 1769-L35CR Control System 1769-L32C or 1769-L35CR with Optional 1769-SDN for the DeviceNet Network Computer with 1784-PCIC, -PCICS ControlNet Communication Card To Optional DeviceNet Network Serial (CP3 Cable) ControlNet Network with Taps Distributed 1734 POINT I/O Modules with 1734-ACNR A B PowerFlex 70 Drive with 20-COMM-C PowerFlex 40 Drive with 22-COMM-C PanelView Plus Terminal with ControlNet Communication Adapter Option 3: 1769-L31 Control System PanelView Plus Terminal with 2706-NC13 Serial Cable to CH1 on 1769-L31 1769-L31 with 1769-SDN Distributed 1734 POINT I/O Modules with 1734-ADN PowerFlex 70 Drive with 20-COMM-D PowerFlex 40 Drive with 22-COMM-D 1756-CP3 Serial Cable to CH0 on 1769-L31 DeviceNet Power Supply 1606-XLDNET8 Publication IASIMP-QS001B-EN-P - June 2007 1606-XL POWER SUPPLY DeviceNet Network with KwikLink Flat Cable and Micro Connectors AC 120V AC 240V Output Input AC 100-120/200-240V N L Isolate power before disconnecting DC ok 200W Limited Power DC 24V / 8A + – DC ok 5 Where to Start Notes: 6 Publication IASIMP-QS001B-EN-P - June 2007 Table of Contents Preface About This Publication Required Software. . . . Parts List. . . . . . . . . . . Conventions . . . . . . . . Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 14 15 17 17 Before You Begin . . . . . . . . . . . . . . . What You Need . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . Connect the Battery to the Controller . Record the Ethernet Address (MAC) . . Set the ControlNet Node Address. . . . Assemble the System. . . . . . . . . . . . . Make Network Connections. . . . . . . . Wire Power . . . . . . . . . . . . . . . . . . . Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 19 20 21 21 22 23 24 27 28 Before You Begin . . . . . . . . . . . . . . . . . . . What You Need . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . Make Network Connections. . . . . . . . . . . . Install and Launch RSLinx Software . . . . . . Configure a Serial Driver . . . . . . . . . . . . . . Set the IP Address for the Computer . . . . . Configure the EtherNet/IP Driver in RSLinx Install RSLogix 5000 Software . . . . . . . . . . Load Firmware . . . . . . . . . . . . . . . . . . . . . Install Additional Software . . . . . . . . . . . . . Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 29 30 31 32 33 35 37 39 44 46 46 Chapter 1 Prepare the CompactLogix Hardware Chapter 2 Prepare the Computer Chapter 3 Prepare the Distributed POINT I/O Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Hardware Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mount and Connect the Network Adapter . . . . . . . . . . . Mount the POINT I/O Modules . . . . . . . . . . . . . . . . . . . Mount and Wire the POINT I/O Power Supply. . . . . . . . Wire the Adapter and I/O Modules to the Power Supply Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . 7Publication IASIMP-QS001B-EN-P - June 2007 . . . . . . . . . . . . . . . . . . 48 49 51 52 53 53 7 Table of Contents Chapter 4 Prepare the PowerFlex 70 Drive Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mount the PowerFlex 70 Drive . . . . . . . . . . . . . . . . . . . . Wire Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configure the Communication Adapter . . . . . . . . . . . . . . Connect the Communication Adapter to the PowerFlex 70 Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 55 56 57 57 58 59 60 . . . . . . . . . . . . . . . . 61 61 62 63 63 64 65 67 . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 69 70 71 71 72 73 75 76 . . . . . . . . . . . . . . . . . . . . . 77 77 78 78 79 81 81 Chapter 5 Prepare the PowerFlex 40 Drive Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mount the PowerFlex 40 Drive . . . . . . . . . . . . . . . . . . . . Wire Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configure the Communication Adapter . . . . . . . . . . . . . . Connect the Communication Adapter to the PowerFlex 40 Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 6 Prepare the PanelView Plus Terminal Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . Install the ControlNet Interface Module . . . . . . . . . . . . . Mount the PanelView Plus Terminal. . . . . . . . . . . . . . . . Wire the PanelView Plus Terminal to the Power Supply . Make Network Connections. . . . . . . . . . . . . . . . . . . . . . Assign an IP Address. . . . . . . . . . . . . . . . . . . . . . . . . . . Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 7 Configure the EtherNet/IP Network 8 Before You Begin . . . . . . . . . . . . . . . . . . . What You Need . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . Terminology . . . . . . . . . . . . . . . . . . . . . . . Assign IP Addresses to Devices . . . . . . . . . Browse the EtherNet/IP Network in RSLinx Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Publication IASIMP-QS001B-EN-P - June 2007 Table of Contents Chapter 8 Configure the ControlNet Driver Before You Begin . . . . . . . . . . . . . . . . . . . What You Need . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . Configure the ControlNet Driver in RSLinx . Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 83 83 84 86 Chapter 9 Configure the DeviceNet Network Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 What You Need . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . Apply Power to the DeviceNet Network. . Set the 1769-SDN Module’s Node Address Create a DeviceNet Configuration File . . . Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 88 89 90 92 94 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . Create a Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configure the Controller . . . . . . . . . . . . . . . . . . . . . . . Add Local I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . Add Ladder Logic to Test the Local 1769 Compact I/O . Set the Communication Path and Download. . . . . . . . . Add the 1769-SDN to the Project . . . . . . . . . . . . . . . . . Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 95 96 97 99 101 102 105 107 108 Chapter 10 Create a Project Using RSLogix 5000 Software Chapter 11 Add Distributed I/O Modules to the Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Project Follow These Steps . . . . . . . . . . . . . . . . . . . . Add Distributed I/O Modules. . . . . . . . . . . . . Edit the DeviceNet Adapter Parameters . . . . . Configure the DeviceNet Subnet . . . . . . . . . . Create a DeviceNet Scanlist . . . . . . . . . . . . . . Add Ladder Logic . . . . . . . . . . . . . . . . . . . . . Create DeviceNet Tags and Add Ladder Logic Download the Project . . . . . . . . . . . . . . . . . . Set the POINT I/O Chassis Size . . . . . . . . . . . Schedule the ControlNet Network . . . . . . . . . Test the Distributed I/O Light . . . . . . . . . . . . Additional Resources. . . . . . . . . . . . . . . . . . . Publication IASIMP-QS001B-EN-P - June 2007 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 111 114 116 120 123 125 130 131 133 137 138 9 Table of Contents Chapter 12 Create a PowerFlex 70 Application Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Add the Drive to Your RSLogix 5000 Project and Connect. Edit the Drive Parameters . . . . . . . . . . . . . . . . . . . . . . . . Create a DeviceNet Scanlist . . . . . . . . . . . . . . . . . . . . . . . Create DeviceNet Tags . . . . . . . . . . . . . . . . . . . . . . . . . . Download the Project . . . . . . . . . . . . . . . . . . . . . . . . . . . Schedule the ControlNet Network . . . . . . . . . . . . . . . . . . Test the PowerFlex 70 Tags . . . . . . . . . . . . . . . . . . . . . . . Test the PowerFlex 70 Tags . . . . . . . . . . . . . . . . . . . . . . . Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 140 141 145 146 150 152 153 157 159 161 Chapter 13 Create a PowerFlex 40 Application Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 What You Need . . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . . Add the Drive to Your RSLogix 5000 Project. Create a DeviceNet Scanlist . . . . . . . . . . . . . Create DeviceNet Tags . . . . . . . . . . . . . . . . Download the Project . . . . . . . . . . . . . . . . . Schedule the ControlNet Network . . . . . . . . Edit PowerFlex 40 Parameter Values . . . . . . Test the PowerFlex 40 Tags . . . . . . . . . . . . . Test the PowerFlex 40 Tags . . . . . . . . . . . . . Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 164 165 167 170 172 173 177 179 181 183 .......... .......... .......... .......... RSView ME . .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... . . . . . . . . . . . . . . . 185 185 186 187 188 190 198 201 203 205 206 207 208 210 211 Chapter 14 Create a PanelView Plus Application Before You Begin . . . . . . . . . . . . . . . . . . . . What You Need . . . . . . . . . . . . . . . . . . . . . Follow These Steps . . . . . . . . . . . . . . . . . . . Create a New Application . . . . . . . . . . . . . . Create an RSLinx Enterprise Configuration in Create Device Shortcuts to the Controller . . . Create the OB16_Light Indicator . . . . . . . . . Create a Push Button. . . . . . . . . . . . . . . . . . Test the Indicator and Push Button . . . . . . . Add a Goto Configuration Mode Button. . . . Assign Keys . . . . . . . . . . . . . . . . . . . . . . . . Assign an Initial Screen . . . . . . . . . . . . . . . . Transfer to the PanelView Plus . . . . . . . . . . Test the Application on the PanelView Plus . Additional Resources. . . . . . . . . . . . . . . . . . Network Worksheet 10 Publication IASIMP-QS001B-EN-P - June 2007 Preface About This Publication This quick start provides examples and procedures for the use of a CompactLogix system. The procedures cover many of the most common user tasks, such as: • connecting the controller to multiple devices (local and distributed I/O, drives, and a PanelView Plus terminal). • connecting and configuring networks (EtherNet/IP, ControlNet, DeviceNet, and serial) for use with CompactLogix systems. • creating and monitoring controller programs. The examples are designed to get devices installed and communicating with each other in the simplest way possible. The programming examples are not complex, and offer easy solutions to verify that devices are functioning and communicating properly. The beginning of each chapter contains the following information. Read these sections carefully before beginning work in each chapter. • Before You Begin - This section lists the steps that must be completed and decisions that must be made before starting the chapter. Because the chapters in this quick start do not have to be completed in the order in which they appear, this section defines the minimum amount of preparation required before completing the current chapter. • What You Need - This section lists the tools that are required to complete the steps in the current chapter. This includes, but is not limited to, hardware and software. • Follow These Steps - This illustrates the steps in the current chapter and identifies which steps are required to complete the examples by using specific networks. The electronic version of this publication contains links to pages within the publication for easier navigation. Click on any chapter title, chapter number, topic title, or page number to follow a link to the item. Additionally, resources available on the Web and listed in the Additional Resources tables function as hyperlinks within this electronic publication. Publication IASIMP-QS001B-EN-P - June 2007 11 Required Software To complete examples in this quick start, you need one of the following software packages. If using network Use RSLogix 5000 edition EtherNet/IP (Options 1, 2, and 3) •Full •Standard •Professional ControlNet (Option 2) •Standard DeviceNet (Option 3) •Standard •Professional •Professional If you do not use the RSLogix 5000 packages recommended are not used, you may need to purchase additional software to complete the examples in this quick start. You will need to install the following software, included with the RSLogix 5000 packages listed: • • • • • • BootP-DHCP server ControlFlash DeviceNet Tag Generator RSLinx RSLogix 5000, version 16 RSNetWorx (version specific to your network option) If you plan to complete the PanelView Plus examples within this quick start, you will also need RSView Machine Edition software. 12 Publication IASIMP-QS001B-EN-P - June 2007 Parts List ! Quantity This table lists the hardware used in this quick start. The hardware you need depends on the options and examples you choose to complete. Specific hardware requirements are listed at the beginning of each chapter. Catalog Number Description General Configuration 1 1769-IF4 Compact 4 Channel Analog Current/Voltage Input Module 1 1769-IQ16 Compact 16 Point 24V dc Sinking/Sourcing Input Module 1 1769-IF4XOF2 Compact 8 Bit Resolution, High Speed 4 In/2 Out Analog Combination Module 1 1769-OF2 Compact 2 Channel Analog Current/Voltage Output Module 1 1769-OB16(1) Compact 16 Point 24V dc Sourcing Output Module 1 1769-PA2 Compact Expansion Power Supply 120/240V ac Input 2 A @ 5V dc Output Module 1 1769-ECR Compact I/O Right End Cap/Terminator 1 1734-IB4(2) POINT I/O 4 Sink Input Module 1 1734-OB4E(2)(3) POINT I/O 4 Protected Output Module 1 1734-OE2C(2) POINT I/O 2 Current Output Analog Module 3 1734-TB Wiring Base w/ Removable IEC Screw Terminals 1 1794-PS13 FLEX I/O 85 - 264V ac to 24V dc 1.3 A Power Supply 1 22B-V2P3N104 PowerFlex 40 Drive 1 22B-CCB PowerFlex 40 Communication Adapter Cover 1 20AB4P2A3AYNNNNN PowerFlex 70 Drive 1 2711P-K10C4D1 PanelView Plus 10 inch Color Keypad Terminal with EtherNet/IP and RS-232 networks 1 1794-PS3 or 2711P-RSACDIN FLEX I/O dc Power Supply or general use ac Power Supply 2 1756-CP3 RS-232 Cable 1 2706-NC13 PanelView Plus Serial Cable 2...3 N/A DIN Rail (steel not aluminum) EtherNet/IP Configuration 1 1769-L32E CompactLogix EtherNet/IP Controller 1 1734-AENT POINT I/O EtherNet/IP Adapter 1 22-COMM-E EtherNet/IP Adapter for Use With the PowerFlex 40 1 20-COMM-E EtherNet/IP Adapter for Use With the PowerFlex 70 1 N/A 8-Port Ethernet Switch 6 N/A Ethernet Cables (straight through) Publication IASIMP-QS001B-EN-P - June 2007 13 ! Quantity Catalog Number Description ControlNet Configuration 1 1769-L32CR CompactLogix ControlNet Controller with Redundant Tap 1 1784-PCIC or 1784-PCICS ControlNet Communication Card for a Personal Computer 1 1734-ACNR POINT I/O ControlNet Adapter 1 22-COMM-C ControlNet Adapter for Use With the PowerFlex 40 1 20-COMM-C ControlNet Adapter for Use With the PowerFlex 70 1 2711P-RN15S PanelView Plus 1000 ControlNet Interface Module 6 1786-TPR ControlNet Tap 2 1786-XT ControlNet Terminating Resistor 5 1786-BNCP ControlNet BNC Coaxial Connector Serial Configuration 1 1769-L31 1769-L31 CompactLogix Controller 1 1756-CP3 RS-232 cable 1 2706-NC13 Point-to-Point RS-232 Cable DeviceNet Configuration 1 1769-SDN Compact I/O DeviceNet Scanner 1 1734-ADN POINT I/O DeviceNet Adapter 1 22-COMM-D DeviceNet Adapter for use with the PowerFlex 40 1 20-COMM-D DeviceNet Adapter for use with the PowerFlex 70 1 1606-XLDNET8 DeviceNet Power Supply N/A 1485C-P1E75 KwikLink Flat Cable 2 1485A-T1E4 KwikLink Terminator/Resistor 4 1485P-P1E4-R5 KwikLink Sealed Micro Connector 4 1485K-P1F5-C KwikLink Right-angle Male to Cable 1 1485T-P1E4-B1 KwikLink Power Tap Module (1) The 1769-OB16 module is the only Compact I/O module used in this quick start. The other modules are added as examples only and are not required. (2) Use Point I/O modules at series C or later to complete examples in this quick start. (3) The 1734-OB4E module is the only POINT I/O module used in this quick start. The other modules are added as examples only and are not required. 14 Publication IASIMP-QS001B-EN-P - June 2007 Conventions This manual uses the following conventions. Convention Meaning Example bold Bold text denotes menus, menu items, buttons or options. Click OK. Check/uncheck Click to activate/deactivate a checkbox. Check the Do not show this dialog again checkbox. Click Click left mouse button once. (Assumes cursor is positioned on object or selection.) Click Browse. Courier font Type or enter text exactly as shown. Type cmd. Double-click Click left mouse button twice in quick succession. (Assumes cursor is positioned on object or selection.) Double-click the H1 icon. Expand Click the + to the left of a given item /folder to show its contents. In the H1-1 window, expand the FFLD. Right-click Click right mouse button once. (Assumes cursor is positioned on object or selection.) Right-click the Fieldbus Networks icon. Select Click to highlight a menu item or list choice. Select Properties from the drop-down list. > Shows nested menu selections as menu name followed by menu Click File > Page Setup > Options. selection. Additional Resources Resource Description 1769 CompactLogix Controllers Selection Guide, publication 1769-SG001 Provides information and specifications for consideration when selecting CompactLogix controllers and software. 1769 Compact I/O Selection Guide, publication 1769-SG002 Provides information and specifications for consideration when selecting I/O modules for use with the CompactLogix system. Includes Compact I/O, POINT I/O, and FLEX I/O modules. NetLinx Selection Guide, publication NETS-SG001 Provides information and specifications for consideration when selecting a network to use and which hardware and cables you need. Publication IASIMP-QS001B-EN-P - June 2007 15 Notes: 16 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 1 Prepare the CompactLogix Hardware In this chapter, you install your CompactLogix hardware, including the controller, power supply, any local 1769 Compact I/O modules, and an optional 1769-SDN module (used only if you have distributed I/O on the DeviceNet network). Before You Begin Determine which these networks and appropriate hardware to use: • For the EtherNet/IP network (option 1), use the 1769-L32E or 1769-L35E controller. • For the ControlNet network (option 2), use the 1769-L32C or 1769-L35CR controller. • For a serial connection (option 3), use the 1769-L31 controller. • For the DeviceNet network (options 2 and 3), use the 1769-SDN module with the 1769-L31 controller. What You Need • CompactLogix controller: 1769-L32E, 1769-L35E, 1769-L32C, 1769-L35CR, or 1769-L31 • CompactLogix controller battery: 1769-BA (included with your controller) • Compact power supply: 1769-PA2 • Compact I/O end cap: 1769-ECR • Compact I/O module: this example uses a 1769-OB16 module. Other Compact I/O modules can also be used, but are not required • Compact I/O DeviceNet scanner module: 1769-SDN (only if you are using a DeviceNet network) • Network cable: Ethernet (commercially available), ControlNet (1786-TPR), or serial (1756-CP3) 17Publication IASIMP-QS001B-EN-P - June 2007 17 Chapter 1 Prepare the CompactLogix Hardware Follow These Steps Complete the steps shown for your controller. 1769-L32C, 1769-L35CR 1769-L32E, 1769-L35E Connect the Battery to the Controller page 19 Record the Ethernet Address (MAC) page 19 Assemble the System page 21 Make Network Connections page 22 Wire Power page 25 18 1769-L31 Connect the Battery to the Controller page 19 Set the ControlNet Node Address page 20 Assemble the System page 21 Make Network Connections page 22 Connect the Battery to the Controller page 19 Assemble the System page 21 Make Network Connections page 22 Wire Power page 25 Wire Power page 25 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the CompactLogix Hardware Chapter 1 Connect the Battery to the Controller 1769-BA Battery 1. Insert the battery and battery connector. Battery Connector 2. Record the battery installation date in the box provided on the label. Battery Ethernet Address Box for Battery Installation Date Record the Ethernet Address (MAC) 1769-L32E or 1769-L35E controllers The Ethernet address (MAC) is found on a label near the battery. This is an example address. 00:00:BC:21:D7:BE Ethernet Address Record the Ethernet address (MAC) for the CompactLogix controller on the Network Worksheet at the back of this quick start. This address is used to set the IP address later. Publication IASIMP-QS001B-EN-P - June 2007 19 Chapter 1 Prepare the CompactLogix Hardware Set the ControlNet Node Address 1769-L32C or 1769-L35CR controllers ControlNet Node Address Switches Controllers are shipped with the node address set at 99. Ones Tens 3 4 2 1 8 9 3 4 2 5 1 6 0 7 Tens 7 0 6 Ones 5 1. Use a small, flathead screwdriver to set the node address to node 01. 8 9 01 Shown 2. Record the node address on the front panel overlay. 20 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the CompactLogix Hardware Chapter 1 Assemble the System Controller, power supply, local I/O modules, 1769-SDN module, end cap terminator Unlocked 1. On the top of each module, verify that all of the locking tabs are unlocked. Locked 2. Use the tongue-and-groove slots to slide the power supply, then the I/O modules. onto the controller. 3. If you have an 1769-SDN module, record the series letter (see label on the side of the module) on the Network Worksheet inside the back cover of this quick start. Controller 4. If you have an 1769-SDN module, slide it onto the other modules. Tongue-and-groove Slots There can be a maximum of three modules between the 1769-SDN module and the power supply. Publication IASIMP-QS001B-EN-P - June 2007 21 Chapter 1 Prepare the CompactLogix Hardware 5. Lock all of the locking tabs on the top of the modules. Locking Tab 6. Verify that the tabs are all the way to the left. 7. Slide the end cap terminator on and lock the locking tab. 8. Press the assembled system onto a DIN rail. End-cap Terminator Make Network Connections 1769-L32E or 1769-L35E controllers 1. Insert an Ethernet cable with an RJ-45 connector. 2. Connect the other end of the cable to an Ethernet switch. Ethernet Port 8 ------ NC 7 ------ NC 6 ------ RD5 ------ NC 4 ------ NC 3 ------ RD+ 2 ------ TD1 ------ TD+ 22 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the CompactLogix Hardware Chapter 1 1769-L32C or 1769-L35CR controllers Connect a ControlNet tap to port A of the controller. Port A Port B (Do not use.) Required for all CompactLogix controllers 1. Connect the 1756-CP3 cable to the channel 0 serial port on the controller. 2. Connect the other end of the cable to a COM port on the computer. Publication IASIMP-QS001B-EN-P - June 2007 23 Chapter 1 Prepare the CompactLogix Hardware 1769-SDN module 1. Connect a DeviceNet cable to the removable connector. Connect To Red V+ White CAN High Bare Shield Blue CAN Low Black V- 2. Connect the removable connector to the module. 24 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the CompactLogix Hardware Chapter 1 Wire Power 1769-PA2 power supply WARNING Verify that all incoming power is turned off before wiring power. 1. Insert the 120/240V ac, V ac COM, and Chassis Ground wires and tighten the terminal screws. 2. Turn on incoming power. Terminal Wiring Diagram PWR OUT +24V dc PWR OUT COM 120/240V ac V ac COM CHASSIS GROUND Publication IASIMP-QS001B-EN-P - June 2007 25 Chapter 1 Prepare the CompactLogix Hardware Additional Resources Resource Description 1769-L32E and 1769-L35E CompactLogix Controller Installation Instructions, publication 1769-IN020 Provides details about assembling and mounting the controller and upgrading firmware as well as controller technical specifications. 1769-L32C and 1769-L35CR CompactLogix Controller Installation Instructions. publication 1769-IN070 Provides details about assembling and mounting the controller and upgrading firmware as well as controller technical specifications. 1769-L31 CompactLogix Controller Installation Instructions, publication 1769-IN069 Provides details about assembling and mounting the controller and upgrading firmware as well as controller technical specifications. 1769-SDN Compact I/O DeviceNet Scanner Module Installation Instructions, publication 1769-IN060 Provides information about installing the 1769-SDN module and technical specifications. Compact 1769 Expansion I/O Power Supplies Installation Instructions, publication 1769-IN028 Provides details on power considerations, master control relay, safety circuits, grounding, power dissipation, input power requirements, and technical specifications. 26 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 2 Prepare the Computer In this chapter, you configure network communication on your computer and install the necessary programming and configuration software. Before You Begin • Verify that your computer meets the software’s system requirements for your edition of RSLogix 5000 software. • If using a ControlNet network (option 2), install a 1784-PCIC or 1784-PCICS ControlNet communication card on the computer. What You Need • RSLinx software (Lite or Professional) • RSLogix 5000 software (see the Preface for version and edition information) • RSNetWorx for ControlNet software for the ControlNet network • RSNetWorx for DeviceNet software for the DeviceNet network • ControlFlash software (packaged with RSLogix5000 software) 27Publication IASIMP-QS001B-EN-P - June 2007 27 Chapter 2 Prepare the Computer Follow These Steps Complete these steps. Make Network Connections page 29 Install and Launch RSLinx Software page 30 Configure a Serial Driver page 31 Set the IP Address for the Computer page 33 Configure the EtherNet/IP Driver in RSLinx page 35 Install RSLogix 5000 Software page 37 Load Firmware page 40 Optional (Depending on your system.) 28 Install Additional Software page 44 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Computer Chapter 2 Make Network Connections Ethernet connection - Required for all options Connect the Ethernet port of the computer to the Ethernet switch. Computer with standard Ethernet port. Ethernet Switch ControlNet connection - 1769-L32C and 1769-L35CR controllers only Connect a ControlNet tap to port A of the ControlNet communication card in the computer. Computer with 1784-PCIC or 1784-PCICS communication card. ControlNet Tap on ControlNet Network Serial connection - Required for all controllers You connected a 1756-CP3 cable to a COM port on the computer and to the CH0 port on the controller in Chapter 1. 1756-CP3 serial cable to CH0 on 1769-L31. Publication IASIMP-QS001B-EN-P - June 2007 29 Chapter 2 Prepare the Computer Install and Launch RSLinx Software Required for all controllers 1. Install RSLinx and select default options. 2. Launch RSLinx software. 30 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Computer Chapter 2 Configure a Serial Driver Required for all controllers 1. Launch RSLinx software. 2. Under Communications, select Configure Drivers. 3. Select RS-232 DF1 devices. 4. Click Add New. 5. Click OK to keep the default name. Publication IASIMP-QS001B-EN-P - June 2007 31 Chapter 2 Prepare the Computer 6. Select the Comm Port to which you connected the 1756-CP3 cable. 7. For Device, select Logix5550/CompactLogix. 8. Click Auto Configure. 9. Click OK. The Serial driver is added to the Configured Drivers list. 10. Verify that the Status of the driver is Running, and click Close. 11. Click the RSWho icon to view the driver. All of the configured, active drivers display. Expand the serial driver to see connected devices. 32 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Computer Chapter 2 Set the IP Address for the Computer Required for all controllers, regardless of network choice 1. On your desktop, right-click My Network Places and select Properties. 2. Double-click the Local Area Connection. 3. Click Properties. 4. On the General tab, select Internet Protocol (TCP/IP) and click Properties. 5. Select Use the following IP address and enter an IP address and Subnet mask for your computer using the example shown or enter your own address. For more information about selecting an IP Address, see page 75. 6. Record the IP address and subnet mask in the Network Worksheet on the backcover. 7. Click OK, then click OK again. 8. Close all network windows. Publication IASIMP-QS001B-EN-P - June 2007 33 Chapter 2 Prepare the Computer 9. In the Run prompt, enter cmd and click OK. 10. Type ipconfig and press Enter. 11. Verify that the IP Address and Subnet Mask match what you entered in the Network Worksheet. If these numbers do not match what you entered, contact your network administrator. 12. Close the cmd.exe window. 34 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Computer Chapter 2 Configure the EtherNet/IP Driver in RSLinx Required for 1769-L32E ,1767-L35E, and PanelView Plus 1. If RSLinx software is not open, launch RSLinx software. 2. From the Communications menu, choose Configure Drivers. 3. From the Available Driver Types, select Ethernet/IP Driver. 4. Click Add New. 5. Click OK to keep the default name. 6. Click OK to Browse Local Subnet. Publication IASIMP-QS001B-EN-P - June 2007 35 Chapter 2 Prepare the Computer The EtherNet/IP driver is added to the Configured Drivers list. 7. Verify that the driver’s Status is Running, and click Close. 36 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Computer Chapter 2 Install RSLogix 5000 Software Required for all controllers Throughout the installation, click Next to use default RSLogix 5000 installation settings except when indicated in the steps below. 1. Begin the RSLogix 5000 software installation. 2. Accept the default software products for installation and click Next. 3. Select your activation type and click Next. This quick start uses FactoryTalk Activation software to activate RSLogix 5000. For more information, see the FactoryTalk Activation FAQ, publication FT00-FA001. Publication IASIMP-QS001B-EN-P - June 2007 37 Chapter 2 Prepare the Computer 4. Select the features shown and click Next. These features are required for this quick start. You may choose to install additional features at a later time. 5. Check Optional Tools and Files as shown and click Next. These tools are required for this quick start. You may choose to install additional tools and files at a later time. 38 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Computer Chapter 2 6. Check RSLogix 5000 Tools and Files and click Next. 7. Click Complete to install all of the firmware shown and click Next. Publication IASIMP-QS001B-EN-P - June 2007 39 Chapter 2 Prepare the Computer 8. Click Install to complete the installation. The installation dialog displays progress while the software installs. 9. Select your activation type. This quick start uses the FactoryTalk Activation software as indicated in step 3. 10. Click Finish. 40 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Computer Chapter 2 The FactoryTalk Installation Wizard starts. 11. Click Next. 12. Enter the Serial number and Product key from the certification letter packaged with your software. 13. Click Next. 14. Click Next to select the host ID you want to register. The activation completes if the computer is connected to the Internet. If Internet access is not available, call Rockwell Automation Technical Support to complete your activation. 15. Click Finish to close the Activation Wizard. Publication IASIMP-QS001B-EN-P - June 2007 41 Chapter 2 Prepare the Computer Load Firmware Required for all controllers TIP This example shows how to load firmware using a serial connection. It is faster to load firmware via an EtherNet/IP or ControlNet connection. For more information, see the installation instructions for the controller as listed at the end of the chapter. 1. Launch ControlFlash software. 2. Click Next. 3. Select the controller catalog number and click Next. 42 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Computer Chapter 2 4. Expand the AB_DF1-DFI driver, and select your controller. 5. Click OK. 6. Move the keyswitch on the controller to PROG. 7. If the Current Revision matches the revision of firmware you want, click Cancel and skip to Chapter 3. Otherwise, select the desired firmware revision and click Next. 8. Click Finish to start the firmware update. Publication IASIMP-QS001B-EN-P - June 2007 43 Chapter 2 Prepare the Computer Install Additional Software • If you are completing the PanelView Plus chapters in this quick start, install RSView Machine Edition software. This software must be installed before you install any additional software. • If you are using a ControlNet network, install RSNetWorx for ControlNet software. • If you are using a DeviceNet network, install RSNetWorx for DeviceNet software. Additional Resources Resource Description 1769-L32E and 1769-L35E CompactLogix Controller Installation Instructions, publication 1769-IN020 Provides details about assembling and mounting the controller and upgrading firmware as well as controller technical specifications. 1769-L32C and 1769-L35CR CompactLogix Controller Installation Instructions. publication 1769-IN070 Provides details about how to assemble and mount the controller, how to upgrade firmware, and controller technical specifications. 1769-L31 CompactLogix Controller Installation Instructions, publication 1769-IN069 Provides details about assembling and mounting the controller and upgrading firmware as well as controller technical specifications. FactoryTalk Activation FAQ, publication FT00-FA001 Provides answers to FactoryTalk Activation questions, including how the FactoryTalk Activation differs from master disk activation. ControlFlash Firmware Upgrade Kit, publication 1756-QS105 Provides details regarding the installation of ControlFlash software and execution of firmware upgrades. 44 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 3 Prepare the Distributed POINT I/O Hardware In this chapter, you install the 1734 POINT I/O network adapter and the 1734 POINT I/O modules. Before You Begin • Determine which of these network adapters to use: – for an EtherNet/IP network (option 1), use the 1734-AENT adapter. – for a ControlNet network (option 2), use the 1734-ACNR adapter. – for a DeviceNet network (option 3), use the 1734-ADN adapter. • Select the appropriate mounting base for I/O modules: – if you use a 1734-IT2I module, then use the 1734-TBCJC. – for all other I/O modules use the 1734-TB or 1734-TBS. What You Need • POINT I/O adapter: 1734-AENT, 1734-ACNR, and/or 1734-ADN • POINT I/O mounting bases: 1734-TB or 1734-TBS, and 1734-TBCJC • A digital-output POINT I/O module: The examples use a 1734-OB4E, however, other POINT I/O modules can also be used, but are not required • Power supply: 1794-PS3 or 1794-PS13 45Publication IASIMP-QS001B-EN-P - June 2007 45 Chapter 3 Prepare the Distributed POINT I/O Hardware Follow These Steps If you have a POINT I/O system, complete these steps. Mount and Connect the Network Adapter page 47 Mount the POINT I/O Modules page 49 Mount and Wire the POINT I/O Power Supply page 50 Wire the Adapter and I/O Modules to the Power Supply page 51 46 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Distributed POINT I/O Hardware Chapter 3 Mount and Connect the Network Adapter EtherNet/IP 1734-AENT adapter 1. Locate the Ethernet address (MAC), found next to the label. Record the Ethernet address (MAC) for the POINT I/O adapter on the Network Worksheet. Example Address (Found on the right side of the module.) 00:00:BC:21:8A:B6 Ethernet Address This address is used to set the IP address later in the quick start. 9 9 9 2. Set the address to a value greater than or equal to 256. This example uses 999. 3. Remove the safety end cap. 4. Press the adapter onto the DIN rail. Ethernet Port 5. Insert an Ethernet cable. Go to Mount the POINT I/O Modules. ControlNet 1734-ACNR adapter A et B et 17 34 -A CN R C St on at tro u lN s C St on at tro u lN s P St oi n at tB u u s s M St od at u u le s 1. Remove the safety end cap. 2 3. Set the node address. S Po yste Fie w e m Po ld r w er 2. Press the adapter onto the DIN rail. This example uses node 02. 4. Connect a ControlNet tap to the A port. Go to Mount the POINT I/O Modules. Publication IASIMP-QS001B-EN-P - June 2007 47 Chapter 3 Prepare the Distributed POINT I/O Hardware DeviceNet 1734-ADN adapter 3. Set the node address. S Po yste Fi we m Po eld r w er 17 34 - AD N P St oin at tB us us Ad 2. Press the adapter onto the DIN rail. St ap at te us r D St evi at ce us N et 1. Remove the safety end cap. This example uses node 02. 4. Connect the DeviceNet cable to the removable connector. Connect To Red V+ White CAN High Bare Shield Blue CAN Low Black V- DeviceNet Connector and Port 5. Connect the removable connector to the adapter. Go to Mount the POINT I/O Modules. 48 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Distributed POINT I/O Hardware Chapter 3 Mount the POINT I/O Modules All controllers, POINT I/O modules, and wiring bases IMPORTANT The 1734-IT2I module must be mounted in the 1734-TBCJC wiring base. All other modules can be mounted in either of the 1734-TB or 1734-TBS wiring bases. 1. Using a small, flathead screwdriver, rotate the keyswitch to match the figure on the I/O module. Wiring Base 3 8 1 2 7 4 5 4 6 M St od at u us le Module 2 3 3. Snap the handle up. 1 0 N Se 2. Press the module into the wiring base. N ta tw O t o D u r E: s k Figure on Module 4. Complete steps 1–3 with all POINT I/O modules. 5. Slide the first module and wiring base assembly along the adapter and press it onto the DIN rail. Handle 6. Repeat with all of the I/O assemblies. Tongue-and-groove Slots Publication IASIMP-QS001B-EN-P - June 2007 49 Chapter 3 Prepare the Distributed POINT I/O Hardware Mount and Wire the POINT I/O Power Supply 1794-PS3 or 1794-PS13 power supplies 1. Hook the upper-lip of the DIN rail latch onto the DIN rail. Upper-lip of DIN rail latch. 2. Press the module onto the DIN rail. WARNING Verify that all incoming power is turned off before wiring power. 3. Connect the 120/230V ac power, 120/230V ac common and ac Ground wires. Power 24V DC POWER SUPPLY 1794-PS3 Ground Common COM Power 24V 50 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the Distributed POINT I/O Hardware Chapter 3 Wire the Adapter and I/O Modules to the Power Supply POINT I/O adapter, I/O modules, and power supply 1. Connect the 12/24V dc common and 12/24V dc power wires from the power supply to the adapter. Module Status 0 2 PointBus Status M oudle S t at u s N ewt ok r S t at u s NODE: N O ED: ControlNet A Status 1734-ACNR Field Power 2 4 V CD S o ruce up t ut 24VDC Sink Input ControlNet B Status System Power 2. Refer to the individual POINT I/O installation instructions for wiring the I/O modules. Module Status Network Status 0 0 1 1 2 2 3 3 1734 IB4 4 7 1734 O BE A Power 24V DC POWER SUPPLY 1794-PS3 B Common Power COM 24V 3. Turn on incoming power. Additional Resources Resource Description Point I/O Ethernet Adapter Installation Instructions, publication 1734-IN590 Provides details regarding installation of the adapter and technical specifications. 1734 Point I/O ControlNet Adapter Installation Instructions, publication 1734-IN582 Provides details regarding installation of the adapter and technical specifications. Point I/O DeviceNet Adapter Installation Instructions, publiciation 1734-IN026 Provides details regarding installation of the adapter and technical specifications. POINT I/O Wiring Base Assembly Installation Instructions, publication 1734-IN511 Provides details regarding installation of the POINT I/O wiring base. Cold Junction Compensated Terminal Block Installation Instructions, publication 1734-IN583 Provides details regarding installation of the Cold Junction Compensated Terminal Block wiring base. Point I/O Protected Output Module Installation Instructions, publication 1734-IN056 Provides details about the installation and wiring of POINT I/O Protected Output Modules. FLEX I/O dc Power Supply Modules Installation Instructions, publication 1794-IN069 Provides details about the installation and wiring of FLEX I/O power supplies. Publication IASIMP-QS001B-EN-P - June 2007 51 Chapter 3 Prepare the Distributed POINT I/O Hardware Notes: 52 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 4 Prepare the PowerFlex 70 Drive In this chapter, you mount and wire power to a PowerFlex 70 drive. You also configure your communication adapter and make network connections. Before You Begin Determine which network and appropriate adapter to use on the PowerFlex 70 drive: • For an EtherNet/IP network (option 1), use the 20-COMM-E module. • For a ControlNet network (option 2), use the 20-COMM-C module. • For a DeviceNet network (option 3), use the 20-COMM-D module. What You Need • PowerFlex 70 drive • Communication adapter for use with the PowerFlex 70 drive: 20-COMM-E (EtherNet/IP adapter), 20-COMM-C (ControlNet adapter), or 20-COMM-D (DeviceNet adapter) 53Publication IASIMP-QS001B-EN-P - June 2007 53 Chapter 4 Prepare the PowerFlex 70 Drive Follow These Steps If you have a PowerFlex 70 drive, complete these steps. Mount the PowerFlex 70 Drive page 55 Wire Power page 55 Configure the Communication Adapter page 56 Connect the Communication Adapter to the PowerFlex 70 Drive page 57 54 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the PowerFlex 70 Drive Chapter 4 Mount the PowerFlex 70 Drive For the purpose of this quick start, the PowerFlex 70 drive can be propped in a safe and convenient location. For mounting instructions, see the PowerFlex 70 Drive User Manual, publication 20A-UM001. Wire Power WARNING Verify that all incoming power is turned off before wiring power. 1. Loosen the screw and remove the cover. 2. Loosen the screws and slide the metal plate out of the drive. 3. Connect the 120/240V ac, V ac COM and chassis ground wires to the terminal block. Metal Plate L1 R L2 S L3 T BR1 BR2 +DC BRK T1 U T2 V Publication IASIMP-QS001B-EN-P - June 2007 T3 W PE PE Connect To 120/240V ac L1 R V ac COM L2 S Chassis ground PE 4. Replace the metal plate and tighten the screws. 55 Chapter 4 Prepare the PowerFlex 70 Drive Configure the Communication Adapter Adapter Action Figure EtherNet/IP 20-COMM-E The Ethernet address (MAC) is found on the adapter’s label. Record the Ethernet address (MAC) on the Network Worksheet. This address is used to set the IP address later in the quick start. For example: HW Address 00:00:BC:21:D7:BE ControlNet Set the adapter’s node address. 20-COMM-C The quick start examples use node number 4. 2 3 1 2 4 5 0 4 9 6 5 0 6 9 7 8 3 1 8 Tens Digit 7 Ones Digit 4 Shown A DeviceNet 1. Set the adapter’s node address. 20-COMM-D The quick start examples use node number 13. B 2 2 3 4 1 0 5 9 4 0 6 8 3 1 5 9 7 Tens Digit 6 8 7 Ones Digit 13 Shown 2. Set the adapter for autobaud. 500K PGM 250K 125K AUTO AUTO Shown 56 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the PowerFlex 70 Drive Chapter 4 Connect the Communication Adapter to the PowerFlex 70 Drive 20-COMM-E, 20-COMM-C, 20-COMM-D adapters 1. Connect the cable from the adapter to the PowerFlex 70 drive. 2. Fold the cable under the adapter (without creasing) and tighten the screws. 3. If using a DeviceNet network, remove the terminal block connector from the 20-COMM-D adapter and connect the cable. Connect To Red V+ White CAN High Bare Shield Blue CAN Low Black V- 4. For all networks, thread the network cable through the bottom of the PowerFlex drive and connect it to the adapter (connect to ControlNet channel A, see the table at Configure the Communication Adapter). 5. Replace the cover. 6. Apply power to the PowerFlex 70 drive. Publication IASIMP-QS001B-EN-P - June 2007 57 Chapter 4 Prepare the PowerFlex 70 Drive Additional Resources Resource Description PowerFlex 70 User Manual, publication 20A-UM001 Provides details on how to install, program, and edit parameters for the PowerFlex 70 drive. PowerFlex 70 EtherNet/IP Adapter User Manual, publication 20COMM-UM010 Provides details on how to install, configure, and use the edapter. PowerFlex 70 ControlNet Adapter User Manual, Provides details on how to install, configure, and use the edapter. publication 20COMM-UM003 PowerFlex 70 DeviceNet Adapter User Manual, publication 20COMM-UM002 58 Provides details on how to install, configure, and use the edapter. Publication IASIMP-QS001B-EN-P - June 2007 Chapter 5 Prepare the PowerFlex 40 Drive In this chapter, you mount and wire power to a PowerFlex 40 drive. You also configure your communication adapter and make network connections. Before You Begin Determine which of these networks and appropriate adapter to use: • For an EtherNet/IP network (option 1), use the 22-COMM-E. • For a ControlNet network (option 2), use the 22-COMM-C. • For a DeviceNet network (option 3), use the 22-COMM-D. What You Need • PowerFlex 40 drive • Communication adapter for use with the PowerFlex 40 drive: 22-COMM-E (EtherNet/IP adapter), 22-COMM-C (ControlNet adapter) or 22-COMM-D (DeviceNet adapter) • Communication adapter cover for use with the PowerFlex 40 59Publication IASIMP-QS001B-EN-P - June 2007 59 Chapter 5 Prepare the PowerFlex 40 Drive Follow These Steps If you have a PowerFlex 40 drive, complete these steps. Mount the PowerFlex 40 Drive page 61 Wire Power page 61 Configure the Communication Adapter page 62 Connect the Communication Adapter to the PowerFlex 40 Drive page 63 60 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the PowerFlex 40 Drive Chapter 5 Mount the PowerFlex 40 Drive For mounting instructions, see the PowerFlex 40 Drive User Manual, publication 22B-UM001. Wire Power WARNING Verify that all incoming power is turned off before wiring power. 1. Remove the cover. 2. Remove the terminal block cover to access the power connections. 3. Insert the 120/240V ac, V ac COM and chassis ground wires and tighten the terminal screws. R/L1 S/L2 T/L3 U/T1 V/T2 W/T3 DC- DC+ BR+ BR- Publication IASIMP-QS001B-EN-P - June 2007 Connect To 120/240V ac R/L1 V ac COM S/L2 Chassis ground 61 Chapter 5 Prepare the PowerFlex 40 Drive Configure the Communication Adapter Adapter Action Figure EtherNet/IP 22-COMM-E The Ethernet address (MAC) is found on the adapter’s label. Record the Ethernet address (MAC) on the Network Worksheet. This address is used to set the IP address. For example: HW Address 00:00:BC:21:D7:BE ControlNet Set the adapter’s node address. 22-COMM-C This example uses node number 3. 2 3 1 Important: The front side of the adapter (shown here) faces down when it is installed in the drive. So, in the installed position, port A is to the right of port B. 2 4 5 0 6 9 8 A B 4 9 6 5 0 7 8 Tens Digit 3 1 7 Ones Digit 3 Shown DeviceNet 1. Set the adapter’s node address. 22-COMM-D Node Switch 1 2 3 4 5 6 0 0 0 0 0 0 0 1 1 0 0 0 0 0 2 0 1 0 0 0 0 3 1 1 0 0 0 0 4 0 0 1 0 0 0 5 1 0 1 0 0 0 6 0 1 1 0 0 0 NODE RATE 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 Up = 1 = Down = 0 = Node 3 Shown Autobaud Shown This example uses node number 3. 2. Set the rate to Autobaud. Rate 62 Switch 7 8 125 Kbps 0 0 250 Kbps 1 0 500 Kbps 0 1 Autobaud 1 1 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the PowerFlex 40 Drive Chapter 5 Connect the Communication Adapter to the PowerFlex 40 Drive 22-COMM-E, 22-COMM-C, 22-COMM-D adapter 1. If you are using a DeviceNet network, remove the terminal block connector from the 22-COMM-D adapter and connect the DeviceNet cable to the terminal block. Connect To Red V+ White CAN High Bare Shield Blue CAN Low Black V- 2. For all adapters, attach the extending screws. 0.8…1 Nm (7…9 lb-in) Publication IASIMP-QS001B-EN-P - June 2007 63 Chapter 5 Prepare the PowerFlex 40 Drive 3. Snap the adapter into the cover and connect the cable from the adapter to the PowerFlex 40 drive. 4. Place the adapter cover on the PowerFlex. 5. Tighten the screws. 6. For all networks, connect the network cable to the adapter. Important: The front side of the ControlNet adapter faces down when it is installed in the drive. So, in the installed position, port A is to the right of port B. 7. Apply power to the PowerFlex 40 drive. 0.5…0.6 Nm (4…5 lb-in) 64 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the PowerFlex 40 Drive Chapter 5 Additional Resources Resource Description PowerFlex 40 Adjustable Frequency AC Drive User Manual, publication 22B-UM001 Provides details on how to install, program, and edit parameters for the PowerFlex 40 drive. PowerFlex 40 EtherNet/IP Adapter User Manual, publication 22COMM-UM004 Provides details on how to install, configure, and use the adapter. PowerFlex 40 ControlNet Adapter User Manual, Provides details on how to install, configure, and use the adapter. publication 22COMM-UM006 PowerFlex 40 DeviceNet Adapter User Manual, publication 22COMM-UM003 Publication IASIMP-QS001B-EN-P - June 2007 Provides details on how to install, configure, and use the adapter. 65 Chapter 5 Prepare the PowerFlex 40 Drive Notes: 66 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 6 Prepare the PanelView Plus Terminal In this chapter, you mount and wire power to a PanelView Plus terminal. You also configure network communication and make network connections. Before You Begin Determine which network connection to use: EtherNet/IP, ControlNet, or serial. Regardless of which CompactLogix controller you use, you need to connect to the PanelView Plus terminal via an EtherNet/IP network for initial configuration, via a cross-over cable or an Ethernet switch. What You Need • PanelView Plus terminal • For a ControlNet network (option 2), use a PanelView Plus ControlNet interface module • One power supply, either a 1794-PS3 or a 2711P-RSACDIN. • Ethernet cable and switch or Ethernet cross-over cable • For a serial connection (option 3), 2706-NC13 cable 67Publication IASIMP-QS001B-EN-P - June 2007 67 Chapter 6 Prepare the PanelView Plus Terminal Follow These Steps If you have a PanelView Plus terminal, complete these steps for your network. EtherNet/IP ControlNet Mount the PanelView Plus page 69 Wire the PanelView Plus Terminal to the page 70 Make Network Connections page 71 Assign an IP Address page 73 68 Serial Install the ControlNet Interface Module page 69 Mount the PanelView Plus page 69 Wire the PanelView Plus Terminal to the page 70 Mount the PanelView Plus page 69 Wire the PanelView Plus Terminal to the page 70 Make Network Connections page 71 Make Network Connections page 71 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the PanelView Plus Terminal Chapter 6 Install the ControlNet Interface Module ControlNet only 1. Remove the label covering the communication module connector on the logic module. 2. Position the communication module over the logic module so the connectors align. 3. Push down on the communication module until connectors are firmly seated. 4. Tighten the 4 screws that secure the communication module to the logic module. Logic Module Communication Module Mount the PanelView Plus Terminal 2711P-K10C4D1 terminal and all controllers For the purpose of this quick start, the PanelView Plus can be propped on a desktop. For mounting instructions, see the PanelView Plus Terminals User Manual, publication 2711P-UM001. Publication IASIMP-QS001B-EN-P - June 2007 69 Chapter 6 Prepare the PanelView Plus Terminal Wire the PanelView Plus Terminal to the Power Supply WARNING Verify that all incoming power is turned off before wiring power. 1. Remove the terminal block from the PanelView Plus terminal. Power 3. Connect the terminal block to the PanelView Plus. 4. Turn on incoming power. 70 Common Power 24V DC POWER SUPPLY 1794-PS3 +– 2. Connect the 12/24V dc common and 12/24V dc power wires from the power supply to the terminal block, - (common) and + (power). COM 24V Publication IASIMP-QS001B-EN-P - June 2007 Prepare the PanelView Plus Terminal Chapter 6 Make Network Connections Required for all controllers Connect an Ethernet cable. Connect the other end of the cable to an Ethernet switch. 1769-L32C or 1769-L35CR controllers Connect a ControlNet cable to port A. Connect the tap to the ControlNet network. Publication IASIMP-QS001B-EN-P - June 2007 71 Chapter 6 Prepare the PanelView Plus Terminal 1769-L31 controller Connect the 2706-NC13 cable to the serial port. Connect the other end of cable to the Channel 1 port on the 1769-L31 controller. 1756-CP3 Serial Cable to Channel 0 Port 72 Publication IASIMP-QS001B-EN-P - June 2007 Prepare the PanelView Plus Terminal Chapter 6 Assign an IP Address Required for all controllers 1. On the PanelView Plus terminal’s main page, press Terminal Settings [F4]. 2. Navigate to: Networks and Communications > Network Connectors > Network Adaptors > Built-in Ethernet Controller. 3. Press IP Address [F2]. 4. Press IP Address [F1] and enter an IP address. For more information about selecting an IP Address, see Chapter 7. 5. Record the IP address on the Network Worksheet and press Enter. 6. Select Subnet Mask [F2]. 7. Enter the subnet mask you wrote on the Network Worksheet located inside the backcover. 8. Press Enter. 9. Press OK [F7], then Press OK [F7] again. 10. Press Close [F8] until you return to the Terminal Settings screen. Publication IASIMP-QS001B-EN-P - June 2007 73 Chapter 6 Prepare the PanelView Plus Terminal Additional Resources Resource Description PanelView Plus Terminals User Manual, publication 2711P-UM001 Provides details on how to install, program, and edit parameters for the PowerFlex 70 drive. 74 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 7 Configure the EtherNet/IP Network In this chapter, you assign IP addresses to devices on an EtherNet/IP network. Before You Begin • Prepare the computer, see Chapter 2 • Install all hardware, see Chapters 1–6 If you connect all of the devices, including the computer, through an Ethernet switch, you can create an isolated network. This chapter assumes you are using an isolated network. If you are not, contact your network administrator to obtain IP addresses. • Verify that power is applied to all devices. What You Need • The computer needs a Network Interface Card (NIC) and its associated Windows driver installed (the NIC and driver are standard on most computers). • BOOTP/DHCP utility, such as the one that ships on the RSLogix 5000 software CD. • An Ethernet Address (MAC) for each device. You recorded these addresses in the Network Worksheeton the back cover. • An IP Address for each device. If you are on an non-isolated network, obtain these addressed from your network administrator. If you are on an isolated network, determine a numbering convention for your IP addresses. Record these addresses in the Network Worksheet on the backcover. • You do not need to assign an IP address to the PanelView Plus terminal, it was already assigned in Chapter 6. 75Publication IASIMP-QS001B-EN-P - June 2007 75 Chapter 7 Configure the EtherNet/IP Network Follow These Steps If you have an EtherNet/IP network, complete these steps. Assign IP Addresses to Devices page 77 Browse the EtherNet/IP Network in RSLinx page 79 Terminology Ethernet networks use these types of addresses: Term Definition Ethernet Address Each Ethernet device has a unique Ethernet address (sometimes called a MAC address). The address appears as twelve digits separated by colons (for example, xx:xx:xx:xx:xx:xx). It is usually on a label on the device itself. Each digit is a number in hexadecimal (0 to 9 or A to F). No other device in the world will have the same address, and it can not be changed. You use the Ethernet address to identify a device so you can assign it an IP address. IP Address In addition to the Ethernet address, an IP address identifies a node on an Ethernet network. The IP address can be manually set. or you can use special software to automatically assign it. An IP Address consists of four decimal integers separated by periods (xxx.xxx.xxx.xxx). Each xxx is a decimal value from 0 to 255. For example, an IP Address could be 192.168.0.1. The selection of IP Addresses is beyond the scope of this quick start, so please contact your network administrator or use the ones provided in the examples. Once you set an IP address for a device, you generally reference the device by its IP address. The examples in this quick start use IP Addresses to define communication paths to the devices. 76 Publication IASIMP-QS001B-EN-P - June 2007 Configure the EtherNet/IP Network Chapter 7 Assign IP Addresses to Devices This step assigns IP addresses to all of the devices in your system, except for the PanelView Plus terminal. The IP address for the PanelView Plus terminal was assigned during installation (see Chapter 6). 1. Launch the BOOTP/DHCP Server utility. The BOOTP/DHCP Server utility is used to assign IP addresses to most of the devices in this quick start. This utility was installed on page 37. 2. From the Tools menu, choose Network Settings. 3. Enter the Subnet Mask from the Network Worksheet. 4. Click OK. TIP Devices on the EtherNet/IP network broadcast requests for IP addresses until the IP addresses have been assigned. The procedure in this chapter uses the BOOTP Server packaged with RSLogix 5000 software to assign IP addresses, however, any industry-standard BootP server will work. The Request History displays all the devices on your network that need IP addresses. The Ethernet address (MAC) corresponds with the addresses recorded on Network Worksheet. Publication IASIMP-QS001B-EN-P - June 2007 77 Chapter 7 Configure the EtherNet/IP Network 5. Double-click a request from one of the devices. 6. Enter the corresponding IP address that you selected from the Network Worksheet. If you are not using an isolated network, obtain these numbers from your network administrator. 7. Repeat steps 5 and 6 for all devices, except the PanelView Plus terminal (the IP address for the PanelView Plus terminal was set in Chapter 6). If a device is power cycled, it will not retain its IP address unless you disable BOOTP/DHCP. 8. Select the first device in the Relation List and click Disable BOOTP/DHCP. [Disable BOOTP/DHCP] Command successful appears in the Status bar. 9. Repeat step 8 for all devices, except the PanelView Plus. 10. Close the BOOTP/DHCP Server utility. If you are prompted to save changes, click No. 78 Publication IASIMP-QS001B-EN-P - June 2007 Configure the EtherNet/IP Network Chapter 7 Browse the EtherNet/IP Network in RSLinx Click the RSWho button to view the EtherNet/IP driver and devices. Additional Resources Resource Description EtherNet/IP Modules in Logix5000 Control Systems, publication ENET-UM001 Provides details regarding the installation, configuration, and operation of EtherNet/IP modules. Tech Note # E47839422 available at:: http://www.rockwellautomation.com/knowled gebase/ Provides a description of a common Comms error dialog and its solution. Publication IASIMP-QS001B-EN-P - June 2007 79 Chapter 7 Configure the EtherNet/IP Network Notes: 80 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 8 Configure the ControlNet Driver In this chapter, you configure the ControlNet driver for your computer so you can program over a ControlNet network. Before You Begin • Prepare the computer, see Chapter 2. • Install all hardware, see Chapters 1-6. • Connect the computer, controller and all other ControlNet devices to a ControlNet network. This example uses BNC coaxial connectors to connect the taps and a terminating resistor at each end. • Verify that power is applied to all devices. What You Need • RSNetWorx for ControlNet • A 1784-PCIC or 1784-PCICS card and associated driver installed on your computer Follow These Steps If you have a ControlNet network, complete this step. Configure the ControlNet Driver in RSLinx page 82 81Publication IASIMP-QS001B-EN-P - June 2007 81 Chapter 8 Configure the ControlNet Driver Configure the ControlNet Driver in RSLinx RSLinx software 1. Launch RSLinx software. 2. From the Communications menu, choose Configure Drivers. 3. From the Available Driver Types pull-down menu, choose 1784-PCIC(S) for ControlNet devices. 4. Click Add New. 5. Click OK to keep the default name. 82 Publication IASIMP-QS001B-EN-P - June 2007 Configure the ControlNet Driver Chapter 8 6. Enter an available ControlNet node address for the PCIC card. This example uses node addresses between 1 and 10 because it is a small ControlNet Network. 7. Click OK. The ControlNet driver is added to the Configured Drivers list. Publication IASIMP-QS001B-EN-P - June 2007 83 Chapter 8 Configure the ControlNet Driver 9. Click RSWho to view the driver. 10. Expand the driver to view the devices on your ControlNet network. The PanelView Plus terminal does not appear because you have not set the node address yet. The node address is set in Chapter 14. Additional Resources Resource Description ControlNet Modules in Logix5000 Control Systems, publication CNET-UM001 Provides details regarding the installation, configuration, and operation of ControlNet modules. 84 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 9 Configure the DeviceNet Network In this chapter, you configure the DeviceNet node address for the 1769-SDN module. You also create the RSNetWorx for DeviceNet file that stores network configuration. Before You Begin • Prepare the computer, see Chapter 2. • Install all hardware, see Chapters 1–6. • Connect the 1769-SDN module, the 1734-ADN adapter and the PowerFlex drives to a DeviceNet network. This example uses KwikLink right-angle male cables with sealed micro connectors connected to flat cable with terminator/resistors on each end. • Verify that power is applied to all devices. What You Need • Power supply and tap for the DeviceNet network This example uses the 1606-XLDNET8 and a KwikLink power tap module. • RSNetWorx for DeviceNet software 85Publication IASIMP-QS001B-EN-P - June 2007 85 Chapter 9 Configure the DeviceNet Network Follow These Steps If you have a DeviceNet network, complete these steps. Apply Power to the DeviceNet Network page 87 Set the 1769-SDN Module’s Node Address page 88 Create a DeviceNet Configuration File page 90 86 Publication IASIMP-QS001B-EN-P - June 2007 Configure the DeviceNet Network Chapter 9 Apply Power to the DeviceNet Network 1606-XLDNET8 power supply WARNING Verify that all incoming power is turned off before wiring power. 1. Connect incoming power to the power supply. Connect To V ac COM N (neutral) 120/240V ac L (line) 1606POWE XL R SUP PLY AC 120 V AC 240 V Ground Input 2. Place the switch in the position that matches your supply voltage. AC 10 0 -120/2 N L Iso 00-24 Outp 0V late p ower before discon nec DC o k ting 200W ut Limite d DC 24 V / 8A Power + – DC ok 3. Connect the DeviceNet power tap to the power supply. Connect To Red + White N/A Shield N/A Blue N/A Black – For this example, there is no need to connect the DC ok relay on the power supply to anything. 4. If you have unused DeviceNet wires, make sure they do not come into contact with the other wires. 5. Connect the DeviceNet power tap to the DeviceNet network. 6. Turn on incoming power. Publication IASIMP-QS001B-EN-P - June 2007 87 Chapter 9 Configure the DeviceNet Network Set the 1769-SDN Module’s Node Address 1. Launch RSNetWorx for DeviceNet software. 2. From the Tools menu, choose Node Commissioning. 3. Click Browse. 4. Under AB_DF1-1, expand the CompactLogix Backplane and the 1769 Bus. 5. Expand the 1769-SDN and the DeviceNet Port, and select the 1769-SDN. 6. Click OK. 88 Publication IASIMP-QS001B-EN-P - June 2007 Configure the DeviceNet Network Chapter 9 7. If you receive a linking device warning, click Yes. The Node Commissioning dialog is populated with the 1769-SDN module’s current settings. 8. Select an available node Address for the 1769-SDN module and click Apply. This example uses node address 1. The node address is applied and a confirmation is given in the Messages box. 9. Record the node address on the Network Worksheet. 10. Click Close. Publication IASIMP-QS001B-EN-P - June 2007 89 Chapter 9 Configure the DeviceNet Network Create a DeviceNet Configuration File 1. From the File menu, select New. 2. Select DeviceNet Configuration and click OK. 3. Click Who Active to go online. 4. Under AB_DF1-1, expand the CompactLogix Backplane and the 1769 Bus. 5. Expand the 1769-SDN and the DeviceNet Port. 6. Record the 1769-SDN module’s slot number on the Network Worksheet. In this example, the 1769-SDN module is in slot 6 of the 1769 Bus and is in node 1 on the DeviceNet network. slot 6 node 1 7. Select Port2, DeviceNet and click OK. 90 Publication IASIMP-QS001B-EN-P - June 2007 Configure the DeviceNet Network Chapter 9 8. Click OK. RSNetWorx software begins browsing the network. TIP Once all of the devices on your DeviceNet network appear, you can click Cancel. If your PowerFlex drive does not display, see Uploading an EDS File From a Drive, Knowledgebase ID 20539. 9. Right-click the 1769-SDN module and choose Properties. 10. Click the Module tab. 11. Click Download. This clears all configuration from the 1769-SDN module, synching the software with the device. Publication IASIMP-QS001B-EN-P - June 2007 91 Chapter 9 Configure the DeviceNet Network 12. From the Platform pull-down menu, select CompactLogix. 13. Enter the slot number of the 1769-SDN you recorded on the Network Worksheet. 14. Click OK. 15. Save the file and record the file name and path on the Network Worksheet. This quick start uses the example file name MainDNet.dnt 16. Close RSNetWorx for DeviceNet software. Additional Resources Resource Description DeviceNet Modules in Logix5000 Control Systems, publication DNET-UM004 Provides details regarding the installation, configuration, and operation of DeviceNet modules. Uploading an EDS File From a Drive, Knowledgebase ID 20539, http://www.rockwellautomation.com/knowled gebase/ Provides an explanation about uploading EDS files from drives. 92 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 10 Create a Project Using RSLogix 5000 Software In this chapter you create a project in RSLogix 5000. In the project you use ladder logic to create a push button that controls a light on a digital output module. This project is used in subsequent chapters to test communication with other devices. Before You Begin • Configure your network: – for an EtherNet/IP network, see Chapter 7 – for a ControlNet network, see Chapter 8 – for a DeviceNet network, see Chapter 9 What You Need • A CompactLogix I/O module with digital outputs, this example uses a 1769-OB16. • This example includes the following modules as well, but they are not required: 1769-IF4, 1769-IQ16, 1769-IF4XOF2, 1769-OF2. 93Publication IASIMP-QS001B-EN-P - June 2007 93 Chapter 10 Create a Project Using RSLogix 5000 Software Follow These Steps Complete these steps. Create a Project page 95 Configure the Controller page 97 Add Local I/O Modules page 99 Add Ladder Logic to Test the Local 1769 Compact I/O Modules page 100 Set the Communication Path and Download to the Controller page 103 Optional Complete if you have distributed I/O on the DeviceNet network. Add the 1769-SDN to the Project page 105 94 Publication IASIMP-QS001B-EN-P - June 2007 Create a Project Using RSLogix 5000 Software Chapter 10 Create a Project All controllers 1. Double-click the RSLogix 5000 software icon to launch the software. The Quick Start window displays in the RSLogix workspace. Navigation tabs for Quick Start, Learning Center, and Resource Center pages. The Quick Start pages provide useful links, tutorials, and tools you may choose to use at a later time. 2. Click New Project. Publication IASIMP-QS001B-EN-P - June 2007 95 Chapter 10 Create a Project Using RSLogix 5000 Software EtherNet/IP ControlNet 3. Choose your controller and revision number. 4. Enter a unique controller name. Serial 5. Click OK. 96 Publication IASIMP-QS001B-EN-P - June 2007 Create a Project Using RSLogix 5000 Software Chapter 10 Configure the Controller 1769-L32E or 1769-L35E controllers 1. Expand the I/O Configuration tree. 2. Right-click the Ethernet Port and select Properties. 3. Enter the controller’s IP address (recorded on the Network Worksheet) and click OK. Publication IASIMP-QS001B-EN-P - June 2007 97 Chapter 10 Create a Project Using RSLogix 5000 Software 1769-L32C or 1769-L35CR controllers 1. Expand the I/O Configuration tree. 2. Right-click the ControlNet Port and select Properties. 3. In the Node box, enter the controller’s node address and click OK. 1769-L31 controller No further configuration is needed as the default properties are sufficient for the examples in this quick start. 98 Publication IASIMP-QS001B-EN-P - June 2007 Create a Project Using RSLogix 5000 Software Chapter 10 Add Local I/O Modules All controllers 1. Right-click CompactBus Local and select New Module. 2. Select the leftmost I/O module in the 1769 CompactLogix chassis and click OK. 3. In the Name box, type a name and click OK. The module is added to the I/O Configuration. 4. Repeat steps 1–3 until all of your local I/O modules are added in order from left to right. Do not add the 1769-SDN module. It is added on page 105. Publication IASIMP-QS001B-EN-P - June 2007 99 Chapter 10 Create a Project Using RSLogix 5000 Software Add Ladder Logic to Test the Local 1769 Compact I/O Modules All controllers 1. Expand the Tasks folders and double-click MainRoutine. A blank MainRoutine opens. 2. From the Element Toolbar, drag and drop an Examine On and an Output Energize element onto the rung. 100 Publication IASIMP-QS001B-EN-P - June 2007 Create a Project Using RSLogix 5000 Software Chapter 10 3. Double-click the ? in the Examine On. 4. Type PB (for push button). 5. Press Enter. 6. Right-click PB and select New "PB". 7. Click OK to keep the defaults. Publication IASIMP-QS001B-EN-P - June 2007 101 Chapter 10 Create a Project Using RSLogix 5000 Software 8. Name the Output Energize xxxx_Light (where xxxx is the suffix of the catalog number of the 1769 Compact I/O digital output module). Important: Do not use spaces in the tag name. Use underscores (_) instead. 9. Right-click the xxxx_Light tag name and select New "xxxx_Light". xxxx_Light is an alias tag for the I/O point tag name. This lets you assign a simple name to a physical I/O point address. 10. From the Type pull-down menu, select Alias. 11. In the Alias For pull-down menu, browse to a local 1769 digital output module and select any bit. In this example, Local:5:O.Data.0 is used. 12. Click OK. 102 Publication IASIMP-QS001B-EN-P - June 2007 Create a Project Using RSLogix 5000 Software Chapter 10 Set the Communication Path and Download to the Controller All controllers 1. Save your changes. 2. Move the keyswitch on your controller to Program. 3. Click Who Active. EtherNet/IP 4. Expand the network tree. ControlNet 5. Select your controller and click Set Project Path. 6. Click Download. Serial Publication IASIMP-QS001B-EN-P - June 2007 103 Chapter 10 Create a Project Using RSLogix 5000 Software 7. Click Download. The project Path updates. EtherNet/IP ControlNet Serial 8. Move the keyswitch on your controller to Run. 9. Select the PB Examine On instruction and press Ctrl+T. This toggles the state from 0 to 1 (off to on). Off On 10. Verify that the LED indicator on the digital output module turns on. 11. Press Ctrl+T to toggle the state back to 0 (off). 12. Go Offline. 104 Publication IASIMP-QS001B-EN-P - June 2007 Create a Project Using RSLogix 5000 Software Chapter 10 Add the 1769-SDN to the Project DeviceNet only 1. Right-click CompactBus Local and select New Module. 2. Under Communications, select 1769-SDN with the series letter recorded on the Network Worksheet and click OK. 3. In the Name field, type a name for your SDN module. 4. In the Slot field, enter the Slot number. There can be a maximum of three modules between the 1769-SDN module and the power supply. 5. In the Input Size and Output Size fields, enter values to accommodate the input and output sizes of the modules in your system. This example uses 20. For more information about determining input and output sizes, see the DeviceNet Modules in Logix5000 Control Systems User Manual, publication DNET-UM004. 6. From the Electronic Keying pull-down, choose Disable Keying. 7. Check the Open Module Properties check box and click OK. Publication IASIMP-QS001B-EN-P - June 2007 105 Chapter 10 Create a Project Using RSLogix 5000 Software 8. On the RSNetWorx tab, click Browse to find the configuration (.dnt) file recorded on the Network Worksheet. Use the configuration file name you saved on page 92. This quick start uses MainDNet.dnt. 9. Click OK. The module is added to the I/O Configuration. Additional Resources Resource Description Provides details about creating and editing a program, communicating with modules, Logix5000 Controllers Common Procedures Programming Manual, publication 1756-PM001 and configuring modules. DeviceNet Modules in Logix5000 Control Systems, publication DNET-UM004 106 Provides details regarding the installation, configuration, and operation of DeviceNet modules. Publication IASIMP-QS001B-EN-P - June 2007 Chapter 11 Add Distributed I/O Modules to the Project In this chapter, you add distributed POINT I/O modules to your project using RSLogix 5000 software. You also add ladder logic and download the project to the controller so you can test communication with an I/O module. This project builds upon the program created in Chapter 10. Before You Begin • Prepare the POINT I/O hardware, see Chapter 3 • Create a project in RSLogix 5000 software, see Chapter 10 What You Need • A POINT I/O module with digital outputs, this example uses a 1734-OB4E • This example includes the following modules as well, but they are not required: 1734-IB4, 1734-OE2C • For an EtherNet/IP network, no additional software is required • For a ControlNet network, RSNetWorx for ControlNet software • For a DeviceNet network, RSNetWorx for DeviceNet software 107Publication IASIMP-QS001B-EN-P - June 2007 107 Chapter 11 Add Distributed I/O Modules to the Project Follow These Steps If you have distributed POINT I/O modules, complete these steps for your network. EtherNet/IP ControlNet Add Distributed I/O Modules page 109 Add Ladder Logic page 121 Download the Project page 128 Set the POINT I/O Chassis Size page 129 Test the Distributed I/O Light page 135 DeviceNet Add Distributed I/O Modules page 109 Add Ladder Logic page 121 Download the Project page 128 Set the POINT I/O Chassis Size page 129 Schedule the ControlNet Network page 131 Test the Distributed I/O Light Edit the DeviceNet Adapter Parameters page 112 Configure the DeviceNet Subnet page 114 Create a DeviceNet Scanlist page 118 Create DeviceNet Tags and Add Ladder Logic page 123 Download the Project page 128 Test the Distributed I/O Light page 135 page 135 108 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 Add Distributed I/O Modules EtherNet/IP and ControlNet only (for DeviceNet, skip to page 114) EtherNet/IP 1. Verify that your project is Offline. 2. Right-click the network port and select New Module. ControlNet EtherNet/IP 3. Select the 1734 POINT I/O network adapter and click OK. ControlNet For an EtherNet/IP network, select a 1734-AENT adapter. For a ControlNet network, select a 1734-ACNR adapter. Publication IASIMP-QS001B-EN-P - June 2007 109 Chapter 11 Add Distributed I/O Modules to the Project EtherNet/IP 4. Type a name for the adapter. 5. For an EtherNet/IP network, type the IP address. ControlNet For a ControlNet network, enter the adapter’s node number. Use the Network Worksheet located inside the backcove as a reference. 6. Select the Chassis Size (exact number of POINT I/O modules + 1 for the adapter). EtherNet/IP 7. Choose Disable Keying. 8. Uncheck the Open Module Properties checkbox and click OK. ControlNet The adapter is added to theI/O configuration. 9. Right-click the 1734 POINT network adapter module and select New Module. 110 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 10. Select the left-most POINT I/O module in your chassis and click OK. 11. Enter a name. 12. Uncheck the Open Module Properties checkbox and click OK. The module is added to the I/O Configuration. ControlNet Shown 13. Repeat steps 9–12 until all of your distributed I/O modules are added in order from left to right. 14. Record the adapter name and digital output module slot number on page 122. If you have added more than one digital output module, select the one you want to test in this project and record the name and slot number on page 122. Go to Add Ladder Logic on page 121. Publication IASIMP-QS001B-EN-P - June 2007 111 Chapter 11 Add Distributed I/O Modules to the Project Edit the DeviceNet Adapter Parameters DeviceNet only 1. Launch RSNetWorx for DeviceNet. 2. Open the main DeviceNet configuration file you saved and recorded on the Network Worksheet. 3. Click Who Active to go online. 4. If prompted, click OK. 5. Right-click the adapter and select Properties. 6. Select the Parameters tab. 7. Click Upload. 112 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 8. Set the AutoAddress Backplane parameter to 1. 9. Set the Auto Start Mode parameter to Map Data to DWord Boundaries. 10. Click Apply. 11. Click OK. 12. Click Save. Publication IASIMP-QS001B-EN-P - June 2007 113 Chapter 11 Add Distributed I/O Modules to the Project Configure the DeviceNet Subnet DeviceNet only 1. In RSNetWorx for DeviceNet, from the File menu, select New. 2. Select the DeviceNet Configuration file type. 3. Click OK. 4. Click Who Active to go online. 5. Expand the AB_DF1-1, DF1 network and select the DeviceNet Subnet, DeviceNet network. 6. Click OK. 114 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 7. Click OK. The modules on the subnet display. 8. From the Network menu, choose Upload from Network. 9. Click Yes. 10. Right-click the scanner and select Properties. Publication IASIMP-QS001B-EN-P - June 2007 115 Chapter 11 Add Distributed I/O Modules to the Project 11. Click the Device Bridging tab. 12. Click Associate File. 13. Select the main DeviceNet configuration file you recorded on the Network Worksheet. 14. Click Open. 15. Click OK. 16. Save the DeviceNet subnet configuration file. Name the file so it can be easily identified as the subnet. This quick start uses the name SubnetDNet.dnt. 17. Record the file name on the Network Worksheet located inside the backcover of this quick start. 18. In RSNetWorx software, from the File menu, choose Open. 116 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 19. Select your main DeviceNet file and click Open. 20. Right-click the POINT I/O adapter and celect Properties. 21. Click the Device Bridging tab. 22. Click Associate File. 23. Select the subnet configuration file you recorded on the Network Worksheet and click Open. 24. Click OK. 25. Save your main DeviceNet configuration file. Publication IASIMP-QS001B-EN-P - June 2007 117 Chapter 11 Add Distributed I/O Modules to the Project Create a DeviceNet Scanlist DeviceNet only (for EtherNet/IP and ControlNet, skip to page 121) 1. Select Network > Upload from Network. 2. Right-click the 1734-ADN adapter and select Properties. 3. Click the Parameters tab and verify that the parameters match the those shown. 4. Click OK. 5. Right-click the 1769-SDN module and select Properties. 118 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 6. Click the Scanlist tab. 7. Click Upload. The configuration is uploaded from the device. 8. Select the 1734-ADN adapter and move it to the Scanlist. 9. Click Edit I/O Parameters. 10. Verify that the I/O parameters match those shown. 11. Click OK. Publication IASIMP-QS001B-EN-P - June 2007 119 Chapter 11 Add Distributed I/O Modules to the Project 12. Verify that Automap on Add is checked and click Apply. 13. Click Yes. 14. Save the configuration file. You will use this file to Create DeviceNet Tags and Add Ladder Logic later in this chapter. 15. Close RSNetworx for DeviceNet software. 120 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 Add Ladder Logic EtherNet/IP and ControlNet only (for a DeviceNet, go to page 123) 1. In RSLogix 5000 software, drag and drop a Branch onto the rung. 2. Expand the branch to the right side of the xxxx_Light. 3. Drag and drop another Output Energize element onto the Branch and name it xxxx_Light (where xxxx is the suffix of the catalog number of the digital 1734 POINT output module). Publication IASIMP-QS001B-EN-P - June 2007 121 Chapter 11 Add Distributed I/O Modules to the Project 4. Right-click the Light and select New "xxxx_Light". EtherNet/IP shown 5. From the Type pull-down, choose Alias. 6. From the Alias For pull-down menu, browse to find the addresses recorded below. For Select This Address Example From EtherNet/IP _______:O.Data[__].__ my_AENT:O.Data[2].0 Step 14 on page 111 adapter name ControlNet output any module bit slot # _______:O.Data[__].__ adapter name My_ACNR:O.Data[2].0 Step 14 on page 111 output any module bit slot # 7. Click OK. Go to page 128 to Download the Project. 122 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 Create DeviceNet Tags and Add Ladder Logic DeviceNet network only IMPORTANT Before running the DeviceNet Tag Generator, verify that RSNetWorx for DeviceNet software is closed. 1. In RSLogix 5000 software, from the Tools menu, choose DeviceNet Tag Generator. 2. Select your RSLogix 5000 project. 3. Click Select Scanner. 4. Select the 1769-SDN scanner that scans the network where the drive is located. 5. Click Select RSNetWorx Project. 6. Select main DeviceNet configuration file recorded on the Network Worksheet. 7. Click Select Scanner Node. Publication IASIMP-QS001B-EN-P - June 2007 123 Chapter 11 Add Distributed I/O Modules to the Project 8. Select the node of the 1769-SDN scanner as recorded on the Network Worksheet. 9. Click Generate Tags. 10. Click Generate Tags. 11. Click Yes. When tag generation is complete, the text log displays. 12. Close the DeviceNet Tag Generator. Note that new programs and tags have been added to the controller organizer. These tasks were created by the Tag Generator. 12. In the controller organizer, select MainProgram > MainRoutine. 124 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 13. Drag and drop a Branch instruction into the first rung. 14. Expand the Branch to the right side of the xxxx_Light. 15. Drag and drop another Output Energize element onto the Branch and name it xxxx_Light (where xxxx is the suffix of the catalog number of the digital 1734 POINT output module). 16. Right-click the Light and select New "xxxx_Light". Publication IASIMP-QS001B-EN-P - June 2007 125 Chapter 11 Add Distributed I/O Modules to the Project 17. Right-click the Light and select New "xxxx_Light". 18. From the Type pull-down menu, choose Alias. 19. From the Alias For pull-down menu, browse to find SDN output data tags. 20. Select the ouput data tag that corresponds to the LED indicator you want to turn on. Use this diagram as a reference when selecting your output tag. SDN Module Name Node Number For example, selecting the tag that ends with O.Data.0 will turn on light 0 of the output module. Connection Type Slot Number Channel Tag Type 21. Click OK. 126 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 22. Add another Rung with an Output Energize element. 23. Double-click the ? and select the tag Local:X:O.CommandRegister. Run where X is the slot of the 1769-SDN module (recorded on the Network Worksheet). Programming this bit changes the 1769-SDN module from IDLE mode to Run mode. Publication IASIMP-QS001B-EN-P - June 2007 127 Chapter 11 Add Distributed I/O Modules to the Project Download the Project EtherNet/IP, ControlNet, and DeviceNet 1. Save your changes. 2. Move the keyswitch on your controller to Program. 3. Click the Controller Status icon and select Download. 4. Click Download. If you have no loads wired to your distributed output modules, the red status LEDs indicators may start blinking. If you are using ControlNet or EtherNet networks, after you download to the controller, the 1734 modules show faults. Continue with Set the POINT I/O Chassis Size on page 129. If you are using DeviceNet, skip to Test the Distributed I/O Light on page 135. 128 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 Set the POINT I/O Chassis Size ControlNet and EtherNet (DeviceNet networks, skip to page 135) 1. Right-click the 1734-ACNR and select Properties. 2. Click the Chassis Size tab. If the both the chassis sizes match, skip to step 1 on page 131. If the numbers do not match, take the following action. 3. On the Connection tab, check the Inhibit Module checkbox and click Apply. 4. Click Yes. 5. On the Chassis size tab, click Set Chassis Size in Module. 6. Click OK at the warning. The Module chassis size updates. Publication IASIMP-QS001B-EN-P - June 2007 129 Chapter 11 Add Distributed I/O Modules to the Project 7. On the Connection Tab, uncheck the Inhibit Module checkbox and click OK. 8. Click Yes. 7. On the Connection Tab, uncheck the Inhibit Module checkbox and click OK. 8. Click Yes. You have set the POINT I/O chassis size. 9. Click Save. For ControlNet, go to Schedule the ControlNet Network on page 131. For EtherNet, skip to Test the Distributed I/O Light on page 135. 130 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 Schedule the ControlNet Network ControlNet only (For EtherNet or DeviceNet, skip to page 135.) 1. Right-click the ControlNet Port and select Properties. 2. On the RSNetWorx tab, enter a new ControlNet file name and click Apply. 3. Click Yes. 4. Click Yes. Publication IASIMP-QS001B-EN-P - June 2007 131 Chapter 11 Add Distributed I/O Modules to the Project 5. Select Schedule the ControlNet network. 6. Click the RSNetWorx icon. RSNetWorx for ControlNet launches. 7. Verify that Use offline data (download) is selected and click OK. RSNetWorx browses the network. 8. If prompted, select Optimize and click OK. RSNetWorx for ControlNet software browses the network again. 132 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 9. Check the Edits Enabled checkbox. 10. From the Network menu, choose Properties. 11. In the Pending column, select a Max Scheduled Address and Max Unscheduled Address that are equal to the largest node addresses in your system. This example uses 6. 12. Click OK. Publication IASIMP-QS001B-EN-P - June 2007 133 Chapter 11 Add Distributed I/O Modules to the Project 13. Save your changes. 14. Click OK. 15. Click Yes. RSNetWorx for ControlNet software browses the network again. This time fewer node addresses are browsed because of the smaller Max Unscheduled Address. 134 Publication IASIMP-QS001B-EN-P - June 2007 Add Distributed I/O Modules to the Project Chapter 11 Test the Distributed I/O Light EtherNet/IP, ControlNet, and DeviceNet 1. Move the keyswitch on your controller to RUN. 2. Select the PB and press Ctrl+T. This toggles the state from 0 to 1 (off to on). Off ControlNet Shown On 3. Verify that the light on both the local and distributed digital output modules turn on. 4. Press Ctrl+T to toggle the state back to 0 (off). 5. Select Go Offline. Publication IASIMP-QS001B-EN-P - June 2007 135 Chapter 11 Add Distributed I/O Modules to the Project Additional Resources Resource Description Provides details about adding and configuring modules, establishing communication, ControlLogix Controllers Common Procedures Programming Manual, publication 1756-PM001 and writing ladder logic. DeviceNet Modules in Logix5000 Control Systems, publication DNET-UM004 Provides details about creating scanlists as well as other DeviceNet-specific application information. ControlNet Modules in Logix5000 Control Systems, publication CNET-UM001 Provides details about configuring and scheduling theControlNet modules. 136 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 12 Create a PowerFlex 70 Application In this chapter, you configure a PowerFlex 70 drive and add the drive to the RSLogix 5000 project created in Chapter 10. You also download the project to the controller so you can test communication with the drive. Before You Begin • Prepare the PowerFlex 70 drive and network adapter, see Chapter 4 • Create a project using RSLogix 5000 software, see Chapter 10 What You Need • For an EtherNet/IP network, no additional software is needed • For a ControlNet network, RSNetWorx for ControlNet software • For a DeviceNet network, RSNetWorx for DeviceNet software 137Publication IASIMP-QS001B-EN-P - June 2007 137 Chapter 12 Create a PowerFlex 70 Application Follow These Steps If you have a PowerFlex 70 drive, complete these steps for your network: EtherNet/IP ControlNet Add the Drive to Your RSLogix 5000 Project and Connect to the Drive page 139 Edit the Drive Parameters page 143 Download the Project page 150 Test the PowerFlex 70 Tags page 155 DeviceNet Add the Drive to Your RSLogix 5000 Project and Connect to the Drive page 139 Edit the Drive Parameters Create a DeviceNet Scanlist page 144 Create DeviceNet Tags page 148 page 143 Download the Project Download the Project page 150 page 150 Schedule the ControlNet Network page 151 Test the PowerFlex 70 Tags page 157 Schedule the ControlNet Network page 151 Test the PowerFlex 70 Tags page 155 138 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 Add the Drive to Your RSLogix 5000 Project and Connect to the Drive Ethernet/IP and ControlNet only (for a DeviceNet, skip to page 144) 1. Move the controller keyswitch to PROG and go offline. 2. In the RSLogix 5000 software, right-click the controller network port and select New Module. EtherNet/IP ControlNet 3. Expand Drives. EtherNet/IP 4. Select the PowerFlex 70-x and click OK. ControlNet Publication IASIMP-QS001B-EN-P - June 2007 139 Chapter 12 Create a PowerFlex 70 Application EtherNet/IP 5. Enter a Name and IP Address (EtherNet/IP) or Node number (ControlNet). ControlNet 6. Click OK. EtherNet/IP 7. Click Change ... 8. From the Electronic Keying pull-down menu, select Disable Keying. 9. Click OK. EtherNet/IP The PowerFlex 70 is added to the controller organizer under the network port. ControlNet 10. Click Save. 11. Download and put the controller in Remote Run mode. 140 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 12. Right-click the PowerFlex 70 drive and select Properties. 13. Click the Drive tab. 14. Click Connect to Drive. 15. Select the PowerFlex 70 drive and click OK. EtherNet/IP ControlNet 16. Click Download. Publication IASIMP-QS001B-EN-P - June 2007 141 Chapter 12 Create a PowerFlex 70 Application A drive database is created. After the download and drive database creation is complete, the drive status will change to connected. Once the drive is connected, go to Edit the Drive Parameters on page 143. 142 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 Edit the Drive Parameters EtherNet/IP and ControlNet only (for a DeviceNet, skip to page 144) 1. In the drive organizer, double-click Parameter List. 2. From the Parameter Goup pull-down menu, select Speed Command > Speed References. 3. At parameter 90, enter DPI Port 5 in the Value column. Setting this parameter configures drive to use the speed reference from the network. 4. Click OK. The parameters are loaded to the drive. 5. Close the PowerFlex 70 Properties dialog. If you are using a EtherNet network, go to Test the PowerFlex 70 Tags on page 155. If you are using ControlNet, go to Schedule the ControlNet Network on page 151. Publication IASIMP-QS001B-EN-P - June 2007 143 Chapter 12 Create a PowerFlex 70 Application Create a DeviceNet Scanlist DeviceNet only 1. Move the controller keyswitch to PROG and go offline. 2. In RSLogix controller organizer, right-click the 1769-SDN and select Properties. 3. On the RSNetWorx tab, click the RSNetWorx icon. 4. In RSNetWorx for DeviceNet, click Who Active to go online. 5. Click OK. If the drive does not display or displays with an error regarding the EDS file, see Knowledgebase article 20539. 6. Right-click the PowerFlex 70 drive and select Download to Device. 7. Click Yes. The configuration is downloaded to the PowerFlex 70 drive. 144 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 8. Right-click the PowerFlex 70 drive and select Properties. 9. Select the Parameters tab. 10. Change 61, Autotune, to Ready. 11. Change 90, Speed Ref A Sel, to DPI Port 5. Setting this parameter configures drive to use the speed reference from the network. 12. Click OK. Publication IASIMP-QS001B-EN-P - June 2007 145 Chapter 12 Create a PowerFlex 70 Application 13. Click Yes. The configuration is downloaded to the PowerFlex 70 drive. 14. Right-click the 1769-SDN scanner and select Properties. 15. Select the Scanlist tab. 16. Click Upload. The configuration is uploaded from the 1769-SDN scanner. 146 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 17. Select the PowerFlex 70 drive and move it to the Scanlist. 18. Verify that Automap on Add is checked and click Apply. 19. Click Yes to download. 20. Save your file. 21. Close RSNetWorx for DeviceNet. Publication IASIMP-QS001B-EN-P - June 2007 147 Chapter 12 Create a PowerFlex 70 Application Create DeviceNet Tags DeviceNet only 1. Switch the controller to Program Mode. IMPORTANT Before running the DeviceNet Tag Generator, verify that RSNetWorx for DeviceNet software is closed. 2. In RSLogix 5000 software, from the Tools menu, choose DeviceNet Tag Generator. 3. Select the RSLogix 5000 project you are creating tags for. 4. Click Select Scanner. 5. Select the 1769-SDN scanner that scans the network where the drive is located. 6. Click Select RSNetWorx Project. 7. Select DeviceNet configuration file recorded on the Network Worksheet. 8. Click Select Scanner Node. 148 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 9. Select the node of the 1769-SDN scanner as recorded on the Network Worksheet. 10. Click Generate Tags. 11. Click Generate Tags. 12. Click Yes. When tag generation is complete, the text log displays. 13. Close the DeviceNet Tag Generator. Publication IASIMP-QS001B-EN-P - June 2007 149 Chapter 12 Create a PowerFlex 70 Application Download the Project DeviceNet only TIP If you receive a fault message on your PowerFlex 70 drive display, press on the keypad to clear the fault. 1. If you have not already done so, move the keyswitch on your controller to PROG. 2. Click the Controller Status icon and select Download. 3. Click Download. The project downloads to the controller. If you are using a DeviceNet network, go to Test the PowerFlex 70 Tags on page 157. 150 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 Schedule the ControlNet Network ControlNet only (for Ethernet/IP, skip to page 155; for DeviceNet, skip to page 157) 1. Right-click the ControlNet Port and select Properties. 2. On the RSNetWorx tab, enter a new ControlNet file name and click Apply. 3. Click Yes. 4. Click Yes. Publication IASIMP-QS001B-EN-P - June 2007 151 Chapter 12 Create a PowerFlex 70 Application 5. Select Schedule the ControlNet network. 6. Click the RSNetWorx icon. RSNetWorx for ControlNet software launches. 7. Verify that Use offline data (download) is selected and click OK. RSNetWorx browses the network. 8. If prompted, select Optimize and click OK. RSNetWorx browses the network again. 152 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 9. Check the Enable Edits checkbox. 10. From the Network menu, choose Properties. 11. In the Pending column, select a Max Scheduled Address and Max Unscheduled Address that are equal to the largest node addresses in your system. 12. Click OK. Publication IASIMP-QS001B-EN-P - June 2007 153 Chapter 12 Create a PowerFlex 70 Application 13. Save your changes. 14. Click OK. 15. Click Yes. RSNetWorx browses the network again. This time fewer node addresses are browsed because of the smaller Max Unscheduled Address. 154 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 Test the PowerFlex 70 Tags Ethernet/IP and ControlNet only (for DeviceNet, skip to page 157) TIP To change a tag in RSLogix: 1. Select the tag value. 2. Enter or select the desired value. 3. Press Enter. 1. Move the controller keyswitch to RUN. 2. Double-click Controller Tags. 3. Locate and expand the PowerFlex 70 output tag. 4. Change the ClearFault tag to 1 to clear any initial faults. 5. Change the ClearFault tag back to 0. Publication IASIMP-QS001B-EN-P - June 2007 155 Chapter 12 Create a PowerFlex 70 Application 6. Verify that the I.Ready tag value is 1. This tag indicates that the drive is ready to start. 7. Change the O.CommandedFreq tag to 15000 engineering units (this is approximately 59.5 Hz). WARNING EU 32767 -------- = --------------Hz 130 If there is a motor attached to your drive, completing the next step will cause it to turn. 8. Change the Start tag to 1. The display on the drive registers the speed increase in Hz until the value entered at the reference tag is reached. 9. Change the Start tag back to 0. 10. Change the Stop tag to 1. The display on the drive will show a speed decrease until the drive reaches 0.00 Hz. 11. Change the Stop tag from 1 to 0. 12. Go Offline. By starting and stopping the drive, you verified that: • the controller is correctly communicating with the drive. • the drive can receive simple commands. 156 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 Test the PowerFlex 70 Tags TIP To change a tag in RSLogix: 1. Select the tag value. 2. Enter or select the desired value. 3. Press Enter. DeviceNet only (to complete this step for Ethernet or ControlNet, see page 155) 1. Move the controller keyswitch to RUN. 2. In the controller organizer, double-click Controller Tags. If you have added distributed I/O to your project in Chapter 11, skip to step 4. 3. Change the tag O.CommandRegister.Run tag to 1. This changes the 1769-SDN scanner to Run mode. 4. At the tag O.Reference, change the value to 15000 engineering units (this is approximately 59.5 Hz). This is the speed your drive will accelerate to and is determined using the equation shown. Publication IASIMP-QS001B-EN-P - June 2007 PowerFlex 70 tags are identified in the description column. EU -------- = 32767 --------------Hz 130 157 Chapter 12 Create a PowerFlex 70 Application 5. Expand the output tags for the PowerFlex 70. WARNING If there is a motor attached to your drive, completing the next step will make it turn. 6. At the O.Start tag, enter 1. The display on the drive registers the speed increase in Hz until the value entered at the reference tag is reached. 7. Change the Start tag back to 0. 8. Change the Stop tag to 1. The display on the drive will show a speed decrease until the drive reaches 0.00 Hz. 9. Change the Stop tag back to 0. 10. Select Go Offline. 158 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 70 Application Chapter 12 By starting and stopping the drive, you verified that: • The controller is correctly communicating with the drive. • The drive can receive simple commands. Additional Resources Resource Topic DevieNet Modules in Logix5000 Control Systems, publication DNET-UM004 Describes common procedures and troubleshooting tasks related to DeviceNet networks. Logix5000 Controllers Common Procedures Programming Manual, publication 1756-PM001 Provides details about adding and configuring modules, establishing communication, and writing ladder logic. PowerFlex 70 Adjustable Frequency AC Drive User Manual, publication 20A-UM001 Provides information about installing, programming, editing parameters, and troubleshooting the PowerFlex 70 drive. PowerFlex 70 EtherNet/IP Adapter User Manual, publication 20COMM-UM010 Provides process for installing, configuring, and troubleshooting the adapter. PowerFlex 70 ControlNet Adapter User Manual, publication 20COMM-UM003 Provides process for installing, configuring, and troubleshooting the adapter. PowerFlex 70 DeviceNet Adapter User Manual, publication 20COMM-UM002 Provides process for installing, configuring, and troubleshooting the adapter. Knowledgebase article ID 20539 at http://support.rockwellautomation.com/ Provides details about uploading EDS files from the drive. Publication IASIMP-QS001B-EN-P - June 2007 159 Chapter 12 Create a PowerFlex 70 Application Notes: 160 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 13 Create a PowerFlex 40 Application In this chapter, you configure a PowerFlex 40 drive using with the drive keypad and add the drive to your project using RSLogix 5000 software. You also download the project to the controller so you can test communication with the drive. This project builds upon the project created in Chapter 10. Before You Begin • Prepare the PowerFlex 40 drive and network adapter, see Chapter 5 • Create a project using RSLogix 5000 software, see Chapter 10 What You Need • For an EtherNet/IP network, no additional software is needed • For ControlNet, RSNetWorx for ControlNet software • For DeviceNet, RSNetWorx for DeviceNet software 161Publication IASIMP-QS001B-EN-P - June 2007 161 Chapter 13 Create a PowerFlex 40 Application Follow These Steps If you have a PowerFlex 40 drive, complete these steps for your network. EtherNet/IP ControlNet Add the Drive to Your RSLogix 5000 Project page 163 Download the Project page 170 Edit PowerFlex 40 Parameter Values page 175 Test the PowerFlex 40 Tags page 175 DeviceNet Add the Drive to Your RSLogix 5000 Project page 163 Download the Project page 170 Schedule the ControlNet Network page 171 Edit PowerFlex 40 Parameter Values page 175 Test the PowerFlex 40 Tags page 175 162 Create a DeviceNet Scanlist page 165 Create DeviceNet Tags page 168 Download the Project page 170 Edit PowerFlex 40 Parameter Values page 175 Test the PowerFlex 40 Tags page 179 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 Add the Drive to Your RSLogix 5000 Project EtherNet/IP and ControlNet networks only (for a DeviceNet network, skip to page 165) EtherNet/IP 1. Right-click your network port and select New Module. ControlNet 2. Expand Drives. 3. Select the PowerFlex 40-x. EtherNet/IP ControlNet Publication IASIMP-QS001B-EN-P - June 2007 163 Chapter 13 Create a PowerFlex 40 Application EtherNet/IP 4. In the Name field, type a name for the drive. 5. Enter an IP Address (Ethernet network) or Node number (ControlNet network) for the PowerFlex 40 drive. ControlNet 6. Click Change. 7. From the Electronic Keying pull-down menu, select Disable Keying. 8. Click OK. 9. Click OK again. The PowerFlex 40 is added to the contoller organizer. EtherNet/IP ControlNet For EtherNet/IP and ControlNet, skip to Download the Project on page 170. 164 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 Create a DeviceNet Scanlist DeviceNet only 1. Move the controller keyswitch to PROG. 2. In the RSLogix 5000 software, right-click the 1769-SDN and select Properties. 3. If RSNetWorx for DeviceNet is open, skip to step 3. If RSNetWorx for DeviceNet is not open: a. In RSLogix 5000, right-click the 1769-SDN and select Properties. b.On the RSNetWorx tab, click the RSNetWorx button. 3. Click Who Active to go online. 4. Click OK. 5. Right-click the PowerFlex 40 and select Download to Device. Publication IASIMP-QS001B-EN-P - June 2007 165 Chapter 13 Create a PowerFlex 40 Application 6. Click Yes. The configuration downloads to the PowerFlex 40. 7. Right-click the 1769-SDN and select Properties. 8. Click the Scanlist tab. 9. Click Upload. 166 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 10. Select the PowerFlex 40 drive and move it to the Scanlist. 11. Verify that Automap on Add is checked and click Apply. 12. Click Yes. 13. Click OK. 14. Save your file. 15. Close RSNetWorx for DeviceNet software. Publication IASIMP-QS001B-EN-P - June 2007 167 Chapter 13 Create a PowerFlex 40 Application Create DeviceNet Tags DeviceNet only (to complete this step for EtherNet/IP or ControlNet, see page 163) IMPORTANT Before running the DeviceNet Tag Generator, verify that RSNetWorx for DeviceNet software is closed. 1. In RSLogix 5000 software, from the Tools menu, choose DeviceNet Tag Generator. 2. Select the RSLogix 5000 project. 3. Click Select Scanner. 4. Select the 1769-SDN scanner that scans the network where the drive is located. 5. Click Select RSNetWorx Project. 6. Select DeviceNet configuration file recorded on the Network Worksheet. 7. Click Select Scanner Node. 168 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 8. Select the node of the 1769-SDN module as recorded on the Network Worksheet. 9. Click Generate Tags. 10. Click Generate Tags. 11. Click Yes. When tag generation is complete, the text log displays. 12. Close the DeviceNet Tag Generator. Publication IASIMP-QS001B-EN-P - June 2007 169 Chapter 13 Create a PowerFlex 40 Application Download the Project EtherNet/IP, ControlNet, and DeviceNet TIP If you receive a fault message on your PowerFlex 40, press to clear the fault. on the keypad 1. If you have not already done so, move the keyswitch on your controller to PROG. 2. Click the Controller Status icon and select Download. 3. Click Download. The project downloads to the controller. If you are using EtherNet/IP or DeviceNet networks, skip to Edit PowerFlex 40 Parameter Values on page 175. If you are using ControlNet continue with Schedule the ControlNet Network on page 171. 170 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 Schedule the ControlNet Network ControlNet only (for EtherNet/IP and DeviceNet, skip to page 175) 1. Right-click the ControlNet Port and select Properties. 2. On the RSNetWorx tab, enter a new ControlNet file name and click Apply. 3. Click Yes. 4. Click Yes. Publication IASIMP-QS001B-EN-P - June 2007 171 Chapter 13 Create a PowerFlex 40 Application 5. Select Schedule the ControlNet network. 6. Click the RSNetWorx icon. RSNetWorx for ControlNet launches. 7. Verify that Use offline data (download) is selected and click OK. RSNetWorx browses the network. 8. If prompted, select Optimize and click OK. RSNetWorx browses the network again. 9. Check the Enable Edits checkbox. 172 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 10. Select Network > Properties. 11. In the Pending column, select a Max Scheduled Address and Max Unscheduled Address that are equal to the largest node addresses in your system. 12. Click OK. 13. Save your changes. Publication IASIMP-QS001B-EN-P - June 2007 173 Chapter 13 Create a PowerFlex 40 Application 14. Click OK. 15. Click Yes. RSNetWorx software browses the network again. This time fewer node addresses are browsed because of the smaller Max Unscheduled Address. 174 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 Edit PowerFlex 40 Parameter Values TIP Use the table below as a reference when editing parameter values as instructed on page 176. When power is first applied to the PowerFlex 40 drive, the display defaults to the current value. Reference for Editing Parameters Step Displayed 1. Press . The parameter number is displayed and blinks. 2. Press to select the group letter. The group letter blinks. 3. Press or or FAULT VOLTS AMPS HERTZ PROGRAM FAULT VOLTS AMPS HERTZ PROGRAM FAULT to scroll through the parameter numbers. 6. Press to select the desired parameter number. The parameter value is displayed. 7. Press or to scroll through the parameter values. The values blink as you scroll through them. 8. Press to select the desired parameter value. The parameter stops blinking. 9. Press PROGRAM to scroll through the group letters. 4. Press to select the desired group letter. The parameter number blinks. 5. Press VOLTS AMPS HERTZ VOLTS AMPS HERTZ PROGRAM FAULT VOLTS AMPS HERTZ PROGRAM FAULT VOLTS AMPS HERTZ PROGRAM FAULT VOLTS AMPS HERTZ to return to the parameter number. PROGRAM FAULT 10.Follow this procedure to change other parameter values, or press Publication IASIMP-QS001B-EN-P - June 2007 repeatedly to return to the value display. VOLTS AMPS HERTZ PROGRAM FAULT 175 Chapter 13 Create a PowerFlex 40 Application EtherNet/IP, ControlNet, and DeviceNet Use the reference on page 175 to make the following parameter value edits on your PowerFlex 40. 1. If your PowerFlex 40 has been previously used, reset it to factory defaults. a. Change the value of parameter P041 from 0 to 1. The drive is reset and fault F048 is displayed and blinks. b.Press c. Press to clear the fault. to return to editing parameters. 2. Change the value of parameters P036 and P038 from 0 to 5. Changing these parameters switch control the Start Source and the Speed Reference from the keypad to the communication port, giving you the ability to control these functions from the RSLogix 5000 tags. 3. Press to accept parameter edits. For EtherNet and ControlNet networks, go to Test the PowerFlex 40 Tags on page 177. For a DeviceNet network, go to Test the PowerFlex 40 Tags on page 179. 176 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 Test the PowerFlex 40 Tags EtherNet/IP and ControlNet only (for a DeviceNet network, skip to page 179) TIP To change a tag in RSLogix: 1. Select the tag value. 2. Enter or select the desired value. 3. Press <Enter>. 1. Move the controller keyswitch to RUN. 2. Double-click Controller Tags. 3. Expand the PowerFlex 40 output tag. 4. At the O.FreqCommand Tag, enter 555. The value 555 equals 55.5 Hz. Publication IASIMP-QS001B-EN-P - June 2007 177 Chapter 13 Create a PowerFlex 40 Application WARNING If there is a motor attached to your drive, completing the next step will cause it to turn. 4. At the O.Start tag, enter 1. The drive begins to run and the display will register the drive’s speed until it reaches 55.5 Hz. 5. After the drive has reached 55.5 Hz, enter 0 at the O.Start tag. 6. At the O.Stop tag, enter 1. The drive begins to slow until reaching 0.0 Hz. 7. When the drive reaches 0.0 Hz, enter 0 at the O.Stop tag. 8. Select Go Offline. By starting and stopping the drive, you verified that: • the controller is correctly communicating with the drive. • the drive can receive simple commands. If you are using EtherNet/IP or ControlNet, you are done configuring the PowerFlex 40 drive and you can continue with the next chapter; or see page 181 for more information. 178 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 Test the PowerFlex 40 Tags TIP To change a tag in RSLogix: 1. Select the tag value. 2. Enter or select the desired value. 3. Press <Enter>. DeviceNet network only (to complete this step on EtherNet/IP or ControlNet networks, see page 177) 1. Move the controller keyswitch to RUN. 2. In the configuration tree, double-click Controller Tags. If you have added distributed I/O to your project in Chapter 11, skip to step 4. 3. Change the tag O.CommandRegister.Run tag to 1. This changes the 1769-SDN to Run mode. 4. At the tag O.Reference, enter the value 555. The value 555 equals 55.5 Hz. This is the speed to which your your drive will accelerate. Publication IASIMP-QS001B-EN-P - June 2007 PowerFlex 40 tags are identified in the description column. 179 Chapter 13 Create a PowerFlex 40 Application 5. Expand the PowerFlex 40 output tag. WARNING If there is a motor attached to your drive, completing the next step will make it turn. 6. At the O.Start tag, enter 1. The display on the drive registers the speed increase in Hz 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 will show a speed decrease until the drive reaches 0.00 Hz. 9. Change the Stop tag back to 0. 10. Select Go Offline. 180 Publication IASIMP-QS001B-EN-P - June 2007 Create a PowerFlex 40 Application Chapter 13 By starting and stopping the drive, you verified: • the controller is correctly communicating with the drive. • the drive can receive simple commands. Additional Resources Resource Topic DeviceNet Modules in Logix5000 Control Systems, publication DNET-UM004 Describes common procedures and troubleshooting tasks related to DeviceNet networks. Logix5000 Controllers Common Procedures Programming Manual, publication 1756-PM001 Provides details about adding and configuring modules, establishing communication, and writing ladder logic. PowerFlex 40 Adjustable Frequency AC Drive User Manual, publication 22B-UM001 Provides information about installing, programming, editing parameters, and troubleshooting the PowerFlex 70 drive. PowerFlex 70 EtherNet/IP Adapter User Manual, publication 22COMM-UM004 Provides process for installing, configuring, and troubleshooting the adapter. PowerFlex 70 ControlNet Adapter User Manual, publication 22COMM-UM006 Provides process for installing, configuring, and troubleshooting the adapter. PowerFlex 70 DeviceNet Adapter User Manual, publication 20COMM-UM003 Provides process for installing, configuring, and troubleshooting the adapter. Publication IASIMP-QS001B-EN-P - June 2007 181 Chapter 13 Create a PowerFlex 40 Application Notes: 182 Publication IASIMP-QS001B-EN-P - June 2007 Chapter 14 Create a PanelView Plus Application In Chapter 10, you used ladder logic in the RSLogix 5000 software to create a push button that controlled an LED indicator on a digital output module. In this chapter you create a push button and a multi-state indicator in RSView that use that ladder logic. You also transfer the application to the PanelView Plus so you can test communication with the controller. Before You Begin • Prepare the PanelView Plus, see Chapter 6 • Create a project in RSLogix 5000, see Chapter 10 What You Need • RSView Studio Machine Edition software 183Publication IASIMP-QS001B-EN-P - June 2007 183 Chapter 14 Create a PanelView Plus Application Follow These Steps If you have a PanelView Plus terminal, complete these steps. Create a New Application page 185 Create an RSLinx Enterprise Configuration in RSView ME page 186 Create Device Shortcuts to the Controller page 188 Create the OB16_Light Indicator page 196 Create a Push Button page 199 Test the Indicator and Push Button page 201 Add a Goto Configuration Mode Button Assign Keys page 204 Assign an Initial Screen page 205 Transfer to the PanelView Plus page 206 Test the Application on the PanelView Plus page 208 page 203 184 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 Create a New Application All controllers 1. Launch RSView Studio software. 2. If prompted, select Machine Edition and click Continue. 3. Select the New tab. 4. In the Application Name field, type a name (do not use spaces) and click Create. Publication IASIMP-QS001B-EN-P - June 2007 185 Chapter 14 Create a PanelView Plus Application Create an RSLinx Enterprise Configuration in RSView ME All controllers 1. In the RSView Studio organizer, expand RSLinx Enterprise and double-click Communication Setup. 2. Click Finish. RSLinx Enterprise opens. 186 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 The Local tab defines the path from the computer to the controller. The Target tab defines the path from the PanelView Plus terminal to the controller. Local Computer Target Controller The computer needs to communicate with the controller when you are in Test Run mode. This path is defined on the Local tab. Publication IASIMP-QS001B-EN-P - June 2007 Terminal The PanelView Plus terminal also needs to communicate with the controller, but that is sometimes a different path. This path is defined on the Target tab. 187 Chapter 14 Create a PanelView Plus Application Create Device Shortcuts to the Controller 1769-L32E or 1769-L35E controllers (for a 1769-L32C or 1769-L35CR controllers, skip to page 190; for a 1769-L31 controller, skip to page 193) 1. Expand the EtherNet/IP tree, select your controller and click Add. 2. Type a shortcut name (do not use spaces) and click Apply. 188 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 3. Click Copy. 4. Click Yes. 5. Select the Target tab to view the path from the PanelView Plus terminal to the controller. 6. Click the shortcut and verify that your contoller is highlighted. 7. Click OK. 8. Skip to Create the OB16_Light Indicator on page 196. Publication IASIMP-QS001B-EN-P - June 2007 189 Chapter 14 Create a PanelView Plus Application 1769-L32C or 1769-L35CR controllers (to complete this step on the 1769-L32E or 1769-L35E controllers, see page 188; for a 1769-L31 controller, skip to page 193) 1. Right-click RSLinx Enterprise and select Add Driver. 2. Select the 1784-PCIC(S) driver and click OK. 3. Define the properties for the ControlNet card. a. Keep the default Name to represent the card in the computer. b.Select an available ControlNet node Address for the card in the computer. c. Select any Slot number other than 0 (which is reserved). The slot number does not matter, so any number other than 0 works. d.Click OK. 5. Expand the Backplane tree, select your controller and click Add. 190 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 6. Enter a shortcut name (do not use spaces) and click Apply. 7. Click Copy. 8. Click Yes. 9. Select the Target tab to view the path from the PanelView Plus terminal to the controller. 10. Click the shortcut and verify that your controller is highlighted. Publication IASIMP-QS001B-EN-P - June 2007 191 Chapter 14 Create a PanelView Plus Application 11. Right-click the 1784-PCIC(S) driver and select Properties. 12. Change the Name to represent the ControlNet adapter on your PanelView Plus. 13. Assign an unused ControlNet node Address. to the ControlNet communication module on the PanelView Plus. 14. Change the Slot to 01. 15. Click OK. The name of the ControlNet adapter updates. 16. Click OK. 17. Skip to Create the OB16_Light Indicator on page 196. 192 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 1769-L31 controller (to complete this step on the 1769-L32E or 1769-L35E controllers, see page 188; to complete this step on the 1769-L32C or 1769-L35CR controllers, see page 190) IMPORTANT Before you add the Serial driver in the following steps, you must stop and delete the Serial driver in RSLinx Classic. Depending on the messages that display, you might have to take all programming and configuration software offline by selecting File > Exit and Shutdown in RSLinx Classic. 1. Right-click RSLinx Enterprise and select Add Driver. 2. Select the Serial DF1 driver and click OK. 3. Select the Comm Port on your computer to which you connected the 1756-CP3 cable. 4. In the Devices field, select Logix Platform. 5. Check the Use Auto-configuration checkbox and click OK. Publication IASIMP-QS001B-EN-P - June 2007 193 Chapter 14 Create a PanelView Plus Application 6. Expand the Backplane tree, select your controller and click Add. 7. Type a shortcut name (do not use spaces) and click Apply. 194 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 8. Click Copy. 9. Click Yes. 10. Select the Target tab to view the path from the PanelView Plus terminal to the controller. 11. Click the shortcut and verify that your controller is highlighted. 12. Click OK. Publication IASIMP-QS001B-EN-P - June 2007 195 Chapter 14 Create a PanelView Plus Application Create the OB16_Light Indicator All controllers 1. In RSView ME, under Graphics, right-click Displays and select New. 2. Under Objects on the main menu, select Indicator > Multistate. 3. Click and drag to create the indicator. 4. Right-click and select Properties. 196 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 5. On the General tab, select 2 for the Number of states. 6. On the States tab, verify that State0 is selected. 7. In the Caption, type Light is OFF. 8. Select State1. 9. In the Caption, type Light is ON. 10. Change the Back Color to yellow. 11. Change the Caption Color to black. Publication IASIMP-QS001B-EN-P - June 2007 197 Chapter 14 Create a PanelView Plus Application 15. On the Connections tab, click ... under Tag. 16. Right click your project and select Refresh All Folders. 17. Expand the controller shortcut and select Online > Program: Main Program. 18. Select xxxx_Light (the name of your light in ladder logic) and click OK. The Indicator tag is populated. 19. Click OK. 198 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 Create a Push Button All controllers 1. From the Objects menu, select Push Button > Maintained. 2. Click and drag to create the push button beneath the indicator. 3. Right-click the push button you just created and select Properties. 4. On the States tab, verify that State0 is selected. 5. In the Caption, type Push to turn light ON. 6. Select State1. 7. In the Caption, type Push to turn light OFF. Publication IASIMP-QS001B-EN-P - June 2007 199 Chapter 14 Create a PanelView Plus Application 8. Select the Connections tab. 9. In the Value row, click ... under Tag. 10. Expand your controller shortcut and select Online > Program; MainProgram. 11. Select PB and click OK. The Value tag is populated. 12. Click OK. 200 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 Test the Indicator and Push Button All controllers 1. Verify that the keyswitch on your controller is moved to Run. 2. Right-click an unused area of the display and select Display Settings. 3. Change the Maximum Tag Update Rate to 0.05. 4. Click OK and then click OK again. 5. Click the Play button. Publication IASIMP-QS001B-EN-P - June 2007 201 Chapter 14 Create a PanelView Plus Application 6. Click the Push Button to toggle the state and turn the light on and off. You could view the connected logic in the Main Program of the project you created in Chapter 10. 7. Click the Stop button. 8. Save your changes. When prompted for a title for the display, type test_logic. 202 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 Add a Goto Configuration Mode Button All controllers 1. From the Objects menu, choose Advanced > Goto Configure Mode. 2. Click and drag to create the Goto button next to the push button. 3. Right-click the pushbutton and select Properties. 4. On the Label tab, enter Goto Config for the caption. 5. Click OK. Publication IASIMP-QS001B-EN-P - June 2007 203 Chapter 14 Create a PanelView Plus Application Assign Keys All controllers with PanelView Plus terminals without a touchscreen If your PanelView Plus does not have a touch screen, you must assign functions keys to the display buttons. If your PanelView Plus has a touchscreen, skip to page 205. 1. Right-click the Push Button and select Key Assignments. 2. Under Select an object, verify that MaintainedPushButton is selected. 3. Select a function key and click Apply. This example uses F2. 4. Under Select an object, select GotoConfigureMode. 5. Select a different function key and click Apply. This example uses F8. 6. Click OK. 7. Add the function key names to the button captions (including both states of the indicator). 8. Save your changes. 204 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 Assign an Initial Screen All controllers 1. Under System, double-click Startup. 2. Check the Initial graphic checkbox and select test_logic. 3. Click OK. 4. Save your changes. Publication IASIMP-QS001B-EN-P - June 2007 205 Chapter 14 Create a PanelView Plus Application Transfer to the PanelView Plus All controllers 1. Under Application, select Create Runtime Application. 2. In Save as type, select the Runtime version that matches your PanelView Plus firmware. To check the PanelView Plus firmware revision, on the terminal select Terminal Setting [F4] > System Information > About RSViewME Station 3. Click Save to accept the default file name. 4. From the Tools menu, choose Transfer Utility. 5. Click the ... button, select the .mer file you just created and click Open. 206 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 6. Verify that the Replace communications checkbox is checked and verify that your PanelView Plus is selected for the destination terminal. 7. Click Download. 8. Click OK. Publication IASIMP-QS001B-EN-P - June 2007 207 Chapter 14 Create a PanelView Plus Application Test the Application on the PanelView Plus All controllers 1. On the PanelView Plus, press Load Application [F1]. 2. Select your .mer file and press Load [F2]. 3. Press Yes [F7]. 4. After the application loads, press Run Application [F2]. 5. Press the Push Button. Verify that the indicator turns on and that the light on the Compact digital output module turns on. 6. Press the Push Button again and verify that the indicator and light turn off. 208 Publication IASIMP-QS001B-EN-P - June 2007 Create a PanelView Plus Application Chapter 14 Additional Resources Resource Description RSView online help Contains procedures and information for all RSView-specific topics. PanelView Plus Terminal User Manual, publication 2711p-UM001 Provides descriptions and procedures for the use of the PanelView Plus terminal. Publication IASIMP-QS001B-EN-P - June 2007 209 Chapter 14 Create a PanelView Plus Application Notes: 210 Publication IASIMP-QS001B-EN-P - June 2007 How Are We Doing? Your comments on our technical publications will help us serve you better in the future. Thank you for taking the time to provide us feedback. You can complete this form and mail (or fax) it back to us or email us at [email protected] Pub. Title/Type CompactLogix System Quick Start Pub. No. Cat. No. IASIMP-QS001B-EN-P Pub. Date June 2007 Part No. none Please complete the sections below. Where applicable, rank the feature (1=needs improvement, 2=satisfactory, and 3=outstanding). Overall Usefulness Completeness (all necessary information is provided) Technical Accuracy (all provided information is correct) 1 2 3 How can we make this publication more useful for you? 1 2 3 Can we add more information to help you? 1 Clarity 1 (all provided information is easy to understand) 2 3 procedure/step illustration feature example guideline other explanation definition Can we be more accurate? text 2 Other Comments 3 illustration How can we make things clearer? You can add additional comments on the back of this form. Your Name Your Title/Function Location/Phone Would you like us to contact you regarding your comments? ___No, there is no need to contact me ___Yes, please call me ___Yes, please email me at _______________________ ___Yes, please contact me via _____________________ Return this form to: Rockwell Automation Technical Communications, 1 Allen-Bradley Dr., Mayfield Hts., OH 44124-9705 Fax: 440-646-3525 Publication CIG-CO521C-EN-P- May 2003 Email: [email protected] PN957955-62957782-91 PLEASE FASTEN HERE (DO NOT STAPLE) PLEASE FOLD HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE 1 ALLEN-BRADLEY DR MAYFIELD HEIGHTS OH 44124-9705 PLEASE REMOVE Other Comments Network Worksheet Network Worksheet EtherNet/IP Enter EtherNet/IP data in the following table. Ethernet addresses (MAC) should be entered by using digits 1...9 and letters A...F. An example Ethernet address (MAC) is 00:00:BC:21:D7:BE. Data For Ethernet Address (MAC) Assigned IP Address Example Assigned IP Address Controller 192.168.1.103 Computer Not needed. 192.168.1.116 POINT I/O adapter 192.168.1.101 PowerFlex40 drive 192.168.1.107 PowerFlex70 drive 192.168.1.109 PanelView Plus terminal Not needed. 192.168.1.105 For all EtherNet/IP addresses, the subnet mask is (from page 33): ______.______.______.______ This quick start uses the example EtherNet/IP subnet mask: 225 255 255 0 ______.______.______.______ DeviceNet Network 1769-SDN Module Information Series No. (from page 21 ) Node No. (from Page 90 ) Slot No. (from Page 90 ) RSNetWorx DeviceNet Configuration File Information Main configuration file name (from page 92): .dnt ______________________________________ .dnt Subnet configuration file name and path (from page 116): _________________________________ ControlNet Network ControlNet Node Numbers Device Controller Computer 1734-ACNR adapter PowerFlex 70 drive PowerFlex 40 drive Node No. 213 Publication IASIMP-QS001B-EN-P - June 2007 Rockwell Automation Support Rockwell Automation provides technical information on the Web to assist you in using its products. At http://support.rockwellautomation.com, 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. For an additional level of technical phone support for installation, configuration, and troubleshooting, we offer TechConnect support programs. For more information, contact your local distributor or Rockwell Automation representative, or visit http://support.rockwellautomation.com. Installation Assistance If you experience a problem within the first 24 hours of installation, please review the information that's contained in this manual. You can also contact a special Customer Support number for initial help in getting your product up and running. United States 1.440.646.3434 Monday – Friday, 8am – 5pm EST Outside United States Please contact your local Rockwell Automation representative for any technical support issues. New Product Satisfaction Return Rockwell Automation tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility. However, if your product is not functioning and needs to be returned, follow these procedures. United States Contact your distributor. You must provide a Customer Support case number (see phone number above to obtain one) to your distributor in order to complete the return process. Outside United States Please contact your local Rockwell Automation representative for the return procedure. Publication IASIMP-QS001B-EN-P - June 2007 215 Supersedes Publication IASIMP-QS001A-EN-P - January 2006 Copyright © 2007 Rockwell Automation, Inc. All rights reserved. Printed in the U.S.A.
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
advertisement