PowerFlex 20-COMM-D DeviceNet Adapter Series B FRN 2.
Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (Publication SGI-1.1 available from your local Rockwell Automation sales office or online at http:// www.rockwellautomation.com/literature) describes some important differences between solid state equipment and hard-wired electromechanical devices.
Summary of Changes The information below summarizes the changes made to this manual since its last release (May 2012). Description of Changes Page Added information about Connected Components Workbench software configuration tool for drives and connected peripherals. Throughout manual Added information for use with PowerFlex Digital DC drives.
soc-ii Summary of Changes Notes: 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P
Table of Contents Preface About This Manual Conventions Used in This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1 Rockwell Automation Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-2 Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-2 Chapter 1 Getting Started Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii Table of Contents Chapter 5 Using the I/O About I/O Messaging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 Understanding the I/O Image. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Using Logic Command/Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6 Using Reference/Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Appendix C iii DeviceNet Objects Identity Object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2 Connection Object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3 Register Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-4 Parameter Object . . . . . . . . . . . . . . . . . . . . .
iv Table of Contents 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P
Preface About This Manual Topic Page Additional Resources P-2 Rockwell Automation Support P-2 Conventions Used in This Manual P-1 This manual provides information about the adapter and using it with PowerFlex 7-Class (Architecture-Class) drives. The adapter can be used with other products that support a DPI™ adapter, such as the DPI External Comms Kit (20-XCOMM-DC-BASE). See the documentation for your product for specific information about how it works with the adapter.
P-2 About This Manual Rockwell Automation Support Rockwell Automation offers support services worldwide, with over 75 sales and support offices, over 500 authorized distributors, and over 250 authorized systems integrators located throughout the United States alone. In addition, Rockwell Automation representatives are in every major country in the world. Local Product Support Contact your local Rockwell Automation, Inc.
About This Manual P-3 Resource Description PowerFlex 700S w/Phase I Control Installation Manual (Frames 1…6), publication 20D-IN024 PowerFlex 700S w/Phase I Control Installation Manual (Frames 9 and 10), publication PFLEX-IN006 PowerFlex 700S w/Phase I Control User Manual (All Frame Sizes), publication 20D-UM001 PowerFlex 700S w/Phase I Control Reference Manual, publication PFLEX-RM002 PowerFlex 700S w/Phase II Control Installation Manual (Frames 1…6), publication 20D-IN024 PowerFlex 700S w/Phase II Con
P-4 About This Manual Notes: 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P
Chapter 1 Getting Started The adapter is intended for installation into a PowerFlex 7-Class drive and is used for network communication. The 20-COMM-D Series B adapter, firmware revision 2.xxx or later, can also be installed in an External DPI Comms Kit (20-XCOMM-DC-BASE). For PowerFlex 750-Series drives, we recommend using the 20-750-DNET DeviceNet option module instead of the 20-COMM-D adapter.
1-2 Getting Started Features The features of the adapter include the following: • Typical mounting in a PowerFlex 7-Class drive. The 20-COMM-D Series B adapter, firmware revision 2.xxx or later, can also be installed in a DPI External Comms Kit and used with the kit’s optional I/O board. See Chapter 8, Using the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE) for more information.
Getting Started 1-3 • Faulted node recovery support. You can configure a device even when it is faulted on the network if you have a configuration tool that uses faulted node recovery and have set the data rate switch to ‘PGM’ (Program). The adapter then uses parameter settings for the data rate and node address instead of switch settings. • Access to any PowerFlex drive and its connected peripherals on the network to which the adapter is connected.
1-4 Getting Started User-Supplied Equipment To install and configure the adapter, you must supply the following: ❑ A small flathead screwdriver ❑ DeviceNet cable – thin cable with an outside diameter of 6.9 mm (0.27 in.) is recommended ❑ Drive and adapter configuration tool, such as the following: – PowerFlex 20-HIM-xx HIM – RSNetWorx for DeviceNet software, version 7.00 or later – Connected Components Workbench software, version 1.
Getting Started 1-5 ❑ A computer connection to the DeviceNet network via a communication card, such as 1784-PCD, 1784-PCID, 1784-PCIDS, or 1770-KFD Safety Precautions Please read the following safety precautions carefully. ! ! ! ! ! ! ! ATTENTION: Risk of injury or death exists. The PowerFlex drive may contain high voltages that can cause injury or death. Remove all power from the PowerFlex drive, and then verify power has been discharged before installing or removing an adapter.
1-6 Getting Started Quick Start This section is provided to help experienced users quickly start using the adapter. If you are unsure how to complete a step, refer to the referenced chapter. Step Action See 1 Review the safety precautions for the adapter. Throughout this manual 2 Verify that the PowerFlex drive is properly installed. Drive User Manual 3 Install the adapter. b. Connect the adapter to the drive with the Internal Interface cable.
Chapter 2 Installing the Adapter This chapter provides instructions for installing the adapter in a PowerFlex 7-Class drive. The 20-COMM-D Series B adapter, firmware revision 2.xxx or later, can also be installed in a DPI External Comms Kit. In this case, see Chapter 8 or the 20-XCOMM-DC-BASE Installation Instructions, publication 20COMM-IN001, supplied with the kit.
2-2 Installing the Adapter Setting the Node Address Switches Set the adapter Node Address switches (Figure 2.1) by rotating the switches to the desired value for each digit. Important: Each node on the DeviceNet network must have a unique address. Set the node address before power is applied because the adapter uses the node address it detects when it first receives power. To change a node address, you must set the new value and then remove and reapply power to (or reset) the adapter. Figure 2.
Installing the Adapter Setting the Data Rate Switch 2-3 Set the adapter Data Rate switch (Figure 2.2) by rotating the switch to the desired setting. Figure 2.2 Setting Adapter Data Rate Switch 500K PGM 250K 125K AUTO Setting Description Auto Sets the adapter to the data rate used by other network devices. Another device on the network must be set to a data rate. 125K, 250K, 500K Sets the adapter to the respective data rate.
2-4 Installing the Adapter Connecting the Adapter to the Drive ! 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 the adapter. 1. Remove power from the drive. 2. Use static control precautions. 3. Remove or open the drive cover. 4.
Installing the Adapter Figure 2.3 2-5 DPI Ports and Internal Interface Cables 20-COMM-D Adapter ➊ ➋ ➌ PowerFlex 70 - All Frames ➍ PowerFlex 700 Frames 0 and 1 PowerFlex 700S Frames 0 and 1 PowerFlex 700 Frames 2 and Larger PowerFlex 700S Frames 2 through 6 HIM panel opens to allow access to DPI interface. To open panel, remove screws on left side of HIM panel and swing open. X2 X1 PowerFlex 700H Frames 9 and Larger PowerFlex 700S Frames 9 and Larger Item Description ➊ 15.24 cm (6 in.
2-6 Installing the Adapter Figure 2.4 Mounting and Grounding the Adapter Drive 0.9 N•m (8.0 lb•in) 4 Places Adapter Internal Interface Cable folded behind the adapter and in front of the drive. Ground Tab Detail PowerFlex 70 - All Frame Sizes (Adapter mounts in drive.) 0.9 N•m (8.0 lb•in) 4 Places PowerFlex 700 Frames 0 and 1 PowerFlex 700S Frames 0 and 1 (Adapter mounts on door.) Verify metal ground tab is bent 90° and is under the adapter before tightening screw.
Installing the Adapter Connecting the Adapter to the Network 2-7 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 the adapter. ! 1. Remove power from the network and drive. 2. Use static control precautions. 3. Connect one end of a DeviceNet cable to the network. We recommend DeviceNet Thin cable with an outside diameter of 6.
2-8 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 are compatible with your application. Verify that settings are compatible with your application before applying power to the drive. Install the drive cover or close the drive door, and apply power to the drive. The adapter receives its power from the connected drive.
Installing the Adapter 2-9 Table 2.A Drive and Adapter Start-Up Status Indications Item Name Color State Description Drive STS Indicator ➊ STS (Status) Green Yellow Red Flashing Drive ready but not running, and no faults are present. Steady Drive running, no faults are present. Flashing, drive stopped An inhibit condition exists – the drive cannot be started. Check drive Parameter 214 - [Start Inhibits]. Flashing, drive running An intermittent type 1 alarm condition is occurring.
2-10 Installing the Adapter 3. Verify that drive Parameter 213 - [Speed Ref Source] is reporting that the source of the Reference to the drive is ‘22’ (DPI Port 5). This ensures that any Reference commanded from the network can be monitored by using drive Parameter 002 - [Commanded Speed]. If a problem occurs, this verification step provides the diagnostic capability to determine whether the drive/adapter or the network is the cause.
Chapter 3 Configuring the Adapter This chapter provides instructions and information for setting the parameters to configure the adapter.
3-2 Configuring the Adapter Using the PowerFlex 7-Class If your drive has either an LED or LCD HIM (Human Interface Module), it can be used to access parameters in the adapter as shown below. We HIM to Access Parameters recommend that you read through the steps for your HIM before performing the sequence. For additional information, see the drive documentation or the PowerFlex 7-Class HIM Quick Reference, publication 20HIM-QR001. Using an LED HIM Step Example Screens 1.
Configuring the Adapter Setting the Node Address 3-3 If the adapter Data Rate switch (Figure 2.2) is set to ‘PGM’ (Program), the value of Parameter 03 - [DN Addr Cfg] determines the node address. We recommend not to use the default node address 63 because all new devices on the network use this address as the default address. Also, node address 63 is used for Automatic Device Recovery (ADR). 1. Set the value of Parameter 03 - [DN Addr Cfg] to a unique node address.
3-4 Configuring the Adapter Setting the I/O Configuration The I/O configuration determines the data that is sent to and from the drive. Logic Command/Status, Reference/Feedback, and Datalinks may be enabled or disabled. (Datalinks allow you to read/write directly to parameters in the drive using implicit I/O.) A ‘1’ enables the I/O and a ‘0’ disables the I/O. 1. Set the bits in Parameter 13 - [DPI I/O Cfg].
Configuring the Adapter Selecting Master-Slave or Peer-to-Peer Hierarchy 3-5 A hierarchy determines the type of device with which the adapter exchanges data. In a Master-Slave hierarchy, the adapter exchanges data with a master, such as a scanner (1756-DNB, 1771-SDN, 1747-SDN, and so forth). In a Peer-to-Peer hierarchy, the adapter exchanges data with one or more DeviceNet adapters connected to other drives. (The drives must have compatible Logic Command/Status words.
3-6 Configuring the Adapter Setting the Adapter to Transmit Peer-to-Peer Data (Drive-to-Drive Communication) 1. Verify that Parameter 41 - [Peer Out Enable] is set to ‘0’ (Off). This parameter must be Off while you configure peer output parameters. Port 5 Device 20-COMM-D Parameter #: 41 Peer Out Enable 0 Off Value Setting 0 Off (Default) 1 On 2. Set Parameter 39 - [Peer A Output] to select the source of the data to output to the network.
Configuring the Adapter 3-7 In this example, the minimum interval is set to 2.00 seconds (Parameter 42 - [Peer Out Time]), and the maximum interval is set to 4.00 seconds (2.00 x ‘2’ setting of Parameter 43 - [Peer Out Skip]). Port 5 Device 20-COMM-D Parameter #: 42 Peer Out Time 2.00 s 0 <> 10.00 Port 5 Device 20-COMM-D Parameter #: 43 Peer Out Skip 2 Default = 10.00 s 1 <>16 Default = 1 5. Set Parameter 41 - [Peer Out Enable] to ‘1’ (On).
3-8 Configuring the Adapter 3. Set Parameter 30 - [Peer A Input] to select the destination of the data that is input to the drive as Peer A. Port 5 Device 20-COMM-D Parameter #: 30 Peer A Input 1 Cmd/Ref Value Description 0 Off (Default) 1 Logic Command/Reference 2…5 Datalink A, B, C, or D Input Important: When receiving a 32-bit Reference or 32-bit Datalink, only Peer A Input will be available. Peer B Input cannot be used. 4.
Configuring the Adapter Port 5 Device 20-COMM-D Parameter #: 33 Peer Ref Adjust 0.00 % 0.00 <> 199.99 3-9 Default = 0.00% 8. Set Parameter 36 - [Peer Inp Timeout] to the maximum amount of time the adapter will wait for a message before timing out. Important: This value must be greater than the product of Parameter 42 - [Peer Out Time] multiplied by Parameter 43 - [Peer Out Skip] in the adapter from which you are receiving I/O. For example, if the value of Parameter 42 - [Peer Out Time] is 2.
3-10 Configuring the Adapter Selecting COS, Cyclic or Polled I/O The data exchange (sometimes called allocation) is the method that the adapter uses to exchange data on the DeviceNet network.
Configuring the Adapter 3-11 3. Set Parameter 28 - [COS Fdbk Change] for the amount of change to the Feedback that is required to trigger a Change of State message. Port 5 Device 20-COMM-D Parameter #: 28 COS Fdbk Change 0 0 <> 4294967295 Default = 0 The adapter is now configured for COS data exchange. You must configure the scanner to allocate it using COS. See Chapter 4, Configuring the I/O for details.
3-12 Configuring the Adapter Port 5 Device 20-COMM-D Parameter #: 10 Comm Flt Action 0 Fault Port 5 Device 20-COMM-D Parameter #: 11 Idle Flt Action 0 Fault Changes to these parameters take effect immediately. A reset is not required. If communication is disrupted and then is re-established, the drive will automatically take commands from the network again.
Configuring the Adapter 3-13 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 values. After performing a Set Defaults, enter ‘1’ (Reset Module) so that the new values take effect. The value of this parameter will be restored to ‘0’ (Ready) after the adapter is reset. The following parameters provide information about the status of the adapter.
3-14 Configuring the Adapter Updating the Adapter Firmware The adapter firmware can be updated over the network or serially through a direct connection from a computer to the drive using a 1203-USB or 1203-SSS serial converter. When updating firmware over the network, you can use the Allen-Bradley ControlFLASH software tool, the built-in update capability of DriveExplorer Lite or Full software, or the built-in update capability of DriveExecutive software.
Chapter 4 Configuring the I/O This chapter provides instructions on how to configure a Rockwell Automation ControlLogix, PLC-5, or SLC 500 controller to communicate with the adapter and connected PowerFlex drive.
4-2 Configuring the I/O 8. Click OK. The Configure Drivers screen reappears with the new driver in the Configured Drivers list. 9. Click Close to close the Configure Drivers screen. 10. Keep RSLinx running and verify that your computer recognizes the drive. a. Select Communications > RSWho. b. In the menu tree, click ‘+’ next to the DeviceNet driver. ControlLogix Controller Example After the adapter is configured, the connected drive and adapter will be a single node on the network.
Configuring the I/O 4-3 Adding the Scanner to the I/O Configuration To establish communication between the controller and adapter over the network, you must first add the ControlLogix controller and its scanner to the I/O configuration. This procedure is similar for all RSLogix 5000 versions. 1. Start RSLogix 5000 software. 2. Select File > New to display the New Controller screen. a. Choose the appropriate choices for the fields in the screen to match your application. b. Click OK.
4-4 Configuring the I/O 5. In the list, select the DeviceNet scanner used by your controller. In this example, we use a 1756-DNB DeviceNet Scanner, so the 1756-DNB option is selected. 6. Click OK. 7. In the Select Major Revision pop-up dialog box, select the major revision of its firmware. 8. Click OK. The scanner’s New Module screen appears. 9. Edit the following. 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P Box Setting Name A name to identify the DeviceNet scanner.
Configuring the I/O 4-5 10. Click OK. The scanner is now configured for the DeviceNet network and added to the RSLogix 5000 project. It appears in the I/O Configuration folder. In our example, a 1756-DNB scanner appears under the I/O Configuration folder with its assigned name. For convenience, keep the project open. Later in this chapter the project will need to be downloaded to the controller.
4-6 Configuring the I/O The following screen shows our example navigating to devices that are on a DeviceNet network. Depending on the communication link you are using, the navigation path may be different. 7. After selecting a valid path to the DeviceNet network (for this example, A, DeviceNet), click OK. If a message box appears about uploading or downloading information, click OK.
Configuring the I/O 4-7 Creating the EDS File from Online DeviceNet Network a. Right-click the Unrecognized Device icon and choose Register Device. The EDS Wizard appears. b. Click Next to start creating the EDS file. c. Select Create an EDS file. d. Click Next. If the EDS file is already downloaded and resides on your computer, select the Register an EDS file option and click Next. Then follow the screen prompts and disregard the remaining steps in this procedure. e.
4-8 Configuring the I/O Downloading the EDS File from Rockwell Automation Website a. Go to the website http://www.rockwellautomation.com/resources/ eds. b. On the web page in the Electronic Data Sheets [EDS] section, click the link ‘All Other EDS Files’. The Find EDS Files search screen appears. c. From the Network pull-down menu, choose the type of network (for this example, DeviceNet). d. From the Device Type pull-down menu, choose ‘AC Drive’. e.
Configuring the I/O 4-9 8. In the graph view window, right-click the 1756-DNB icon and choose Properties… to display its properties screen. 9. Click the Module tab to display the Scanner Configuration Applet screen. 10. Click Upload to upload the 1756-DNB configuration to the RSNetWorx for DeviceNet project. The 1756-DNB Module Tab screen appears. a. Edit the following. Box Setting Interscan Delay Sets the scanner time delay between consecutive I/O scans on the network.
4-10 Configuring the I/O 11. Click the Scanlist tab to begin the drive I/O configuration. The Available Devices box shows devices that are presently on the DeviceNet network but are not yet configured. The Scanlist box shows devices that are presently on the DeviceNet network and are configured. TIP: The Automap on Add box is checked by default and allows RSNetWorx for DeviceNet software to automatically map the drive I/O into the scanner in the next available registers.
Configuring the I/O 4-11 d. Click Edit I/O Parameters… to display the Edit I/O Parameters screen for the PowerFlex 70 EC drive used in this example. e. Select the type of data exchange (Polled, Change of State, and/or Cyclic). For this example, we selected (and recommend) Polled. f. For the Input Size and Output Size boxes, use the pull-down menus to choose the number of bytes that are required for your I/O.
4-12 Configuring the I/O Table 4.A Drives with 16-bit Reference/Feedback and 16-bit Datalinks These products include the following: • PowerFlex 70 drives with standard or enhanced control • PowerFlex 700 drives with standard control • PowerFlex 700H drives Logic Command/ Status Ref/Fdbk (16-bit) Datalinks (16-bit) ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ A B C D ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ • SMC Flex smart motor controllers • SMC-50 smart motor controllers User Configured Settings Size in Bytes Par.
Configuring the I/O 4-13 g. Set the scan rate for the selected data exchange method. Data Exchange Method Rate Field to Set Polled Poll Rate Change of State Heartbeat Rate Cyclic Send Rate For more information about scan rates, see RSNetWorx for DeviceNet online help. h. Click OK. If a Scanner Configuration Applet appears, click Yes to continue. The Edit I/O Parameters screen closes and then the 1756-DNB Scanlist tab screen reappears. 12.
4-14 Configuring the I/O 15. Click AutoMap to map the drive output image to the 1756-DNB scanner as shown in this example below. TIP: If your RSLogix 5000 project requires a different starting DWord (double word, 32-bit) than the default value of 0 for the drive output image, set the Start DWord field to the appropriate value. 16. Click OK. If the Scanner Configuration Applet appears and asks to download these settings to the 1756-DNB scanner, click Yes. 17. Click File > Save.
Configuring the I/O 4-15 Table 4.D Example PowerFlex 70 EC Drive Datalink Settings Parameter Value Description 300 - [Data In A1] 140 Points to Par. 140 - [Accel Time 1] 301 - [Data In A2] 142 Points to Par. 142 - [Decel Time 1] 302 - [Data In B1] 100 Points to Par. 100 - [Jog Speed] 303 - [Data In B2] 155 Points to Par. 155 - [Stop Mode A] 304 - [Data In C1] 101 Points to Par. 101 - [Preset Speed 1] 305 - [Data In C2] 102 Points to Par.
4-16 Configuring the I/O 4. With the parameter list showing, set the various Data In and Data Out parameters. In this example, the Datalinks are set to the values shown in Table 4.D. 5. Click OK. If the EDS Editor dialog box appears, asking to download the configuration to the drive from the software configuration, click Yes. After the download is completed, the PowerFlex 70 EC Drive Properties screen closes.
Configuring the I/O 4-17 3. In RSLogix 5000 software, select Tools > DeviceNet Tag Generator to display the RSLogix 5000 DeviceNet Tag Generator Step 1 window. 4. Select the appropriate RSLogix 5000 project (.ACD file) and click Step 2 in the left pane to display the Step 2 window. 5. Select the appropriate scanner (for this example, My_DeviceNet_Scanner) and click Step 3 in the left pane to display the Step 3 window.
4-18 Configuring the I/O 6. Browse to and select the appropriate RSNetWorx for DeviceNet project (.dnt file) and click Step 4 in the left pane to display the Step 4 window. 7. Select the appropriate scanner node (for this example, node 00) and click Step 5 in the left pane to display the Step 5 window. 8. In the right pane, click Generate Tags. When the dialog box appears asking to continue, click Yes. If there are any errors listed in the Results pane, correct them before continuing. 9.
Configuring the I/O 4-19 Downloading the Project to the Controller and Going Online After adding the scanner and drive/adapter to the I/O configuration, you must download the configuration to the controller. You should also save the configuration as a file on your computer. 1. In the RSLogix 5000 window, select Communications > Download. The Download dialog box appears.
4-20 Configuring the I/O PLC-5 Controller Example After the adapter is configured, the connected drive and adapter will be a single node on the network. This section provides the steps needed to configure a simple DeviceNet network (see Figure 4.2). In our example, we will configure a PLC-5 controller with 1771-SDN scanner to communicate with a drive using Logic Command/Status, Reference/Feedback, and Datalinks over the network. Figure 4.
Configuring the I/O Drive Parameter No.
4-22 Configuring the I/O 5. Select Network > Online to display the Browse for Network screen. 6. Expand the communication path from your computer to the 1771-SDN scanner. The following screen shows our example navigating to devices that are on a DeviceNet network. Depending on the communication link you are using, the navigation path may be different. 7. After selecting a valid path to the DeviceNet network (for this example, A, DeviceNet), click OK.
Configuring the I/O 4-23 If the icon for the drive (for this example, PowerFlex 70 EC) on the network appears as Unrecognized Device, either use RSNetWorx for DeviceNet software to create the appropriate drive EDS file or download the EDS file from the Rockwell Automation website. Creating the EDS File from Online DeviceNet Network a. Right-click the Unrecognized Device icon and choose Register Device. The EDS Wizard appears. b. Click Next to start creating the EDS file. c. Select Create an EDS file. d.
4-24 Configuring the I/O e. Type a description (if desired) and click Next. f. Check the Polled box, type ‘4’ in the Input Size and Output Size boxes (which accounts for just the basic I/O), and click Next. RSNetWorx for DeviceNet software will upload the EDS file from the drive. g. Click Next to display the icon options for the node. We recommend using the icon for the PowerFlex 7-Class drive being used. You can change icons by clicking Change icon. h. Click Next to view a summary. i.
Configuring the I/O j. 4-25 Reboot the computer and repeat steps 1 through 7 at the beginning of this subsection. The Unrecognized Device icon in the RSNetWorx for DeviceNet graph view window in step 7 should have been replaced by a drive icon (for this example, the icon for a PowerFlex 70 EC drive). 8. In the graph view window, right-click the 1771-SDN icon and choose Properties… to display its properties screen. 9. Click the Module tab to display the Scanner Configuration Applet screen. 10.
4-26 Configuring the I/O a. Edit the following. Box Setting Channel Selects the scanner channel to which the DeviceNet network is connected. For this example, Channel A is selected. Interscan Delay Sets the scanner time delay between consecutive I/O scans on the network. For this example, we recommend using the default setting of 10 milliseconds. Foreground… Sets the ratio of foreground to background polls. For this example, we recommend using the default setting of 1.
Configuring the I/O 4-27 c. Click ‘>’ to move the PowerFlex 70 EC drive to the Scanlist box. Box Setting Node Active Activates/deactivates the scanlist in the 1771-SDN scanner for the selected device. For this example, keep the box checked. Device Type These Electronic Key category check boxes select how specific the device in the scanlist must be for the 1771-SDN scanner to match its compatibility for I/O operation. The more boxes that are checked, the more specific the device must be to operate.
4-28 Configuring the I/O f. For the Input Size and Output Size boxes, use the pull-down menus to choose the number of bytes that are required for your I/O. The size will depend on the drive’s Reference/Feedback and the number of Datalinks used in your I/O (enabled with adapter Parameter 13 - [DPI I/O Cfg]), and the selected data exchange method. (A 16-bit word is two bytes, and a 32-bit word is four bytes.) For this example, an Input Size of ‘20’ and an Output Size of ‘20’ are used.
Configuring the I/O 4-29 Table 4.G Drives with 32-bit Reference/Feedback and 32-bit Datalinks These products include the following: • PowerFlex 700S drives with Phase I or Phase II control • PowerFlex 700L drives with 700S control Logic Command/ Status Ref/Fdbk (32-bit) Datalinks (32-bit) ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ A B C D ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ • PowerFlex 753 drives • PowerFlex 755 drives User Configured Settings Size in Bytes Par. 13 Par. 25 [DPI I/O Cfg] [M-S Input] Par.
4-30 Configuring the I/O 13. Click AutoMap to map the drive input image to the 1771-SDN scanner as shown in this example below. TIP: If your RSLogix 5 project requires a different starting Word (word, 32-bit) than the default value of 0 for the drive input image, set the Start Word field to the appropriate value. 14. Click the Output tab to display the output registers for the 1771-SDN scanner.
Configuring the I/O 4-31 16. Click OK. If the Scanner Configuration Applet appears and asks to download these settings to the 1771-SDN scanner, click Yes. 17. Click File > Save. If this is the first time you saved the project, the Save As dialog box appears. a. Navigate to a folder. b. Type a file name. c. Click Save to save the configuration as a file on your computer. SLC 500 Controller Example After the adapter is configured, the connected drive and adapter will be a single node on the network.
4-32 Configuring the I/O 1. Set adapter Parameters 13 - [DPI I/O Cfg], 25 - [M-S Input], and 26 [M-S Output] to values that meet your application requirements. For this example, the adapter I/O parameters are set to these values. Adapter Parameter No. Setting 13 - [DPI I/O Cfg] xxxx xxxx xxx1 1111 25 - [M-S Input] xxxx xxxx xxx1 1111 26 - [M-S Output] xxxx xxxx xxx1 1111 2. Reset the adapter (see Resetting the Adapter on page 3-12), or power cycle the drive.
Configuring the I/O 4-33 3. Select ‘DeviceNet Configuration’ as the network configuration type. 4. Click OK. 5. Select Network > Online to display the Browse for Network screen. 6. Expand the communication path from your computer to the 1747-SDN scanner. The following screen shows our example navigating to devices that are on a DeviceNet network. Depending on the communication link you are using, the navigation path may be different. 7.
4-34 Configuring the I/O If the icon for the drive (for this example, PowerFlex 70 EC) on the network appears as Unrecognized Device, either use RSNetWorx for DeviceNet software to create the appropriate drive EDS file or download the EDS file from the Rockwell Automation website. Creating the EDS File from Online DeviceNet Network a. Right-click the Unrecognized Device icon and choose Register Device. The EDS Wizard appears. b. Click Next to start creating the EDS file. c. Select Create an EDS file. d.
Configuring the I/O 4-35 e. Type a description (if desired) and click Next. f. Check the Polled box, type ‘4’ in the Input Size and Output Size boxes (which accounts for just the basic I/O), and click Next. RSNetWorx for DeviceNet software will upload the EDS file from the drive. g. Click Next to display the icon options for the node. We recommend using the icon for the PowerFlex 7-Class drive being used. You can change icons by clicking Change icon. h. Click Next to view a summary. i.
4-36 Configuring the I/O j. Reboot the computer and repeat steps 1 through 7 at the beginning of this subsection. The Unrecognized Device icon in the RSNetWorx for DeviceNet graph view window in step 7 should have been replaced by a drive icon (for this example, the icon for a PowerFlex 70 EC drive). 8. In the graph view window, right-click the 1747-SDN icon and choose Properties… to display its properties screen. 9. Click the Module tab to display the Scanner Configuration Applet screen. 10.
Configuring the I/O 4-37 a. Edit the following. Box Setting Interscan Delay Sets the scanner time delay between consecutive I/O scans on the network. For this example, we recommend using the default setting of 10 milliseconds. Foreground… Sets the ratio of foreground to background polls. For this example, we recommend using the default setting of 1. Slot Sets the slot location in which the scanner is installed. For this example, Slot 0 is selected. b. Click Apply. 11.
4-38 Configuring the I/O d. Click Edit I/O Parameters… to display the Edit I/O Parameters screen for the PowerFlex 70 EC drive used in this example. e. Select the type of data exchange (Polled, Change of State, and/or Cyclic). For this example, we selected (and recommend) Polled. f. For the Input Size and Output Size boxes, use the pull-down menus to choose the number of bytes that are required for your I/O.
Configuring the I/O 4-39 Table 4.H Drives with 16-bit Reference/Feedback and 16-bit Datalinks These products include the following: • PowerFlex 70 drives with standard or enhanced control • PowerFlex 700 drives with standard control • PowerFlex 700H drives Logic Command/ Status Ref/Fdbk (16-bit) Datalinks (16-bit) ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ A B C ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ Table 4.
4-40 Configuring the I/O g. Set the scan rate for the selected data exchange method. Data Exchange Method Rate Field to Set Polled Poll Rate Change of State Heartbeat Rate Cyclic Send Rate For more information about scan rates, see RSNetWorx for DeviceNet software online help. h. Click OK. If a Scanner Configuration Applet appears, click Yes to continue. The Edit I/O Parameters screen closes and then the 1747-SDN Scanlist tab screen reappears. 12.
Configuring the I/O 4-41 example, change the default setting of Discrete to M File and its corresponding M-files are used. 15. Click AutoMap to map the drive output image to the 1747-SDN scanner as shown in this example below. TIP: If your RSLogix 500 project requires a different starting Word (word, 32-bit) than the default value of 0 for the drive output image, set the Start Word field to the appropriate value. 16. Click OK.
4-42 Configuring the I/O Notes: 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P
Chapter 5 Using the I/O This chapter provides information and examples that explain how to control, configure, and monitor a PowerFlex 7-Class drive using the configured I/O.
5-2 Using the I/O Understanding the I/O Image The terms ‘input’ and ‘output’ are defined from the controller’s point of view. Therefore, output I/O is data that is produced by the controller and consumed by the adapter. Input I/O is status data that is produced by the adapter and consumed as input by the controller. The I/O image will vary based on the following: • Size (either 16-bit or 32-bit) of the Reference/Feedback words and Datalink words used by the drive.
Using the I/O 5-3 Table 5.
5-4 Using the I/O Table 5.
Using the I/O 5-5 Table 5.
5-6 Using the I/O Table 5.
Using the I/O 5-7 (16-bit or 32-bit), and placed in the I/O image. If the DeviceNet Tag Generator was used, the generic (non-descriptive) tag names were replaced with descriptive tag names. PowerFlex 70/700/700H, and PowerFlex 700L Drives with 700 Control The Reference/Feedback value is a scaled engineering value; it is not in Hertz or RPM. The Reference uses a ‘32767’ scale.
5-8 Using the I/O If parameter 82 - [Maximum Speed] is changed to 90 Hz, then: 90 Hz = 32767 Speed Feedback uses the same scaling as the speed Reference. TIP: For PowerFlex 700 drives with vector control, firmware 3.xxx or later, parameter 299 - [DPI Fdbk Select] enables you to select the feedback data coming from the drive over DPI. The default is ‘Speed Fdbk’ in Hz or RPM determined by parameter 079 - [Speed Units].
Using the I/O 5-9 PowerFlex Digital DC Drives The Reference/Feedback value is: 25000 = Maximum Reference Speed The maximum reference speed is set using drive parameter 45 - [Max Ref Speed]. Using Datalinks A Datalink is a mechanism used by PowerFlex drives to transfer data to and from the controller. Datalinks allow a drive parameter value to be read or written without using an Explicit Message. When enabled, each Datalink occupies two 16-bit or 32-bit words in both the input and output image.
5-10 Using the I/O PowerFlex 700S, PowerFlex 700L with 700S Control, PowerFlex 753/755, and PowerFlex Digital DC Drives Datalinks require scaling in the following way. Parameters are either 16-bit or 32-bit integers or REALs. When the parameter is a 32-bit integer, the data needs to be copied using a COP command to a DINT tag. (Because PLC-5 and SLC 500 controllers do not support 32-bit integers, the data must be separated into two 16-bit integers.
Using the I/O 5-11 Regardless of the Datalink combination, Datalink x1 Out will always contain the LSW and Datalink x2 Out will always contain the MSW. In the following example, the PowerFlex 70 drive parameter 242 - [Power Up Marker] contains a value of 88.4541 hours. Datalink Word Parameter Data (Hex) A2 Out MSW 242 000D B1 Out LSW 242 7F3D Conversion Example: Parameter 242 - [Power Up Marker] = 88.
5-12 Using the I/O ControlLogix Controller Example Creating Ladder Logic with Non-descriptive Tags Using RSLogix 5000 Software, All Versions Drive and Adapter Parameter Settings The following drive and adapter settings were used for the example ladder logic program in this section. Device Parameter PowerFlex 70 EC Drive 90 - [Speed Ref A Sel 22 (DPI Port 5) 20-COMM-D Adapter Value Description Assigns 20-COMM-D to be used for the Reference. 300 - [Data In A1] 140 Points to Par.
Using the I/O 5-13 Controller Tags When you add the adapter and drive to the I/O configuration (Chapter 4), RSLogix 5000 software automatically creates generic (non-descriptive) controller tags for them. In this example program, the following controller tags are used. Figure 5.1 ControlLogix Controller Non-descriptive Controller Tags for Example Ladder Logic Program You can expand the Input and Output tags to reveal the input and output configuration.
5-14 Using the I/O 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P Figure 5.4 ControlLogix Program Tags for Example Ladder Logic Program with Non-descriptive Controller Tags Figure 5.
Using the I/O Figure 5.6 5-15 ControlLogix Example Ladder Logic Program with Non-descriptive Controller Tags for Logic Command/Reference Enabling the DeviceNet Scanner A rung in the ladder logic must be created and assigned to the 1756-DNB scanner Command Register Run bit. This rung (Figure 5.7) enables the scanner to transfer I/O on the network. Figure 5.7 Ladder Logic Rung for Command Register Run Bit Important: This rung must always be included in the ladder logic program.
5-16 Using the I/O Figure 5.8 ControlLogix Example Datalinks for Ladder Logic Program with Non-descriptive Controller Tags Creating Ladder Logic with Descriptive Tags Using RSLogix 5000 Software, Version 13.00 or Later If the DeviceNet Tag Generator was used in Chapter 4 to automatically create descriptive controller tags for the entire I/O image, these tags can be used to directly control and monitor the drive without creating any ladder logic program.
Using the I/O 5-17 An example ladder logic program that uses the automatically-created descriptive Controller tags and passes their data to the user-defined Program tags is shown in Figure 5.10 and Figure 5.11. Note that the prefix for the drive Controller tags is determined by the name assigned when configuring the I/O (Chapter 4). Figure 5.10 ControlLogix Example Ladder Logic Program with Descriptive Controller Tags for Logic Status/Feedback Figure 5.
5-18 Using the I/O Enabling the DeviceNet Scanner A rung in the ladder logic must be created and assigned to the 1756-DNB scanner Command Register Run bit. This rung (Figure 5.12) enables the scanner to transfer I/O on the network. Figure 5.12 Ladder Logic Rung for Command Register Run Bit Important: This rung must always be included in the ladder logic program. Example Datalink Data The Datalink data used in the example program is shown in Figure 5.13.
Using the I/O PLC-5 Controller Example 5-19 Creating an RSLogix 5 Project, Version 7.20 or Later To transmit (read and write) data between the controller and drive, you must create discrete I/O instructions in the controller for Logic Command/Status, Reference/Feedback, and Datalinks. 1. Start RSLogix 5 software. The RSLogix 5 window appears. 2. Select File > New to display the Select Processor Type screen. 3. Assign a name for the processor. 4.
5-20 Using the I/O 2. In the Chassis Type column, set the chassis type to match the chassis being used. For this example, the 1771-A1B (4 slots) is selected. 3. In the I/O Channel column, right-click the Local cell and choose Display Chassis to display the Chassis configuration screen. 4. In the Module Type column, right-click the cell that corresponds with the slot row in which the 1771-SDN scanner physically resides (for this example, Slot 0) and choose Insert Module to display the Edit Module screen.
Using the I/O 5-21 b. For the input data and output data rows, enter the corresponding N-files that were used in configuring the I/O (see step 10-b on page 4-26). For this example, N9:0 is used for the input data and N10:0 is used for the output data. c. After the Address column has been configured, click Done. 8. When the Monitor message screen appears, click Yes. The 1771-SDN at RGS 0/0/0 screen appears. a.
5-22 Using the I/O Figure 5.14 Ladder Logic for Communication Between the 1771-SDN Scanner and PLC-5 Processor Drive and Adapter Parameter Settings The following drive and adapter settings were used for the example ladder logic program in this section.
Using the I/O 5-23 TIP: When using a drive that has 16-bit Datalinks (PowerFlex 70, PowerFlex 700, and PowerFlex 700H drives) to transfer a 32-bit parameter, two contiguous drive Datalink parameters (for example, Data Out A1/A2, B1/B2, and so forth) are required. To determine if a parameter is a 32-bit parameter, see the Parameter section in the drive documentation and look for a 32 symbol in the ‘No.’ column. (All parameters in PowerFlex 700 Series B drives are 32-bit parameters.
5-24 Using the I/O PowerFlex 70, PowerFlex 700 with Standard Control, and PowerFlex 700H Drives When using any of these products—which all contain INT (16-bit format) data types—you will read from and write to a single data table address in the controller. Table 5.
Using the I/O 5-25 PowerFlex 700 Drives with Vector Control and PowerFlex 700L Drives with 700 Control When using these products, which contain DINT (32-bit format) data types, you will read from and write to the LSW data table address in the controller. Table 5.
5-26 Using the I/O PowerFlex 700S, PowerFlex 700L with 700S Control, PowerFlex 750-Series, and PowerFlex Digital DC Drives When using any of these drives, which contain both DINT (32-bit format) and REAL (floating point format) data types, you will always read from and write to the LSW data table address in the controller first. Then if the data value exceeds 16 bits, the remaining value will be in the MSW data table address. Table 5.
Using the I/O 5-27 Table 5.
5-28 Using the I/O Table 5.
Using the I/O 5-29 Table 5.
5-30 Using the I/O With any drive, you can use the controller data table addresses to directly control and monitor the drive without creating any ladder logic program. However, if you intend to use Human Machine Interface devices (PanelView, and so forth) to operate the drive and view its status, you will need to create descriptive controller data table addresses (Table 5.M and Table 5.N) and a ladder logic program that will pass that data to the data table addresses used for messaging. Table 5.
Using the I/O 5-31 Figure 5.16 PLC-5 Example Ladder Logic Program for Logic Status/Feedback Figure 5.
5-32 Using the I/O SLC 500 Controller Example Creating an RSLogix 500 Project, Version 7.20 or Later To transmit (read and write) data between the controller and drive, you must create discrete I/O instructions in the controller for Logic Command/Status, Reference/Feedback, and Datalinks. Also, COP instructions must be included in the ladder logic program to convert the default memory addresses in Configuring the I/O (Chapter 4) to data table addresses. 1. Start RSLogix 500 software.
Using the I/O 5-33 7. In the project treeview, right-click IO Configuration and choose Open to display the I/O Configuration screen. 8. On the I/O Configuration screen, click Read IO Config. to display the Read IO Configuration from Online Processor screen. a. Click Who Active and select the communication path to the processor. b. Click OK. c. Click Read IO Config. to list the 1747-SDN DeviceNet Scanner Module. Note that the # column shows the slot number that the scanner occupies. d.
5-34 Using the I/O Drive and Adapter Parameter Settings The following drive and adapter settings were used for the example ladder logic program in this section.
Using the I/O 5-35 Understanding SLC 500 Controller Data Table Addresses Because the SLC 500 controller is a 16-bit platform and is used with the 32-bit 20-COMM-D adapter, the data will be transposed from the least-significant word (LSW) to the most-significant word (MSW) in the controller. When the I/O was configured (Chapter 4), two available default memory addresses (M1:1.x for input data and M0:1.x for output data) were used.
5-36 Using the I/O Figure 5.19 Data File Tables for Example Ladder Logic Program Depending on the drive, Table 5.O, Table 5.P, Table 5.Q, Table 5.R, Table 5.S, or Table 5.T shows the I/O definitions as they relate to the N9:0 and N10:0 data table addresses (Figure 5.19) being used in this example.
Using the I/O 5-37 PowerFlex 700 Drives with Vector Control and PowerFlex 700L Drives with 700 Control When using any of these drives, which contain DINT (32-bit format) data types, you will read from and write to the LSW data table address in the controller. Table 5.
5-38 Using the I/O PowerFlex 700S, PowerFlex 700L with 700S Control, and PowerFlex 750-Series, and PowerFlex Digital DC Drives When using any of these drives, which contain both DINT (32-bit format) and REAL (floating point format) data types, you will always read from and write to the LSW data table address in the controller first. Then if the data value exceeds 16 bits, the remaining value will be in the MSW data table address. Table 5.
Using the I/O 5-39 Table 5.
5-40 Using the I/O Table 5.
Using the I/O 5-41 Table 5.
5-42 Using the I/O To operate any drive and view its status using the data table addresses, Human Machine Interface devices (PanelView, and so forth), or a ladder logic program, you will need to create descriptive controller data table addresses (Table 5.U and Table 5.V) and a ladder logic program that will pass the controller address data to the program data table addresses. Table 5.
Using the I/O 5-43 Figure 5.20 SLC 500 Example Ladder Logic Program for Logic Status/Feedback Figure 5.
5-44 Using the I/O Notes: 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P
Chapter 6 Using Explicit Messaging This chapter provides information and examples that explain how to use Explicit Messaging to configure and monitor the adapter and connected PowerFlex 7-Class drive or PowerFlex 750-Series drive. Topic Page About Explicit Messaging 6-2 Performing Explicit Messaging 6-3 ControlLogix Controller Examples 6-4 PLC-5 Controller Examples 6-19 SLC 500 Controller Examples 6-27 ! ! ATTENTION: Risk of injury or equipment damage exists.
6-2 Using Explicit Messaging 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 network. Important: When an explicit message is performed, by default no connection is made because it is an ‘unconnected’ message.
Using Explicit Messaging Performing Explicit Messaging 6-3 There are five basic events in the Explicit Messaging process. The details of each step will vary depending on the type of controller being used. See the documentation for your controller. Important: There must be a request message and a response message for all Explicit Messages, whether you are reading or writing data. Figure 6.
6-4 Using Explicit Messaging ControlLogix Controller Examples TIP: To display the Message Configuration screen in RSLogix 5000 software, add a message instruction (MSG), create a new tag for the message (Properties: Base tag type, MESSAGE data type, controller scope), and click the button in the message instruction. For supported classes, instances, and attributes, see Appendix C, DeviceNet Objects.
Using Explicit Messaging 6-5 ControlLogix Controller – Formatting a Message to Read a Single Parameter Using RSLogix 5000 Software, Version 15.00 or Later Figure 6.3 Parameter Read Single Message Configuration Screens The following table identifies the data that is required in each box to configure a message to read a single parameter. Configuration Tab Example Value Description Message Type Service Type (1) Service Code (1) Class Instance (2) Attribute Destination CIP Generic Parameter Read e (Hex.
6-6 Using Explicit Messaging ControlLogix Controller Example Ladder Logic Program to Read a Single Parameter Using RSLogix 5000 Software, Any Version A Get Attribute Single message is used to read a single parameter. This read message example reads the value of parameter 003 - [Output Current] in a PowerFlex 7-Class drive. See DPI Parameter Object on page C-13 (Class Code 0x93) for parameter numbering. Important: See Table 6.
Using Explicit Messaging 6-7 ControlLogix Controller – Formatting a Message to Read a Single Parameter Using RSLogix 5000 Software, Any Version Figure 6.5 Get Attribute Single Message Configuration Screens The following table identifies the data that is required in each box to configure a message to read a single parameter. Configuration Tab Example Value Description Message Type Service Type (1) Service Code (1) Class Instance (2) Attribute Destination CIP Generic Get Attribute Single e (Hex.
6-8 Using Explicit Messaging Write a Single Parameter ControlLogix Controller Example Ladder Logic Program to Write a Single Parameter Using RSLogix 5000 Software, Version 15.00 or Later A Parameter Write message is used to write to a single parameter. This write message example writes a value to parameter 140 - [Accel Time 1] in a PowerFlex 7-Class drive. Important: Parameter Object Class code 0x0F is not supported in PowerFlex 750-Series drives.
Using Explicit Messaging 6-9 ControlLogix Controller – Formatting a Message to Write a Single Parameter Using RSLogix 5000 Software, Version 15.00 or Later Figure 6.7 Parameter Write Single Message Configuration Screens The following table identifies the data that is required in each box to configure a message to write a single parameter.
6-10 Using Explicit Messaging ControlLogix Controller Example Ladder Logic Program to Write a Single Parameter Using RSLogix 5000 Software, Any Version A Set Attribute Single message is used to write to a single parameter. This write message example writes a value to parameter 140 - [Accel Time 1] in a PowerFlex 7-Class drive. See DPI Parameter Object on page C-13 (Class Code 0x93) for parameter numbering. Important: See Table 6.
Using Explicit Messaging 6-11 ControlLogix Controller – Formatting a Message to Write a Single Parameter Using RSLogix 5000 Software, Any Version Figure 6.9 Set Attribute Single Message Configuration Screens The following table identifies the data that is required in each box to configure a message to write a single parameter.
6-12 Using Explicit Messaging ControlLogix Controller – Explanation of Request and Response Data for Read/Write Multiple Messaging Using RSLogix 5000 Software, Any Version The data structures in Figure 6.10 and Figure 6.11 use 16-bit words and can accommodate up to 22 parameters in a single message. In the Response Message, a parameter number with the high bit set indicates that the associated parameter value field contains an error code (parameter number in response data will be negative).
Using Explicit Messaging 6-13 Read Multiple Parameters ControlLogix Controller Example Ladder Logic Program to Read Multiple Parameters Using RSLogix 5000 Software, Any Version A Scattered Read message is used to read the values of multiple parameters. Up to 22 parameters can be read.
6-14 Using Explicit Messaging ControlLogix Controller – Formatting a Message to Read Multiple Parameters Using RSLogix 5000 Software, Any Version Figure 6.13 Scattered Read Message Configuration Screens The following table identifies the data that is required in each box to configure a message to read multiple parameters.
Using Explicit Messaging 6-15 ControlLogix Controller Example Scattered Read Request Data In this message example, we use the data structure in Figure 6.14 in the source tag named Scattered_Read_Request to read these five parameters in a PowerFlex 7-Class drive: • • • • • Parameter 001 - [Output Freq] Parameter 003 - [Output Current] Parameter 006 - [Output Voltage] Parameter 012 - [DC Bus Voltage] Parameter 017 - [Analog In1 Value] Figure 6.
6-16 Using Explicit Messaging Write Multiple Parameters ControlLogix Controller Example Ladder Logic Program to Write Multiple Parameters Using RSLogix 5000 Software, Any Version A Scattered Write message is used to write to multiple parameters. This write message example writes the following values to these five parameters in a PowerFlex 7-Class drive.
Using Explicit Messaging 6-17 ControlLogix Controller – Formatting a Message to Write Multiple Parameters Using RSLogix 5000 Software, Any Version Figure 6.17 Scattered Write Multiple Message Configuration Screens The following table identifies the data that is required in each box to configure a message to write multiple parameters.
6-18 Using Explicit Messaging ControlLogix Controller Example Scattered Write Request Data In this message example, we use the data structure in Figure 6.18 in the source tag (Scattered_Write_Request) to write new values to these parameters. PowerFlex 7-Class Drive Parameter Write Value 141 - [Accel Time 2] 11.1 Sec. 143 - [Decel Time 2] 22.2 Sec. 105 - [Preset Speed 5] 33.3 Hz. 106 - [Preset Speed 6] 44.4 Hz. 107 - [Preset Speed 7] 55.5 Hz. Figure 6.18 shows the parameter values. Figure 6.
Using Explicit Messaging PLC-5 Controller Examples 6-19 To perform explicit messaging on a DeviceNet network with a PLC-5 controller, a combination of a block transfer read and a block transfer write must be used (Figure 6.20). Figure 6.20 PLC-5 Example Ladder Logic Program for All Explicit Messaging PLC-5 Controller Example to Read a Single Parameter A read message is used to read a single parameter.
6-20 Using Explicit Messaging Figure 6.21 Example Single Read Request Data File Table 6.I Example Single Read Response Data Value Address Hex.(1) Dec. Description N30:70 0101 257 TXID = 01, Status = 01 (successful) N30:71 0004 4 Port = 00, Size = 04 bytes N30:72 8E01 -29183 Service = 8E (successful), Address = 01 (Node) N30:73 0009 9 (2) Parameter Value Read (LSW) = 0.
Using Explicit Messaging 6-21 PLC-5 Controller Example to Write a Single Parameter A write message is used to write to a single parameter. This write message example writes a value of 10.0 seconds to parameter 140 - [Accel Time 1] in a PowerFlex 7-Class drive. Table 6.J Example Single Write Request Data Value Address Hex.(1) Dec.
6-22 Using Explicit Messaging Table 6.K Example Single Write Response Data Value Address Hex.(1) Dec. Description N30:70 0101 257 TXID = 01, Status = 01 (successful) N30:71 0000 0 Port = 00, Size = 00 bytes N30:72 9001 -28671 Service = 90 (successful), Address = 01 (Node) (1) In RSLogix 5 software, leading zeros are not displayed in data file addresses. For example, ‘0000’ in address N30:71 is shown as ‘0’. Figure 6.
Using Explicit Messaging 6-23 Table 6.L Example Scattered Read Request Data Value Address Hex.(1) Dec.
6-24 Using Explicit Messaging Table 6.M Example Scattered Read Response Data Address N30:70 N30:71 N30:72 N30:73 N30:74 N30:75 N30:76 N30:77 N30:78 N30:79 N30:80 N30:81 N30:82 N30:83 N30:84 N30:85 N30:86 N30:87 Value Hex.(1) 0101 001E CB01 0001 0384 (2) 0000 (2) 0003 0009 (2) 0000 (2) 0006 8EE (2) 0000 (2) 000C CA7 (2) 0000 (2) 0011 207E (2) 0000 (2) Dec.
Using Explicit Messaging 6-25 Table 6.N Example Scattered Write Request Data Address N30:0 N30:1 N30:2 N30:3 N30:4 N30:5 N30:6 N30:7 N30:8 N30:9 N30:10 N30:11 N30:12 N30:13 N30:14 N30:15 N30:16 N30:17 N30:18 N30:19 N30:20 Value Hex.(1) 0101 0024 4C01 0093 0000 0000 008D 006F (2) 0000 (2) 008F 00DE (2) 0000 (2) 0069 014D (2) 0000 (2) 006A 01BC (2) 0000 (2) 006B 022B (2) 0000 (2) Dec.
6-26 Using Explicit Messaging Table 6.O Example Scattered Write Response Data Value Address Hex.(1) Dec.
Using Explicit Messaging SLC 500 Controller Examples 6-27 The CIP messaging method provides two ways to perform explicit messaging: • Read/Write Parameter Service simplifies setup by requiring less data to be entered in message configuration screens. However, the Read/Write Parameter Service can only be used to perform single parameter read or single parameter write explicit messages. (Multiple parameter reads or writes must be performed using the Generic Get/Set Attribute Service described below.
6-28 Using Explicit Messaging SLC 500 Controller Explicit Messaging Using the Read/Write Parameter Service SLC 500 Controller Example Ladder Logic Program to Read a Single Parameter A Read Parameter message is used to read a single parameter. This read message example reads the value of parameter 003 - [Output Current] in a PowerFlex 7-Class drive. Important: Parameter Object Class code 0x0F is not supported in PowerFlex 750-Series drives.
Using Explicit Messaging 6-29 SLC 500 Controller Example Read Single Response Data In this message example, we use the data table address in Figure 6.31 to store the response value (0.13 amps) that was read from drive parameter 003 - [Output Current]. In this example, Output Current is a 32-bit parameter. For PowerFlex 700S drives, Output Current is a floating point number.
6-30 Using Explicit Messaging SLC 500 Controller – Formatting a Message to Write a Single Parameter Using Read/Write Parameter Service Figure 6.33 Write Parameter Message Configuration Screen The following table identifies the data that is required in each box to configure a message to write a single parameter. General Tab Example Value Description 1747-SDN Slot Size of Send Data (Bytes) Message Timeout DeviceNet Addr Service (1) Instance 1 2 5 1 (Dec.) Write Parameter 140 (Dec.
Using Explicit Messaging 6-31 SLC 500 Controller Example Write Single Request Data In this message example, we use the data table address in Figure 6.34 to store the request value (10.0 sec.) that was written to drive parameter 140 [Accel Time 1]. In this example, Accel Time 1 is a 16-bit parameter. The most significant word (MSW) is not used. For PowerFlex 700S drives, Accel Time 1 is a floating point number.
6-32 Using Explicit Messaging SLC 500 Controller Explicit Messaging Using the Generic Get/Set Attribute Service SLC 500 Controller Example DEM Instruction Ladder Logic Program to Read a Single Parameter A Generic Get Attribute Single message is used to read a single parameter. This read message example reads the value of parameter 003 - [Output Current] in a PowerFlex 7-Class drive. Figure 6.
Using Explicit Messaging 6-33 SLC 500 Controller Example Response Data for DEM Read Single Message In this message example, we use the data table address in Figure 6.37 to store the response value (0.13 amps) that was read from drive parameter 003 - [Output Current]. In this example, Output Current is a 32-bit parameter. For PowerFlex 700S or PowerFlex 750-Series drives, Output Current is a floating point number.
6-34 Using Explicit Messaging SLC 500 Controller – Formatting a DEM Instruction Message to Write a Single Parameter Figure 6.39 Generic Set Attribute Single DEM Message Configuration Screen The following table identifies the data that is required in each box to configure a message to write a single parameter. General Tab Example Value Description 1747-SDN Slot Size of Send Data (Bytes) Message Timeout DeviceNet Addr Service (1) Class Instance Attribute (2) 1 2 5 1 (Dec.
Using Explicit Messaging 6-35 SLC 500 Controller Example Request Data for DEM Write Single Message In this message example, we use the data table address in Figure 6.40 to store the request value (10.0 sec.) that was written to drive parameter 140 [Accel Time 1]. In this example, Accel Time 1 is a 16-bit parameter. The most significant word (MSW) is not used. For PowerFlex 700S drives, Accel Time 1 is a floating point number.
6-36 Using Explicit Messaging SLC 500 Controller Example COP Instruction Ladder Logic Program for All Explicit Messaging The example ladder logic program with a COP (Copy) instruction shown in Figure 6.41 can be used to perform single read, single write, scattered (multiple) read, and scattered (multiple) write explicit messaging. Figure 6.
Using Explicit Messaging 6-37 SLC 500 Controller Example COP Message to Read a Single Parameter A read message is used to read a single parameter. This read message example reads the value of parameter 003 - [Output Current] in a PowerFlex 7-Class drive. Table 6.P Example Single Read COP Request Data Value Address Hex.(1) Dec.
6-38 Using Explicit Messaging Table 6.Q Example Single Read COP Response Data Value Address Hex.(1) Dec. Description N30:70 0101 257 TXID = 01, Status = 01 (successful) N30:71 0004 4 Port = 00, Size = 04 bytes N30:72 8E01 -29183 N30:73 0009 9 (2) N30:74 0000 0 (2) Service = 8E (successful), Address = 01 (Node) Parameter Value Read (LSW) = 0.09 amps Parameter Value Read (MSW) = 0 (1) In RSLogix 5 software, leading zeros are not displayed in data file addresses.
Using Explicit Messaging 6-39 SLC 500 Controller Example COP Message to Write a Single Parameter A write message is used to write to a single parameter. This write message example writes a value of 10.0 seconds to parameter 140 - [Accel Time 1] in a PowerFlex 7-Class drive. Table 6.R Example Single Write COP Request Data Value Address Hex.(1) Dec.
6-40 Using Explicit Messaging Table 6.S Example Single Write COP Response Data Value Address Hex.(1) Dec. Description N30:70 0101 257 TXID = 01, Status = 01 (successful) N30:71 0000 0 Port = 00, Size = 00 bytes N30:72 9001 -28671 Service = 90 (successful), Address = 01 (Node) (1) In RSLogix 5 software, leading zeros are not displayed in data file addresses. For example, ‘0000’ in address N30:71 is shown as ‘0’. Figure 6.
Using Explicit Messaging 6-41 Table 6.T Example Scattered Read COP Request Data Value Address Hex.(1) Dec.
6-42 Using Explicit Messaging Table 6.U Example Scattered Read COP Response Data Address N30:70 N30:71 N30:72 N30:73 N30:74 N30:75 N30:76 N30:77 N30:78 N30:79 N30:80 N30:81 N30:82 N30:83 N30:84 N30:85 N30:86 N30:87 Value Hex.(1) 0101 001E CB01 0001 0384 (2) 0000 (2) 0003 0009 (2) 0000 (2) 0006 08EE (2) 0000 (2) 000C 0CA7 (2) 0000 (2) 0011 207E (2) 0000 (2) Dec.
Using Explicit Messaging 6-43 Table 6.V Example Scattered Write COP Request Data Address N30:0 N30:1 N30:2 N30:3 N30:4 N30:5 N30:6 N30:7 N30:8 N30:9 N30:10 N30:11 N30:12 N30:13 N30:14 N30:15 N30:16 N30:17 N30:18 N30:19 N30:20 Value Hex.(1) 0101 0024 4C01 0093 0000 0000 008D 006F (2) 0000 (2) 008F 00DE (2) 0000 (2) 0069 014D (2) 0000 (2) 006A 01BC (2) 0000 (2) 006B 022B (2) 0000 (2) Dec.
6-44 Using Explicit Messaging Table 6.W Example Scattered Write COP Response Data Value Address Hex.(1) Dec.
Chapter 7 Troubleshooting This chapter provides information for diagnosing and troubleshooting potential problems with the adapter and network. Understanding the Status Indicators Topic Page Understanding the Status Indicators 7-1 PORT Status Indicator 7-2 MOD Status Indicator 7-2 NET A Status Indicator 7-3 Viewing Adapter Diagnostic Items 7-4 Viewing and Clearing Events 7-6 The adapter has three status indicators. They can be viewed on the adapter or through the drive cover.
7-2 Troubleshooting PORT Status Indicator This red/green bicolor LED indicates the status of the adapter’s connection to the drive as shown in the table below. Status Cause Corrective Action Off The adapter is not powered or is not properly connected to the drive. • Securely connect the adapter to the drive using the Internal Interface (ribbon) cable. • Apply power to the drive (or adapter if mounted in a DPI External Comms Kit).
Troubleshooting NET A Status Indicator 7-3 This red/green bicolor LED indicates the status of the network connection as shown in the table below. Status Cause Off The adapter or network is not powered, or the • Securely connect the adapter to the drive using the Internal Interface adapter is not properly connected to the network. (ribbon) cable and to the network using a DeviceNet cable.
7-4 Troubleshooting Viewing Adapter Diagnostic If you encounter unexpected communications problems, the adapter’s diagnostic items may help you or Rockwell Automation personnel Items troubleshoot the problem. Adapter diagnostic items can be viewed with any of these drive configuration tools: • • • • LCD PowerFlex 7-Class HIM (Diagnostics/Device Items) Connected Components Workbench software, version 1.02 or later DriveExplorer software, version 2.01 or later DriveExecutive software, version 3.
Troubleshooting 7-5 Table 7.A Adapter Diagnostic Items (Continued) No. Name Description 15 Datalink A1 Out 16 Datalink A2 Out 17 Datalink B1 Out The present value of respective Datalink Out being received from the drive by this adapter. (If the drive indicates a 16-bit datalink size, the value appears in the least significant 16 bits of this diagnostic item, and the most significant 16 bits of this diagnostic item are zero.
7-6 Troubleshooting Viewing and Clearing Events The adapter has an event queue to record significant events that occur in the operation of the adapter. When such an event occurs, an entry is put into the event queue. You can view the event queue with any of these drive configuration tools: • • • • LCD PowerFlex 7-Class HIM Connected Components Workbench software, version 1.02 or later DriveExplorer software, version 2.01 or later DriveExecutive software, version 1.
Troubleshooting 7-7 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: Table 7.B Adapter Events Code Event Description 1 No Event Empty event queue entry. 2 DPI Bus Off Flt A bus-off condition was detected on DPI. This event may be caused by loose or broken cables or by noise.
7-8 Troubleshooting Table 7.B Adapter Events (Continued) Code Event Description 37 Language CRC Bad The language text memory segment is corrupt. 38 OPT Timeout Communication between the adapter and I/O option of the DPI External Comms Kit was disrupted. 39 OPT Open The adapter began exchanging I/O data with the I/O option of the DPI External Comms Kit. 40 OPT Close The adapter forced a fault condition on the I/O option of the DPI External Comms Kit.
Chapter 8 Using the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE) This chapter provides information and examples that explain how to use the adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE). The adapter is typically installed in the internal communication slot on the PowerFlex 7-Class drive.
8-2 Using the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE) I/O Board Option (20-XCOMM-IO-OPT1) The I/O Board option, when installed in the DPI External Comms Kit, can be used with only a Series B adapter, firmware revision 3.xxx or later. The I/O Board provides six DC inputs and two Relay outputs for use by a controller on the network. Figure 8.
Using the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE) 8-3 The data from the I/O Board is loaded into the Datalink word starting with bit 0 of Datalink D1 and concluding with bit 14. Bit 15 of Datalink D1 is reserved as an input valid Status flag. When the input data is valid, bit 15 = 1. For example, for the 20-XCOMM-IO-OPT1, the digital inputs and digital outputs are mapped as shown in Figure 8.4 and Figure 8.5 respectively. Figure 8.
8-4 Using the Adapter in a DPI External Comms Kit (20-XCOMM-DC-BASE) Viewing Optional I/O Diagnostic Items Viewing communication adapter diagnostic item 31 (OPT Status) shows the operating status of the optional I/O board. Bit State Status Indication Description 0 1 (On) OPT Present I/O data is being exchanged with the adapter. 1 1 (On) OPT Faulted The I/O board is taking its fault action. 2 1 (On) Hold Last Fault Action is ‘Hold Last’.
Appendix A Specifications This appendix presents the specifications for the adapter.
A-2 Specifications Environmental Regulatory Compliance Temperature Operating Storage -10…50 °C (14…122 °F) -40…85 °C (-40…185 °F) Relative Humidity 5…95% non-condensing Atmosphere Important: The adapter must not be installed in an area where the ambient atmosphere contains volatile or corrosive gas, vapors or dust. If the adapter is not going to be installed for a period of time, it must be stored in an area where it will not be exposed to a corrosive atmosphere.
Appendix B Adapter Parameters This appendix provides information about the adapter parameters. About Parameter Numbers Topic Page About Parameter Numbers B-1 Parameter List B-1 The parameters in the adapter are numbered consecutively. However, depending on which configuration tool you use, they may have different numbers. Configuration Tool Numbering Scheme • • • • • The adapter parameters begin with parameter 01.
B-2 Adapter Parameters Parameter No. Name and Description 06 [DN Rate Act] Displays the actual DeviceNet data rate used by the adapter. 07 08 09 Type: Values: Displays the size of the Reference/Feedback. The drive determines the size of the Reference/ Feedback. Type: [Datalink Size] Values: Displays the size of each Datalink word. The drive determines the size of Datalinks.
B-3 Adapter Parameters Parameter No. Name and Description Details [Idle Flt Action] Default: Values: Sets the action that the adapter and drive will take if the adapter detects that the controller is in program mode or faulted. This setting is effective only if I/O that controls the drive is transmitted through the adapter. When the controller is put back in Run mode, the drive will automatically receive commands over the network again. ! ATTENTION: Risk of injury or equipment damage exists.
B-4 Adapter Parameters Parameter No. Name and Description 15 [Flt Cfg Logic] Sets the Logic Command data that is sent to the drive if any of the following is true: • Parameter 10 - [Comm Flt Action] is set to ‘4’ (Send Flt Cfg) and I/O communication is disrupted.
B-5 Adapter Parameters Parameter 27 [COS Status Mask] Sets the mask for the 16-bit Logic Status word. Unless they are masked out, the bits in the Logic Status word are checked for changes when the adapter is allocated using COS (Change of State). If a bit changes, it is reported as a change in the Change of State operation.
B-6 Adapter Parameters Parameter No. Name and Description 32 [Peer Cmd Mask] Sets the mask for the Logic Command word when it is received through peer input. If the mask bit is ‘0’ (Off), the command bit is ignored and not used. If the mask bit is ‘1’ (On), the command bit is checked and used. Important: If the adapter receives a Logic Command from both a Master device and a peer device, each command bit must have only one source. The source of command bits set to ‘0’ will be the Master device.
Adapter Parameters B-7 Parameter No. Name and Description Details [Peer Inp Enable] Sets peer I/O input to be on or off. Default: Values: [Peer Inp Status] Values: 37 38 0 = Off 0 = Off 1 = On Type: Read/Write Reset Required: No Displays the status of the consumed peer I/O input connection. Type: 39 40 [Peer A Output] [Peer B Output] Selects the source of the peer I/O output data. The adapter transmits this data to the network.
B-8 Adapter Parameters Notes: 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P
Appendix C DeviceNet Objects This appendix presents information about the DeviceNet objects that can be accessed using Explicit Messages. For information on the format of Explicit Messages and example ladder logic programs, see Chapter 6, Using Explicit Messaging. Object Class Code Page Hex. Dec. Identity Object 0x01 1 C-2 Connection Object 0x04 4 Register Object 0x07 Parameter Object (1) 0x0F Parameter Group Object (1) 0x10 PCCC Object 0x67 (1) Object Class Code Page Hex. Dec.
C-2 DeviceNet Objects Identity Object Class Code Hexadecimal 0x01 Decimal 1 Services Implemented for: Service Code Class Instance 0x05 Yes Yes 0x0E Yes Yes Service Name Reset Get_Attribute_Single Instances The number of instances depends on the number of components in the device connected to the adapter. This number of components can be read in Instance 0, Attribute 2.
DeviceNet Objects Connection Object C-3 Class Code Hexadecimal 0x05 Decimal 5 Services Implemented for: Service Code Class Instance 0x0E Yes Yes Service Name Get_Attribute_Single Instances Instance 1 2 4 6…10 Description Master-Slave Explicit Message Connection Polled I/O Connection Change of State/Cyclic Connection Explicit Message Connection Instance Attributes See the DeviceNet specification for more information.
C-4 DeviceNet Objects Register Object Class Code Hexadecimal 0x07 Decimal 7 Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single Instances Instance 1 2 3 4 5 6 7 8 9 10 11 12 13 14 (1) Description All polled data being read from the DPI device (read-only) All polled 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
DeviceNet Objects Parameter Object C-5 Class Code Hexadecimal 0x0F Decimal 15 Important: This object is not supported when the adapter is used with a PowerFlex 750-Series drive.
C-6 DeviceNet Objects Instance Attributes Attribute ID Access Rule Name (1) 1 Parameter Value 2 Get Link Path Size Data Type Description USINT 0 = No link specified n = The size of Attribute 3 in bytes (2) (3) (4) 3 4 Get Get Link Path Descriptor WORD 5 Get Data Type USINT 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Get Get Get Get Get Get Get Get Get Get Get Get Get Get Get Get Data Size Parameter Name String Units String Help String Minimum Value Maximum Value Default Value Scaling Mul
DeviceNet Objects Parameter Group Object C-7 Class Code Hexadecimal 0x10 Decimal 16 Important: This object is not supported when the adapter is used with a PowerFlex 750-Series drive. Services Service Code Implemented for: Class Instance 0x0E Yes Yes Service Name Get_Attribute_Single Instances Number 0 1 Description Class Attributes Drive Group 1 Attributes … … The number of instances depends on the number of groups in the device.
C-8 DeviceNet Objects PCCC Object Class Code Hexadecimal 0x67 Decimal 103 Services Service Code Implemented for: Class Instance 0x4B No Yes 0x4D No Yes Service Name Execute_PCCC Execute_Local_PCCC Instances Supports Instance 1. Class Attributes Not supported. Instance Attributes Not supported.
DeviceNet Objects C-9 Message Structure for Execute_Local_PCCC Request Name CMD STS TNSW FNC PCCC_ params Data Type USINT USINT UINT USINT ARRAY of USINT Description Command byte 0 Transport word Function code; not used for all CMDs CMD/FNC specific parameters Response Name CMD STS TNSW EXT_STS PCCC_ results Data Type USINT USINT UINT USINT ARRAY of USINT Description Command byte Status byte Transport word. Same value as the request.
C-10 DeviceNet Objects N-Files N-File N41 Description This N-file lets you read and write control I/O messages. You can write control I/O messages only when all of the following conditions are true: • The adapter is not receiving I/O from a scanner. For example, there is no scanner on the network, the scanner is in idle (program) mode, the scanner is faulted, or the adapter is not mapped to the scanner. • The adapter is not receiving Peer I/O from another adapter.
DeviceNet Objects DPI Device Object C-11 Class Code Hexadecimal 0x92 Decimal 146 Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single 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.
C-12 DeviceNet Objects Attribute ID 6 7 8 9 11 12 13 Access Rule Get Get Get Get Get Get Get Name Status Text Configuration Code Configuration Text Brand Code NVS Checksum Class Revision Character Set Code Data Type STRING[12] BYTE STRING[16] WORD WORD WORD BYTE 15 Get Languages Supported 16 Get Date of Manufacture 17 Get Product Revision 18 19 Get Set Serial Number Language Selected STRUCT of: BYTE BYTE[n] STRUCT of: WORD BYTE BYTE STRUCT of: BYTE BYTE DWORD BYTE 20 Set Customer-Genera
DeviceNet Objects DPI Parameter Object C-13 Class Code Hexadecimal 0x93 Decimal 147 Instances Example 0 1 2 Description Class Attributes (Drive) Drive Parameter 1 Attributes Drive Parameter 2 Attributes … Device Host Adapter DPI Port 1 DPI Port 2 DPI Port 3 DPI Port 4 DPI Port 5 DPI Port 6 16384 16385 Class Attributes (Adapter) Adapter Parameter 1 Attributes … (Dec.) 0…16383 16384…17407 17408…18431 18432…19455 19456…20479 20480…21503 21504…22527 22528…23551 … Instances (Hex.
C-14 DeviceNet Objects Instance Attributes Attribute ID 7 Access Rule Get Name DPI Online Read Full 8 9 10 11 Get Get/Set Get/Set Get/Set DPI Descriptor DPI Parameter Value DPI RAM Parameter Value DPI Link 12 13 Get Get Help Object Instance DPI Read Basic 14 15 Get Get DPI Parameter Name DPI Parameter Alias 16 Get Parameter Processing Error BYTE (1) (2) (3) Data Type STRUCT of: BOOL[32] CONTAINER(1) CONTAINER CONTAINER CONTAINER WORD WORD STRING[4] UINT UINT UINT INT BYTE[3] BYTE STRING[16
DeviceNet Objects C-15 Descriptor Attributes Bit 0 1 2 Name Data Type (Bit 1) Data Type (Bit 2) Data Type (Bit 3) 3 Sign Type 4 Hidden 5 Not a Link Sink 6 Not Recallable 7 ENUM 8 Writable 9 Not Writable When Enabled 10 Instance 11 12 13 14 15 16 17 18 Reserved Decimal Place (Bit 0) Decimal Place (Bit 1) Decimal Place (Bit 2) Decimal Place (Bit 3) Extended Data Type (Bit 1) Extended Data Type (Bit 2) Extended Data Type (Bit 3) 19 20 21 22 23 24 25 26 Parameter Exists Not Used Formula L
C-16 DeviceNet Objects Formulas for Converting Display Value = ((Internal Value + Offset) x Multiplier x Base) / (Divisor x 10 Decimal Places) Internal Value = ((Display Value x Divisor x 10 Decimal Places) / (Multiplier x Base)) - Offset Common Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single Object Specific Services Service Code Implemented for: Class Instance 0x4B Yes No 0x4C Yes No Service Name Get_Attributes_Sca
DeviceNet Objects DPI Fault Object C-17 Class Code Hexadecimal 0x97 Decimal 151 Products such as PowerFlex drives use this object for faults. Adapters use this object for events.
C-18 DeviceNet Objects Instance Attributes Attribute ID 0 1 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P Access Rule Get Get Name Data Type Full/All STRUCT of Information WORD STRUCT of: BYTE BYTE STRING[16] STRUCT of: LWORD BOOL[16] WORD CONTAINER[n] Basic STRUCT of: Information WORD STRUCT of: BYTE BYTE STRUCT of: LWORD BOOL[16] Description Fault code Fault source DPI port DPI Device Object Fault text Fault time stamp Timer value (0 = timer not supported) BOOL[0]: (0 = in
DeviceNet Objects DPI Alarm Object C-19 Class Code Hexadecimal 0x98 Decimal 152 Products such as PowerFlex drives use this object for alarms or warnings. Adapters do not support this object. Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes No Service Name Get_Attribute_Single Set_Attribute_Single Instances The number of instances depends on the maximum number of alarms supported by the queue. The maximum number of alarms can be read in Instance 0, Attribute 2.
C-20 DeviceNet Objects Instance Attributes Attribute ID 0 1 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P Access Rule Get Get Name Data Type Full/All STRUCT of Information WORD STRUCT of: BYTE BYTE STRING[16] STRUCT of: LWORD BOOL[16] WORD CONTAINER[n] Basic STRUCT of Information WORD STRUCT of: BYTE BYTE STRUCT of: LWORD BOOL[16] Description Alarm code Alarm source DPI port DPI Device Object Alarm text Alarm time stamp Timer value (0 = timer not supported) BOOL[0]: (0 = inv
DeviceNet Objects DPI Diagnostic Object C-21 Class Code Hexadecimal 0x99 Decimal 153 Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single Instances Example 0 1 2 Description Class Attributes (Drive) Drive Diagnostic Item 1 Drive Diagnostic Item 2 … Device Host Adapter DPI Port 1 DPI Port 2 DPI Port 3 DPI Port 4 DPI Port 5 DPI Port 6 16384 16385 Class Attributes (Adapter) Adapter Diagnostic Item1 … (Dec.
C-22 DeviceNet Objects DPI Time Object Class Code Hexadecimal 0x9B Decimal 155 Services Service Code Implemented for: Class Instance 0x0E Yes Yes 0x10 Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single 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.
Appendix D Logic Command/Status Words This appendix presents the definitions of the Logic Command and Logic Status words that are used for some products that can be connected to the adapter. If the Logic Command/Logic Status for the product that you are using is not listed, refer to your product’s documentation.
D-2 Logic Command/Status Words Logic Status Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 x x x x x x x x x x (1) x x x x x See ‘Owners’ in drive User Manual for further information. 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P 0 x Status Ready Active Command Direction Actual Direction Accel Decel Alarm Fault At Speed Local Control (1) Reference Description 0 = Not Ready (Par.
Logic Command/Status Words PowerFlex 700S (Phase II Control) and 700L (with 700S Control) Drives D-3 Logic Command Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 x x x x x x x x x x x x x x x 0 x Command Normal Stop Start (1) Jog 1 Clear Fault (2) Unipolar Direction Description 0 = Not Normal Stop 1 = Normal Stop 0 = Not Start 1 = Start 0 = Not Jog using [Jog Speed 1] (Par. 29) 1 = Jog using [Jog Speed 1] (Par.
D-4 Logic Command/Status Words Logic Status Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 x x x x x x x x x x x x x x x (1) 0 x Status Active Running Command Direction Actual Direction Accel Decel Jogging Fault Alarm Flash Mode Run Ready At Limit (1) Tach Loss Sw At Zero Spd At Setpt Spd Enable Description 0 = Not Active 1 = Active 0 = Not Running 1 = Running 0 = Reverse 1 = Forward 0 = Reverse 1 = Forward 0 = Not Accelerating 1 = Accelerating 0 = Not Decelerating 1 = Decelerating 0 = No
Logic Command/Status Words D-5 PowerFlex 750-Series Drives Important: When using a 20-COMM-D adapter with a PowerFlex 750-Series drive, the upper word (bits 16…31) of the Logic Command and Logic Status words are not accessible and cannot be used. Only when using a PowerFlex 750-Series drive with a 20-750-DNET DeviceNet communication option module is the upper word accessible and used.
D-6 Logic Command/Status Words Logic Status Word Logic Bits 31…15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 x x x x x x x x x x x x x x x 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P 0 Command x Run Ready Active Command Direction Actual Direction Accelerating Decelerating Alarm Fault At Setpt Spd Manual Spd Ref ID 0 Spd Ref ID 1 Spd Ref ID 2 Spd Ref ID 3 Spd Ref ID 4 Reserved Description 0 = Not Ready to Run (Par.
Logic Command/Status Words D-7 PowerFlex Digital DC Drives Logic Command Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 x x x x x x x x x x x x x x x 0 x Command Stop (1) Start (1)(2) Jog Clear Faults Direction Local Control MOP Increment Accel Rate Decel Rate Reference Select (3) MOP Decrement Description 0 = Not Stop 1 = Stop 0 = Not Start 1 = Start 0 = Not Jog (Par.
D-8 Logic Command/Status Words Logic Status Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 x x x x x x x x x x (1) x x x x x See ‘Owners’ in drive User Manual for further information. 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P 0 x Status Ready Description 0 = Not Ready (Par.
Appendix E Master-Slave I/O Configuration This appendix lists possible I/O configurations with corresponding M-S Input and M-S Output parameter settings, and the required data size allocations for all data exchange methods except Polled. The required data size allocation tables for the Polled data exchange method are listed below. M-S Input Parameter Configurations Polled Data Exchange Method Tables Controller Table 4.A, Table 4.B, or Table 4.C ControlLogix Table 4.E, Table 4.F, or Table 4.
E-2 Master-Slave I/O Configuration Table E.
Master-Slave I/O Configuration E-3 Table E.
E-4 Master-Slave I/O Configuration Table E.
Master-Slave I/O Configuration E-5 Table E.
E-6 Master-Slave I/O Configuration Table E.
Glossary A Adapter Devices such as drives, controllers, and computers usually require a network communication adapter to provide a communication interface between them and a network such as DeviceNet. An adapter reads data on the network and transmits it to the connected device. It also reads data in the device and transmits it to the network. The 20-COMM-D DeviceNet adapter connects PowerFlex 7-Class drives to a DeviceNet network.
G-2 Glossary Class A class is defined by the DeviceNet specification as ‘a set of objects that all represent the same kind of system component. A class is a generalization of an object. All objects in a class are identical in form and behavior, but may contain different attribute values’. Connected Components Workbench Software The recommended tool for monitoring and configuring Allen-Bradley products and network communication adapters.
Glossary G-3 Datalinks A Datalink is a type of pointer used by PowerFlex 7-Class drives to transfer data to and from the controller. Datalinks allow specified parameters to be read or written to without using explicit messages. When enabled, each Datalink consumes either four bytes or eight bytes in both the input and output image table of the controller. The drive determines the size of Datalinks.
G-4 Glossary DriveTools SP Software A software suite designed for running on various Microsoft Windows operating systems. This software suite provides a family of tools, including DriveExecutive software (version 3.01 or later), that you can use to program, monitor, control, troubleshoot, and maintain Allen-Bradley products. DriveTools SP software can be used with PowerFlex 7-Class and PowerFlex 4-Class drives, and legacy drives that implement the SCANport communication interface.
Glossary G-5 HIM (Human Interface Module) A device that can be used to configure and control a drive. PowerFlex 7-Class HIMs (catalog number 20-HIM-xx) can be used to configure PowerFlex 7-Class drives and their connected peripherals. Hold Last When communication is disrupted (for example, a cable is disconnected), the adapter and PowerFlex drive can respond by holding last. Hold last results in the drive receiving the last data received via the network connection before the disruption.
G-6 Glossary The Logic Status is used to monitor the PowerFlex 7-Class drive (for example, operating state and motor direction). It consists of one 16-bit word of input from the adapter to the network. The definitions of the bits in this word depend on the drive, and are shown in Appendix D. M Master-Slave Hierarchy An adapter configured for a master-slave hierarchy exchanges data with the master device.
Glossary G-7 Polled I/O Data Exchange A device that is configured for polling I/O data exchange sends data immediately after it receives a request for the data. For example, an adapter receives a Logic Command from the scanner and then sends back the Logic Status of the connected PowerFlex drive.
G-8 Glossary S Scanner A scanner is a separate module (of a multi-module controller) or a built-in component (of a single-module controller) that provides communication with adapters connected to a network. See also Controller. Status Indicators LEDs that are used to report the status of the adapter, network, and drive. They are on the adapter and can be viewed on the front cover of the drive when the drive is powered.
Index Numerics 5-pin linear plug, 2-7 A adapter applying power, 2-8 commissioning, 2-10 compatible products, 1-3 components, 1-1 configuration tools, 3-1 configuring to use with optional I/O data, 8-3 connecting to the drive, 2-4 network, 2-7 data rate, 2-3 definition, G-1 features, 1-2 firmware updating, 3-14 grounding, 2-6 installation, 2-1 to 2-10 mounting on the drive, 2-6 node address, 2-2 parameters, B-1 to B-7 resetting, 3-12 specifications, A-1 using in a DPI External Comms Kit, 8-1 viewing its sta
Index-2 data rate definition, G-2 setting with parameter, 3-3 setting with switch, 2-3 Datalink Size parameter, B-2 Datalinks definition, G-3 in I/O image, 5-2 using, 5-9 using Datalink D to send optional I/O Board data, 8-2 DeviceNet 5-pin linear plug, 2-7 cable, 2-7 connector on adapter, 1-1 data rates, A-1 example network for ControlLogix controller, 4-2 PLC-5 controller, 4-20 SLC 500 controller, 4-31 network definition, G-3 objects - list of, C-1 to C-22 specification, G-3 diagnostic items, 7-4 dimensi
Index-3 H L heartbeat rate, G-4 LCD HIM, 3-2 HIM (Human Interface Module) accessing parameters with, 3-2 definition, G-5 LCD model, 3-2 LED model, 3-2 LED HIM, 3-2 hold last configuring the adapter for, 3-11 definition, G-5 I I/O about, 5-1 configuring for ControlLogix controller, 4-2 PLC-5 controller, 4-20 SLC 500 controller, 4-31 configuring the adapter for, 3-4 definition, G-5 understanding the I/O image, 5-2 using with ControlLogix controller, 5-12 PLC-5 controller, 5-19 SLC 500 controller, 5-32
Index-4 node address definition, G-6 setting with parameter, 3-3 setting with switches, 2-2 Nonvolatile Storage (NVS) definition, G-6 in adapter, 3-1 in drive, 5-9 O objects definition, G-6 list of, C-1 to C-22 ODVA DeviceNet specification, G-3 P PLC-5 controller configuring the I/O, 4-20 explicit messaging, 6-19 using the I/O, 5-19 Polled configuring adapter for, 3-10 definition, G-7 PORT status indicator locating, 7-1 troubleshooting with, 7-2 power consumption, A-1 PowerFlex drives compatible with ad
Index-5 RSNetWorx for DeviceNet software configuring/saving I/O to ControlLogix controller, 4-5 PLC-5 controller, 4-21 SLC 500 controller’s 1747-SDN scanner, 4-32 definition/website, G-7 S T technical support, P-2 tools required, 1-3 troubleshooting, 7-1 to 7-8 Type 0/Type 1/Type 2 Control, G-8 U UCMM (UnConnected Message Manager), G-8 safety precautions, 1-5 UDDT (User-Defined Data Type), G-8 scanner, G-8 update definition, G-8 guidelines, 3-14 selecting data exchange COS (Change of State), 3-10 c
Index-6 20-COMM-D DeviceNet Adapter User Manual Publication 20COMM-UM002G-EN-P
Rockwell Automation Support Rockwell Automation provides technical information on the Web to assist you in using its products. At http://www.rockwellautomation.com/support/, you can find technical manuals, a knowledge base of FAQs, technical and application notes, sample code and links to software service packs, and a MySupport feature that you can customize to make the best use of these tools.