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

The text of a manual · part 13 of 33

PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual: Chapter 5, pages 93 to 101

Pages 93 to 101 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 93

Using the I/O

5-19

Depending on the drive being used, see one of the following subsections for information on speed Reference and Feedback scaling. Subsection

Page

PowerFlex 70/700/700H and PowerFlex 700L Drives with 700 Control

5-9

PowerFlex 700S and PowerFlex 700L Drives with 700S Control

5-10

PowerFlex 753/755 Drives

5-10

PowerFlex Digital DC Drives

5-11

Figure 5.8

ControlLogix Example Ladder Logic Program Using a Drive Generic Profile for Logic Status/Feedback

PowerFlex 70 and PowerFlex 750-Series Drives

PowerFlex 70 Drive Speed Feedback

PowerFlex 750-Series Drive Speed Feedback

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

Page 94

5-20

Using the I/O

Figure 5.9

ControlLogix Example Ladder Logic Program Using a Drive Generic Profile for Logic Command/Reference

PowerFlex 70 and PowerFlex 750-Series Drives

PowerFlex 70 Drive Speed Reference

PowerFlex 750-Series Drive Speed Reference

Example Datalink Data The Datalink data used in the example program is shown in Figure 5.10. Note that to describe the parameters to which the Datalinks are assigned, you may want to add descriptions to the automatically-created generic controller tags or create a User Defined Data Types (UDDT).

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

Page 95

Using the I/O

5-21

Figure 5.10 ControlLogix Example Datalinks for Ladder Logic Program Using a Drive Generic Profile

PowerFlex 70 Drive

PowerFlex 750-Series Drive

For PowerFlex 7-Class drives, the scaling may need to be multiplied by 10 or 100, depending on the parameter. For more information, see Datalink Scaling on page 5-11.

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

Page 96

5-22

Using the I/O

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.) For example, parameter 3 - [Output Current] in a PowerFlex 70 EC drive is a 32-bit parameter. When using a drive that has 32-bit Datalinks (PowerFlex 700 VC, PowerFlex 700S, and PowerFlex 750-Series drives), only one drive Datalink parameter is required to transfer any parameter. Figure 5.11 ControlLogix Example Ladder Logic Program Using a Drive Generic Profile for PowerFlex 750-Series Drives Datalink Scaling

For PowerFlex 750-Series drives, the destination tag can be a REAL or DINT. Make the destination tag the same data type as the parameter being read. For information on Datalink scaling, see page 5-12.

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

Page 97

Using the I/O

PLC-5 Controller Example

5-23

Creating an RSLogix 5 Project, Version 7.00 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. From the pull-down menus, choose the appropriate choices to match your PLC-5 controller and application. 5. Click OK. The Select ControlNet Project screen appears.

6. Click Browse… and choose the RSNetWorx for ControlNet project file created in Chapter 4. 7. Enter the node address of the controller in the ControlNet Node field. 8. Click OK. The RSLogix 5 project window appears.

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

Page 98

5-24

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. Device PowerFlex 70 EC Drive

PowerFlex 750-Series Drive (1)

20-COMM-C or 20-COMM-Q Adapter

Parameter 90 - [Speed Ref A Sel 300 - [Data In A1] 301 - [Data In A2] 302 - [Data In B1] 303 - [Data In B2] 304 - [Data In C1] 305 - [Data In C2] 306 - [Data In D1] 307 - [Data In D2] 310 - [Data Out A1] 311 - [Data Out A2] 312 - [Data Out B1] 313 - [Data Out B2] 314 - [Data Out C1] 315 - [Data Out C2] 316 - [Data Out D1] 317 - [Data Out D2] 545 - [Spd Ref A Sel] 895 - [Data In A1] 896 - [Data In A2] 897 - [Data In B1] 905 - [Data Out A1] 906 - [Data Out A2] 907 - [Data Out B1] 03 - [CN Addr Cfg] 13 - [DPI I/O Cfg] 25 - [M-S Input]

Value 22 (DPI Port 5) 140 142 100 155 101 102 103 104 140 142 100 155 101 102 103 104 Port 0: Port 6 Reference Port 0: Accel Time 1 Port 0: Testpoint Sel 1 Port 5: Anlg Out1 Hi Port 0: DC Bus Volts Port 0: Open Loop Fdbk Port 5: Anlg Out0 Data 2 xxx1 1111 xxx1 1111

26 - [M-S Output] xxx1 1111

Description Assigns 20-COMM-C/-Q to be used for the Reference. Points to Par. 140 - [Accel Time 1] Points to Par. 142 - [Decel Time 1] Points to Par. 100 - [Jog Speed] Points to Par. 155 - [Stop Mode A] Points to Par. 101 - [Preset Speed 1] Points to Par. 102 - [Preset Speed 2] Points to Par. 103 - [Preset Speed 3] Points to Par. 104 - [Preset Speed 4] Points to Par. 140 - [Accel Time 1] Points to Par. 142 - [Decel Time 1] Points to Par. 100 - [Jog Speed] Points to Par. 155 - [Stop Mode A] Points to Par. 101 - [Preset Speed 1] Points to Par. 102 - [Preset Speed 2] Points to Par. 103 - [Preset Speed 3] Points to Par. 104 - [Preset Speed 4] Assigns 20-COMM-C/Q to be used for the Reference. Points to Par. 535 in the drive. Points to Par. 970 in the drive. Points to Par. 90 in Port 5 (I/O module). Points to Par. 11 in the drive. Points to Par. 137 in the drive. Points to Par. 77 in Port 5 (I/O module). Node address for the adapter. Enables Cmd/Ref and Datalinks A…D. Configures the I/O Data to be transferred from the controller on the network to the drive. Configures the I/O Data to be transferred from the drive to the controller on the network.

(1) In this example, the 20-COMM-C or 20-COMM-Q adapter/20-750-20COMM Communication Carrier Card is installed in Port 6, and a 24V I/O module is installed in Port 5. Also, Data In B2…D2 (Parameters 898…902) and Data Out B2…D2 (Parameters 908…912) are enabled, but not used.

TIP: Data In parameters are inputs into the drive that come from controller outputs (for example, data to write to a drive parameter). Data Out parameters are outputs from the drive that go to controller inputs (for example, data to read a drive parameter).

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

Page 99

Using the I/O

5-25

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.) For example, parameter 3 - [Output Current] in a PowerFlex 70 EC drive is a 32-bit parameter. When using a drive that has 32-bit Datalinks (PowerFlex 700 VC, PowerFlex 700S, and PowerFlex 750-Series drives), only one drive Datalink parameter is required to transfer any parameter.

Understanding PLC-5 Controller Data Table Addresses Because the PLC-5 controller is a 16-bit platform and is used with the 32-bit 20-COMM-C or 20-COMM-Q 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 data table addresses (N9:0 for input data and N10:0 for output data) were used. Figure 5.12 shows the data file address structure for this example. Figure 5.12 Data File Table for Example Ladder Logic Program

Depending on the drive, Table 5.J, Table 5.K, Table 5.L, Table 5.M, Table 5.N, or Table 5.O show the I/O definitions as they relate to the N9:0 and N10:0 data table addresses in Figure 5.12 being used in this example.

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

Page 100

5-26

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.J PLC-5 Data Table Addresses for: PowerFlex 70 Drives with Standard or Enhanced Control PowerFlex 700 Drives with Standard Control PowerFlex 700H Drives Data Table Address N9:0 N9:1 N9:2 N9:3 N9:4 N9:5 N9:6 N9:7 N9:8 N9:9 N10:0 N10:1 N10:2 N10:3 N10:4 N10:5 N10:6 N10:7 N10:8 N10:9

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

Description Logic Status (see Appendix D) Speed Feedback Value of parameter assigned to Parameter 310 [Data Out A1] Value of parameter assigned to Parameter 311 [Data Out A2] Value of parameter assigned to Parameter 312 [Data Out B1] Value of parameter assigned to Parameter 313 [Data Out B2] Value of parameter assigned to Parameter 314 [Data Out C1] Value of parameter assigned to Parameter 315 [Data Out C2] Value of parameter assigned to Parameter 316 [Data Out D1] Value of parameter assigned to Parameter 317 [Data Out D2] Logic Command (see Appendix D) Speed Reference Value of parameter assigned to Parameter 300 [Data In A1] Value of parameter assigned to Parameter 301 [Data In A2] Value of parameter assigned to Parameter 302 [Data In B1] Value of parameter assigned to Parameter 303 [Data In B2] Value of parameter assigned to Parameter 304 [Data In C1] Value of parameter assigned to Parameter 305 [Data In C2] Value of parameter assigned to Parameter 306 [Data In D1] Value of parameter assigned to Parameter 307 [Data In D2]

Page 101

Using the I/O

5-27

PowerFlex 700 Drives with Vector Control and PowerFlex 700L Drives with 700 Control When using 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.K PLC-5 Data Table Addresses for: PowerFlex 700 Drives with Vector Control PowerFlex 700L Drives with 700 Control Data Table Address N9:0 N9:1 N9:2 N9:3 N9:4 N9:5 N9:6 N9:7 N9:8 N9:9 N9:10 N9:11 N9:12 N9:13 N9:14 N9:15 N9:16 N9:17 N10:0 N10:1 N10:2 N10:3 N10:4 N10:5 N10:6 N10:7 N10:8 N10:9 N10:10 N10:11 N10:12 N10:13 N10:14 N10:15 N10:16 N10:17

Description Logic Status (see Appendix D) Speed Feedback Value of parameter assigned to Parameter 310 [Data Out A1] LSW Value of parameter assigned to Parameter 310 [Data Out A1] MSW Value of parameter assigned to Parameter 311 [Data Out A2] LSW Value of parameter assigned to Parameter 311 [Data Out A2] MSW Value of parameter assigned to Parameter 312 [Data Out B1] LSW Value of parameter assigned to Parameter 312 [Data Out B1] MSW Value of parameter assigned to Parameter 313 [Data Out B2] LSW Value of parameter assigned to Parameter 313 [Data Out B2] MSW Value of parameter assigned to Parameter 314 [Data Out C1] LSW Value of parameter assigned to Parameter 314 [Data Out C1] MSW Value of parameter assigned to Parameter 315 [Data Out C2] LSW Value of parameter assigned to Parameter 315 [Data Out C2] MSW Value of parameter assigned to Parameter 316 [Data Out D1] LSW Value of parameter assigned to Parameter 316 [Data Out D1] MSW Value of parameter assigned to Parameter 317 [Data Out D2] LSW Value of parameter assigned to Parameter 317 [Data Out D2] MSW Logic Command (see Appendix D) Speed Reference Value of parameter assigned to Parameter 300 [Data In A1] LSW Value of parameter assigned to Parameter 300 [Data In A1] MSW Value of parameter assigned to Parameter 301 [Data In A2] LSW Value of parameter assigned to Parameter 301 [Data In A2] MSW Value of parameter assigned to Parameter 302 [Data In B1] LSW Value of parameter assigned to Parameter 302 [Data In B1] MSW Value of parameter assigned to Parameter 303 [Data In B2] LSW Value of parameter assigned to Parameter 303 [Data In B2] MSW Value of parameter assigned to Parameter 304 [Data In C1] LSW Value of parameter assigned to Parameter 304 [Data In C1] MSW Value of parameter assigned to Parameter 305 [Data In C2] LSW Value of parameter assigned to Parameter 305 [Data In C2] MSW Value of parameter assigned to Parameter 306 [Data In D1] LSW Value of parameter assigned to Parameter 306 [Data In D1] MSW Value of parameter assigned to Parameter 307 [Data In D2] LSW Value of parameter assigned to Parameter 307 [Data In D2] MSW

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