The text of a manual · part 15 of 33
PowerFlex ControlNet Adapters 20-COMM-C (Coax), 20-COMM-Q (Fiber) User Manual: Chapter 5, pages 111 to 119
Pages 111 to 119 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 111
Using the I/O
5-37
(Continued from previous page.)
PowerFlex 750-Series Drive Speed Reference
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 112
5-38
Using the I/O
SLC 500 Controller Example Creating an RSLogix 500 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. 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. The RSLogix 500 window appears. 2. Select File > New to display the Select Processor Type screen.
3. Assign a name for the processor. 4. In the list, select the appropriate processor (for this example, 1747-L552C 5/05). 5. Choose the appropriate choices for the fields in the screen to match your application. 6. Click OK. The RSLogix 500 project window reappears.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 113
Using the I/O
5-39
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-SCNR ControlNet Scanner Module. Note that the # column shows the slot number that the scanner occupies. This slot number replaces the ‘e’ in the memory addresses. d. Close the Read IO Configuration from Online Processor screen.
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 114
5-40
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 115
Using the I/O
5-41
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 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-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 default memory addresses (M1:e.3 for input data and M0:e.3 for output data) were used. However, because memory addresses cannot be used to display real data, COP instructions will be used in this example to convert these addresses to N data table addresses. With this conversion, the M1:e.3 address will become N9:0 and the M0:e.3 address will become N10:0. Figure 5.17 shows an example ladder logic program to convert memory addresses to N data table addresses. Figure 5.17 SLC 500 Example Ladder Logic Program to Convert Memory Addresses
TIP: In the ladder logic COP instructions, the number following the colon in the #M1 and #M0 addresses is the slot number in which the scanner resides. For example, if the 1747-SCNR scanner is in slot 3, then the #M1 address becomes #M1:3.3 and the #M0 address becomes #M0:3.3. After the conversion, Figure 5.18 shows the entire data file address structure for this example. 20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Page 116
5-42
Using the I/O
Figure 5.18 Data File Tables for Example Ladder Logic Program
Depending on the drive, Table 5.R, Table 5.S, Table 5.T, Table 5.U, Table 5.V, or Table 5.W shows the I/O definitions as they relate to the N9:0 and N10:0 data table addresses in Figure 5.18 being used in this example. PowerFlex 70, PowerFlex 700 with Standard Control, and PowerFlex 700H Drives When using any of these products, which contain INT (16-bit format) data types, you will read from and write to a single data table address in the controller. Table 5.R SLC 500 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 N9:10 N9:11 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 Reserved for scanner status Reserved for scanner status 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 117
Using the I/O
5-43
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.S SLC 500 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 N9:18 N9:19 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 Reserved for scanner status Reserved for scanner status 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
Page 118
5-44
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.T SLC 500 Data Table Addresses for PowerFlex 700S Drives (Phase I 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 N9:18 N9:19 N9:20 N9:21 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 N10:18 N10:19
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P
Description Reserved for scanner status Reserved for scanner status Logic Status (see Appendix D) Not Used Speed Feedback LSW Speed Feedback MSW Value of parameter assigned to Parameter 724/725 [Data Out A1] LSW Value of parameter assigned to Parameter 724/725 [Data Out A1] MSW Value of parameter assigned to Parameter 726/727 [Data Out A2] LSW Value of parameter assigned to Parameter 726/727 [Data Out A2] MSW Value of parameter assigned to Parameter 728/729 [Data Out B1] LSW Value of parameter assigned to Parameter 728/729 [Data Out B1] MSW Value of parameter assigned to Parameter 730/731 [Data Out B2] LSW Value of parameter assigned to Parameter 730/731 [Data Out B2] MSW Value of parameter assigned to Parameter 732/733 [Data Out C1] LSW Value of parameter assigned to Parameter 732/733 [Data Out C1] MSW Value of parameter assigned to Parameter 734/735 [Data Out C2] LSW Value of parameter assigned to Parameter 734/735 [Data Out C2] MSW Value of parameter assigned to Parameter 736/737 [Data Out D1] LSW Value of parameter assigned to Parameter 736/737 [Data Out D1] MSW Value of parameter assigned to Parameter 738/739 [Data Out D2] LSW Value of parameter assigned to Parameter 738/739 [Data Out D2] MSW Logic Command (see Appendix D) Not Used Speed Reference LSW Speed Reference MSW Value of parameter assigned to Parameter 707/708 [Data In A1] LSW Value of parameter assigned to Parameter 707/708 [Data In A1] MSW Value of parameter assigned to Parameter 709/710 [Data In A2] LSW Value of parameter assigned to Parameter 709/710 [Data In A2] MSW Value of parameter assigned to Parameter 711/712 [Data In B1] LSW Value of parameter assigned to Parameter 711/712 [Data In B1] MSW Value of parameter assigned to Parameter 713/714 [Data In B2] LSW Value of parameter assigned to Parameter 713/714 [Data In B2] MSW Value of parameter assigned to Parameter 715/716 [Data In C1] LSW Value of parameter assigned to Parameter 715/716 [Data In C1] MSW Value of parameter assigned to Parameter 717/718 [Data In C2] LSW Value of parameter assigned to Parameter 717/718 [Data In C2] MSW Value of parameter assigned to Parameter 719/720 [Data In D1] LSW Value of parameter assigned to Parameter 719/720 [Data In D1] MSW Value of parameter assigned to Parameter 721/722 [Data In D2] LSW Value of parameter assigned to Parameter 721/722 [Data In D2] MSW
Page 119
Using the I/O
5-45
Table 5.U SLC 500 Data Table Addresses for: PowerFlex 700S Drives with Phase II Control PowerFlex 700L Drives with 700S 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 N9:18 N9:19 N9:20 N9:21 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 N10:18 N10:19
Description Reserved for scanner status Reserved for scanner status Logic Status (see Appendix D) Not Used Speed Feedback LSW Speed Feedback MSW Value of parameter assigned to Parameter 660 [DPI Data Out A1] LSW Value of parameter assigned to Parameter 660 [DPI Data Out A1] MSW Value of parameter assigned to Parameter 661 [DPI Data Out A2] LSW Value of parameter assigned to Parameter 661 [DPI Data Out A2] MSW Value of parameter assigned to Parameter 662 [DPI Data Out B1] LSW Value of parameter assigned to Parameter 662 [DPI Data Out B1] MSW Value of parameter assigned to Parameter 663 [DPI Data Out B2] LSW Value of parameter assigned to Parameter 663 [DPI Data Out B2] MSW Value of parameter assigned to Parameter 664 [DPI Data Out C1] LSW Value of parameter assigned to Parameter 664 [DPI Data Out C1] MSW Value of parameter assigned to Parameter 665 [DPI Data Out C2] LSW Value of parameter assigned to Parameter 665 [DPI Data Out C2] MSW Value of parameter assigned to Parameter 666 [DPI Data Out D1] LSW Value of parameter assigned to Parameter 666 [DPI Data Out D1] MSW Value of parameter assigned to Parameter 667 [DPI Data Out D2] LSW Value of parameter assigned to Parameter 667 [DPI Data Out D2] MSW Logic Command (see Appendix D) Not Used Speed Reference LSW Speed Reference MSW Value of parameter assigned to Parameter 651 [DPI Data In A1] LSW Value of parameter assigned to Parameter 651 [DPI Data In A1] MSW Value of parameter assigned to Parameter 652 [DPI Data In A2] LSW Value of parameter assigned to Parameter 652 [DPI Data In A2] MSW Value of parameter assigned to Parameter 653 [DPI Data In B1] LSW Value of parameter assigned to Parameter 653 [DPI Data In B1] MSW Value of parameter assigned to Parameter 654 [DPI Data In B2] LSW Value of parameter assigned to Parameter 654 [DPI Data In B2] MSW Value of parameter assigned to Parameter 655 [DPI Data In C1] LSW Value of parameter assigned to Parameter 655 [DPI Data In C1] MSW Value of parameter assigned to Parameter 656 [DPI Data In C2] LSW Value of parameter assigned to Parameter 656 [DPI Data In C2] MSW Value of parameter assigned to Parameter 657 [DPI Data In D1] LSW Value of parameter assigned to Parameter 657 [DPI Data In D1] MSW Value of parameter assigned to Parameter 658 [DPI Data In D2] LSW Value of parameter assigned to Parameter 658 [DPI Data In D2] MSW
20-COMM-C/Q ControlNet Adapter User Manual Publication 20COMM-UM003F-EN-P