Allen-Bradley PowerFlex 20-comm-c FRN 1. Series User Manual

Allen-Bradley PowerFlex 20-comm-c FRN 1. Series User Manual

Controlnet adapter
Table of Contents

Advertisement

Quick Links

ControlNet
Adapter
20-COMM-C
FRN 1.xxx
User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PowerFlex 20-comm-c FRN 1. Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Allen-Bradley PowerFlex 20-comm-c FRN 1. Series

  • Page 1 ControlNet Adapter 20-COMM-C FRN 1.xxx User Manual...
  • Page 2 In no event will the Allen-Bradley Company 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.
  • Page 3: Table Of Contents

    Table of Contents Table of Contents Preface About This Manual Related Documentation ......P-1 Conventions Used in this Manual .
  • Page 4 Table of Contents Chapter 5 PLC-5C Applications About I/O Messaging ....... 5-1 Understanding the I/O Image.
  • Page 5 Table of Contents Appendix C ControlNet Objects Identity Object ........C-2 Register Object.
  • Page 6 Table of Contents Notes:...
  • Page 7: Preface

    Preface About This Manual Topic Page Related Documentation Conventions Used in this Manual P-2 Rockwell Automation Support Summary of Changess Related Documentation For: Refer to: Publication DriveExplorer™ DriveExplorer Getting Results Manual 9306-GR001B-EN-E Online help (installed with the software) DriveTools 2000™ http://www.ab.com/drives/drivetools_2000 HIM Quick Reference 20HIM-QR001…...
  • Page 8: Conventions Used In This Manual

    About This Manual Conventions Used in this Manual The following conventions are used throughout this manual: • Parameter names are shown in the following format Parameter xxx - [*]. The xxx represents the parameter number. The * represents the parameter name. For example Parameter 01 - [DPI Port]. •...
  • Page 9 About This Manual U.S. Allen-Bradley Drives Technical Support: E-mail: support@drives.ra.rockwell.com Tel: (1) 262.512.8176 Fax: (1) 262.512.2222 Online: http://www.ab.com/support/abdrive...
  • Page 10: Summary Of Changes

    About This Manual Summary of Changes This is the first release of the ControlNet Adapter FRN.1.xx. There are no changes as of the writing of this publication Topic Page Topic Page...
  • Page 11: Getting Started

    Chapter Getting Started The 20-COMM-C ControlNet adapter is an embedded communication option for any one drive in the PowerFlex family. It can also be used with other Allen-Bradley products implementing DPI™. Topic Page Topic Page Components Safety Precautions Features Quick Start...
  • Page 12: Features

    DPI™ (Drive Peripheral Interface) is a second generation peripheral communication interface. The ControlNet adapter is compatible with Allen-Bradley PowerFlex drives and other products that support DPI. DPI is a functional enhancement to SCANport (See Glossary). At the time of publication, compatible products include: •...
  • Page 13: Required Equipment

    Getting Started Required Equipment Equipment Shipped with the Adapter When you unpack the adapter, verify that the package includes: ❑ One ControlNet adapter ❑ A 2.54 cm (1 in.) and a 15.24 cm (6 in.) Internal Interface cable (only one cable is needed to connect the adapter to the drive) ❑...
  • Page 14: Safety Precautions

    Getting Started Safety Precautions Please read the following safety precautions carefully. ATTENTION: Risk of injury or equipment damage exists. Only personnel familiar with drive and power products and the associated machinery should plan or implement the installation, start-up, configuration, and subsequent maintenance of the product using a ControlNet adapter.
  • Page 15: Quick Start

    Getting Started ATTENTION: Risk of injury or equipment damage exists. The examples in this publication are intended solely for purposes of example. There are many variables and requirements with any application. Rockwell Automation does not assume responsibility or liability (to include intellectual property liability) for actual use of the examples shown in this publication.
  • Page 16: Modes Of Operation

    Getting Started Modes of Operation The adapter uses four status indicators to report its operating status. They can be viewed on the adapter or through the drive cover. (See Figure 1.2). Figure 1.2 Status Indicators – — ˜ ™ – —...
  • Page 17 Getting Started Notes:...
  • Page 18 Getting Started...
  • Page 19: Installing The Adapter

    Chapter Installing the Adapter Chapter 2 provides instructions for installing the adapter on a PowerFlex drive. Topic Page Preparing for an Installation Commissioning the Adapter Connecting the Adapter to the Drive Connecting the Adapter to the Network Applying Power Preparing for an Installation Before installing the ControlNet adapter: •...
  • Page 20 Installing the Adapter 1. Set the ControlNet module’s node address by rotating the node address switches to the desired value for each digit. Important: Each node on the ControlNet network must have a unique address. Important: The node address must be set before power is applied because the module uses the node address it detects when it first receives power.
  • Page 21: Connecting The Adapter To The Drive

    Installing the Adapter Connecting the Adapter to the Drive 1. Remove power from the drive. 2. Use static control precautions. 3. Connect the Internal Interface cable to the DPI port on the drive and then to the DPI connector on the adapter. Figure 2.2 DPI Ports and Internal Interface Cables –...
  • Page 22 Installing the Adapter 4. On a PowerFlex 70, fold the Internal Interface cable behind the adapter and mount the adapter on the drive using the four captive screws. On a PowerFlex 700, just mount the adapter on the drive using the four captive screws to secure and ground it to the drive. Important: All screws must be tightened since the adapter is grounded through a screw.
  • Page 23: Connecting The Adapter To The Network

    Installing the Adapter Connecting the Adapter to the Network ATTENTION: Risk of injury or death exists. The PowerFlex drive may contain high voltages that can cause injury or death. Remove power from the drive, and then verify power has been discharged before installing or removing an adapter.
  • Page 24: Applying Power

    Installing the Adapter Applying Power ATTENTION: Risk of equipment damage, injury, or death exists. Unpredictable operation may occur if you fail to verify that parameter settings and switch settings are compatible with your application. Verify that settings are compatible with your application before applying power to the drive.
  • Page 25: Configuring The Adapter

    Chapter Configuring the Adapter Chapter 3 provides instructions and information for setting the parameters in the adapter. Topic Page Topic Page Configuration Tools Selecting Reference Adjust Using the PowerFlex HIM Setting a Fault Action Setting the Node Address Resetting the Adapter Setting the I/O Configuration Viewing the Adapter Configuration Selecting Master-Slave...
  • Page 26: Using The Powerflex Him

    Configuring the Adapter Using the PowerFlex HIM If your drive has either an LED or LCD HIM (Human Interface Module), access parameters in the adapter as follows: Using an LED HIM Step Key(s) Example Screens 1. Press the ALT and then Sel Device (Device) to display the Device Screen.
  • Page 27: Setting The Node Address

    Configuring the Adapter Setting the Node Address If the Node Address Switches on the adapter are set to “00,” the value of Parameter 03 - [CN Addr Cfg] determines the node address. 1. Set the value of Parameter 03 - [CN Addr Cfg] to a unique node address.
  • Page 28: Selecting Master-Slave

    Configuring the Adapter 3. If Logic Command/Reference is enabled, configure the parameters in the drive to accept the Logic Command and Reference from the adapter. For example, set Parameter 90 - [Speed Ref A Sel] in a PowerFlex 70 or 700 drive to “DPI Port 5” so that the drive uses the Reference from the adapter.
  • Page 29: Selecting Reference Adjust

    Configuring the Adapter Figure 3.3 Master-Slave Input Screen on an LCD HIM Description Port 5 Device Logic Command/Reference (Default) 20-COMM-C Datalink A Input Parameter #: 25 Datalink B Input M-S Input Datalink C Input x x x x x x x x x x x 0 0 0 0 Cmd/Ref Datalink D Input 5 - 15 Not Used...
  • Page 30: Setting A Fault Action

    Configuring the Adapter Setting a Fault Action By default, when communications are disrupted (for example, a cable is disconnected) or the master is idle, the drive responds by faulting if it is using I/O from the network. You can configure a different response to communication disruptions using Parameter 10 - [Comm Flt Action] and a different response to an idle scanner using Parameter 11 - [Idle Flt Action].
  • Page 31: Resetting The Adapter

    Configuring the Adapter To set the fault configuration parameters If you set Parameter 10 - [Comm Flt Action], or 11 - [Idle Flt Action] to the “Send Flt Cfg,” the values in the following parameters are sent to the drive after a communications fault and/or idle fault occurs. You must set these parameters to values required by your application.
  • Page 32: Viewing The Adapter Configuration

    Configuring the Adapter When you enter 1 = Reset Module, the adapter will be immediately reset. When you enter 2 = Set Defaults, the adapter will set all adapter parameters to their factory-default settings. The value of this parameter will be restored to 0 = Ready after performing the reset or setting the defaults.
  • Page 33 Configuring the Adapter Parameter No. Name and Description Details [M-S Input] Default: xxx0 0001 Configures the I/O Data to be transferred from the Bit Values: 0 = I/O disabled network to the drive. 1 = I/O enabled Type: Read/Write Reset Required: Bit Definitions 0 = Cmd/Ref Default...
  • Page 34 3-10 Configuring the Adapter Notes:...
  • Page 35: Rsnetworx Configuration For Plc-5C Applications

    Chapter RSNetWorx Configuration for PLC-5C Applications This chapter provides information for using RSNetWorx for ControlNet to configure a PLC-5C controller to communicate with the 20-COMM-C ControlNet adapter. RSNetWorx for ControlNet is a 32-bit Windows application for configuring ControlNet networks. After installing and configuring the adapter, RSNetWorx is used to configure the controller to recognize and communicate with the adapter.
  • Page 36: Installing And Registering Eds Files In Rsnetworx

    RSNetWorx Configuration for PLC-5C Applications Figure 4.1 Example ControlNet Network PowerFlex 70 PowerFlex 70 Node 3 Node 2 Installing and Registering EDS Files in RSNetWorx This section needs to be performed only if new EDS files need to be added to RSNetWorx. The latest EDS files can be obtained at: http://www.ab.com/networks/eds 1.
  • Page 37 RSNetWorx Configuration for PLC-5C Applications Figure 4.3 EDS Wizard Option Screen 3. The EDS Wizard allows for registering single or multiple EDS files. Click Browse and locate where your EDS files are located. In our example (Figure 4.4), multiple EDS files are registered from a directory on the hard drive.
  • Page 38 RSNetWorx Configuration for PLC-5C Applications Figure 4.5 EDS Files Installation Test Results Screen 5. The graphic images for each EDS file are displayed and can be changed if desired. Click Next to continue (Figure 4.6). Figure 4.6 EDS Wizard Change Graphic Image Screen...
  • Page 39 RSNetWorx Configuration for PLC-5C Applications 6. Click Next to register the EDS files (Figure 4.7). Figure 4.7 EDS Wizard Final Task Summary Screen 7. The EDS files have been installed and registered. Click Finish to return to the main RSNetWorx screen (Figure 4.8).
  • Page 40: Configuring A Network With Rsnetworx

    RSNetWorx Configuration for PLC-5C Applications 8. Click on the DPI to ControlNet folder in the Hardware window to view the EDS files that have been installed to the RSNetWorx database (Figure 4.9). Figure 4.9 RSNetWorx for ControlNet DPI to ControlNet Folder Example Configuring a Network with RSNetWorx The main screen for RSNetWorx consists of several windows: •...
  • Page 41 RSNetWorx Configuration for PLC-5C Applications The various views can be displayed or closed by using the View menu. Figure 4.10 the Network Usage, Hardware and Graphic views are displayed while the Message and Favorites views are closed. 1. Click on the on-line icon to browse the network.
  • Page 42 RSNetWorx Configuration for PLC-5C Applications Figure 4.11 Example Browse for Network Dialog Box RSNetWorx starts browsing the ControlNet network for nodes and builds the graphic representation of the network (Figure 4.12). Figure 4.12 Example Network Displayed in RSNetWorx...
  • Page 43 RSNetWorx Configuration for PLC-5C Applications 3. When the network browse is complete, a graphical view of the network is displayed. In this example (Figure 4.13), the ControlNet network consists of a PLC-5C/40C controller, two PowerFlex 70 drives and a PC using a 1784-PCC ControlNet adapter. The symbol indicates the device shown on the network does not exist in the configuration file, but it was found on the network.
  • Page 44 4-10 RSNetWorx Configuration for PLC-5C Applications Figure 4.14 Sample ControlNet Configuration Box 5. The 20-COMM-C must be configured on the ControlNet network so the controller can communicate with it. Click the Edits Enabled check-box (Figure 4.15). Figure 4.15 Example of Product Line after Drive Connection is Selected...
  • Page 45 RSNetWorx Configuration for PLC-5C Applications 4-11 6. If the On-line / Off-line Mismatch dialog box appears, click OK to use the on-line data (Figure 4.16). If prompted to save, save the data Figure 4.17). Figure 4.16 Online / Offline Mismatch Dialog Box Figure 4.17 Note: During the save process, RSNetWorx will execute the browse function.
  • Page 46 4-12 RSNetWorx Configuration for PLC-5C Applications Figure 4.18 Scanlist Configuration Screen 8. Enter the Integer files to be used for ControlNet communications (Figure 4.19). In this example: N9 is the Data Input File, N10 is the Data Output File, N11 is the Status File, and N13 is the Configuration File.
  • Page 47 RSNetWorx Configuration for PLC-5C Applications 4-13 Figure 4.19 Integer Files for ControlNet Communications Screen 9. Enter the input and output size for the node on the network. The number of words selected depends on the I/O to be communicated with the node. In this example, the Node 2 PowerFlex 70 is set for all I/O enabled which equates to 10 words of I/O (Figure 4.20):...
  • Page 48 4-14 RSNetWorx Configuration for PLC-5C Applications 10. Enter the desired Requested Packet Interval (RPI) and note the value (Figure 4.21). Ensure that this value is equal to or greater than the value that will be set later for Network Update Time (NUT). The Actual Packet Interval (API) may vary from the Requested Packet Interval.
  • Page 49 RSNetWorx Configuration for PLC-5C Applications 4-15 Figure 4.22 Connection Properties: Electronic Keying Settings 12. Click on the Details (Figure 4.23) tab. The availability of choosing connection options are determined by the EDS file for the node. Click OK. Figure 4.23 Connection Properties; Details Settings 13.
  • Page 50 4-16 RSNetWorx Configuration for PLC-5C Applications Figure 4.24 Scanlist Configuration: Mapped Nodes 14. Click File / Save to save the project (Figure 4.25). If prompted to optimize and re-write schedule for all connections, click OK. Figure 4.25 Save Configuration Dialog Box 15.
  • Page 51: Verifying Network Properties

    RSNetWorx Configuration for PLC-5C Applications 4-17 Figure 4.26 Save As File Box Verifying Network Properties 1. In the Network menu, select Properties to display the ControlNet dialog box (Figure 4.27). Verify: • The number in the Max Scheduled Address field is higher than or equal to the highest node number that will perform I/O messaging.
  • Page 52 4-18 RSNetWorx Configuration for PLC-5C Applications Important: The value in the Network Update Time (ms) field is 5ms or greater. Do not set lower than 5ms. The NUT must be set equal or lower than the RPI times set for the devices on the network.
  • Page 53 RSNetWorx Configuration for PLC-5C Applications 4-19 3. If desired, select the General tab and enter a name and description for the network (Figure 4.29). Click OK. Figure 4.29 ControlNet: General Tab 4. In the Network menu, select Save the properties and download them to the PLC.
  • Page 54 4-20 RSNetWorx Configuration for PLC-5C Applications Notes:...
  • Page 55: About I/O Messaging

    Chapter PLC-5C Applications Chapter 5 provides information and examples that explain how to use I/O Messaging and Explicit Messaging to control, configure and monitor a PowerFlex drive using a PLC-5C. Topic Page Topic Page About I/O Messaging Main Program (PLC-5C) Understanding the I/O Image About Explicit Messaging 5-12...
  • Page 56: Understanding The I/O Image

    PLC-5C Applications Understanding the I/O Image The terms input and output are defined from the scanner’s point of view. Therefore, Output I/O is data that is output from the scanner and consumed by the ControlNet adapter. Input I/O is status data that is produced by the adapter and consumed as input by the scanner.
  • Page 57 PLC-5C Applications Figure 5.1 Example I/O Image with All I/O Enabled ControlNet Adapter PowerFlex Drive Scanner Controller Word and I/O Output 0 Logic Command Logic Command 1 Reference Image Reference 2 Datalink In A1 (Write) Data In A1 3 Datalink In A2 Data In A2 4 Datalink In B1 Data In B1...
  • Page 58 PLC-5C Applications Figure 5.2 Example I/O Image with Only Logic/Reference and Datalink B Enabled ControlNet Controller Scanner Adapter PowerFlex Drive Word and I/O Output 0 Logic Command Logic Command Image 1 Pad Word 2 Reference (LSW) (Write) Reference 3 Reference (MSW) Data In A1 4 Datalink In B1 Data In A2...
  • Page 59: Using Logic Command/Status

    PLC-5C Applications Using Logic Command/Status When enabled, the Logic Command/Status word is always word 0 in the I/O image. The Logic Command is a 16-bit word of control produced by the scanner and consumed by the adapter. The Logic Status is a 16-bit word of status produced by the adapter and consumed by the scanner.
  • Page 60 PLC-5C Applications 32-Bit Parameters using 16-Bit Datalinks To read (and/or write) a 32-bit parameter using 16-bit Datalinks, typically both Datalinks (A,B,C,D) are set to the 32-bit parameter. For example, to read Parameter 09 - [Elapsed MWh] in a PowerFlex 70, both Datalink A1 and A2 are set to “9.”...
  • Page 61 PLC-5C Applications Function of the Example Program The program performs the following actions: • Obtain Logic Status information from the drive. • Use the Logic Command to control the drive (for example, start, stop). • Send a Reference to the drive and receive Feedback from the drive. •...
  • Page 62 PLC-5C Applications Logic Command/Status Words These examples use the Logic Command word and Logic Status word for PowerFlex 70 and PowerFlex 700 drives. Refer to Appendix Logic Command/Status Words to view these. The definition of the bits in these words may vary if you are using a different DPI product. Refer to the documentation for your drive.
  • Page 63: Main Program (Plc-5C)

    PLC-5C Applications Main Program (PLC-5C) Figure 5.3 I/O Messaging There is an operator station wired into the local rack as follows: I:000/0 Start (Normally Open Pushbutton) I:000/1 Stop (Normally Closed Pushbutton) I:000/2 Clear Faults (Normally Open Pushbutton) I:000/3 Forward / Reverse Selector Switch I:001 Operator Speed Reference O:000/0 Drive Ready O:000/1 Drive Active...
  • Page 64 5-10 PLC-5C Applications Figure 5.3 I/O Messaging (Continued) Operator Drive Clear Faults Logic Command Pushbutton CLEAR FAULTS I:000 N10:0 0002 Operator Drive Fwd / Rev Logic Command Selector Switch FORWARD I:000 N10:0 0003 Operator Drive Fwd / Rev Logic Command Selector Switch REVERSE I:000...
  • Page 65 PLC-5C Applications 5-11 Figure 5.3 I/O Messaging (Continued) Drive Operator FAULTED Drive Faulted Status Status Display N9:0 O:000 0007 This rung moves the Speed Reference from the operator station to the drive. Move 0008 Source I:001 0< Dest N10:1 0< The rung moves the Speed Feedback from the drive to the operator station.
  • Page 66: About Explicit Messaging

    5-12 PLC-5C Applications Figure 5.3 I/O Messaging (Continued) This rung moves Datalink data from the drive to file N7. 0011 Copy File Source #N9:2 Dest #N7:10 Length This rung executes the messaging logic. 0012 Jump To Subroutine Prog File Number 0013 About Explicit Messaging Explicit Messaging is used to transfer data that does not require...
  • Page 67 PLC-5C Applications 5-13 Figure 5.4 Explicit Message Process – Set up and send Parameter Message š Complete Parameter Message ™ PORT NET A NET B Retrieve Parameter ˜ Message Response — Event 1. Format the required data and set up the ladder logic program to send an Explicit Message request to the scanner module (download).
  • Page 68: Explicit Messaging Examples

    5-14 PLC-5C Applications The ControlNet I/O Transfer (CIO) instruction is used to send Explicit Messages. For PLC-5C controllers before Series F Revision C, the available services you should use are Get Attribute Single, Get Attribute All, Set Attribute Single, or Set Attribute All. Series F Revision C (or later) allow for more complex messages using a new Generic Bi-Directional communication command.
  • Page 69 PLC-5C Applications 5-15 Figure 5.6 CIO Get Attributes Scattered Screen Get Attributes Scattered Example request and response Data: Request Data N13:0 Parameter Number = 12 N13:1 (Pad Word) N13:2 (Pad Word) N13:3 Parameter Number = 11 N13:4 (Pad Word) N13:5 (Pad Word) N13:6 Parameter Number = 10...
  • Page 70 5-16 PLC-5C Applications Response Data N14:0 Parameter Number = 12 N14:1 3333 Value = 333.3VDC N14:2 (Pad Word) N14:3 Parameter Number = 11 N14:4 Value = 0.0Hz N14:5 (Pad Word) N14:6 Parameter Number = 10 N14:7 Value = 14.8Hrs N14:8 N14:9 Parameter Number = 9 N14:10...
  • Page 71 PLC-5C Applications 5-17 Set Attributes Scattered Example request and response Data: Request Data N13:0 Parameter Number = 45 N13:1 Value = 0.50HP N13:2 (Pad Word) N13:3 Parameter Number = 44 N13:4 1740 Value = 1740RPM N13:5 (Pad Word) N13:6 Parameter Number = 43 N13:7 Value = 60.0Hz N13:8...
  • Page 72 5-18 PLC-5C Applications Figure 5.8 CIO Get Attribute Single Screen Get Attribute Single example response (reading PowerFlex 70 Parameter 1 in Figure 5.8): Response Data N14:0 Value = 0.0Hz...
  • Page 73 PLC-5C Applications 5-19 A Set_Attribute_Single message is used to write a single parameter (Figure 5.9). • A Service Code of “10” indicates the Set_Attribute_Single service (see Page C-19, Common Services • An Instance Number of “41” indicates Drive Parameter 41 will be accessed (see Page C-16, Instances).
  • Page 74 5-20 PLC-5C Applications Notes:...
  • Page 75: Controllogix Applications

    Chapter ControlLogix Applications Chapter 6 provides information and examples that explain how to use I/O Messaging and Explicit Messaging to control, configure and monitor a PowerFlex drive using a ControlLogix. Topic Page Configuring a ControlLogix CNB Scanner RSLogix 5000 Ladder Logic 6-16 Program Explicit Messaging Example...
  • Page 76: Configuring A Controllogix Cnb Scanner

    ControlLogix Applications Configuring a ControlLogix CNB Scanner Configuring a ControlLogix CNB scanner, and the network, is mainly done using RSLogix 5000 software (Figure 6.1). RSNetWorx is still required, but only at the end of the configuration process. Start the RSLogix 5000 software to begin the configuration process. Figure 6.1 RSLogix 5000: I/O Configuration Selection 1.
  • Page 77 ControlLogix Applications 2. Select the ControlNet used by the controller. In this example (Figure 6.3) a 1756-CNB Series B ControlNet Bridge is selected. Click OK. Figure 6.3 Select Module Type: 1756-CNB/B Selection 3. Enter a Name, Slot number, and Revision number (Figure 6.4).
  • Page 78 ControlLogix Applications 4. This step is used to define controller to module behavior (Figure 6.5). Inhibit Module inhibits/un-inhibits the connection to the module. The Major Fault check-box selects if a failure on the connection of this module causes a major fault on the controller if the connection for the module fails.
  • Page 79 ControlLogix Applications 6. This window is displayed for informational purposes only (Figure 6.7). Click Finish>>. Figure 6.7 Module Properties: Informational Screen 7. The 1756-CNB/B now appears in the I/O Configuration folder (Figure 6.8). Figure 6.8 RSLogix 5000: I/O Configuration Folder...
  • Page 80 ControlLogix Applications 8. Right-click on the 1756-CNB and select New Module (Figure 6.9). Figure 6.9 RSLogix 5000: New Module Selection Screen...
  • Page 81 ControlLogix Applications 9. To configure a 20-COMM-C, the CONTROLNET-MODULE type is selected (Figure 6.10). Click OK. Figure 6.10 Select Module Type: Generic ControlNet Module Screen 10. Enter the Name, Description and Node number (Figure 6.11). The Comm Format selects the communication format for the module and must be set to Data-INT.
  • Page 82 ControlLogix Applications PowerFlex 700S (32-bit Ref/Fdbk and Datalinks) Node configured for: Input Size Output Size Logic Command / Reference and Logic Status / Feedback only plus Datalink A 10 plus Datalink B 14 plus Datalink C 18 plus Datalink D 22 Figure 6.11 Module Properties: ControlNet Module Parameters 11.
  • Page 83 ControlLogix Applications Figure 6.12 Module Properties: RPI Selection 12. This window is for informational purposes only (Figure 6.13). Click Finish>>. Figure 6.13 Module Properties: My ControlNet 13. The configured node (“PowerFlex 70_02” in this example) now appears under the 1756-CNB in the I/O Configuration folder.
  • Page 84 6-10 ControlLogix Applications Figure 6.14 RSLogix: Configure Additional Nodes Screen 14. Repeat the previous steps for each additional node you need to configure. 15. In the Data Types folder, click on the Module-Defined sub-folder. When you create a module, module-defined data types and tags are automatically created.
  • Page 85 ControlLogix Applications 6-11 Figure 6.15 RSLogix 5000: Module-Defined Screen 16. Select Communications / Download to download the configuration to the controller (Figure 6.16). RSLogix automatically enters on-line mode when complete. Figure 6.16 Download to the Controller Dialog Box...
  • Page 86 6-12 ControlLogix Applications 17. An Attention symbol is located next to the Node 2 (PowerFlex 70_02) icon, which indicates the ControlNet scanner needs to be configured. Figure 6.17 RSLogix: Attention Symbol 18. Start RSNetWorx and perform the following: - Click the On-line icon and browse the network.
  • Page 87 ControlLogix Applications 6-13 Figure 6.18 RSNetWorx for ControlNet Screen Figure 6.19 RSLogix 5000: Example without Attention Symbol...
  • Page 88 6-14 ControlLogix Applications 19. The Attention symbol on the RSLogix 5000 connection tree will disappear if the network has been configured properly (Figure 6.20). You are now ready to develop your ladder logic program. Figure 6.20 RSLogix 5000: Connection tree without Attention Symbol Function of the Example Program The program performs the following actions: •...
  • Page 89 ControlLogix Applications 6-15 Example Parameter Settings Device Parameter Name Value Description Speed Ref A Sel ‘DPI Port 5’ (20-COMM-C) Data In A1 Points to Pr. 140 [Accel Time 1] Data In A2 Points to Pr. 142 [Decel Time 1] Data In B1 Points to Pr.
  • Page 90: Rslogix 5000 Ladder Logic Program

    6-16 ControlLogix Applications RSLogix 5000 Ladder Logic Program Figure 6.21 I/O Messaging This rung determines whether the drive is running, and sets the DriveStatusRunning tag appropriately. This rung determines whether the drive is running, and sets the DriveStatusRunning tag appropriately. DriveInputImage.Data[2].1 <PowerFlex70_02:I.Data[2].1>...
  • Page 91 ControlLogix Applications 6-17 Figure 6.21 I/O Messaging (Continued) This rung moves data from the DriveReference tag to the drive where it is used as a frequency reference. This rung moves data from the DriveReference tag to the drive where it is used as a frequency reference. Copy File Source DriveReference...
  • Page 92 6-18 ControlLogix Applications About Explicit Messaging Explicit Messaging is used to transfer data that does not require continuous updates. With Explicit Messaging, you can configure and monitor a slave device’s parameters on the ControlNet network. Performing Explicit Messages There are five basic events in the Explicit Messaging process defined below.
  • Page 93: Explicit Messaging Example

    ControlLogix Applications 6-19 Explicit Messaging Example Figure 6.23 Explicit Messaging This rung sends a CIP message to the PowerFlex 70 drive at ControlNet address 2. The data sent is obtained This rung sends a CIP message to the PowerFlex 70 drive at ControlNet address 2. The data sent is obtained from the MessageSendData tag.
  • Page 94 6-20 ControlLogix Applications Get Attributes Scattered example request and response data: (Source) Request Data Parameter Number = 12 (Pad Word) (Pad Word) Parameter Number = 11 (Pad Word) (Pad Word) Parameter Number = 10 (Pad Word) (Pad Word) Parameter Number = 9 (Pad Word) (Pad Word) (Destination) Response Data...
  • Page 95 ControlLogix Applications 6-21 A Set_Attributes_Scattered message is used to write multiple parameters that may or may not be in sequential order (Figure 6.25). • A Service Code of “4C” indicates the Set_Attributes_Scattered service (see Page C-19, Object Specific Services). Figure 6.25 Set_Attributes_Scattered Message Screen Set_Attributes_Scattered example request and response data: (Source) Request Data Parameter Number = 45...
  • Page 96 6-22 ControlLogix Applications (Destination) Response Data Parameter Number = 45 (Pad Word) (Pad Word) Parameter Number = 44 (Pad Word) (Pad Word) Parameter Number = 43 (Pad Word) (Pad Word) Parameter Number = 42 (Pad Word) (Pad Word) A Set_Attribute_Single message is used to write a single parameter (Figure 6.26).
  • Page 97 ControlLogix Applications 6-23 Set_Attribute_Single example (writing PowerFlex 70 Parameter 45 in Figure 6.26): Send Data Value = 0.50HP A Get_Attribute_Single message is used to read a single parameter (Figure 6.27). • A Service Code of “E” indicates the Get_Attribute_Single service (see Page C-8, Services).
  • Page 98 6-24 ControlLogix Applications Notes:...
  • Page 99: Troubleshooting

    Chapter Troubleshooting Chapter 7 contains troubleshooting information. Topic Page Topic Page Locating the Status Indicators Net A or B Independently PORT Status Indicator Adapter Diagnostic Items MOD Status Indicator Viewing and Clearing Events Net A and B Together Locating the Status Indicators The ControlNet adapter has four status indicators.
  • Page 100: Port Status Indicator

    • Orange The adapter is connected Connect the adapter to a product that to a product that does not supports Allen-Bradley DPI communications support Allen-Bradley DPI (for example, PowerFlex drives). communications • Flashing Green The adapter is establishing No action.
  • Page 101: Mod Status Indicator

    Troubleshooting MOD Status Indicator Status Cause Corrective Action • The adapter is not Securely connect the adapter to the drive powered using this ribbon cable. • Apply power to the drive. • Flashing Red The adapter has failed the Clear faults in the adapter. •...
  • Page 102: Net A And Net B Together

    Troubleshooting Net A and B Together Status Cause Corrective Actions • Both LEDs are A reset occurred or there is Apply power to the module no power. • Both LEDs are A link interface failed Check media for broken cables, loose steady red.
  • Page 103: Adapter Diagnostic Items

    Troubleshooting Adapter Diagnostic Items Adapter Diagnostic Items are viewable with DriveExplorer (version 2.01 or higher), or DriveExecutive (version 1.01 or higher) software, or a HIM (2.001 or higher). Event Description Common Logic The current value of the Command Logic Command being transmitted to the host.
  • Page 104: Viewing And Clearing Events

    Troubleshooting Event Description App Flash Count The number of times the Application flash segment has been updated in the field. M-S Input Size The size of data transferred from the network to the drive. M-S Output Size The size of data transferred from the drive to the network. Viewing and Clearing Events The adapter maintains an event queue that reports the history of its actions.
  • Page 105 Troubleshooting Events Many events in the Event queue occur under normal operation. If you encounter unexpected communications problems, the events may help you or Allen-Bradley personnel troubleshoot the problem. The following events may appear in the event queue: Code Event...
  • Page 106 Troubleshooting Code Event Description CN Idle Flt The peripheral is receiving “Idle” packets from the network. CN Open An I/O connection to the peripheral from the network has been opened. Net Timeout An I/O connection from the network to the peripheral has timed out.
  • Page 107: Communications

    Appendix Specifications This chapter presents the specifications for the adapter. Topic Page Topic Page Communications Environmental Electrical Regulatory Compliance A-2 Mechanical Communications Network Protocol ControlNet Data Rates 5M baud Drive Protocol Data Rates 125K or 500Kbps Electrical Consumption Drive 275mA at 5 VDC supplied through the drive Network Mechanical Dimensions...
  • Page 108: Environmental

    Specifications Environmental Temperature Operating -10 to 50°C (14 to 149°F) Storage -40 to +85°C (-40 to 185°F) Relative Humidity 5 to 95% non-condensing Regulatory Compliance 508C and CUL EN61800-3...
  • Page 109: Appendix B Adapter Parameters

    Appendix Adapter Parameters Appendix B provides information about the ControlNet adapter parameters. Topic Page About Parameter Numbers B-1 Parameter List About Parameter Numbers The parameters in the adapter are numbered consecutively. However, depending on which configuration tool you use, they may have different numbers.
  • Page 110 Adapter Parameters Parameter No. Name and Description Details [CN Addr Cfg] Default: Configures the Network if the Node Address Minimum: Switches are set to 00 (Updates Parameter 4 - Maximum: [CN Addr Act] after reset.). Type: Read/Write Reset Required: [CN Addr Act] Default: The actual Network Node Address.
  • Page 111 Adapter Parameters Parameter No. Name and Description Details [Idle Flt Action] Default: 0 = Fault Sets the action that the adapter will take if the Values: 0 = Fault adapter detects that the PLC is set to program 1 = Stop mode.
  • Page 112 Adapter Parameters Parameter No. Name and Description Details [Flt Cfg Logic] Default: 0000 0000 0000 0000 Sets the Logic Command data that is sent to the Minimum: 0000 0000 0000 0000 drive if any of the following is true: Maximum: 1111 1111 1111 1111 •...
  • Page 113 Adapter Parameters Parameter No. Name and Description Details [M-S Output] Default: xxx0 0001 Configures the I/O Data to be transferred from the Bit Values: 0 = I/O disabled drive to the network. 1 = I/O enabled Type: Read/Write Reset Required: Bit Definitions 0 = Cmd/Ref Default...
  • Page 114 Adapter Parameters Notes:...
  • Page 115 Appendix ControlNet Objects Appendix C presents information about the ControlNet objects that can be accessed using Explicit Messages. For information on the format of Explicit Messages and example ladder logic programs, refer to Chapter ControlLogix Applications. Object Class Code Page Hex.
  • Page 116: Identity Object

    Max Instance UINT Total number of instances Instance Attributes Attribute Access Name Data Type Description Rule Vendor ID UINT 1 = Allen-Bradley Device Type UINT Product Code UINT Number identifying product name and rating Revision: STRUCT of Major USINT Value varies...
  • Page 117 ControlNet Objects Identity Object (Continued) Services Service Code Implemented for: Service Name Class Instance 0x05 Reset 0x0E Get_Attribute_Single...
  • Page 118: Register Object

    ControlNet Objects Register Object Class Code Hexadecimal Decimal 0x07 Instances Instance Description All I/O data being read from the DPI device (read-only) All I/O data written to the DPI device (read/write) Logic Status and Feedback data (read-only) Logic Command and Reference data (read/write) Datalink A (input data from device to scanner) (read only) Datalink A (output data from scanner to device) (read/write) Datalink B (input data from device to scanner) (read only)
  • Page 119 ControlNet Objects Register Object (Continued) Instance Attributes Attribute Access Rule Name Data Type Description Bad Flag BOOL If set to 1, then attribute 4 may contain invalid, bad or otherwise corrupt data. 0 = good 1 = bad Direction BOOL Direction of data transfer 0 = Producer Register (Drive to ControlNet) 1 = Consumer Register (ControlNet to Drive)
  • Page 120: Parameter Object

    ControlNet Objects Parameter Object Class Code Hexadecimal Decimal 0x0F Instances The number of instances depends on the number of parameters in the DPI drive. The adapter parameters are appended to the list of drive parameters. The total number of parameters can be read in Instance 0, Attribute 2.
  • Page 121 ControlNet Objects Parameter Object (Continued) Instance Attributes Attribute Access Name Data Type Description Rule Parameter Value Link Path Size USINT 0 = No link specified n = The size of Attribute 3 in bytes Link Path Descriptor WORD 0 = False, 1 = True Bit 1 = Supports ENUMs Bit 2 = Supports scaling Bit 3 = Supports scaling links...
  • Page 122 ControlNet Objects Parameter Object (Continued) Services Service Code Implemented for: Service Name Class Instance 0x01 Get_Attribute_All 0x05 Reset 0x0E Get_Attribute_Single 0x10 Set_Attribute_Single 0x4B Get_Enum_String...
  • Page 123: Parameter Group Object

    ControlNet Objects Parameter Group Object Class Code Hexadecimal Decimal 0x10 Instances The number of instances depends on the number of groups in the device. A group of adapter parameters is appended to the list of groups in the device. The total number of groups can be read in Instance 0, Attribute 2. Number Description Class Attributes...
  • Page 124 C-10 ControlNet Objects Parameter Group Object (Continued) Instance Attributes Attribute Access Name Data Description Rule Type Group Name String SHORT_ Group name STRING Number of Members UINT Number of parameters in group. in Group 1st Parameter Number UINT in Group 2nd Parameter UINT Number in Group...
  • Page 125: Pccc Object

    ControlNet Objects C-11 PCCC Object Class Code Hexadecimal Decimal 0x67 Instances Not supported Class Attributes Not supported. Instance Attributes Not supported. Services Service Code Implemented for: Service Name Class Instance 0x4B Execute_PCCC...
  • Page 126 C-12 ControlNet Objects PCCC Object (Continued) Message Structure for Execute_PCCC Request Response Name Data Description Name Data Description Type Type Length USINT Length of Length USINT Length of requestor ID requestor ID Vendor UINT Vendor number Vendor UINT Vendor number of requestor of requestor Serial UDINT ASA serial...
  • Page 127: Dpi Device Object

    ControlNet Objects C-13 DPI Device Object Class Code Hexadecimal Decimal 0x92 Instances The number of instances depends on the number of components in the device. The total number of components can be read in Instance 0, Class Attribute 4. Number Description Class Attributes (Drive) Drive Component 1...
  • Page 128 BYTE Identification of variations. Code Configuration Text STRING[16] Text identifying a variation of a family device. Brand Code WORD 0x0001 = Allen-Bradley NVS Checksum WORD Checksum of the Non-Volatile Storage in a device. Class Revision WORD 2 = DPI Character Set...
  • Page 129 ControlNet Objects C-15 DPI Device Object (Continued) Instance Attributes Attribute Access Name Data Type Description Rule Component STRING[32] Name of the component Name Component STRUCT of Firmware BYTE Major Revision Revision BYTE Minor Revision Component BYTE Hardware Change Number Component DWORD Value between 0x00 and 0xFFFFFFFF Serial Number...
  • Page 130: Dpi Parameter Object

    C-16 ControlNet Objects DPI Parameter Object Class Code Hexadecimal Decimal 0x93 Instances The number of instances depends on the number of parameters in the device. The total number of parameters can be read in Instance 0, Attribute 0. Number Description Class Attributes (Drive) Drive Parameter 1 Attributes Drive Parameter 2 Attributes...
  • Page 131 ControlNet Objects C-17 DPI Parameter Object (Continued) Instance Attributes Attribute Access Name Data Type Description Rule DPI Online Read STRUCT of Full BOOL[32] Descriptor (Refer to pages C-18 – C-19) CONTAINER Parameter value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value WORD Next parameter...
  • Page 132 C-18 ControlNet Objects DPI Parameter Object (Continued) Descriptor Attributes Name Description Data Type (Bit 1) Right bit is least significant bit (0). 000 = BYTE used as an array of Boolean 001 = WORD used as an array of Boolean 010 = BYTE (8-bit integer) Data Type (Bit 2) 011 = WORD (16-bit integer)
  • Page 133 ControlNet Objects C-19 DPI Parameter Object (Continued) Descriptor Attributes Name Description Parameter Exists Reserved Not Used Reserved Formula Links Reserved Access Level (Bit 1) Reserved Access Level (BIt 2) Reserved Access Level (Bit 3) Reserved Writable ENUM Reserved Not a Link Source 0 = Parameter can be a source for a link 1 = Parameter cannot be a source for a link Enhanced Bit ENUM...
  • Page 134 C-20 ControlNet Objects DPI Parameter Object (Continued) Format for Get_Attributes_Scattered Service The structure shown below can get up to twenty-two parameters in a single message. In the Response Message, a parameter number with the high bit set indicates that the associated parameter value field actually contains an error code.
  • Page 135 ControlNet Objects C-21 DPI Parameter Object (Continued) The PLC data in this example is for a Get_Attributes_Scattered of PowerFlex 70 parameters; 1 - [Output Freq], 3 - [Output Current] and 6 - [Output Voltage] from a device at node address 1. Request Data for Get_Attributes_Scattered Word Value (hex) Description...
  • Page 136 C-22 ControlNet Objects DPI Parameter Object (Continued) Format for Set_Attributes_Scattered Service The structure shown below can get up to twenty-two parameters in a single message. In the Response Message, a parameter number with the high bit set indicates that the associated pad word field contains an error code.
  • Page 137 ControlNet Objects C-23 DPI Parameter Object (Continued) The PLC data in this example is for a Set_Attributes_Scattered of PowerFlex 70 parameters; 140 - [Accel Time 1], 142 - [Decel Time 1] and 100 - [Jog Speed] to a device at node address 1. Request Data for Set_Attributes_Scattered Word Value (hex) Description...
  • Page 138: Dpi Fault Object

    C-24 ControlNet Objects DPI Fault Object Class Code Hexadecimal Decimal 0x97 Products such as PowerFlex drives use this object for faults. Adapters use this object for events. Instances The number of instances depends on the maximum number of faults or events supported in the queue.
  • Page 139 ControlNet Objects C-25 DPI Fault Object (Continued) Instance Attributes Attribute Access Name Data Type Description Rule Full/All STRUCT of Information WORD Fault code STRUCT of Fault source BYTE DPI port BYTE DPI Device Object STRING[16] Fault text STRUCT of Fault time stamp LWORD Timer value (0 = Timer not supported) BOOL[16]...
  • Page 140: Dpi Alarm Object

    C-26 ControlNet Objects DPI Alarm Object Class Code Hexadecimal Decimal 0x98 Products such as PowerFlex drives use this object for alarms or warnings. Adapters do not support this object. Instances The number of instances depends on the maximum number of alarms supported by the queue.
  • Page 141 ControlNet Objects C-27 DPI Alarm Object (Continued) Instance Attributes Attribute Access Name Data Type Description Rule Full/All STRUCT of Information WORD Alarm code STRUCT of Alarm source BYTE DPI port BYTE DPI Device Object STRING[16] Alarm text STRUCT of Alarm time stamp LWORD Timer value (0 = Timer not supported) BOOL[16]...
  • Page 142: Dpi Time Object

    C-28 ControlNet Objects DPI Time Object Class Code Hexadecimal Decimal 0x9B Instances The number of instances depends on the number of timers in the device. Instance 1 is always reserved for a real time clock although a device may not support it. The total number of timers can be read in Instance 0, Attribute 2.
  • Page 143 ControlNet Objects C-29 DPI Time Object (Continued) Instance Attributes Attribute Access Name Data Type Description Rule Read Full STRUCT of STRING[16] Name of the timer LWORD or Elapsed time in milliseconds unless timer STRUCT is a real time clock (See attribute 2) BOOL[16] See Attribute 3 Timer Text...
  • Page 144 C-30 ControlNet Objects Notes:...
  • Page 145: Appendix D Logic Command/Status Words

    Appendix Logic Command/Status Words Appendix D provides the definitions of the Logic Command/Logic Status words that are used for some products that can be connected to the ControlNet adapter. If you do not see the Logic Command/Logic Status for the product that you are using, refer to your product’s documentation. PowerFlex 70 and PowerFlex 700 Drives Logic Command Word Logic Bits...
  • Page 146 Logic Command/Status Words PowerFlex 70 and PowerFlex 700 Drives Logic Status Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Status Description x Ready 0 = Not Ready 1 = Ready Active 0 = Not Active 1 = Active...
  • Page 147: Glossary

    A controller consists of a central processor, input/output interface, and memory. See also Scanner. ControlFLASH ControlFLASH is an Allen-Bradley software tool that lets users electronically update firmware on printed circuit boards. The tool takes advantage of the growing use of flash memory (electronic erasable chips) across industrial control products.
  • Page 148 DriveExplorer Software DriveExplorer software is a tool for monitoring and configuring Allen-Bradley products and adapters. It can be run on computers running Microsoft Windows 95, Windows 98, ME, Windows NT (version 4.0 or 2000), and Windows CE (version 2.01 or higher) operating systems.
  • Page 149 Glossary-3 occurs or when the scanner is switched out of run mode. The former uses a communications fault action, and the latter uses an idle fault action. Fault Configuration When communications are disrupted (for example, a cable is disconnected), the adapter and PowerFlex drive can respond with a user-defined fault configuration.
  • Page 150 PowerFlex Drives The Allen-Bradley PowerFlex family of drives includes PowerFlex 70, PowerFlex 700, and PowerFlex 7000 drives. These drives can be used for applications ranging from 0.37 kW (0.5 HP) to 3,000 kW (4,000 HP).
  • Page 151 Glossary-5 Reference/Feedback The Reference is used to send a Reference (for example, speed, frequency, torque) to the product. It consists of one word of input to the adapter from the network. The size of the word (either a 16-bit word or 32-bit word) is determined by the drive.
  • Page 152 Glossary-6 Notes:...
  • Page 153 Allen-Bradley, ControlFLASH, DPI, DriveExplorer, DriveTools32, DriveTools 2000, DriveExecutive, PLC-5C, PowerFlex, SCANport, and SLC are trademarks of Rockwell Automation. ControlNet is a trademark of ControlNet International. RSLogix is a trademark of Rockwell Software. Windows, Windows CE, Windows NT, and Microsoft are either...
  • Page 155: Index

    Index communications module, refer to adapter adapter compatible products, 1-2 applying power, 2-6 components, 1-1 compatible products, 1-2 components, 1-1 configuration tools, 3-1 definition, G-1 connecting the adapter to the features, 1-2 network, 2-3 grounding, 2-5 ControlFLASH illustration, 1-1 definition, G-1 installing, 2-1 to 2-6 documentation, P-1 mapping I/O in the scanner,...
  • Page 156 Index-2 DriveExplorer Flt Cfg Ref parameter, B-4 accessing parameters with, 3-1 formatting Explicit Messages, 6-8 definition, G-2 supported feature, 1-2 Drives, see PowerFlex drives grounding the adapter, 2-5 DriveTools 2000 accessing parameters with, 3-1 definition, G-2 supported feature, 1-2 HIM (Human Interface Module) accessing parameters with, 3-1 definition, G-3 LCD model, 3-2...
  • Page 157 Index-3 PCCC definition, G-4 LCD HIM, 3-2 supported feature, 1-2 LED HIM, 3-2 PCCC object, C-13 LEDs, refer to status indicators ping, G-4 Logic Command/status power consumption, A-1 bit definitions, D-1 PowerFlex drives, G-4 definition, G-3 70/700 Logic Command/ in I/O image, 5-2 status, D-1 using, 5-4 compatible with adapter, 1-2...
  • Page 158 Index-4 status indicators definition, G-5 identifying, 1-6 locating, 7-1 switches locating, 1-1 setting, 2-1 technical support, P-2 tools required, 1-3 troubleshooting, 7-1 to 7-8 update, see flash update web site for manuals, P-1 wiring, refer to cables zero data configuring an adapter for, 3-4 definition, G-6...
  • Page 159 Rockwell Automation, 777 East Wisconsin Avenue, Suite 1400, Milwaukee, WI, 53202-5302 USA, Tel: (1) 414.212.5200, Fax: (1) 414.212.5201 Headquarters for Allen-Bradley Products, Rockwell Software Products and Global Manufacturing Solutions Americas: Rockwell Automation, 1201 South Second Street, Milwaukee, WI 53204-2496 USA, Tel: (1) 414.382.2000, Fax: (1) 414.382.4444...

Table of Contents