Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 7 of 33

PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual: Chapter 4, pages 37 to 46

Pages 37 to 46 of 270, from PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual

The original document is the PDF (6.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 20-COMM-C

Page 37

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.

Using RSLinx Classic Software

Topic

Page

Using RSLinx Classic Software

4-1

ControlLogix Controller Example

4-2

PLC-5 Controller Example

4-24

SLC 500 Controller Example

4-30

RSLinx Classic software, in all its variations (Lite, Gateway, OEM, and so forth), is used to provide a communication link between the computer, network, and controller. RSLinx Classic software requires its network-specific driver to be configured before communication is established with network devices. To configure the RSLinx driver, follow this procedure. 1. Start RSLinx Classic software and select Communications > Configure Drivers to display the Configure Drivers screen. 2. From the Available Driver Types pull-down menu, choose the computer communication card (1784-KTCX, 1784-PCC, or 1784-PCIC) being used to connect your computer to the network. 3. Click Add New… to display the Add New RSLinx Driver screen. 4. Use the default name or type a new name and click OK. The ‘Configure driver:’ screen appears. 5. Configure the driver for your computer and network settings. 6. Click OK.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 38

4-2

Configuring the I/O

The Configure Drivers screen reappears with the new driver in the Configured Drivers list.

7. Click Close to close the Configure Drivers screen. 8. Keep RSLinx running and verify that your computer recognizes the drive. a. Select Communications > RSWho. b. In the menu tree, click ‘+’ next to the ControlNet driver.

ControlLogix 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 ControlNet network (see Figure 4.1). In our example, we will configure a ControlLogix controller with 1756-CNBR (Series D) bridge to communicate with a drive using Logic Command/Status, Reference/Feedback, and 16 Datalinks (8 to read and 8 to write) over the network. Figure 4.1

Example ControlLogix Controller ControlNet Network

ControlLogix Controller with 1756-CNBR Bridge

Computer with ControlNet Connection

PowerFlex 70 Drive with 20-COMM-C Adapter

Channel A (optional redundancy)

Channel B

ControlNet Network

TIP: Information for PowerFlex 750-Series drives has been added to this manual where it is applicable.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 39

Configuring the I/O

4-3

Adding the Bridge 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 bridge 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. The RSLogix 5000 window reappears with the treeview in the left pane. 3. In the treeview, right-click the I/O Configuration folder and choose New Module. The Select Module screen appears. 4. In the list, select the ControlNet bridge used by your controller.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 40

4-4

Configuring the I/O

In this example, we use a 1756-CNB ControlNet Bridge (Series E), so the 1756-CNB option is selected. 5. Click CREATE. 6. In the Select Major Revision pop-up dialog box, select the major revision of its firmware. 7. Click OK. The bridge’s New Module screen appears.

8. Edit the following: Box

Setting

Name

A name to identify the ControlNet bridge.

Description

Optional – description of the ControlNet bridge.

Node

The node address of the ControlNet bridge.

Slot

The slot of the ControlNet bridge in the rack.

Revision

The minor revision of the firmware in the bridge. (You already set the major revision by selecting the bridge series in step 4.)

Electronic Keying

Compatible Keying. The ‘Compatible Keying’ setting for Electronic Keying ensures the physical module is consistent with the software configuration before the controller and bridge make a connection. Therefore, be sure that you have set the correct revision in this screen. See the online Help for additional information on this and other Electronic Keying settings.

Open Module Properties

When this box is checked, clicking OK opens additional module properties screens to further configure the bridge. When unchecked, clicking OK closes the bridge’s New Module screen. For this example, uncheck this box.

9. Click OK. The bridge is now configured for the ControlNet network and added to the RSLogix 5000 project. It appears in the I/O Configuration folder. In our example, a 1756-CNB/E bridge 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.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 41

Configuring the I/O

4-5

There are three ways to add the adapter into the I/O configuration: • Drive Add-on Profiles (RSLogix 5000 software, version 16.00 or later) • Classic Profile (RSLogix 5000 software, versions 13.00…15.00) • Generic Profile (RSLogix 5000 software, all versions) These are described in separate sections below. If your version of RSLogix 5000 software supports drive Add-on Profiles, we recommend that you use this method.

Using RSLogix 5000 Drive Add-on Profiles, Version 16.00 or Later When compared to using the RSLogix 5000 Classic Profile (versions 13.00…15.00) or Generic Profile (all versions), the RSLogix 5000 drive Add-on Profiles provide the following advantages: • Profiles for specific drives that provide descriptive controller tags for basic control I/O words (Logic Command/Status and Reference/ Feedback) and Datalinks. Additionally, Datalinks automatically take the name of the drive parameter to which they are assigned. These profiles virtually eliminate I/O mismatch errors and substantially reduce drive configuration time. • New Drive tab eliminates the need for a separate drive software configuration tool. • Drive configuration settings are saved as part of the RSLogix 5000 software, version 16.00 or later, project file (.ACD) and also downloaded to the controller. • Drive Add-on Profiles can be updated anytime. When a new drive is used, or to benefit from new updates for Add-on Profiles, you will need the newest Add-on Profile update. Go to http://www.ab.com/support/ abdrives/webupdate to download the latest RSLogix 5000 drive Add-on Profile. To determine your drive Add-on Profile version, see Allen-Bradley Knowledgebase document #65882. Add the Drive/Adapter to the I/O Configuration To transmit data between the bridge and the drive, you must add the drive as a child device to the parent bridge. In this example, RSLogix 5000 software, version 20.00 is used with drive Add-on Profile version 4.04. 1. In the treeview, right-click on the bridge and choose New Module… to display the Select Module screen.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 42

4-6

Configuring the I/O

In our example, we right-click on the 1756-CNB/E bridge.

TIP: If the PowerFlex drive is not shown, go to http://www.ab.com/ support/abdrives/webupdate and download the latest RSLogix 5000 drive Add-on Profile. 2. From the list, select the drive and its connected adapter. For this example, we selected ‘PowerFlex 70 EC-C’. 3. Click CREATE. The drive’s New Module screen appears.

4. On the General tab, edit the following data about the drive/adapter. Box

Setting

Name

A name to identify the drive.

Description

Optional – description of the drive/adapter.

Node

The node address of the adapter.

5. On the New Module screen in the Module Definition section, click Change… to launch the Module Definition screen and begin the drive/ adapter configuration process.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 43

Configuring the I/O

4-7

In this example, Datalinks are used to do the following. Read…

Write to…

Output Current (Parameter 3)

Accel Time 1 (Parameter 140)

DC Bus Voltage (Parameter 12)

Decel Time 1 (Parameter 142)

Fault 1 Code (Parameter 243)

High Resolution Reference (Parameter 308)

TIP: To get the latest RSLogix 5000 drive Add-on Profile, go to http:// www.ab.com/support/abdrives/webupdate. 6. In the Module Definition screen, edit the following information. Box

Setting

Revision

The major and minor revision of the firmware (database) in the drive. If the drive’s major and minor revision is not available, the drive database is not installed on your computer. To get the correct database revision, use one of the following buttons at the bottom left of the Module Definition screen: • Create Database: Creates a database from an online network drive. Clicking this button displays an RSLinx software RSWho window. Browse to the online drive (for this example, PowerFlex 70 EC), select it, and click OK. The database will be uploaded and stored on the computer. Thereafter, close the Module Definition screen and then re-open it to display the new revision. • Web Update: When a drive is not available online, opens the Allen-Bradley Drives Web Updates website to download a specific database file. After downloading the file, close the Module Definition screen and then re-open it to display the new revision. • Match Drive: Use this button when the drive being added to the network matches the drive profile (revision, rating, configuration settings, and so forth) of an existing online network drive. Click this button to conveniently create a duplicate drive profile from the online drive, and automatically load this identical information into the Module Definition screen. This eliminates the need to manually enter the information each time a new drive with a matching profile is added to the network.

Electronic Keying

Compatible Module. The ‘Compatible Module’ setting for Electronic Keying ensures that the physical module is consistent with the software configuration before the controller and bridge make a connection. Therefore, ensure that you have set the correct revision in this screen. See the online Help for additional information on this and other Electronic Keying settings. If keying is not required, select ‘Disable Keying’. Drives do not require keying, and so ‘Disable Keying’ is recommended.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 44

4-8

Configuring the I/O

Box

Setting

Drive Rating

The voltage and current rating of the drive. If the drive rating is not listed, the drive database is not installed on your computer. To get the correct drive rating, use the Create Database, Web Update, or Match Drive button described above.

Connection

Parameters via Datalinks. When selecting ‘Parameters via Datalinks’ (default), the controller tags for the Datalinks use the drive parameter names to which they are assigned. When selecting ‘Datalinks’, the controller tags for the Datalinks have non-descriptive UserDefinedData[n] names like those used in RSLogix 5000 software, version 15.00.

Data Format

Parameters. When the Connection field is set to ‘Parameters via Datalinks’, ‘Parameters’ is automatically selected. When the Connection field is set to ‘Datalinks’, you must select the number of Datalinks required for your application in the ‘Data Format’ field.

Datalink A, B, C, D

In the Input Data column, assigns selected drive parameters to be READ by the controller. In the Output Data column, assigns selected drive parameters to be WRITTEN by the controller.

Sort Input/ Output selection…

When this box is checked, sorts the Input Data and Output Data assigned parameters by name and then by number, and enables parameter search by name. When unchecked, sorts the assigned parameters by parameter number and then by name, and enables parameter search by number.

Use Network Reference

Conveniently selects the speed reference for the drive to come from the network. This box is checked by default.

When a 32-bit parameter is selected for Input Data or Output Data for a drive with 16-bit Datalinks, two contiguous Datalinks (for example, x1 and x2, where x = A, B, C or D) are automatically assigned as a pair to represent that parameter. See Datalink examples in the screen shown on the previous page. For more information on Datalinks, see Using Datalinks on page 5-11. On the Module Definition screen, notice that the automatically-assigned controller tags DriveStatus, OutputFreq, DriveLogicRslt, and CommandedFreq are always used. When a Datalink is enabled, the following 20-COMM-C or 20-COMM-Q adapter I/O parameters are automatically set: – Parameter 13 - [DPI I/O Cfg] turns on the enabled Datalink bit so the 20-COMM-C or 20-COMM-Q adapter will communicate that Datalink’s information with the drive. – Parameter 25 - [M-S Input] turns on the enabled Datalink bit so the 20-COMM-C or 20-COMM-Q adapter will input that Datalink’s information from the controller. – Parameter 26 - [M-S Output] turns on the enabled Datalink bit so the 20-COMM-C or 20-COMM-Q adapter will output that Datalink’s information to the controller. 7. Click OK on the Module Definition screen to save the drive and adapter configuration and close the screen. The drive’s New Module screen reappears.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 45

Configuring the I/O

4-9

8. On the New Module screen, click the Connection tab.

9. In the ‘Requested Packet Interval (RPI)’ box, set the value to 5.0 milliseconds or greater. This value determines the maximum interval that a controller should use to move data to and from the adapter. To conserve bandwidth, use higher values for communicating with low priority devices. We recommend keeping the default value of 20.0 milliseconds. The ‘Inhibit Module’ box, when checked, inhibits the module from communicating with the RSLogix 5000 project. When the ‘Major Fault on…’ box is checked, a major controller fault will occur when the module’s connection fails while the controller is in the Run Mode. For this example, leave the ‘Inhibit Module’ and ‘Major Fault On…’ boxes unchecked, but keep the ‘Use Scheduled Connections over ControlNet’ box checked. 10. On the New Module screen, click the Drive tab.

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Page 46

4-10

Configuring the I/O

11. In the treeview, double-click Parameter List to display the drive’s linear parameter list. a. Scroll to drive parameter 90 - [Speed Ref A Sel] and set its value to ‘DPI Port 5’. This enables the drive to receive its Reference from the network via the 20-COMM-C or 20-COMM-Q adapter. For speed Reference scaling information, see Using Reference/Feedback on page 5-8. b. Click Close to save the setting and close the Parameters List screen. The New Module screen reappears. 12. Click OK on the New Module screen. The new node (‘My_PowerFlex_70_EC_Drive’ in this example) now appears under the bridge (‘My_ControlNet_Bridge’ in this example) in the I/O Configuration folder. If you double-click the Controller Tags, you will see that module-defined data types and tags have been automatically created (Figure 4.2). Note that all tag names are defined and Datalinks include the assigned drive parameter name. After you save and download the configuration, these tags allow you to access the Input and Output data of the drive via the controller’s ladder logic. Figure 4.2

20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P

Controller Tags