Home
7 Class RIO Comm Module - Mid
Contents
1. Location Description of Changes C 12 Request Write Data and Response Read Data columns shifted down by 1 60 Word BT added C 13 N30 72 added to Response Data for Get_Attributes_Scattered Column incremented by 1 C 14 Status Information added to Response Read Data column 20 Word BT added 30 Word BT added C 15 Request Write Data and Response Read Data columns shifted down by 1 60 Word BT added C 16 N30 72 added to Response Data for Set_Attributes_Scattered Column incremented by 1 Notes soc 4 Notes Chapter 1 Chapter 2 Chapter 3 Chapter 4 Table of Contents About This Manual Related Documentation P 1 Conventions Used in this Manual P 2 Rockwell Automation 2 Getting Started COMPONENTS st ise ae eR E hee 1 1 F at tes c ho hia ER Rees ORE RA Ue RT ed 1 2 Compatible Products 1 3 Required Equipment 1 3 Safety PreCautions suene oder poste eoe 1 4 Quick Start ee bee ah te RR Ud 1 5 Modes of 1 6 Installing the Adapter Preparing for an 2 1 Selecting Remote I O 2 1 Commissioning the 2 2 Connecting the Adapter to
2. Using Block Transfer Messaging 5 5 Executing Block Transfers for Explicit Messages 1 Enter data into the program Data must be entered into a data file for a program to run The data file that is used depends on your controller and application Run the program When executing a Block Transfer message the program must monitor the Block Transfer Status word word 0 in the Discrete I O Image Its bits are defined as follows Bits 0 7 Name and Description Node Adapter Chip These bits are used by the node adapter chip to communicate with the master on the network The master application should not use these bits DATA VALID 0 Data from the drive is not valid 1 Data from the drive is valid Message Block Transfer Write Available 0 Not ready 1 Ready to receive a Block Transfer write Message Block Transfer Read Available 0 Not ready 1 Data is available for a Block Transfer read Message Block Transfer Error 0 Block Transfer message succeeded 1 Block Transfer message failed 12 15 Reserved Do not use Figure 5 2 illustrates the events of a successful Block Transfer Figure 5 2 Block Transfer Time line 1 Bi 11 it 10 Off 1 On e Bi Bit Status 0 0 t8 Events o 2 o 5 6 Using Block Transfer Messaging The following table describes the main events and what a program should be monitoring when perf
3. 4 Write Time Command BYTE 0 No Operation Write 1 Clear all timers Does not clear the real time clock or read only timers 22 CIP Objects DPI Time Object Continued Instance Attributes Attribute Access Name Data Type Description ID Rule 0 Read Read Full STRUCT of Only STRING 16 Name of the timer LWORD or Elapsed time in milliseconds unless timer STRUCT is a real time clock See attribute 2 BOOL 16 See Attribute 3 1 Read Timer Text STRING 16 Name of the timer Only 2 Read Timer Value WORD Elapsed time in milliseconds unless the Write OR timer is a real time clock STRUCT of Real Time Clock Data WORD Milliseconds 0 999 BYTE Seconds 0 59 BYTE Minutes 0 59 BYTE Hours 0 23 BYTE Days 1 31 BYTE Months 1 January 12 December BYTE Years since 1972 3 Read Timer BOOL 16 BOOL 0 0 invalid data 1 valid data Only Descriptor BOOL 1 0 elapsed time 1 real time 2 15 Not used Appendix D Logic Command Status Words Appendix D provides the definitions of the Logic Command Logic Status words that are used for some products that can be connected to the Remote I O adapter If you do not see the Logic Command Logic Status for the product that you are using refer to your product s documentation PowerFlex 70 and PowerFlex 700 Drives Logic Command Word Logic Bits 15 14 13 12 11 1019 817 65 14 3 2 1
4. Allen Bradley Power Communications Remote I O Adapter 20COMM R FRN 1 xxx User Manual Automation 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 describes some important differences between solid state equipment and hard wired electromechanical devices Because of this difference and also because of the wide variety of uses for solid state equipment all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable In no event will the Allen Bradley Company be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are included solely for illustrative purposes Because of the many variables and requirements associated with any particular installation the Allen Bradley Company cannot assume responsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Allen Bradley Company with respect to use of information circuits equipment or software described in this manual Reproduction of the contents of this manual in whole or in part without written permission of the Allen Bradley Company is prohibi
5. Read write 9 Not Writable When 0 Writable when enabled e g drive running Enabled 1 Not writable when enabled 10 Instance 0 Parameter value is not a reference to another parameter 1 Parameter value refers to another parameter 11 Reserved Must be zero 12 Decimal Place Bit 0 Number of digits to the right of the decimal point 13 Decimal Place Bit t 0000 0 14 Decimal Place Bit 2 7 15 Decimal Place Bit 3 16 Extended Right bit is least significant bit 16 Data Type Bit 1 000 Reserved 17 Extended 001 DWORD used as an array of Boolean Data Type Bit 2 010 Reserved 011 Reserved 18 Extended 100 Reserved Data Type Bit 2 101 Reserved 110 Reserved 111 Reserved 10 CIP Objects DPI Parameter Object Continued Formulas for Converting Descriptor Bit Definitions Bit Name Description 19 Parameter Exists Used to mark parameters that are not available to network tools 20 Reserved Reserved 21 Formula Links Indicates the Formula Data is derived from other parameters 22 Access Level Bit 1 A 3 bit field used to control access to parameter data 23 Access Level Blt 2 24 Access Level Bit 3 25 Writable ENUM ENUM text 0 Read Only 1 Read Write 26 Not a Link Source 0 Parameter can be a source for a link 1 Parameter cannot be a source for a link 27 Enhanced Bit ENUM _ Parameter supports enhanced bit ENUMs 28 Enhanced ENUM P
6. 5 12 Using Block Transfer Messaging SLC Example Block Transfer Data files for SLC Example Program This set of data files shows a read of drive parameter 1 Output Freg The value of parameter 1 is 213 21 3 Hz Request and Control Data for Read of Drive Parameter 1 hex Address Value hex Description Refer to N12 10 1000A Length of Message 10 bytes A hex 5 3 N12 11 0081 Required Setting 53 N12 12 000 Service Get Attribute Single C4 N12 13 0093 Class 93 DPI Parameter Object C 7 N12 14 0001 Instance Parameter 1 1 hex C 7 N12 15 0009 Attribute 09 DPI Parameter Value 8 Response and Control Data for Read of Drive Parameter 1 hex Address Value hex Description Refer to N13 110 0004 Length of Message 4 bytes 54 N13 111 0000 The Message was Successful 54 N13 112 0000 N13 113 0005 Response Data 213 D5 hex 21 3 Hz This set of data files shows a write of drive parameter 41 Motor NP Volts The value written is 2300 230 0V AC Request and Control Data for Write of Drive Parameter 41 hex Address Value hex Description Refer to N12 10 000C Length of Message 12 bytes C hex 5 8 N12 11 0081 Required Setting 53 N12 12 0010 Service Set Attribute Single C4 N12 13 0093 Class 93 DPI Parameter Object 7 N12 14 0029 Instance Parameter 41 29 hex 7 N12 15 0009 Attribute 09 DPI Parameter Value C 8 N12 1
7. 6040 Ponders Court Greenville SC 29615 4617 USA Tel 1 864 297 4800 Fax 1 864 281 2433 Europe Rockwell Automation Br hlstraBe 22 D 74834 Elztal Dallau Germany Tel 49 6261 9410 Fax 49 6261 1774 Asia Pacific Rockwell Automation 55 Newton Road 11 01 02 Revenue House Singapore 307987 Tel 65 351 6723 Fax 65 355 1733 Publication 20COMM UMOO4C EN P March 2002 P N 307230 P02 Supercedes March 200 Copyright C 2001 Rockwell Automation All rights reserved Printed in USA
8. Block Transfer I O One Block Transfer request is processed per Remote I O rack scan but multiple requests to a rack can be initiated You can use Block Transfer Read messages to gather input and status data from the adapter and Block Transfer Write messages to send output and configuration data to the adapter and connected drive Formatting Block Transfer Messages Using Block Transfer to Initiate Explicit Messages Figure 5 1 Explicit Message Format Block Transfer Write Block Transfer Read Bit 15 0 15 0 Word 0 0x00 Length 0x00 Length Word 1 DPI Port 0x81 Status Type Status Size Word 2 0x00 CIP Service Status Information Word 3 CIP Class Data or Padding Word 4 CIP Instance Word 5 CIP Attribute Word 6 Data or Padding Word 19 20 word BTW length OR Word 29 30 word BTW length OR Word 59 60 word BTW length Most Significant Byte bits 15 8 Least Significant Byte bits 7 0 Refer to page 5 3 for a description of each word in a Block Transfer Write used for initiating Explicit Messages Using Block Transfer Messaging 5 3 Refer to page 5 4 for a description of each word in a Block Transfer Read used for receiving an Explicit Message response Block Transfer Write Structure For Sending Block Transfer Messages Data Field Description Word 0 Length The least significant byte contains the length of the Explicit Message The most sign
9. Configure the adapter to use the baud rate at which the network is operating Configure the adapter to use a unique rack address on the Remote I O network Apply power to the drive Apply power to the controller Flashing The adapter is properly e Verify that the scanner is in RUN mode Green connected but is not e Verify that the scanner is using the correct transferring I O over the rack size for the adapter Remote I O network e Verify that the adapter is configured for the correct rack size Solid The adapter is properly e action required Green _ connected and is communicating with the scanner on the network Troubleshooting Module Diagnostic Items The following diagnostic items can be accessed using DriveExplorer version 2 01 or higher or the LCD HIM version 2 001 or higher Name Common Logic Cmd Description Current value of the Common Logic Command being transmitted to the host by this peripheral If this diagnostic item is any value other than 1 the values of items 7 through 14 Datalink A1 In Datalink D2 In are not actually being transferred to the host 2 Prod Logic Cmd Current value of the Product Specific Logic Command being transmitted to the host by this peripheral 3 Reference Current value of the Product Specific Reference being transmitted to the host by th
10. Example 2 Datalink Most Least Significant Word Parameter Data decimal A1 Not Used 0 0 A2 MSW 242 13 Example 3 Datalink Most Least Significant Word Parameter Data decimal A1 LSW 242 32573 A2 MSW 242 13 Example 4 Datalink Most Least Significant Word Parameter Data decimal A2 MSW 242 13 B1 LSW 242 32573 32 bit data is stored in binary as follows MSW 23 through 216 LSW 215 through 20 Example Parameter 242 Power Up Marker 88 4541 hours MSW 13 13 x 65 536 216 851968 LSW 32573 851968 32573 884541 Using Discrete amp Block Transfer I O Example Programs These example ladder logic programs work with PowerFlex 70 or PowerFlex 700 drives with the 20 COMM R in 1 4 rack mode and perform the following e Use the Logic Command to control the drive i e start stop and receive Logic Status information back from the drive i e ready fault e Send a Reference to the drive and receive Feedback by Block Transfer I O Read Write Datalinks to from the drive by Block Transfer I O e Access the drive via Block Transfer Messaging see Chapter 5 Using Block Transfer Messaging Adapter Settings for the Example Programs Switches have been disabled and the following parameters have been set e Parameter 03 RIO Addr Cfg 1 e Parameter 12 DPI I O Config xxx0 0011 Logic Command Reference and Datalink A are enabled e Parameter 25 Start RIO Gro
11. JE AE 2 2 This rung allows the user to clear any faults present in the drive User Drive CLEAR FAULTS CLEAR FAULTS Input Command N7 0 0 011 FE AE 3 3 This rung moves the Reference from the User Operator Station to the Block Transfer Write file where it is moved to the drive by Block Move Source N7 1 10000 lt Dest N10 0 10000 lt This rung moves the READY status bit from the drive to the user display rive User READY DRIVE READY Status Status 1 011 10 lE dt 0 0 This rung moves the RUNNING status bit from the drive to the user display Drive User RUNNING DRIVE RUNNING Status Status 1 011 10 it 1 1 This rung moves the AT SPEED status bit from the drive to the user display Drive User AT SPEED DRIVE AT SPEED Status Status 1 011 N7 10 JE iE 10 2 This rung moves the drive Feedback word from the Block Transfer Read file to the User Operator Station MOV Move Source N11 0 0 lt Dest N7 11 0 lt This rung executes the file containing the I O Block Transfer logic See Figure 4 10 PLC Block Transfer O Read Write JSR Jump To Subroutine Prog File Number This rung executes the file containing the Messaging Block Transfer logic See Figure 5 4 PLC Block Transfer Messaging JSR Jump To Subroutine Prog File Number U5 END Using Discrete amp Block Transfer I O Figure 4 10 PLC Block Transfer I O Read Write may require additional sequencing logic N11 0 Feedback T
12. Parameter Value LSW Pad Word or Error Code 8 Parameter Value MSW Pad Word 9 Parameter Number Parameter Number 10 j Parameter Value LSW Pad Word or Error Code 11 Parameter Value MSW Pad Word 12 Number Parameter Number 13 Parameter Value LSW Pad Word or Error Code 14 Parameter Value MSW Pad Word 15 Parameter Number Parameter Number 16 Parameter Value LSW Pad Word or Error Code 17 Parameter Value MSW Pad Word 20 word 18 Parameter Number Parameter Number 19 Parameter Value LSW Pad Word or Error Code 20 Parameter Value MSW Pad Word 21 Parameter Number Parameter Number 22 Parameter Value LSW Pad Word or Error Code 23 Parameter Value MSW Pad Word 24 Parameter Number Parameter Number 25 Parameter Value LSW Pad Word or Error Code 26 Parameter Value MSW Pad Word 27 Parameter Number Parameter Number ae m 28 Parameter Value LSW Pad Word or Error Code 29 Parameter Value MSW Word 60 word BT DPI Parameter Object Continued Word 30 31 32 33 34 35 36 37 38 39 40 4 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 CIP Objects C 15 Request Write Data Response Read Data High Byte Low Byte High Byte Low Byte Parameter Number Par
13. ProductSeries BYTE 1 A Only 2 B 4 Read Number of BYTE Number of components e g main control Only Components board I O boards in the device 5 Read UserDefinable STRING 16 Text identifying the device with a Write Text user supplied name 6 Read Status Text STRING 12 Text describing the status of the drive Only CIP Objects C 5 DPI Device Object Continued Class Attributes Continued Attribute Access Name Data Type Description Rule Read Configuration BYTE Identification of variations within a family Only Code code 8 Read Configuration Text STRING 16 Text identifying a variation of a family Only device 9 WORD 0x0001 Allen Bradley nly 11 Read NVS Checksum WORD Checksum of the Non Volatile Storage in Only device 12 neag Class Revision WORD Revision of this object nly 13 Read Character Set BYTE 0 SCANport character set Only Code 1 ISO 8859 1 Latin 1 2 ISO 8859 2 Latin 2 3 ISO 8859 3 Latin 3 4 ISO 8859 4 Latin 4 5 ISO 8859 5 Cyrillic 6 ISO 8859 6 Arabic 7 ISO 8859 7 Greek 8 ISO 8859 8 Hebrew 9 ISO 8859 9 Turkish 10 ISO 8859 10 Nordic 255 ISO 10646 Unicode 15 Read Languages STRUCT of Only Supported BYTE Number of Languages BYTE n Language Codes See Class Attribute 2 16 Read Date of STRUCT of Only Manufacture WORD Year BYTE Mont
14. Reset Required No Action lets you determine the action of the adapter and connected drive if the scanner is idle By default this parameter faults the drive You can set this parameter so that the drive continues to run Precautions should be taken to ensure that the setting of this parameter does not create a hazard of injury or equipment damage ATTENTION Risk of injury or equipment damage exists Parameter 11 Idle Fit Parameter Adapter Parameters B 3 No Name and Description Details 12 DPI 1 0 Config Default 0 0001 Bit Values 1 0 disabled I O that is transferred through the adapter 1 I O enabled Type Read Write Reset Required Yes Bit Definitions 76543210 Deut KIXIXT8T8181811 0 FL gt 1 Datalink A 2 Datalink B 3 Datalink C 4 Datalink D 5 Not Used 6 Not Used 7 Not Used 13 DPI I O Active Default xxxO 0001 I O that the adapter is actively transmitting This Bit Values disabled value is the same as Parameter 12 DPI I O 1 1 0 enabled Config unless the parameter was changed and Type Read Only the adapter was not reset Bit Definitions i i x 0 i 0 T gt 0 Cmd Ref ri 1 Datalink A Eu 2 Datalink B 3 Datalink C 4 Datalink D 5 Not Used 6 Not Used 7 Not Used 14 Flt Cfg Logic Default 0000 0000 0000 0000 Sets the Logic
15. stop change direction The Logic Status word provides details about how the drive is operating The definition of the bits in these words depends on the connected drive Appendix D Logic Command Status Words contains the definitions of the Logic Command Status words for PowerFlex 70 and 700 drives Reference Feedback in Discrete I O Image If the adapter is configured for 1 2 rack Figure 4 2 word 2 and word 3 in the discrete I O image are reserved for Reference Feedback Word 16 bit value 32 bit value 2 Reference Feedback Reference LSW Feedback LSW 3 Not Used 0 Reference MSW Feedback MSW LSW Least Significant Word bits 0 15 MSW Most Significant Word bits 16 31 Using Discrete amp Block Transfer I O 4 5 Block Transfer I O Image The Block Transfer I O image is a Block Transfer message that contains eighteen 16 bit words It reserves two words for the Reference Feedback and four words for each Datalink in case 32 bit values are used Figure 4 3 Block Transfer I O Image for 16 Bit Reference and Datalinks Block Transfer Write Block Transfer Read 0 Reference Feedback 1 Not Used 0 2 Datalink In A1 Datalink Out A1 3 Not Used 0 4 Datalink In A2 Datalink Out A2 5 Not Used 0 6 Datalink In B1 Datalink Out B1 7 Not Used 0 E 8 Datalink In B2 Datalink Out B2 9 Not Used 0 10 Datalink In C1 Datalink Out C1 11 Not Used 0 12 Datalink In C2 Datalink Out C2
16. 0 off 1 closed on Bit DIPSW2state 0 open off 1 closed on Bit2 DIPSW3state 0 off 1 closed on DIPSW4state 0 off 1 closed on Bit4 DIPSW5state 0 off 1 closed on Bits DIPSW6state 0 off 1 closed on Note Bit 5 always 0 since SW6 is not connected Bite DIPSW7state 0 off 1 closed on Bit7 DIPSW8state 0 off 1 closed on DIP switch changes do not become active until the next time the module is reset 29 Rack Address The current setting of the Rack Address rotary switch Switch Troubleshooting Viewing and Clearing Events The Remote I O adapter maintains an event queue that reports the history of its actions You can view the event queue using an LCD PowerFlex HIM DriveExplorer 2 01 or higher software or DriveTools 2000 1 01 or higher software Viewing and Clearing Events Step Keys Example Screen Viewing Events 1 Access parameters in the Main Menu Adapter Refer to Using the PowerFlex HIM in Chapter 3 Parameter 2 Press the Up Arrow or Down 9 on ea Device Select Arrow to scroll to Diagnostics 3 Press Enter to display the Diagnostics menu the adapter 4 Repeat steps 2 and 3 to enter the Events option and then View Event Queue option 5 Pressthe Up Arrow or Down Arrow to scroll through the events OR EvntQ 01 ERG Onlin
17. 13 Not Used 0 14 Datalink In D1 Datalink Out D1 15 Not Used 0 16 Datalink In D2 Datalink Out D2 17 Not Used 0 Figure 4 4 Block Transfer I O Image for 32 Bit Reference and Datalinks Block Transfer Write Block Transfer Read 0 Reference LSW Feedback LSW 1 Reference MSW Feedback MSW 2 Datalink In A1 LSW Datalink Out A1 LSW 3 Datalink In A1 MSW Datalink Out A1 MSW 4 Datalink In A2 LSW Datalink Out A2 LSW 5 Datalink In A2 MSW Datalink Out A2 MSW 6 Datalink In B1 LSW Datalink Out B1 LSW 7 Datalink In B1 MSW Datalink Out B1 MSW 8 Datalink In B2 LSW Datalink Out B2 LSW 9 Datalink In B2 MSW Datalink Out B2 MSW 10 Datalink In C1 LSW Datalink Out C1 LSW 11 Datalink In C1 MSW Datalink Out C1 MSW 12 Datalink In C2 LSW Datalink Out C2 LSW 13 Datalink In C2 MSW Datalink Out C2 MSW 14 Datalink In D1 LSW Datalink Out D1 LSW 15 Datalink In D1 MSW Datalink Out D1 MSW 16 Datalink In D2 LSW Datalink Out D2 LSW 17 Datalink In D2 MSW Datalink Out D2 MSW LSW Least Significant Word bits 0 15 MSW Most Significant Word bits 16 31 Using Discrete amp Block Transfer I O Block Transfer I O requests must be eighteen 18 words or fewer If a Reference or Datalink In field is not configured to be used by the adapter any value placed in the field will be ignored by the adapter If a
18. 19 DPITime Object cnet cee oe RUE C 21 Logic Command Status Words PowerFlex 70 and PowerFlex 700 Drives D 1 About This Manual Topic Page Related Documentation P 1 Conventions Used in this Manual P 2 Rockwell Automation Support 2 Related Documentation Preface For Refer to Publication DriveExplorer Getting Results with DriveExplorer Manual 9306 5 2 Online help installed with the software DriveTools 2000 http www ab com drives drivetools_2000 DriveTools32 Getting Results with DriveTools32 Manual 9303 5 23 Online help installed with the software Electrostatic Guarding Against Electrostatic Damage 8000 4 5 2 Discharge HIM HIM Quick Reference 20HIM QR001 PowerFlex 70 PowerFlex 70 User Manual 20A UM001 Drive PowerFlex 70 Reference Manual 20A RMO01 PowerFlex 700 Drive PowerFlex 700 User Manual 20B UM001 PowerFlex 700 Reference Manual 20B RMO001 RSLinx Getting Results with RSLinx 9399 WAB32GR Online help installed with the software RSLogix 5 RSLogix 5 Getting Results Guide 9399 RL53GR Online help installed with the software RSLogix 500 RSLogix 500 Getting Results Guide 9399 RL50GR Online help installed with the software RSLogix 5000 RSLogix 5000 Getting Results Guide 9399 RLD300GR Online help installed with the software Documentation can be obtained online at http www ab com manual
19. 2 1 Remote I O 2 1 catalog number 1 1 CIP common messages C 2 definition G 2 objects C 1to C 22 services C 1 client server network G 2 Comm Fit Action parameter B 2 commissioning the adapter 2 2 communication specifications A 1 communications module refer to adapter compatible products 1 3 components of the adapter 1 1 configuration tools 3 1 configuring the adapter 3 1 to 3 10 connecting the adapter to the drive 2 6 connecting the adapter to the network 2 4 Index 2 controller ControlLogix 4 9 5 7 definition G 2 PLC 4 12 5 9 SLC 4 14 5 11 ControlLogix example program for Block Transfer Messages 5 7 example program for I O 4 9 D Datalink Size parameter B 1 Datalinks definition G 2 datalinks enabling in the adapter 3 6 in Block Transfer I O 4 6 viewing the size 3 9 decimal octal numbers 3 3 default parameter values B 1 to B 4 dimensions A 1 disabling switches 2 3 discrete I O 4 4 DPI adapter specifications A 1 connector on adapter 1 1 2 6 connector on PowerFlex drives 2 6 data rate 3 9 definition G 2 hosts 1 3 G 2 peripheral G 2 viewing the port 3 9 DPI Alarm object C 19 DPI Data Rate parameter B 1 DPI Device object C 4 DPI Fault object C 17 DPI I O Active parameter B 3 DPI I O Config parameter B 3 DPI Parameter object C 7 DPI Port parameter B 1 DPI Time object C 21 DriveExplorer accessing parameters with 3 1 definition G 3 free lite ve
20. BTW for Read of Drive Parameter 1 hex Address Value hex Description Refer to N12 0 000A Length of Message 10 bytes A hex 5 3 N12 1 0081 Required Setting 53 N12 2 000E Service Get Attribute Single C4 N12 3 0093 Class 93 DPI Parameter Object C 7 N12 4 0001 Instance Parameter 1 1 hex C 7 N12 5 0009 Attribute 09 DPI Parameter Value C 8 Response Data BTR for Read of Drive Parameter 1 hex Address Value hex Description Refer to N13 0 0004 Length of Message 4 bytes 54 N13 1 0000 The Message was Successful 54 N13 2 0000 N13 3 00D5 Response Data 213 D5 hex 21 3 Hz This set of data files shows a write of drive parameter 41 Motor NP Volts The value written is 2300 230 0V AC Request Data BTW for Write of Drive Parameter 41 hex Address Value hex Description Refer to N12 0 000C Length of Message 12 bytes C hex 5 8 N12 1 0081 Required Setting 53 N12 2 0010 Service Set Attribute Single C 1 N12 3 0093 Class 93 DPI Parameter Object C 7 N12 4 0029 Instance Parameter 41 29 hex C 7 N12 5 0009 Attribute 09 DPI Parameter Value C 8 N12 6 08FC Data 2300 8FC hex 230 0V AC Response Data BTR for Write of Drive Parameter 41 hex Address Value hex Description Refer to N13 0 0002 Length of Message 2 bytes 54 N13 1 0000 The Message was Successful 54 N13 2 0000 Refer to Formatting Block Transfer Messages
21. Command Description X Stop 0 Not Stop 1 Stop x Start 0 Not Start 1 Start X Jog 0 Not Jog 1 X Clear 0 Not Clear Faults Faults 1 Clear Faults x Direction 00 No Command 01 Forward Command 10 Reverse Command 11 Hold Direction Control X Local 0 No Local Control Control 1 Local Control X MOP 0 Not Increment Increment 1 Increment Xx Accel Rate 00 No Command 01 Accel Rate 1 Command 10 Accel Rate 2 Command 11 Hold Accel Rate X X Decel Rate 00 No Command 01 Decel Rate 1 Command 10 Decel Rate 2 Command 11 Hold Decel Rate X x Reference 000 No Command Select 001 Ref 1 Ref A Select 010 Ref 2 Ref B Select 011 Ref 3 Preset 3 100 Ref 4 Preset 4 101 Ref 5 Preset 5 110 Ref 6 Preset 6 111 Ref 7 Preset 7 X MOP 0 Not Decrement Decrement 1 Decrement A0 Not Stop condition logic 0 must first be present before a 1 Start condition will start the drive D 2 Logic Command Status Words PowerFlex 70 and PowerFlex 700 Drives Logic Status Word Logic Bits 15 14 13112 11 1019 817 65 14 3 2 1 Status Ready gt lt Description 0 Not Ready 1 Ready x Active 0 Not Running 1 Running X Command Direction 0 Reverse 1 Forward X Actual Direction 0 Reverse 1 Forw
22. Command data that is sent to the Minimum 0000 0000 0000 0000 drive if any of the following is true Maximum 1111 1111 1111 1111 e Parameter 10 Comm Fit Action is setto Read Write Send Fit Cfg and communications are Reset Required No disrupted e Parameter 11 Idle Fit Action is set to Send Fit Cfg and the scanner is put into Program mode The bit definitions will depend on the product to which the adapter is connected 15 Fit Cfg Ref Default 0 Sets the Reference data that is sent to the drive if Minimum 0 any of the following is true Maximum 4294967295 Parameter 10 Comm Fit Action is setto Type Read Write Send Fit Cfg and communications are Reset Required No disrupted e Parameter 11 Idle Fit Action is set to Send Important If the drive uses 16 bit Fit Cfg and the scanner is put into Program Reference the most significant word of the mode value must be set to zero 0 or a fault will Parameter 07 Ref Fdbk Size displays whether occur the size of the Reference in the drive is 16 bit or 32 bit 4 Adapter Parameters Parameter No Name and Description Details 16 Fit Cfg A1 Default 0 17 Flt Cfg A2 Default 0 18 Fit Cfg B1 Default 0 19 Fit Cfg B2 Default 0 20 Fit Cfg C1 Default 0 21 Fit Cfg C2 Default 0 22 Fit Cfg D1 Default 0 23 Fit Cfg D2 Default 0 Sets the data that is sent to the Datalink in the Min
23. Remote I O adapter stores parameters and other information in its own non volatile memory You must therefore access the adapter to view and edit its parameters The following tools can be used to access the adapter parameters Tool Refer To DriveExplorer DriveExplorer Getting Results Manual version 2 01 or greater Publication 9306 5 3 or the online help DriveTools 2000 DriveTools 2000 Online Help version 1 01 or greater PowerFlex HIM page 3 2 You can also use Block Transfer messaging to view and edit parameters in the adapter and drive Refer to Chapter 6 Troubleshooting Configuring the Adapter Using the PowerFlex HIM If your drive has either an LED or LCD HIM Human Interface Module access parameters in the Remote I O adapter as shown below It is recommended that you read through the steps for your HIM before performing the sequence For additional HIM information refer to your PowerFlex Drive User Manual or the HIM Quick Reference card Using an LED HIM Step 1 Press the ALT and then Sel Device to display the Device Screen Press the Up Arrow or Down Arrow to scroll to the Remote I O adapter Letters represent files in the drive and numbers represent ports The adapter is connected to port 5 Press the Enter key to enter your selection A parameter database is constructed and then the first parameter is displayed Edit the parameters using the same techniques that you use to edit
24. baud rate Refer to Chapter 2 Installing the Adapter Getting Started Features The Remote I O adapter features the following The adapter is mounted in the PowerFlex drive It receives the required power from the drive Switches let you configure the module including a rack address and network baud rate before applying power to the drive Alternatively you can disable the switches and use parameters to configure the adapter by setting DIP switches 7 and 8 to 1 see Commissioning the Adapter in Chapter 2 Captive screws are used to secure and ground the adapter to the drive A number of configuration tools can be used to configure the adapter and connected drive Tools include the PowerFlex HIM Human Interface Module on the drive or drive configuration software such as DriveTools 2000 version 1 01 or greater or DriveExplorer version 2 01 or greater I O is supported You can configure the adapter to use either 1 4 rack two 16 bit words or 1 2 rack four 16 bit words of discrete I O In addition up to eighteen 16 bit words of I O can be transferred using the Block Transfer I O image without increasing the size of your discrete I O rack The Block Transfer I O image includes Datalinks Refer to Chapter 4 Using Discrete amp Block Transfer I O for more information Block Transfer messaging is supported You can configure and monitor the drive using Block Transfer messaging User defined fault actions
25. be read in Instance 0 Attribute 2 Number Description 0 Class Attributes 1 Most Recent Fault Event 2 Second Most Recent Fault Event Class Attributes Attribute Access Name Data Type Description Rule Read Class Revision WORD Revision of object Only Read Number of WORD Maximum number of faults events that the Only Instances device can record in its queue Write Fault Command BYTE 0 No Operation Write 1 Clear Fault Event 2 Clear Fault Event Queue 3 Reset Device Read Fault Trip WORD Fault that tripped the device For adapters Only Instance Read this value is always 1 when faulted Read Fault Data List STRUCT of Reserved Only BYTE BYTE WORDJ n Read Number of WORD Number of faults events in the queue A Only Recorded Faults 0 indicates the fault queue is empty Read Fault Parameter WORD Reserved Only Reference 18 CIP Objects DPI Fault Object Continued Instance Attributes Attribute Access Name Data Type Description ID Rule 0 Read Full All STRUCT of Only Information WORD Fault code STRUCT of Fault source BYTE DPI port BYTE DPI Device Object STRING 16 Fault text STRUCT of Fault time stamp LWORD Timer value 0 Timer not supported BOOL 16 BOOL O 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time BOOL 2 15 Not used WORD Reserved CONTAINER n Reserved 1 Read Basic STRUCT of Only Information WORD
26. bytes 1C hex 5 3 N30 1 0081 Port 00 0 x 81 5 3 N30 2 004C 0 x 00 Service Set_Attributes_Scattered 5 3 N30 3 0093 Class 93 DPI Parameter Object 7 N30 4 0000 Instance Class Attributes drive C 7 N30 5 0000 Attribute not used for this service C 7 N30 6 008C Parameter Number 140 8C hex N30 7 0032 Value 50 32 hex 5 0 seconds N30 8 0000 N30 9 008E Parameter Number 142 8E hex N30 10 0032 Value 50 32 hex 5 0 seconds N30 11 0000 N30 12 0064 Parameter Number 100 64 hex N30 13 0064 Value 100 64 hex 10 0 Hz N30 14 0000 Response Data for Set Attributes Scattered Address Value hex Description Refer to N30 70 0014 Length 20 bytes 14 hex 54 N30 71 0000 Status Code 00 successful transaction 54 Status Size 00 54 N30 72 0000 Status Information 0 54 N30 73 1008C Parameter Number 140 8C hex N30 74 0000 No Error N30 75 0000 N30 76 008 Parameter Number 142 8E hex N30 77 0000 No Error N30 78 0000 N30 79 0064 Parameter Number 100 64 hex N30 80 0000 No Error N30 81 0000 CIP Objects C 17 DPI Fault Object Class Code Hexadecimal Decimal 0x97 151 Products such as PowerFlex drives use this object for faults Adapters use this object for events Instances The number of instances depends on the maximum number of faults or events supported in the queue The maximum number of faults events can
27. cable is disconnected the adapter and PowerFlex drive can respond with a user defined fault configuration The user sets the data that is sent to the drive in the fault configuration parameters Parameters 14 Flt Cfg Logic through 22 Flt Cfg D2 When a fault action parameter is set to use the fault configuration and a fault occurs the data from these parameters is sent as the Command Logic Reference and or Datalink s Flash Update The process of updating firmware in the adapter The adapter can be flash updated using the Xmodem protocol and a 1203 SSS Smart Self powered Serial converter firmware 3 01 or higher HIM Human Interface Module A device that can be used to configure and control a PowerFlex drive New HIMs 20 HIM x can be used to configure connected peripherals Glossary 4 Hold Last When communications are 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 If the drive was running and using the Reference from the adapter it will continue to run at the same Reference T O Data I O messages sometimes called input output transmit time critical data such as a Logic Command and Reference The terms input and output are defined from the scanner s point of view Output is transmitted by the scanner and consumed by the
28. chapter Setting the Rack Size If the adapter switches are disabled SW 7 and SW 8 are both On the value of Parameter 27 Rack Size determines the rack size With the Remote I O adapter you can use 1 4 or 1 2 rack This I O is the discrete I O Refer to Chapter 4 Using Discrete amp Block Transfer I O for more information about using I O TIP Additional I O such as Reference Feedback and Datalinks can be transmitted using the Block Transfer I O Image 1 Set Parameter 27 Rack Size to the size required by your application Figure 3 5 Rack Size Screen on an LCD HIM Port 5 Device Value Rack Size 20 COMM R 0 1 4 Default Parameter 27 1 12 Rack Size 1 4 Rack 2 Reset the adapter Refer to the Resetting the Adapter section in this chapter Configuring the Adapter Setting the I O Configuration The setting of Parameter 12 DPI I O Config determines the type of data sent to the drive as I O Logic Command Logic Status Reference Feedback and Datalinks can be enabled or disabled Refer to Chapter 4 Using Discrete amp Block Transfer I O for more information about using I O 1 Set the bits in Parameter 12 DPI I O Config Figure 3 6 DPI Configuration Screen on an LCD HIM Port 5 Device Bit Description 20 COMM R 0 Logic Command Reference Default Parameter 12 1 Datalink A DPI I O Config 2 Datalink B xxxxxxxxxxx0000 3 Data
29. connect the adapter to the drive using the or is not connected properly ribbon cable to the drive e Apply power to the drive Flashing The adapter is not receiving e Verify that cables are securely connected Red a ping message from the e Cycle power to the drive drive Solid The drive has refused an Important Cycle power to the product after making any of Red l O connection from the the following corrections adapter e Verify that all DPI cables are securely connected and not damaged Replace cables if necessary Another DPI peripheral is e Verify that the DPI Host supports Datalinks using the same DPI portas e Configure the adapter to use a Datalink that is not the adapter already being used by another peripheral Orange The adapter is connected to e Connect the adapter to a product that supports a product that does not Allen Bradley DP communications for example support Allen Bradley DPI PowerFlex drives communications Flashing The adapter is establishing e No Action This status indicator will turn solid green or Green I O connection to the red drive or DPI I O Config is e Verify parameter 12 DPI I O Config settings configured for all I O e Normal behavior if no DPI I O is enabled disabled Solid The adapter is properly e Action Green connected and is communicating with the drive MOD Status Indicator Status Cause Corrective Action Off The adapter is not powered e Securely connect the adapter
30. let you determine the action of the adapter and connected drive if communications are disrupted or the scanner is idle By default these parameters fault the drive You can set these parameters so that the drive continues to run Precautions should be taken to ensure that the settings of these parameters do not create a hazard of injury or equipment damage To change the fault action e Set the value of Parameters 10 Comm Flt Action and 11 Idle Fit Action to the desired responses Value Action Description 0 Fault The drive is faulted Default 1 Stop The drive is stopped but not faulted 2 Zero data The drive is sent 0 for output data This does not command a stop 3 Hold last The drive continues in its present state after a communications disruption 4 Send Fit Cfg The drive is sent the data that you set in the fault configuration parameters The fault configuration parameters start with Parameter 14 Flt Cfg Logic and end with 23 Flt Cfg D2 In Figure 3 7 Fault Action Screens on an LCD HIM Port 5 Device Port 5 Device 20 COMM R 20 COMM R Parameter 10 Parameter 11 Comm Fit Action Idle Fit Action Fault Fault Changes to these parameters take effect immediately A reset is not required 3 8 Configuring the Adapter To set the fault configuration parameters If you set either Parameter 10 Comm FIt Action or 11 Idle Flt Action to the S
31. on page 5 2 for more information on block transfer messages 0000 0001 0002 0003 Using Block Transfer Messaging 5 11 Ladder Logic Program Figure 5 4 PLC 5 Block Transfer Messaging The user initiates a messaging transaction by setting the User Execute Message Input bit true This causes one messaging BTW to be sent to the 20 COMM R User EXECUTE MESSAGE Input N72 P350 Exec Message iE CONS 4 1 0 This rung causes one messaging BTW to execute when the 20 COMM R is ready to receive a Messaging BTW and the user has requested the BTW Messaging BT Messaging BT BTW AVAILABLE BTR AVAILABLE Execute Message Status Status B3 0 1 010 1 010 BTW J E J E E Block Transfer Write EN 0 1 Module Generic Block Transfer Rack 001 CDN5 fic L ER lodule 0 Control Block BT92 Data File N12 0 Length 20 Continuous No Execute Message B3 0 QU 0 This rung will wait until a BTR is available from the 20 COMM R module and then execute a BTR Messaging BT BTR AVAILABLE Status 010 BTR lE Block Transfer Read EN 12 Module Type Generic Block Transfer Rack 001 DN5 Hct 0 L cERS lodule 0 Control Block BT9 3 Data File N13 0 Length 20 Continuous No END The word length used in the BTW and BTR must be equal to 20 30 or 60 It must also be greater than or equal to the byte length used in Word 0 of the message converted to words 1 word 2 bytes
32. send 1 Clear Fault Event Queue 16 151 0 3 C 17 Value to send 2 Read Fault Event 14 151 Fault 4 1 C 18 Read Fault Event Full 14 151 Fault 0 C 18 Read Fault Event Queue Size 14 151 0 2 C 17 Read Number of Entries in Queue 14 151 0 6 C 17 Read Trip Fault Queue Number 14 151 0 4 C 17 Reset Device 16 151 0 3 C 17 Value to send 3 Alarms Clear Alarm 16 152 0 3 C 19 Value to send 1 Clear Alarm Queue 16 152 0 3 C 19 Value to send 2 Read Alarm 14 152 1 C 20 Read Alarm Full 14 152 Alarm 0 C 20 Read Number of Entries in Queue 14 152 0 5 C 19 Read Alarm Queue Size 14 152 0 2 C 19 4 DPI Device Object Class Code Hexadecimal Decimal 0x92 146 Instances The number of instances depends on the number of components in the device The number of components can be read in Instance 0 Attribute 4 Number Description 0 Class Attributes Entire Device 1 Component 1 2 Component 2 Class Attributes Attribute Access Name Data Type Description Rule 0 Read Family Code BYTE 0x00 Communications Adapter Only 0x30 PowerFlex 70 0x38 PowerFlex 700 0x40 PowerFlex 7000 OxFF HIM 1 Read Family Text STRING 16 Text identifying the device Only 2 Read Language Code BYTE 0 English Write 1 French 2 Spanish 3 Italian 4 German 5 Japanese 6 Portuguese 7 Mandarin Chinese 8 Russian 9 Dutch 3 Read
33. technical support P 2 temperature A 2 termination resistor 2 5 troubleshooting the adapter 6 1 to 6 6 U update see Flash update W web sites P 1 G 3 wiring refer to cables X Xmodem G 6 Z zero data definition G 6 setting in the adapter 3 7 Index 6 Notes Allen Bradley ControlLogix DH DPI DriveExplorer DriveTools 2000 DriveTools32 Logix5000 Logix5550 MicroLogix PLC 2 PLC 3 PLC 5 PowerFlex SCANport and SLC are trademarks of Rockwell Automation RSLinx and RSLogix are trademarks of Rockwell Software Windows Windows NT and Microsoft are either registered trademarks or trademarks of Microsoft Corporation www rockwellautomation com Corporate Headquarters Rockwell Automation 777 East Wisconsin Avenue Suite 1400 Milwaukee WI 53202 5302 USA Tel 1 414 212 5200 Fax 1 414 212 5201 Headquarters for Allen Bradley Products Rockwell Software Products and Global Manufacturing Solutions Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Rockwell Automation SA NV Vorstlaan Boulevard du Souverain 36 BP 3A B 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation 27 F Citicorp Centre 18 Whitfield Road Causeway Bay Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Headquarters for Dodge and Reliance Electric Products Americas Rockwell Automation
34. to the Block Transfer Write file where it is moved to the drive by Block Transfer 4 15 MOV 0004 Move m Source N7 1 30000 lt Dest N10 10 j 30000 This rung moves the READY status bit from the drive to the user display Drive User READY DRIVE READY Status Status 11 9 N7 10 0005 J E 0 0 1747 SN This rung moves the RUNNING status bit from the drive to the user display Drive User RUNNING DRIVE RUNNING Status Status 11 9 N7 10 0006 J E 1 1 1747 SN This rung moves the AT SPEED status bit from the drive to the user display Drive User AT SPEED DRIVE AT SPEED Status Status 11 9 N7 10 0007 J E 8 2 1747 SN This rung moves the drive Feedback word from the Block Transfer Read file to the Operator Station MOV 0008 Move Source 11 110 30000 lt Dest N7 11 This rung executes the I O BTW logic See Figure 4 12 SLC Block Transfer I O Write 30000 JSR 0009 Jump To Subroutine SBR File Number This rung executes the I O BTR Logic See Figure 4 13 SLC Block Transfer I O Read JSR 0010 Jump To Subroutine SBR File Number U4 This rung executes the messaging Block Transfer logic See Figure 5 5 SLC Block Transfer Messaging JSR 0011 Jump To Subroutine SBR File Number U5 0012 END 4 16 0000 0001 0002 0003 0004 Using Discrete amp Block Transfer I O Figure 4 12 SLC Block Transfer I O Write This rung execute
35. 0 Offset 3 00D5 Response Data 213 D5 hex 21 3 Hz This set of data files shows a write of drive parameter 41 Motor NP Volts The value written 15 2300 230 0V AC MsgBlockTransferWrite Request Data for Write of Drive Parameter 41 hex Int Address Value hex Description Refer to Offset 0 000C Length of Message 12 bytes C hex 5 3 Offset 1 0081 Required Setting 5 3 Offset 2 0010 Service Set Attribute Single C 1 Offset 3 0093 Class 93 Parameter Object C 7 Offset 4 0029 Instance Parameter 41 29 hex C 7 Offset 5 0009 Attribute 09 DPI Parameter Value C 8 Offset 6 08FC Data 2300 BFC hex 230 0V AC MsgBlockTransferRead Response Data for Write of Drive Parameter 41 hex Int Address Value hex Description Refer to Offset 0 0002 Length of Message 2 bytes 5 4 Offset 1 0000 The Message was Successful 54 Offset 2 0000 Using Block Transfer Messaging Refer to Formatting Block Transfer Messages on page 5 2 for more information on block transfer messages Program Figure 5 3 ControlLogix Block Transfer Messaging Make a local copy of the block transfer status word to avoid it changing mid scan COP 0 Copy File Source The20CommR l Data 0 Dest BlockTransferStatus Length 1 When the user enables the SendMessageRequest tag start the message logic
36. 1 0000 Pad Word N30 12 0006 Parameter Number 6 N30 13 0000 Pad Word N30 14 0000 Pad Word Response Data for Get_Attributes_Scattered Address Value hex Description Refer to N30 70 0014 Length 20 bytes 14 hex 5 4 N30 71 0000 Status Code 00 successful transaction 5 4 Status Size 00 5 4 N30 72 0000 Status Information 0 5 4 N30 73 0001 Parameter Number 1 N30 74 10258 Value 600 258 hex 60 0 Hz N30 75 0000 N30 76 0003 Parameter Number 3 N30 77 0001 Value 1 1 hex 0 1A N30 78 0000 N30 79 0006 Parameter Number 6 N30 80 0864 Value 2148 864 hex 214 8V AC N30 81 0000 C 14 CIP Objects DPI Parameter Object Continued Format for Set Attributes Scattered Service The structure shown below can set up to eighteen parameters in a single message In the Response Message a parameter number with the high bit set indicates that the associated pad word field contains an error code Request Write Data Response Read Data Word High Byte Low Byte High Byte Low Byte 0 0x00 Length Bytes 0x00 Length Bytes 1 DPI Port 0x81 Status Code Status Size 2 0x00 CIP Service Status Information 3 Class Parameter Number 4 Instance Pad Word or Error Code 5 Attribute Pad Word 6 Parameter Number Parameter Number 7
37. 5 5 can be used to demonstrate how Block Transfer can be used to send Explicit Messages from a ControlLogix PLC or SLC controller respectively Block Transfer messaging is used to read or write a parameter value from the PowerFlex 70 drive at Rack 1 Group 0 Slot 0 These example ladder programs are continuations of the Discrete amp Block Transfer I O example ladder programs in Chapter 4 The Main Routine ladder logic performs Jump to Subroutines JSR s to these examples Using Block Transfer Messaging 5 7 ControlLogix Example Data Format for a Read and Write Parameter The data in this example is for a PowerFlex 70 drive at Remote I O rack This set of arrays shows a read of drive parameter 1 Output Freq The value of parameter 1 is 213 21 3 Hz MsgBlockTransferWrite Request Data for Read of Drive Parameter 1 hex Int Address Value hex Description Refer to Offset 0 000A Length of Message 10 bytes A hex 5 8 Offset 1 0081 Required Setting 5 8 Offset 2 000E Service Get Attribute Single 1 Offset 3 0093 Class 93 DPI Parameter Object 7 Offset 4 0001 Instance Parameter 1 1 hex 7 Offset 5 0009 Attribute 09 DPI Parameter Value 8 MsgBlockTransferRead Response Data for Read of Drive Parameter 1 hex Int Address Value hex Description Refer to Offset 0 0004 Length of Message 4 bytes 54 Offset 1 0000 The Message was Successful 54 Offset 2 000
38. 6 08FC Data 2300 8FC hex 230 0V AC Response and Control Data for Write of Drive Parameter 41 hex Address Value hex Description Refer to N13 110 0002 Length of Message 2 bytes 54 N13 111 0000 The Message was Successful 54 N13 112 0000 Using Block Transfer Messaging 5 13 Block Transfers are handled differently in the SLC and require the following data for the example program Address Value decimal Description N12 1 20 Block Transfer Write Length N12 2 100 Rack 1 Group 0 Slot 0 N13 1 20 Block Transfer Read Length N13 2 100 Rack 1 Group 0 Slot 0 Refer to Formatting Block Transfer Messages on page 5 2 for more information on block transfer messages 5 14 Using Block Transfer Messaging Program Figure 5 5 SLC Block Transfer Messaging This rung executes once each time the SLC is switched into RUN mode It resets any BTW control bits that might be set in the RIO Scanner First Pass 1 MOV 0000 J E Move 15 Source 0 0 lt Dest N12 0 0 lt Copy File Source N12 0 Dest 3M0 1 300 Length 74 This rung transfers the Block Transfer Write BTW status buffer from the RIO scanner to the memory in the SLC When the BTW is complete the data in this file will indicate if the BTW was successful or not 0001 File Source M1 1 300 Dest N12 100 Length 74 This rung enables the mes
39. 70 Drive Cu aaa 0000000000000 Us o e PowerFlex 700 Drive 2 Frame and Larger Description Internal Interface cable Remote I O cable DPI Connector 2 54 1 in Internal Interface cable Installing the Adapter 2 7 4 On a PowerFlex 70 fold the Internal Interface cable behind the adapter and mount the adapter on the drive using the four captive screws On a PowerFlex 700 just mount the adapter on the drive using the four captive screws to secure and ground it to the drive Important screws must be tightened since the adapter is grounded through a screw Figure 2 7 Mounting the Adapter 090000000000 wh 9 o e E PowerFlex 70 Drive Adapter mounts in drive 0 PowerFlex 700 Drive PowerFlex 700 Drive 0 1 Frames 2 Frame and Larger Adapter mounts on door Adapter mounts in drive 2 8 Installing the Adapter Applying Power U
40. Allen Bradley PowerFlex family of drives DPI Host A device that uses the DPI communications interface to communicate with one or more peripheral devices For example a motor drive such as a PowerFlex drive is a DPI Host DPI Peripheral A device that provides an interface between DPI and a network or user Peripheral devices are also referred to as adapters and modules The serial converter and PowerFlex HIM are examples of DPI peripherals Glossary 3 DriveExplorer Software DriveExplorer software is a tool for monitoring and configuring Allen Bradley products and adapters It can be run on computers running Microsoft Windows 95 Windows 98 Windows NT 4 0 or higher and Windows CE 2 0 or higher operating systems Information about DriveExplorer software and a free lite version can be accessed at http www ab com drives driveexplorer DriveTools Software DriveTools software is a tool for monitoring and configuring Allen Bradley products and adapters It can be run on computers running Microsoft Windows 95 Windows 98 or Windows NT 4 0 or higher operating systems Information about DriveTools software is available at http www ab com drives Fault Action A fault action determines how the adapter and connected product act when there is a communications fault e g a cable is disconnected or when the scanner is switched out of run mode Fault Configuration When communications are disrupted for example a
41. C example 4 12 5 9 SLC example 4 14 5 11 last RIO rack definition G 4 setting with a parameter 3 5 setting with switches 2 3 Last RIO Rack parameter B 4 LCD HIM 3 2 LED HIM 3 2 LEDs refer to status indicators Logic Command Logic Status definition G 4 logic command logic status in discrete I O 4 4 Logic Command Status bit definitions D 1 M manual conventions P 2 related documentation P 1 mechanical dimensions A 1 MOD status indicator locating 6 1 normal operation 1 6 troubleshooting with 6 2 modes of operation 1 6 Module Diagnostic Items 6 3 mounting the adapter 2 7 Index 4 N NET A status indicator locating 6 1 normal operation 1 6 troubleshooting with 6 3 NET B status indicator locating 6 1 not used 6 1 Non Volatile Storage NVS definition G 4 in adapter 3 1 in drive 4 6 5 1 objects C 1 to C 22 octal decimal numbers 3 3 operating status 1 6 operating temperature A 2 P parameters accessing 3 1 list of B 1 to B 4 using 3 1 to 3 10 viewing for adapter status 3 9 peripheral refer to adapter PLC example program for Block Transfer Messages 5 9 example program for I O 4 12 plugs 2 4 PORT status indicator locating 6 1 normal operation 1 6 troubleshooting with 6 2 power consumption A 1 PowerFlex drives 70 700 Logic Command Status D 1 as compatible products 1 3 connecting the adapter to 2 6 definition G 5 DPI ports 2 6 HIM 3 2 powering
42. Code Hexadecimal Decimal 0x93 147 Instances CIP Objects C 7 The number of instances depends on the number of parameters in the device The number of parameters can be read in Instance 0 Attribute 0 Number Description 0 Class Attributes 1 Parameter 1 Attributes 2 Parameter 2 Attributes Class Attributes Attribute Access Name Data Type Description ID Rule 0 Read Number of WORD Number of parameters in the device Only Instances 1 Read Write Protect WORD 0 Password disabled Write Password n Password 2 Write NVS Command BYTE 0 No Operation Only Write 1 Store values in active memory to NVS 2 Load values in NVS to active memory 3 Load default values to active memory 3 Read NVS Parameter WORD Checksum of all parameter values in a Only Value Checksum user set in NVS 4 Read NVS Link Value WORD Checksum of parameter links in a user set Only in NVS 5 Read First Accessible WORD First parameter available if parameters Only Parameter are protected by passwords A 0 indicates all parameters are protected 7 Read Class Revision WORD Revision of this object Only 8 Read First Parameter WORD The first parameter that has been written Only Processing Error with a value outside of its range A 0 indicates no errors 9 Write Link Command BYTE 0 No Operation Only 1 Clear All Parameter Links This does not clear links to function bloc
43. Datalink D2 __ Data Out D2 Data Block L Message Files Transfer Messages Handler Using Discrete amp Block Transfer I O Figure 4 2 Example I O Image 1 2 Rack Configuration 43 Remote I O DPI Controller Scanner Adapter PowerFlex Drive Discrete I O Output 0 BT Control Image 5 1 Logic Command Logic Command 2 3 Reference Reference Block Transfer Data 0 1 Reference Files 2 3 Datalink A1 Data In A1 4 5 Datalink A2 Data In A2 6 7 Datalink B1 Data In B1 5 8 9 Datalink B2 e Data In B2 10 11 Datalink C1 Data In C1 12 13 Datalink C2 Data In C2 14 15 Datalink D1 Data In D1 16 17 Datalink D2 Data In D2 Discrete I O Input 0 BTStatus Image S 1 Logic Status H Logic Status 2 3 Feedback Feedback Block Transfer I O Data 0 1 Feedback Files 2 3 DatalinkA1 de 4 Data Out A1 4 5 Datalink A2 I A Data Out A2 o 6 7 Datalink B1 4 t Data Out B1 5 8 9 Datalink B2 41 Data Out B2 10 11 Datalink C1 Data Out C1 12 13 Datalink C2 Data Out C2 14 15 Datalink D1 __ Data Out D1 16 17 Datalink D2 e t Data Out D2 gt l Data Block D N Files Transfer Messages Handler 1 2 Not used in 1 2 rack The s
44. Datalink Out field is not configured to be used by the adapter the value of that field is undefined The Feedback field will always contain the Feedback from the drive If a request has fewer than eighteen words as much I O data as will fit in the request will be used Reference Feedback in Block Transfer I O Image Word 0 and word 1 are reserved for the Reference Feedback The size of the Reference 16 bits or 32 bits is determined by the drive If a 16 bit Reference Figure 4 3 is used word 1 is not used during writes and read as zero 0 during reads Important If the adapter is configured as a 1 2 rack it uses the Reference from the discrete I O and ignores the Reference in the Block Transfer I O Feedback is transmitted in both discrete I O and Block Transfer I O Datalinks in Block Transfer I O Image Words 2 through 17 are optionally enabled for Datalinks A Datalink is a type of mechanism used by some drives to transfer data to and from the scanner Datalinks can be used to read or write a parameter value When enabled each Datalink consumes four 16 bit words in both the input and output Block Transfer I O image The size of Datalinks 16 bits or 32 bits is determined by the drive If 16 bit Datalinks Figure 4 3 are used the most significant word of each Datalink is not used during writes and read as zero 0 during reads Rules for Using Datalinks e Each set of Datalink parameters in a PowerFlex drive can be used by onl
45. Fault code STRUCT of Fault source BYTE DPI port BYTE DPI Device Object STRUCT of Fault time stamp LWORD Timer value 0 Timer not supported BOOL 16 BOOL O 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time BOOL 2 15 Not used CIP Objects C 19 DPI Alarm Object Class Code Hexadecimal Decimal 0x98 152 Products such as PowerFlex drives use this object for alarms or warnings Adapters do not support this object Instances The number of instances depends on the maximum number of alarms supported by the queue The number of alarms can be read in Instance 0 Attribute 2 Number Description 0 Class Attributes 1 Most Recent Alarm 2 Second Most Recent Alarm Class Attributes Attribute Access Name Data Type Description Rule Read Class Revision WORD Revision of object Only Read Number of WORD Maximum number of alarms that the Only Instances device can record in its queue Write Alarm Command BYTE 0 No Operation Write 1 Clear Alarm 2 Clear Alarm Queue 3 Reset Device Read Fault Data List STRUCT of Reserved Only BYTE BYTE WORD n Read Number of WORD Number of alarms in the queue A 0 Only Recorded Alarms indicates the alarm queue is empty 20 CIP Objects DPI Alarm Object Continued Instance Attributes Attribute Access Name Data Type Description ID Rule 0 Read Full All STRUCT of Only I
46. Last RIO Rack for the last physical rack 27 Rack Size for the rack size 2 4 Installing the Adapter Connecting the Adapter to the Network may contain high voltages that can cause injury or death Remove power from the drive and then verify power has been discharged before installing or removing an adapter ATTENTION Risk of injury or death exists The PowerFlex drive 1 Remove power from the drive 2 Use static control precautions 3 Connect a Remote I O cable to the controller or create a daisy chain from another device on the Remote I O network Important Maximum cable length depends on the Remote I O baud rate Refer to the Selecting Remote I O Cables section in this chapter Figure 2 3 Connecting a Remote I O Cable to the Network g H eeeee g 8 8 Teen B Frm oe 4 Route the Remote I O cable through the bottom of the PowerFlex drive See Figure 2 7 5 Connect a 3 Pin Remote I O plug to the cable Figure 2 4 Connecting a 3 Pin Plug to the Cable Single Connection Daisy Chain Connection Installing the Adapter 2 5 6 Ifthe adapter is at the end of the Remote I O link connect a termination resistor The resistor should have a value of 82 or 150 ohms 82 ohms is preferred Important If the Remote I O network is operating at 230 4 kbps you must use an 82 ohm terminat
47. Message Service Class Instance Attribute Page Device Properties Clear Run Time Accumulator 14 155 0 4 C 21 Value to send 1 Load stored values 16 147 0 2 C 7 Value to send 2 Load default values 16 147 0 2 C 7 Value to send 3 Read Product Family ID 14 146 0 0 4 Read Product Family Name 14 146 0 1 C4 Read Real Time Clock Data 14 155 1 0 C 22 Read Reference Time Stamp Data Read Run Time Accumulator 14 155 timer 2 C 22 Read User Text String 14 146 0 5 4 Store values to NVS 16 147 0 2 7 Value to send 1 Write Real Time Clock Data 16 155 1 2 C 22 Write User Text String 16 146 0 5 4 Parameters Read Parameter Full 14 147 7 8 Read Parameter Value 14 147 Param 9 NVS C 8 10 RAM Read Scattered Parameter Value 75 147 0 0 C 8 Write Parameter Values 16 147 Param 9 NVS C 8 10 RAM Write Scattered Parameter Values 176 147 0 0 C 8 Links Clear All Links 16 147 0 9 C 7 Value to send 1 Clear Parameter Link 16 147 Param 11 C 8 Value to send 0 Read Parameter Link 14 147 Param 11 C 8 Read Scattered Parameter Links 75 147 Param 5 11 8 Write Parameter LInk 16 147 Param 11 C 8 Write Scattered Parameter Link 76 147 Param 5 11 C 8 Common Messages Continued values are in decimal CIP Objects C 3 Message Service Class Instance Attribute Page Faults Event Clear Fault Event 16 151 0 3 C 17 Value to
48. N Enable 11 8 N13 0 0007 J E L 10 15 1747 SN Message BTW BT EN Enable N12 0 When the BTR is completed this rung will disable the BTR 0 BT DN Done BT EN Enable N13 100 N13 0 0008 J E U 13 15 This rung transfers the BTR information to the RIO scanner for execution 0009 Copy File Source N13 0 Dest 0 1 400 Length 74 0010 END 5 16 Using Block Transfer Messaging Notes 6 Troubleshooting Chapter 6 contains troubleshooting information Topic Page Topic Page Locating the Status Indicators 6 1 NET A Status Indicator 6 3 PORT Status Indicator 6 2 Module Diagnostic Items 6 4 MOD Status Indicator 6 2 Viewing and Clearing Events 6 6 Locating the Status Indicators The adapter has three status indicators They can be viewed on the adapter or through the drive cover See Figure 6 1 Figure 6 1 Status Indicators location on drive may vary LIL PowerFlex mo 700 N Number Status Indicator Description Page o PORT DPI Connection Status 6 2 e MOD Adapter Status 6 2 e NETA Remote I O Status 6 3 o NET B Not Used for Remote 6 2 Troubleshooting PORT Status Indicator Status Cause Corrective Action Off The adapter is not powered e Securely
49. SendMessageRequest SendMessageRequestOneShot PerformMessagingRequest 1 J ONS lt MessagingRequestError 47 When requested the 20 COMM R is ready send the messaging request to the drive PerformMessagingRequest BlockTransferStatus 9 BlockTransferStatus 10 2 iE JE VE f MSG Type Block Transfer Write CEN Message Control MsgBlockTransferWrite CERS Pick up the messaging response from the drive PerformMessagingRequest BlockTransferStatus 10 3 iE JE f MSG Type Block Transfer Read ED Message Control MsgBlockTransferRead CDN5 L CERS Once the response is complete end the messaging transaction PerformMessagingRequest MsgBlockTransferRead DN PerformMessagingRequest 4 J E it 4 If a messaging error occurs end the transaction and indicate the error PerformMessagingRequest BlockTransferStatus 11 MessagingRequestError 5 iE iE PerformMessagingRequest 45 End Using Block Transfer Messaging 5 9 Tag Name Type SendMessageRequest BOOL SendMessageRequestOneShot BOOL PerformingMessagingRequest BOOL MessagingRequestError BOOL The20CommR AB RIO_4IOGROUP 1 0 MsgBlockTransferWrite MESSAGE MsgBlockTransferRead MESSAGE 5 10 Using Block Transfer Messaging PLC Example Block Transfer Data files for PLC 5 Example Program This set of data files shows a read of drive parameter 1 Output Freq The value of parameter 1 is 213 21 3 Hz Request Data
50. Switch 3 e Rack size Switch 4 e Remote I O baud rate Switches 7 and 8 If desired you can disable the switch settings and use parameter settings instead To disable switch settings set DIP switches 7 and 8 both to On Then make sure that you configure the parameters after applying power to the adapter 4 Install the adapter Chapter 2 Verify that the PowerFlex drive is not powered Then connect the Installing the adapter to the network using a Remote I O cable and to the drive Adapter using the Internal Interface cable Use the screws to secure and ground the adapter to the drive 5 Apply power to the adapter Chapter 2 The adapter receives its power from the drive Apply power to the Installing the drive If the adapter was correctly installed the status indicators Adapter will be green If a status indicator is red there is a problem Refer to Chapter 6 Troubleshooting 6 Configure the adapter for your application Chapter 3 Set the parameters for the following features as required by your Configuring the application Adapter e Rack address starting module group last rack rack size and baud rate if DIP switches 7 and 8 are both ON e 1 0 configuration e Fault actions 7 Create a ladder logic program Chapter 4 Use a controller programming tool such as RSLogix to create a Using Discrete adder logic program that enables you to do the following amp Block Transfer Control the adapter and connected produc
51. Transfer Messaging 5 1 Formatting Block Transfer Messages 5 2 Executing Block Transfers for Explicit Messages 5 5 Example 5 6 ControlLogix 5 7 Example eee eke eas 5 10 SEC Example esee odes lah tls ie Sere 5 12 Troubleshooting Locating the Status 6 1 PORT Status 6 2 MOD Status 6 2 NET A Status 6 3 Module Diagnostic 6 4 Viewing and Clearing 6 6 Specifications Communications 1 Bl ctrical ees ee teer estas 1 Mechanical marp asn Taetre ancl css tet 1 Environmental enaga peoi 2 Regulatory A 2 Adapter Parameters Parameter List soi rima nina goa nea e RA UR B 1 CIP Objects CIP Servicesin tee o wees C 1 Common Messages C 2 DPI Device C 4 DPI Parameter Object C 7 DPI Fault Object C 17 DPI Alarm Object cee e eee eee C
52. ack address This address is displayed as a decimal value Important The HIM and software tools such as Drive Explorer will display the address as a decimal value Decimal Octal Decimal Octal Decimal Octal Decimal Octal 0 0 16 20 32 40 48 60 1 1 Default 17 21 33 41 49 61 2 2 18 22 34 42 50 62 3 3 19 23 35 43 51 63 4 4 20 24 36 44 52 64 5 5 21 25 37 45 53 65 6 6 22 26 38 46 54 66 7 7 23 27 39 47 55 67 8 10 24 30 40 50 56 70 9 11 25 31 41 51 57 71 10 12 26 32 42 52 58 72 11 13 27 33 43 53 59 73 12 14 28 34 44 54 60 74 13 15 29 35 45 55 61 75 14 16 30 36 46 56 62 76 15 17 31 37 47 57 63 77 Figure 3 1 Rack Address Screen on an LCD HIM Port 5 Device 20 COMM R Parameter 3 RIO Addr Cfg 0 lt gt 63 2 Reset the adapter Refer to the Resetting the Adapter section in this chapter Configuring the Adapter Setting the Baud Rate If the adapter switches are disabled SW 7 and SW 8 are both On the value of Parameter 05 RIO Rate Cfg determines the Remote I O baud rate 1 Set the value of Parameter 05 RIO Rate Cfg to the baud rate at which your network is operating Figure 3 2 RIO Data Rate Configuration Screen on an LCD HIM Port 5 Device Value Baud Rate 20 COMM R 0 57 6 kbps Default Parameter 5 1 115 2 kbps RIO Rate Cfg 2 230 4 kbps 0 57 6 kbps 2 Reset the adapter Refer to the Resettin
53. adapter Input is transmitted by the adapter and consumed by the scanner The Remote I O adapter supports two types of I O Discrete and Block Transfer L Last RIO Rack The last rack switch and parameter setting will notify a controller that the adapter is the last physical device with its rack address You must set this switch or parameter to On if a product is the last device with a specific rack address and you are using a PLC 2 controller We recommend that you set this switch or parameter to On when you are using other controllers Logic Command Logic Status The Logic Command is used to control the PowerFlex drive for example start stop direction It consists of one 16 bit word of input to the adapter from the network The definitions of the bits in this word depend on the drive The Logic Status is used to monitor the PowerFlex drive for example operating state motor direction It consists of one 16 bit word of output from the adapter to the network The definitions of the bits in this word depend on the drive N NVS Non Volatile Storage NVS is the permanent memory of a device Devices such as the adapter and drive store parameters and other information in NVS so that they are not lost when the device loses power NVS is sometimes called EEPROM Glossary 5 PowerFlex Drives The Allen Bradley PowerFlex family of drives includes PowerFlex 70 700 and 7000 drives These drives can be used for applications ran
54. all of the data in the main body of the message to be sent If using a scattered read or write with class code 0x93 the length includes the zero es after the last parameter as place holders See pages C 11 C 15 Word 0 Description change 54 Word 1 Description change Word 2 added to table Description partially borrowed from Word 1 and enhanced Datafield Word 2 19 changed to Word 3 19 Offset 2 added to Response Data for Read of Drive Parameter 1 hex 97 Offset 2 added to Response Data for Write of Drive Parameter 41 hex N13 2 added to Response Data for Read for Drive Parameter 1 hex 5 9 N13 2 added to Response Data for Write of Drive Parameter 41 hex 5 10 The word length used in the BTW and BTR must be equal to 20 30 or 60 It must also be greater than or equal to the byte length used in word 0 of the messages converted to words 1 word 2 bytes 6 4 If this diagnostic item is any value other than 1 the values of items 7 through 14 Datalink A1 In Datalink D2 In are not actually being transferred to the host 6 7 Events 23 27 consolidated Reserved description N13 112 added to Response and Control Data for Read of Drive 5 11 Parameter 1 hex N13 112 added to Response and Control Data for Write of Drive Parameter 41 hex C 10 Footnote added Ox4BU Must be directed instance 0 and attribute 0 C 11 Status Information added to Response Read Data column 20 Word BT added 30 Word BT added soc 2
55. ameter Number Parameter Value LSW Pad Word or Error Code Parameter Value MSW Pad Word Parameter Number Parameter Number Parameter Value LSW Pad Word or Error Code Parameter Value MSW Pad Word Parameter Number Parameter Number Parameter Value LSW Pad Word or Error Code Parameter Value MSW Pad Word Parameter Number Parameter Number Parameter Value LSW Pad Word or Error Code Parameter Value MSW Pad Word Parameter Number Parameter Number Parameter Value LSW Pad Word or Error Code Parameter Value MSW Pad Word Parameter Number Parameter Number Parameter Value LSW Pad Word or Error Code Parameter Value MSW Pad Word Parameter Number Parameter Number Parameter Value LSW Pad Word or Error Code Parameter Value MSW Pad Word Parameter Number Parameter Number Parameter Value LSW Pad Word or Error Code Parameter Value MSW Pad Word Parameter Number Parameter Number Parameter Value LSW Pad Word or Error Code Parameter Value MSW Parameter Number Parameter Number Pad Word or Error Coder Parameter Value LSW Pad Word Parameter Value MSW Not Used 16 CIP Objects DPI Parameter Object Continued The data in this example is for a Set Attributes Scattered of PowerFlex 70 parameters 140 Accel Time 1 142 Decel Time 1 and 100 Jog Speed to a device at node address 1 Request Data for Set Attributes Scattered Address Value hex Description Refer to N30 0 001C Length 28
56. ample Programs 4 8 Understanding the I O Image 4 2 ControlLogix Example 4 9 Discrete I O Image 4 4 PLC Example 4 12 Block Transfer I O Image 4 5 SLC Example 4 14 ATTENTION Hazard of injury or equipment damage exists The examples in this publication are intended solely for purposes of example There are many variables and requirements with any application Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication About I O I O is used to transfer the data which can control the PowerFlex drive and its speed It is also used for transmitting data through Datalinks The Remote I O adapter uses discrete I O and Block Transfer I O to transfer I O data The discrete I O is either 1 4 rack two 16 bit words or 1 2 rack four 16 bit words The rack size is set using DIP switch 4 or if switches have been disabled Parameter 27 Rack Size The Block Transfer I O includes all Block Transfer Read or Block Transfer Write messages that are 18 words or fewer The type of I O that is transmitted between the drive and controller is set in Parameter 12 DPI I O Config When you set up your I O note the following e The Logic Command Status is always transmitted in the discrete I O e The Reference is transmitted in the discrete I O if you are using a 1 2 rack or in the Block Transfer I O if you are using a 1 4 rack e Datalink
57. arameter Number 10 Word Parameter Value LSW 11 Word Parameter Value MSW 12 Number Parameter Number 13 Word Parameter Value LSW 14 Pad Word Parameter Value MSW 15 Parameter Number Parameter Number 16 Pad Word Parameter Value LSW 17 Pad Word Parameter Value MSW Qi 18 Parameter Number Parameter Number L 19 Pad Word Parameter Value LSW 20 Pad Word Parameter Value MSW 21 Parameter Number Parameter Number 22 Pad Word Parameter Value LSW 23 Word Parameter Value MSW 24 Parameter Number Parameter Number 25 Word Parameter Value LSW 26 Pad Word Parameter Value MSW 27 Parameter Number Parameter Number BT 28 Pad Word Parameter Value LSW 29 Pad Word Parameter Value MSW 12 60 word BT CIP Objects DPI Parameter Object Continued Word 30 31 32 33 34 35 36 37 38 39 40 4 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 Request Write Data Response Read Data High Byte Low Byte High Byte Low Byte Parameter Number Parameter Number Pad Word Parameter Value LSW Pad Word Parameter Value MSW Pad Word Parameter Number Pad Word Parameter Value MSW Parameter Number Parameter Number Pad Word Parameter Value LSW Pad Word Parameter Value MSW Paramete
58. arameter supports enhanced ENUMs 29 Reserved Reserved 30 Reserved Reserved 31 Reserved Reserved Display Value Internal Value Offset x Multiplier x Base Divisor x 10 Internal Value Display Value x Divisor x 10 Multiplier x Base Offset Object Specific Services Service Name Service Code Description Hexadecimal Decimal Get Attributes Scattered Ox4B V 75 Read multiple attributes Set Attributes Scattered Ox4C V 76 Write to multiple attributes Must be directed to Instance 0 and Attribute 0 DPI Parameter Object Continued CIP Objects C 11 Format for Get Attributes Scattered Service The structure shown below can get up to eighteen parameters in a single message In the Response Message a parameter number with the high bit set indicates that the associated parameter value field actually contains a DPI error code Request Write Data Response Read Data Word High Byte Low Byte High Byte Low Byte 0 0x00 Length Bytes 0x00 Length Bytes 1 DPI Port 0x81 Status Code Status Size 2 0 00 CIP Service Status Information 3 Class Parameter Number 4 Instance Parameter Value LSW 5 Attribute Parameter Value MSW 6 Parameter Number Parameter Number 7 Pad Word Parameter Value LSW 8 Word Parameter Value MSW 9 Parameter Number P
59. ard X Accel 0 Not Accelerating 1 Accelerating X Decel 0 Not Decelerating 1 Decelerating X Alarm 0 No Alarm 1 Alarm X Fault 0 No Fault 1 Fault x At Speed 0 Not At Reference 1 At Reference X X x Local Control 000 Port 0 TB 001 Port 1 010 Port 2 011 Port 3 100 Port 4 101 Port 5 110 Port 6 111 No Local X X X Reference 0000 Ref A Auto 0001 Ref B Auto 0010 Preset 2 Auto 0011 Preset 3 Auto 0100 Preset 4 Auto 0101 Preset 5 Auto 0110 Preset 6 Auto 0111 Preset 7 Auto 1000 Term BIk Manual 1001 DPI 1 Manual 1010 DPI 2 Manual 1011 DPI 3 Manual 1100 DPI 4 Manual 1101 DPI 5 Manual 1110 DPI 6 Manual 1111 Jog Ref Glossary Adapter Devices such as drives controllers and computers usually require an adapter to provide a communication interface between them and a network such as Remote I O 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 R Remote I O adapter is an adapter that connects a PowerFlex drive to a Remote I O network Adapters are also called cards gateways modules and peripherals 66 Baud Rate A unit of signaling speed equal to the number of discrete conditions or signal events per second Remote I O ne
60. ditional logic on the Stop rung causes the Stop command to be sent continuously until the drive reports that it has stopped DriveCommandStart DriveLogicCommand 1 TE Note that the user s STOP input tag is set up as a normally CLOSED pushbutton DriveCommandStop DriveLogicCommand 0 TIE J E DriveLogicStatus 1 DriveLogicCommand O AE af EA sab it DriveCommandJog DriveLogicCommand 2 iE DriveCommandClearFault DriveLogicCommand 3 PE TE Send the desired Logic Command to the drive Copy File Source DriveLogicCommand Dest The20CommR O Data 1 Length 1 Tag Name Type DriveLogicStatus INT DriveCommandStart BOOL DriveCommandStop BOOL DriveCommandJog BOOL DriveStatusActive BOOL DriveStatusFaulted BOOL DriveStatusAtSpeed BOOL DriveLogicCommand INT End Using Discrete amp Block Transfer I O Figure 4 8 ControlLogix Block Transfer I O Write Place the desired Reference in the block transfer output structure coor Place the desired Datalink A input values into the block transfer output structure Add similar rungs to use Datalinks B C and D 6i Copy File Source DriveReference Dest DriveBTOutputlmage 0 OP Copy File Source DriveDatalinkA1In Dest DriveBTOutputlmage 2 COP Length 1 Length 4 11 Send the desired Reference and Datalink inputs to the drive lOBlockTransferWrit
61. drive parameters Using an LCD HIM Step 1 Press the Up Arrow or Down Arrow to scroll to Device Select Press Enter to enter your selection Press the Up Arrow or Down Arrow to scroll to the Remote I O adapter 20 COMM R Press Enter to select the Remote l O adapter A parameter database is constructed and then a menu for the adapter is displayed Edit the parameters using the same techniques that you use to edit drive parameters Key Device Or Or Example Screen sgg LII Parameter Number Port Number Example Screen gt Stopped Ready M Hz Main Menu Diagnostics Parameter Device Select Port 5 Device 20 COMM R Main Menu Diagnostics Parameter Device Select Configuring the Adapter 3 3 Setting the Rack Address If the adapter switches are disabled SW 7 and SW 8 are both On the value of Parameter 03 RIO Addr Cfg determines the rack address Note the following e Although the adapter supports rack addresses up to 77 Octal not all controllers recognize all of the addresses and a Remote I O channel can support only 32 devices e PLC 2 controllers identify rack addresses differently than other controllers PLC 2 controllers identify the rack address of the adapter as one plus the value of the parameter setting 1 Set the value of Parameter 03 RIO Addr Cfg to a r
62. e EN A MSG Copy File Source DriveDatalinkA2In Dest DriveBTOutputlmage 4 Length 1 JE lessage Control Type Block Transfer Write El lOBlockTransferWrite 8 CDI ER NS Tag Name Type DriveReference INT DriveBTOutputlmage INT 18 DriveDatalinkA1In INT DriveDatalinkA2In INT DriveLogicCommand INT The20CommR O AB RIO 4IOGROUP O 0 lOBlockTransferWrite MESSAGE Refer to Figure 4 3 for Block Transfer I O Image Layout 4 12 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 0010 0011 Using Discrete amp Block Transfer I O PLC Example Figure 4 9 PLC Main Routine This rung handles the logic needed to stop the drive upon the user s command As shown the user STOP input must be a normally closed pushbutton If the drive is running pressing the STOP button will seal the stop command bit until the drive comes to a complete stop User Drive STOP STOP Input Command 0 0 011 0 0 Drive Drive RUNNING STOP Status Command 1 011 0 011 JE Efa d E 1 0 This rung allows the user to start the drive Note that the drive may not start if the user briefly taps the button User Drive START START Input Command N7 0 0 011 JE 1 1 This rung allows the user to Jog the drive User Drive JOG JOG Input Command 7 0 0 011
63. e Programs 5 6 ControlLogix Example 5 7 PLC Example 5 10 SLC Example 5 12 ATTENTION Risk of equipment damage exists If Block Transfer is used to send Explicit Messages that are programmed to write parameter data to Non Volatile Storage NVS frequently the NVS will quickly exceed its life cycle and cause the drive to malfunction Do not create a program that frequently uses Block Transfer to send Explicit Messages to write parameter data to NVS Datalinks do not write to NVS and should be used for frequently changed parameters ATTENTION Risk of injury or equipment damage exists The examples in this publication are intended solely for purposes of example There are many variables and requirements with any application Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication About Block Transfer Messaging Block Transfer messaging is used to transfer data to the drive The size of Block Transfer messages to the Remote I O adapter determines their purpose Words Type Used for Refer to 18 orfewer I O Reference Feedback and Datalinks Chapter 4 20 30 or 60 Explicit Configuring and monitoring data Chapter 5 Other Not Recognized _ Do not use or an error will result Using Block Transfer Messaging Block Transfer I O For information about Block Transfer I O messages refer to Chapter 4 Using Discrete amp
64. e RIO Scanner First Pass 5 1 MOV 0000 JE Move 15 Source 128 128 lt Dest N11 0 32640 lt Copy File Source N11 0 Dest 0 1 200 Length 28 This rung transfers the Block Transfer Read BTR status buffer from the RIO scanner to the memory in the SLC When the BTR is complete the data in this file will indicate if the BTR was successful or not This file will also contain the O data from the drive N11 110 Feedback N11 112 Datalink A1 N11 114 Datalink A2 0001 File Source M1 1 200 Dest N11 100 Length 28 This rung enables the BTR on the first pass through the program and re enables it each time the BTR is completed or errors BTR DN Done BTR ER Error BTR EN Enable N11 100 N11 100 N11 0 0002 4E it 13 12 15 First Pass 1 J zi I 15 This rung transfers the BTR information to the RIO scanner for execution COP 0003 Copy File Source N11 0 Dest 0 1 200 Length 28 0004 END Refer to Figure 4 3 for Block Transfer I O Image Layout 4 18 Using Discrete amp Block Transfer I O Notes Chapter 5 Using Block Transfer Messaging Chapter 5 provides information and examples for using Block Transfer to send Explicit Messages to configure and monitor a PowerFlex drive on a Remote I O network Topic Page About Block Transfer Messaging 5 1 Formatting Block Transfer Messages 52 Executing Block Transfers for Explicit Messages 5 5 Exampl
65. e at 125kbps The most recent event is Event 1 e most recent evel ve 00 00 30 Clearing Events 1 Access parameters in the Adapter Refer to Using the PowerFlex HIM in Chapter 3 2 Press the Up Arrow or Down Arrow to scroll to Diagnostics on 3 Press Enter to display the e Diagnostics menu in the adapter 4 Repeat steps 2 and 3 to enter the Events option and then the Clr Event option or Clear Event Queue option A message will pop up to confirm that you want to clear the event or queue 5 Press Enter to clear all events out of the event queue All event queue entries will then display No Diag Events View Queue Clear Event Clear Event Queue Event Events Troubleshooting 6 7 Many events in the Event queue occur under normal operation If you encounter unexpected communications problems the events may help you or Allen Bradley personnel troubleshoot the problem The following events may appear in the event queue Code Event Description 1 No Event Empty event queue entry 2 DPI Bus Off Fit A bus off condition was detected on DPI This event may be caused by loose or broken cables or by noise 3 Ping Time Fit A ping message was not received on DPI within the specified time 4 Port ID Fit The adapter is not connected to a correct port on a DPI product 5 Port Change F
66. ea 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 Regulatory Compliance UL 508C and CUL cE EN61800 3 The PowerFlex 70 passes Second Environment Industrial If First Environment Restricted is needed for radiated emissions then a ferrite core Fair Rite PN 2643102002 or equivalent must be added to the Remote I O cable The PowerFlex 700 passes First and Second Environment without the ferrite core Adapter Parameters Appendix B Appendix B provides information about the Remote I O adapter parameters Parameter List Parameter No Name and Description 01 02 03 04 05 06 07 08 DPI Port Port to which the adapter is connected This will usually be port 5 DPI Data Rate Data rate used by the PowerFlex drive This data rate is set using a parameter in the drive and the adapter autobauds to it RIO Addr Cfg Remote I O rack address displayed as a decimal value if hardware switches have been disabled The hardware switches are disabled by setting DIP switches 7 and 8 to On RIO Addr Actual Remote I O rack address displayed as a decimal value actually used by the adapter RIO Rate Cfg Remote baud rate if the hardware switches have been disabled The hardware switches are disabled by
67. end Fit Cfg the values in the following parameters are sent to the drive after a communications fault and or idle fault occurs You must set these parameters to values required by your application Parameter Name Description 14 Fit Cfg Logic 16 bit value sent to the drive for Logic Command The bit definitions will depend on the product to which the adapter is connected 15 Fit Cfg Ref A 32 bit value 0 4294967295 sent to the drive as a Reference or Datalink Tn Fit Cfg Important If the drive uses a 16 bit Reference or 16 bit Datalinks the most significant word of the value must be set to zero 0 or a fault will occur Changes to these parameters take effect immediately A reset is not required Resetting the Adapter Changes to switch settings or some parameters numbers 3 5 12 25 26 and 27 require that you reset the adapter before the new settings take effect You can reset the adapter by cycling power to the drive or by using the following parameter ATTENTION Risk of injury or equipment damage exists If the adapter is transmitting control I O to the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting a connected adapter e Set the Parameter 09 Reset Module to Reset Module Figure 3 8 Reset Screen on an LCD HIM Port 5 Device Bit Description 20 COMM R 0 Ready Default Parameter 9 1 Reset Module Re
68. evice only acknowledges the successful receipt of the data Glossary 2 C Client Server Network This type of network has a server respond to client requests For example the Remote I O adapter is a server of data and responds to the requests of client devices for example controllers CIP Control and Information Protocol CIP is the transport and application layer protocol used by some scanners on Remote I O networks The control protocol is for I O The information protocol is for block transfer messaging configuration data collection and diagnostics Controller A controller also called programmable logic controller is a solid state control system that has a user programmable memory for storage of instructions to implement specific functions such as I O control logic timing counting report generation communication arithmetic and data file manipulation A controller consists of a central processor input output interface and memory See also Scanner Datalinks A Datalink is a type of mechanism used by some DPI products to transfer data to and from the controller Datalinks allow a parameter value to be viewed or changed without using explicit block transfer messages When enabled each Datalink consumes either two 16 bit or two 32 bit words in both the input and output image table of the controller DPI DPI is a second generation peripheral communication interface based on CAN technology It is used by the
69. g the Adapter section in this chapter Setting the Starting Module Group If the adapter switches are disabled SW 7 and SW 8 are both On the value of Parameter 25 Start RIO Group determines the starting module group 1 Set Parameter 25 Start RIO Group to the desired starting group Figure 3 3 Start RIO Group Screen on an LCD HIM Port 5 Device Value Starting Module Group 20 COMM R 0 Group 0 Default Parameter 25 1 Group 2 Start RIO Group 2 Group 4 3 Group 6 Group 0 Do not use if the adapter uses a 1 2 rack or an error will result 2 Reset the adapter Refer to the Resetting the Adapter section in this chapter Configuring the Adapter 3 5 Setting the Last Rack If the adapter switches are disabled SW 7 and SW 8 are both On the value of Parameter 26 Last RIO Rack notifies a controller that this device is the last device on a specified rack This parameter must be set to Enabled if a product is the last device on a rack address that uses a PLC 2 controller We recommend that you set this parameter to Enabled whenever a device is the last device on a rack 1 Set Parameter 26 Last RIO Rack to the desired state Figure 3 4 Last RIO Rack Screen on an LCD HIM Port 5 Device Value Last Rack 20 COMM R 0 Disabled Default Parameter 26 1 Enabled Last RIO Rack Disabled 2 Reset the adapter Refer to the Resetting the Adapter section in this
70. ging from 0 37 kW 0 5 HP to 3 000 kW 4 000 HP PowerFlex drives implement DPI allowing them to use the 20 COMM R RIO adapter This manual focuses on using the adapter with PowerFlex drives Other products that implement DPI can also use the adapter Rack Address Each device on a network must have a rack address that the controller with which it intends to communicate will recognize A rack address and starting module group are used to identify each device on a Remote I O network Although the adapter supports rack address up to 77 Octal not all controllers recognize all of the addresses and Remote I O channels can support only 32 devices Refer to your controller documentation for appropriate addresses Rack addresses use an octal numbering convention Rack Size The rack size determines the number of 16 bit words of discrete I O that the Remote I O adapter sends and receives The Remote I O adapter can be configured as 1 4 rack two 16 bit words or 1 2 rack four 16 bit words Additional I O can be transferred using the Block Transfer I O image Reference Feedback The Reference is used to send a Reference for example speed frequency torque to the product It consists of one word of input to the adapter from the network The size of the word either a 16 bit word or 32 bit word is determined by the drive Feedback is used to monitor the speed of a product It consists of one word of output from the adapter to the netwo
71. h BYTE Day 17 Read Product Revision STRUCT of Only BYTE Major Firmware Release BYTE Minor Firmware Release 18 Ha Serial Number DWORD Value between 0x00 and OxFFFFFFFF nly 19 Read Language BYTE 0 Default HIM will prompt at start up Write Selected 1 Language was selected no prompt 20 Read Customer STRING 36 GUID Globally Unique Identifier Write Generated identifying customer firmware flashed into Firmware the device 128 Read Customization WORD Code identifying the customized device Only Code 129 Read Customization WORD Revision of the customized device Only Revision Number 130 Read Customization STRING 32 Text identifying the customized device Only Device Text 6 CIP Objects DPI Device Object Continued Instance Attributes Attribute Access Name Data Type Description ID Rule 3 Read Component STRING 32 Name of the component Only 4 Read Component STRUCT of Only Firmware BYTE Major Revision Revision BYTE Minor Revision 5 Read Component BYTE 0 Not Available Only Hardware Change Number 6 Read First Flash Object WORD First instance in the Flash Object used for Only Instance the firmware in the component 7 Read Number of Flash BYTE Number of instances in the flash object for Only Object Instances this component 8 Read Component DWORD Value between 0x00 and OXFFFFFFFF Only Serial Number DPI Parameter Object Class
72. he network 31 NET Sent Reset The controller issued a reset command to the adapter 32 NET Idle Fit The adapter detected an idle condition on the network 33 NET Timeout Fit The adapter detected a timeout on the network 34 Fit Cfg Error Fault configuration error 35 Reserved 36 Manual Reset The module was reset by the user 37 Language CRC Bad The language text memory segment is corrupt 6 8 Troubleshooting Notes Specifications Appendix A provides the specifications for the Remote I O adapter Topic Page Topic Page Communications 1 Environmental A 2 Electrical 1 Regulatory Compliance 2 Mechanical 1 Communications Network Protocol Allen Bradley Remote 1 0 Network Baud Rate 57 6K 115 2K 230 4K Available baud rates depend on the length of the Remote I O cable Refer to Selecting Remote I O Cables in Chapter 2 for more information Drive Protocol DPI Data Rates 125K 500K Electrical Consumption 250 mA at 5 V supplied through the drive All power is received via the connected drive Mechanical Dimensions Height 19 mm 0 75 inches Length 86 mm 3 39 inches Width 78 5 mm 3 09 inches Weight 85g 3 oz Specifications Environmental Temperature Operating 10 to 50 14 to 149 F Storage 40 to 85 C 40 to 185 F Relative Humidity 5 to 95 non condensing Atmosphere Important Adapter must not be installed in an ar
73. his run executes an I O BTR to move status information from the 20 COMM R to the PLC Note that this is the minimum logic needed a more complex system 4 13 er N11 2 Datalink A1 Read BTR N11 4 Datalink A2 Read 0000 ME SENASTE Block Transfer Read EN EN Module Type Generic Block Transfer Rack 001 0 _ lt ER gt lodule 0 Control Block BT9 0 Data File N11 0 Length 18 Continuous No This run executes an I O BTW to move status information from the PLC to the 20 COMM R Note that this is the minimum logic needed a more complex system may require additional sequencing logic N10 0 Feedback end N10 2 Datalink A1 Write BTW p N10 4 Datalink A2 Writ 0001 ME Block Transfer Write EN EN Module Type Generic Block Transfer Rack 001 CDN5 c 0 lodule 0 Control Block BT9 1 Data File N10 0 Length 18 Continuous No 0002 END Refer to Figure 4 3 for Block Transfer I O Image Layout 4 14 Using Discrete amp Block Transfer I O 0000 0001 0002 0003 SLC Example The SLC RIO scanner performs Block Transfers through control status buffers that you allocate in the scanner s MO and M1 files The first 10 words of each file are reserved for either control words MO or status words M1 Block Transfer Read Write data starts in word 11 Refer to the 1747 SN User Manual publication 1747 6 6 for more information The following data is required for the examp
74. host by this peripheral if not using Datalink D1 this parameter should have a value of zero 14 Datalink D2In Current value of Datalink D2 In being transmitted to the host by this peripheral if not using Datalink D2 this parameter should have a value of zero 15 Datalink A1 Out Current value of Datalink A1 being received from the host by this peripheral 16 Datalink A2 Out Current value of Datalink A2 being received from the host by this peripheral 17 Datalink B1 Out Current value of Datalink B1 being received from the host by this peripheral 18 Datalink B2 Out Current value of Datalink B2 being received from the host by this peripheral 19 Datalink C1 Out Current value of Datalink C1 being received from the host by this peripheral 20 Datalink C2 Out Current value of Datalink C2 being received from the host by this peripheral 21 Datalink D1 Out Current value of Datalink D1 being received from the host by this peripheral 22 Datalink D2 Out Current value of Datalink D2 being received from the host by this peripheral 23 Field Flash Cnt Current value of the Field Flash Counter 24 Errors Current value of the DPI CAN Transmit Error Counter register 25 DPITx Errors Maximum value of the DPI CAN Transmit Error Counter register 26 Reserved Troubleshooting 6 5 No Name Description 27 Reserved 28 DIP Switch O Active DIP switch states Bito DIP SW 1 state
75. ificant byte is always zero This is the length of the actual message in bytes not the size of the BTW in words This length excludes the two bytes of word 0 but includes words 1 and 2 and all of the data in the main body of the message to be sent If using a scattered read or write with class code 0x93 the length includes the zero es after the last parameter as place holders See pages C 11 C 15 Word 1 0x81 and DPI Port The least significant byte contains the value 0x81 The most significant byte is the DPI port For PowerFlex drives you can access 0 Drive 4 Device at Port 4 1 Device at Port 1 HIM 5 Device at Port 5 adapter 2 Device at Port 2 6 Device at Port 6 3 Device at Port 3 Word 2 CIP Service The least significant byte contains a CIP service The most significant byte is always zero 0 CIP services include the following Ox0E Get Attribute Single Ox4B Get Attributes Scattered 0x10 Set Attribute Single 0 4 Set Attributes Scattered Word 3 CIP Class Refer to Appendix C CIP Objects for a list of classes Word 4 CIP Instance Refer to Appendix C CIP Objects for an instances in each class Word 5 CIP Attribute Refer to Appendix C CIP Objects for a list of attributes in each class Word 6 19 Data or Padding Word 6 29 Data required for the message The message must be either 20 words 30 words or Word 6 59 60 words If it is not pad the message with zeros 5 4 Using Block Transfer Messaging Bl
76. imum 0 drive if any of the following is true Maximum 4294967295 e Parameter 11 Idle Fit Action is set to Send Type Read Write Fit Cfg and the scanner is put into Program Reset Required No mode e Parameter 10 Comm FIt Action is set to Important If the drive uses 16 bit Send Fit Cfg and communications are Datalinks the most significant word of the disrupted value must be set to zero 0 or a fault will Parameter 08 Datalink Size displays whether occur the size of Datalinks in the drive is 16 bit or 32 bit 24 Switches Default 0 Disabled Status of the switches By default switches are Values 0 Disabled enabled and the adapter is configured based on 1 Enabled their settings If both SW 7 and SW 8 are On Type Read Only Switches are disabled and the adapter is configured with values in parameters 3 5 25 26 and 27 25 Start RIO Group Default 0 Group 0 Remote I O starting module group if the hardware Values 0 Group 0 Switches have been disabled The hardware 1 Group 2 switches are disabled by setting DIP switches 7 2 Group 4 and 8 to On 3 Group 6 allowed for 1 4 rack only Type Read Write Reset Required Yes 26 Last RIO Rack Default 0 Disabled Last or not last physical group witin a rack Values 0 Disabled address on a Remote I O network if the hardware 1 Enabled switches have been disabled The hardware Type Read Write switches are disabled by setting DIP swi
77. ion resistor Important If any of the following products which cannot operate at 230 4 kbps are on the Remote I O network you must use a 150 ohm termination resistor e 1771 SN scanner e 1772 SD scanner e 1772 SD2 scanner e 1772 SR scanner 1775 S4A scanner e 1771 AS adapter 1775 S4B scanner e 1772 ASB ser A adapter 6008 SQH1 scanner e 1771 adapter 6008 SQH scanner e 1771 device Figure 2 5 Connecting a Resistor If Required Clear Shield Blue 10 7 Connect the Remote I O cable to the adapter See Figure 2 6 Description 15 24 cm 6 in Installing the Adapter Connecting the Adapter to the Drive 1 Remove power from the drive 2 Use static control precautions 3 Connect the Internal Interface cable to the DPI port on the drive and then to the DPI connector on the adapter Figure 2 6 DPI Ports and Internal Interface Cables mssssssssssz p 0 j PowerFlex 700 Drive 0 1 Frame o T a ZE I l E 1 EN OEE 5 E 900000000090 0660000000906 naa nna ero j lt PowerFl lex
78. is peripheral 4 Common Logic Current value of the Common Logic Status being received from the host by Sts this peripheral 5 Prod Logic Sts Current value of the Product Specific Logic Status being received from the host by this peripheral 6 Feedback Current value of the Product Specific Feedback being received from the host by this peripheral 7 Datalink A1 In Current value of Datalink A1 In being transmitted to the host by this peripheral if not using Datalink A1 this parameter should have a value of zero 8 Datalink A2In Current value of Datalink A2 In being transmitted to the host by this peripheral if not using Datalink A2 this parameter should have a value of zero 9 Datalink B1In Current value of Datalink B1 In being transmitted to the host by this periphera if not using Datalink B1 this parameter should have a value of zero 10 Datalink B2In Current value of Datalink B2 In being transmitted to the host by this periphera if not using Datalink B2 this parameter should have a value of zero 11 Datalink C1 In Current value of Datalink C1 In being transmitted to the host by this peripheral if not using Datalink C1 this parameter should have a value of zero 12 Datalink C2In Current value of Datalink C2 In being transmitted to the host by this periphera if not using Datalink C2 this parameter should have a value of zero 13 Datalink D1 In Current value of Datalink D1 In being transmitted to the
79. it The DPI port changed 6 Host Sent Reset The DPI product issued this because it was reset 7 EEPROM Sum Fit The EEPROM in the adapter is corrupt 8 Online 125kbps The adapter and DPI product are communicating at 125kbps 9 Online 500kBps The adapter and DPI product are communicating at 500kbps 10 Bad Host Fit The adapter was connected to an incompatible product 11 Dup Port Fit Another peripheral with the same port number is already in use 12 Type 0 Login The adapter has logged in for type 0 control 13 Type 0 Time Fit The adapter has not received a type 0 status message within the specified time 14 DL Login The adapter has logged into a Datalink 15 DL Reject Fit The host rejected an attempt to log in to a Datalink because the Datalink is not supported or is used by another peripheral 16 DL Time Fit The adapter has not received a Datalink message within the specified time 17 Control Disabled adapter has sent a Soft Control Disable command to the DPI product 18 Control Enabled The adapter has sent a Soft Control Enable command to the DPI product 19 Reserved 20 Normal Startup The adapter successfully started up 21 Message Timeout A Client Server message sent by the peripheral was not completed 22 DPI Fault Msg The DPI Host has faulted 23 27 Reserved 28 DPI Fault Clear The DPI product issued this because a fault was cleared 29 Reserved 30 NET Comm Fit The adapter detected a fault condition on t
80. ive You can set these parameters so that the drive continues to run Precautions should be taken to ensure that the settings of these parameters do not create a hazard of injury or equipment damage ATTENTION Risk of injury or equipment damage exists When a system is configured for the first time there may be unintended or incorrect machine motion Disconnect the motor from the machine or process during initial system testing ATTENTION Risk of injury or equipment damage exists The examples in this publication are intended solely for purposes of example There are many variables and requirements with any application Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication Getting Started 1 5 Quick Start This section is designed to help experienced users configure or set up the Remote I O adapter If you are unsure how to complete a step refer to the referenced chapter Step Refer to 1 Review the safety precautions for the adapter Throughout This Manual 2 Verify that the PowerFlex drive is properly installed Drive User Manual 3 Commission the adapter Chapter 2 With power removed set a unique node address on the Remote Installing the l O network using the rotary switches Set the following using the Adapter DIP switches e Starting remote I O module group Switches 1 and 2 e Last rack
81. ks 8 CIP Objects DPI Parameter Object Continued Instance Attributes Attribute Access Name Data Type Description ID Rule 7 Read DPl Online Read STRUCT of Only Full BOOL 32 Descriptor Refer to pages C 9 C 10 CONTAINER Parameter value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value WORD Next parameter WORD Previous parameter STRING 4 Units e g Amp Hz UINT Multiplier UINT Divisor UINT Base INT Offset BYTE 3 Link source of the value 0 no link BYTE Always zero 0 STRING 16 Parameter name 8 Read DPI Descriptor BOOL 32 Descriptor Refer to pages C 9 C 10 Only 9 Read DPlParameter Various Parameter value NVS Write Value 10 Read DPI RAM Various Parameter value in temporary memory Write Parameter Value 11 Read DPI Link BYTE 3 Link parameter or function block that is Write the source of the value 0 no link 12 Read Help Object WORD ID for help text for this parameter Only Instance 13 Read DPI Read Basic STRUCT of Only BOOL 32 Descriptor Refer to pages C 9 C 10 CONTAINER _ Parameter value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value STRING 16 Parameter name STRING 4 Units e g Amp Hz 14 Read Parameter STRING 16 Parameter name Only Name 15 Read DPI Parameter STRING 16 Customer supplied parameter name Only Write Alias suppor
82. le program Address Value decimal Description N10 1 18 Block Transfer Write Length N10 2 100 Rack 1 Group 0 Slot 0 N11 1 18 Block Transfer Read Length N11 2 100 Rack 1 Group 0 Slot 0 The length of 28 words used in the COP instructions in the ladder example reflect the 10 reserved words plus 18 words of data Figure 4 11 SLC Main Routine I O User Logic This rung handles the logic needed to stop the drive upon the user s command As shown the user STOP input must be a normally closed pushbutton If the drive is running pressing the STOP button will seal the stop command bit until the drive comes to a complete stop User Drive STOP STOP Input Command 0 0 1 9 Xt 0 0 1747 SN Drive Drive RUNNING STOP Status Command 1 9 0 1 9 JE E E dr 1 0 1747 5 1747 SN This rung allows the user to start the drive Note that the drive may not start if the user briefly taps the button User Drive START START Input Command N7 0 0 1 9 E 1 1 1747 SN This rung allows the user to Jog the drive User Drive JOG JOG Input Command N7 0 0 1 9 JL d E 2 2 1747 SN This rung allows the user to clear any faults present in the drive User Drive CLEAR FAULTS CLEAR FAULTS Input Command N7 0 0 1 9 JE 3 3 1747 SN Using Discrete amp Block Transfer I O Figure 4 11 SLC Main Routine I O User Logic continued This rung moves the Reference from the User Operator Station
83. let you determine how the adapter and PowerFlex drive respond to communication disruptions on the network and controllers in idle mode Getting Started 1 3 Compatible Products The Remote I O adapter is compatible with Allen Bradley PowerFlex drives and other products that support DPI DPI is a second generation peripheral communication interface and is a functional enhancement to SCANport At the time of publication compatible products include e PowerFlex 70 drives e PowerFlex 700 drives e PowerFlex 7000 drives Required Equipment Equipment Shipped with the Adapter When you unpack the adapter verify that the package includes One Remote I O adapter C One 2 54 cm 1 in and one 15 24 cm 6 in Internal Interface cable only one cable is needed to connect the adapter to the drive One three pin Remote I O plug connected to the Remote I O connector on the adapter One grounding wrist strap One 82 ohm and one 150 ohm termination resistor This manual User Supplied Equipment To install and configure the Remote I O adapter you must supply C A small flathead or Phillips screwdriver Remote I O cable Drive configuration tool such as a PowerFlex HIM DriveTools 2000 version 1 01 or greater or DriveExplorer version 2 01 or greater if you need to configure parameters Controller configuration software such as RSLogix5 RSLogix500 or RSLogix5000 1 4 gt gt gt gt D Get
84. link C ud B00 4 Datalink D 5 16 Not Used 1 enables the I O A 0 disables the T O 2 Ifyou enabled Logic Command Reference configure the required parameters in the drive to accept the logic and Reference from the adapter For example set Parameter 90 Speed Ref A Sel in a PowerFlex 70 or 700 drive to DPI Port 5 so that the drive uses the Reference from the adapter Also verify that the mask parameters for example Parameter 276 Logic Mask in the drive are configured to receive the desired logic from the adapter 3 If you enabled one or more Datalinks configure parameters in the drive to determine the source and destination of data in the Datalink s Also ensure that the Remote I O adapter is the only adapter using the enabled Datalink s 4 Reset the adapter Refer to the Resetting the Adapter section in this chapter Configuring the Adapter 3 7 Setting a Fault Action By default when communications are disrupted for example a cable is disconnected or the scanner is idle for example PLC in Program mode the drive responds by faulting if it is using I O from the network You can configure a different response to communication disruptions using Parameter 10 Comm Action and a different response to an idle scanner using Parameter 11 Idle Flt Action ATTENTION Risk of injury or equipment damage exists Parameters 10 Comm Flt Action and 11 Idle Flt Action
85. mmand or Set Reset Required No Defaults command has been performed ATTENTION Risk of injury or equipment damage exists If the adapter is transmitting I O that controls the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting a connected adapter 10 Comm Fit Action Default 0 Fault Action that the adapter and PowerFlex drive take if Values 0 Fault the adapter detects that Remote I O 1 Stop communications have been disrupted This setting 2 Zero Data is effective only if I O that controls the drive is 3 Hold Last transmitted through the adapter 4 Send Fit Cfg Type Read Write Reset Required No ATTENTION Risk of injury or equipment damage exists Parameter 10 Comm Fit Action lets you determine the action of the adapter and connected drive if communications are disrupted By default this parameter faults the drive You can set this parameter so that the drive continues to run Precautions should be taken to ensure that the setting of this parameter does not create a hazard of injury or equipment damage 11 Idle Fit Action Default 0 Fault Action that the adapter and drive take if the Values 0 Fault adapter detects that the controller is idle because 1 Stop it was switched to program mode This setting is 2 Zero Data effective only if I O that controls the drive is 3 Hold Last transmitted through the adapter 4 Send Fit Cfg Type Read Write
86. must be connected at each node Do not use a star topology Only two cables may be connected at any wiring point You can use a series topology and daisy chain two wires at a point 2 2 Installing the Adapter Commissioning the Adapter To commission the adapter set the rotary switches and the DIP switches Either slide the switches to the desired settings or disable them by sliding SW 7 and SW 8 to On so that parameters are used instead Refer to the Glossary for definitions of terms in this section Important New settings are recognized only when power is applied to the adapter If a setting is changed cycle power or reset the adapter adapter contains ESD Electrostatic Discharge sensitive parts that can be damaged if you do not follow ESD control procedures Static control precautions are required when handling the adapter If you are unfamiliar with static control procedures refer to Guarding Against Electrostatic Damage Publication 8000 4 5 2 ATTENTION Risk of equipment damage exists The Remote I O lead may damage the switches on the Remote I O adapter Do not use a ATTENTION Risk of equipment damage exists Pen ink or pencil A pen or pencil to set the switches 1 Set a rack address between 00 and 77 Octal The default is 01 Each Remote I O device must have a unique rack address that the controller can recognize Note the following Although the adapter supports rack address up to 77 Octal not all controller
87. nformation WORD Alarm code STRUCT of Alarm source BYTE DPI port BYTE DPI Device Object STRING 16 Alarm text STRUCT of Alarm time stamp LWORD Timer value 0 Timer not supported BOOL 16 BOOL O 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time 2 15 Reserved WORD Reserved CONTAINER n Reserved 1 Read Basic STRUCT of Only Information WORD Alarm code STRUCT of Alarm source BYTE DPI port BYTE DPI Device Object STRUCT of Alarm time stamp LWORD Timer value 0 Timer not supported BOOL 16 BOOL O 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time BOOL 2 15 Reserved DPI Time Object Class Code Hexadecimal Decimal Ox9B 155 Instances CIP Objects C 21 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 Number of timers can be read in Instance 0 Attribute 2 Number Description 0 Class Attributes 1 Real Time Clock Predefined Not always supported 2 Timer 1 3 Timer 2 Class Attributes Attribute Access Name Data Type Description ID Rule 1 Read Class Revision WORD Revision of object Only 2 Read Number of WORD Number of timers in the object excluding Only Instances the real time clock that is predefined 3 Read First Device WORD Instance of the first timer that is not Only Specific Timer predefined
88. npredictable operation may occur if you fail to verify that connections and switch settings are compatible with your application Verify that connections and parameter settings are compatible with your application before applying power to the drive ATTENTION Risk of equipment damage injury or death exists 1 Close the door or reinstall the cover on the drive The status indicators can be viewed on the front of the drive after power has been applied 2 Apply power to the PowerFlex drive The adapter receives its power from the connected drive The status indicators should be green If a status indicator is red there is a problem Refer to Chapter 6 Troubleshooting 3 If necessary apply power to the master device controller and other Remote I O devices Chapter 3 Configuring the Adapter Chapter 3 provides instructions and information for setting the parameters in the adapter Topic Page Topic Page Configuration Tools 3 1 Setting the Rack Size 3 5 Using the PowerFlex HIM 32 Setting the I O Configuration 3 6 Setting the Rack Address 3 3 Setting a Fault Action 3 7 Setting the Baud Rate 3 4 Resetting the Adapter 3 8 Setting the Starting Module Group 3 4 Viewing the Adapter Configuration 3 9 Setting the Last Rack 3 5 For a list of parameters refer to Appendix B Adapter Parameters For definitions of terms in this chapter refer to the Glossary Configuration Tools The
89. ock Transfer Read Structure For Receiving Block Transfer Messages Data Field Description Word 0 Length The least significant byte contains the length of the actual Explicit Message in bytes The most significant byte is always zero Word 1 Status Size and Status Type If an error occurred during the Explicit Message the least significant byte will contain the size of the status information and the most significant byte will contain the type of status 1 DPI 2 CIP information If the Explicit Message completed without an error occurring both of these bytes will have values of zero 0x00 Message successful 0x01 DPI error 0x02 CIP error Word 2 Status Information The least significant byte will contain the status information CIP DPI 0x00 0x00 Message is successful Ox0E 0x01 Service is not supported 0x08 0x02 Service is not valid 0x16 0x03 Class is not supported 0x16 0x04 Instance is not supported 0x14 0x05 Attribute is not supported 0x09 0x06 Data value is out of range for the attribute 0x10 0x07 The object is not in a correct state for the service For example certain attributes cannot be set while the drive is running 0x13 0x08 Not enough data was provided for the message 0x15 0x09 Too much data was provided for the message Ox0A Router message error Ox0B Resource unavailable Ox0C Transport Error Word 3 19 Data or Padding Word2 29 This is the Explicit Message response data Word 2 59
90. orming Block Transfer messaging Event BTW Request Description Before initiating a Block Transfer message bit 8 must be 1 This setting indicates that the adapter and drive are communicating so a Block Transfer message will reach the drive Before initiating a Block Transfer Write message bit 9 must be 1 This setting indicates that a Block Transfer Write can be executed BTW Data At the Adapter Because only one Block Transfer message can be active at a time Bit 9 is set to 0 when the Block Transfer Write begins It and Bit 10 remain at zero while the Block Transfer is being processed BTW Complete When the Block Transfer is complete bit 9 and bit 10 are set to 1 This setting indicates that the program can perform either a Block Transfer Read or a Block Transfer Write Bit 11 remains at 0 if messaging is successful If an error occurs it would be set to 1 BTR Request Before initiating a Block Transfer Read message bit 10 must be set to 1 This setting indicates that data is available to read When the message is executed bits 9 amp 10 are set to 0 because only one Block Transfer can be active at a time 3 Receive data from the program After the program with Block Transfer messages has been run the results can be seen in a data file The data file that is used depends on your controller and application Example Programs The example ladder logic programs Figure 5 3 Figure
91. ort service agreements Technical Product Assistance If you need to contact Rockwell Automation for technical assistance please review the information in Chapter 6 Troubleshooting first If you still have problems then call your local Rockwell Automation representative 1 Getting Started The 20 COMM R Remote I O adapter is an embedded communication option for any one drive in the PowerFlex family It can also be used with other Allen Bradley products implementing DPI a functional enhancement to SCANport M Topic Page Topic Page Components 1 1 Safety Precautions 14 Features 12 Quick Start 1 5 Compatible Products 1 3 Modes of Operation 1 6 Required Equipment 1 3 Components Figure 1 1 Components of the Adapter 7 Number Part Description o Status Three LEDs that indicate the status of the connected drive Indicators adapter and network Refer to Chapter 6 Troubleshooting e DPI Connector 20 pin single row shrouded male header An Internal Interface cable is connected to this connector and a connector on the drive e Remote I O A standard 3 pin Remote I O connector Connector Node Address Switches for setting the rack address Refer to Chapter 2 Switches Installing the Adapter e Configuration Switches for setting the starting module group last rack rack Switches size and
92. pace is reserved so the Datalinks occupy the same Block Transfer I O locations regardless of 1 4 or 1 2 rack configuration Feedback is transmitted in both Discrete I O and Block Transfer I O Using Discrete amp Block Transfer I O Discrete I O Image The discrete I O image will be either a 1 4 rack or 1 2 rack You select whether to use 1 4 rack or 1 2 rack using DIP switch 4 or if switches have been disabled Parameter 27 Rack Size The I O that is transmitted depends on the size of the rack Figure 4 1 shows a 1 4 rack and Figure 4 2 shows a 1 2 rack Data in the discrete I O image is transferred between the controller and Remote I O adapter every scan Block Transfer Control Block Transfer Status Word 0 in the discrete I O image is always the 16 bit Block Transfer Control Status word The Block Transfer Control word is used for handshaking between the scanner and adapter Do not change this word The Block Transfer Status word is used to determine when you can write and read Block Transfers for Explicit Messages The Executing Block Transfers for Explicit Messages section in Chapter 5 explains the bits in this word and how to use them Block Transfer I O does not use the Block Transfer Status word Logic Command Logic Status in Discrete I O Image Word 1 in the discrete I O image is always the Logic Command Logic Status word The Logic Command word is a 16 bit word that is used to control the drive for example start
93. r Number Parameter Number Pad Word Parameter Value LSW Pad Word Parameter Value MSW Parameter Number Parameter Number Pad Word Parameter Value LSW Pad Word Parameter Value MSW Parameter Number Parameter Number Pad Word Parameter Value LSW Pad Word Parameter Value MSW Parameter Number Parameter Number Pad Word Parameter Value LSW Pad Word Parameter Value MSW Parameter Number Parameter Number Pad Word Parameter Value LSW Pad Word Parameter Value MSW Parameter Number Parameter Number Pad Word Parameter Value LSW Pad Word Parameter Value MSW Parameter Number Parameter Number Pad Word Parameter Value LSW Pad Word Parameter Value MSW Pad Word Not Used CIP Objects C 13 DPI Parameter Object Continued The data in this example is for a Get Attributes Scattered of PowerFlex 70 parameters Output Freq 3 Output Current and 6 Output Voltage from a device at node address 1 Request Data for Get Attributes Scattered Address Value hex Description Refer to N30 0 001C Length 28 bytes 1C hex 5 3 N30 1 0081 Port 00 0 x 81 5 3 N30 2 004B 0 x 00 Service Get Attributes Scattered 5 8 N30 3 0093 Class 93 DPI Parameter Object C 7 N30 4 0000 Instance Class Attributes drive C 7 N30 5 0000 Attribute not used for this service C 7 N30 6 0001 Parameter Number 1 N30 7 0000 Pad Word N30 8 0000 Pad Word N30 9 0003 Parameter Number 3 N30 10 0000 Pad Word N30 1
94. r is not receiving power Refer to Chapter 2 Installing the Adapter for installation instructions If any other conditions occur refer to Chapter 6 Troubleshooting Chapter 2 Installing the Adapter Chapter 2 provides instructions for installing the adapter in a PowerFlex 70 or 700 drive If you are installing the adapter in a different product refer to its documentation Topic Page Topic Page Preparing for an Installation 2 1 Connecting the Adapter to the Network 2 4 Selecting Remote I O Cables 2 1 Connecting the Adapter tothe Drive 26 Commissioning the Adapter 2 2 Applying Power 2 8 Preparing for an Installation Before installing the Remote I O adapter Verify that you have all required equipment Refer to Chapter 1 Getting Started Refer to the Glossary in this manual for definitions of the terms in this section Selecting Remote I O Cables Remote I O adapters are connected to the Remote I O network or link with twinaxial cable used for Remote I O and Data Highway Plus communications When selecting a cable remember Only 1770 CD Belden 9463 is tested and approved for Remote I O and installations Use other cables at your own risk The maximum cable length depends on the baud rate Baud Rate Maximum Cable Length 57 6 kbps 3 048 m 10 000 ft 1152kbps 1 524 5 000 ft 230 4 kbps 762 m 2 500 ft three connectors blue shield and clear
95. rk The size of the word either a 16 bit word or 32 bit word is determined by the drive Glossary 6 Remote I O Network Remote I O is an Allen Bradley network interface originally designed to link remote I O racks to PLCs over appropriate cables Blue Hose Remote I O supports remote time critical control communications between a client controller and a server devices such as a Remote I O adapter and connected drive A server device will accept only the packets that are addressed to it Remote I O also supports Block Transfer messaging Remote I O networks sometimes called links can support up to 32 devices on a channel 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 Starting Module Group The starting module group is the word in a rack at which the group starts It depends on the rack size This Remote I O adapter can be configured as a 1 4 rack which is two words or a 1 2 rack which is 4 words Adapters configured as 1 4 racks can use starting module groups 0 2 4 or 6 Adapters configured as 1 2 racks can use only starting module groups O 2 or 4 Status Indicators Status indicators are LEDs that are used to report the status of a device There are three status indicators on the converter X Xmodem Xmodem is a protocol used to transfer data across
96. rsion G 3 drives see DPI hosts drives see PowerFlex drives DriveTools accessing parameters with 3 1 definition G 3 E EEPROM refer to Non Volatile Storage NVS enabling in the adapter 3 6 environmental specifications A 2 equipment 1 3 events clearing 6 5 list of 6 6 viewing 6 5 Explicit messages refer to Block Transfer messages F factory defaults refer to default parameter values fault action definition G 3 setting in the adapter 3 7 fault configuration definition G 3 setting in the adapter 3 7 faults refer to events features 1 2 flash update G 3 Fit Cfg Logic parameter B 3 Fit Cfg Ref parameter B 3 formatting Block Transfer messages 5 2 G gateway refer to adapter grounding the adapter 2 7 H HIM Human Interface Module accessing events with 6 5 accessing parameters with 3 1 definition G 3 LCD model 3 2 LED model 3 2 hold last definition G 4 setting in the adapter 3 7 hosts see DPI hosts humidity A 2 Block Transfer 4 5 definition G 4 discrete 4 4 enabling in the adapter 3 6 image 4 2 information about 4 1 using 4 1 to 4 18 5 1 to 5 14 viewing 3 9 Idle Fit Action parameter B 2 installing the adapter 2 1 to 2 8 Internal Interface cables connecting to the drive 2 6 shipped with the adapter 1 3 Index 3 L ladder logic programs about the Block Transfer examples 5 6 about the I O examples 4 8 ControlLogix example 4 9 5 7 PL
97. s P 2 About This Manual Conventions Used in this Manual The following conventions are used throughout this manual e Parameters are shown in the following format Parameter xxx The xxx represents the parameter number The represents the parameter name e Menu commands are shown in bold type face and follow the format Menu gt Command For example if you read Select File gt Open you should click the File menu and then click the Open command e The firmware release is displayed as FRN X xxx The FRN signifies Firmware Release Number The X is the major release number The is the minor update number This manual is for firmware release 1 xxx e This manual provides information about the Remote I O adapter and using it with PowerFlex drives The adapter can be used with other products that implement DPI Refer to the documentation for your product for specific information about how it works with the adapter Rockwell Automation Support Rockwell Automation offers support services worldwide with over 75 sales support offices over 500 authorized distributors and over 250 authorized systems integrators located through 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 representative for sales and order support product technical training warranty support and supp
98. s are always transmitted in the Block Transfer I O 4 2 Using Discrete amp Block Transfer I O Understanding the I O Image Figure 4 1 1 4 rack and Figure 4 2 1 2 rack show how data is transmitted between a controller and drive Rack Size Feedback Destination Datalinks 1 4 Block Transfer I O Block Transfer I O Block Transfer O 1 2 Discrete I O Discrete and Block Transfer I O Block Transfer I O Figure 4 1 Example I O Image 1 4 Rack Configuration Remote I O Controller Scanner Adapter PowerFlex Drive Discrete I O Output 0 BT Control B LL Image 1 Logic Command Logic Command Reference Block Transfer Data 0 1 Reference Files 2 3 Datalink A1 Data In A1 4 5 Datalink A2 Data In A2 6 7 Datalink B1 Data In B1 5 8 9 Datalink B2 Data In B2 10 11 Datalink C1 Data In C1 12 13 Datalink C2 Data In C2 14 15 Datalink D1 gt Data In D1 16 17 Datalink D2 gt Data In D2 Discrete I O Input 0 BT Status 2 Image S 1 Logic Status I Logic Status Feedback Block Transfer I O Data 0 1 Feedback Files 2 3 Datalink A1 _ Data Out A1 4 5 Datalink A2 Data Out A2 Jag o 6 7 Datalink B1 _ Data Out B1 5 8 9 Datalink B2 __ Data Out B2 10 11 Datalink C1 Data Out C1 12 13 Datalink C2 Data Out C2 14 15 Datalink D1 __ Data Out D1 16 17
99. s once each time the SLC is switched into RUN mode It resets any BTW control bits that might be set in the RIO scanner First Pass BTW Control 4 MOV lE Move 15 Source 0 0 lt Dest N10 0 32768 COP Copy File Source N10 0 Dest 0 1 100 Length 28 This rung transfers the Block Transfer Write BTW status buffer from the RIO scanner to the memory in the SLC When the BTW is complete the data in this file will indicate if the BTW was successful or not BTW Status mio Copy File Source M1 1 100 Dest N10 100 Length 28 This rung enables the BTW on the first pass through the program and re enables it each time the BTW is completed or errors BTW DN Done BTW ER Error BT Enable N10 100 N10 100 N10 0 it it 18 12 15 First Pass 5 1 lE zb 15 This rung transfers the BTW information control and data to the RIO scanner for execution N10 10 Reference N10 12 Datalink A1 N10 14 Datalink 2 cop 4 Copy File Source N10 0 Dest 0 1 100 Length 28 END Refer to Figure 4 3 for Block Transfer I O Image Layout Using Discrete amp Block Transfer I O 4 17 Figure 4 13 SLC Block Transfer I O Read This rung executes once each time the SLC is switched into RUN mode It resets any BTR control bits that might be set in th
100. s recognize all of the addresses and a Remote I O channel can support only 32 devices IfSW 7 and SW 8 are both On the adapter uses the rack address set in Parameter 3 RIO Addr Cfg Refer to Chapter 3 Installing the Adapter PLC 2controllers identify rack addresses differently than other controllers PLC 2 controllers identify the rack address of the adapter as one plus the value of the switch settings Figure 2 1 Setting the Rack Address Installing the Adapter 2 3 2 Setthe DIP switches using the following illustration and table Figure 2 2 Setting the DIP Switches Switches Setting Description SW1and 1 2 Switches are used together to set the starting module group SW2 fo To Group 0 Default 1 0 Group 2 0 1 Group 4 1 1 Group 6 Only used if SW 4 is set to 0 1 4 rack SW 3 0 Not the last RIO rack Default 1 Last RIO group within the rack SW 4 0 1 4 rack Default 1 1 2 rack SW5 0 Not Used SW6 0 Not Used SW7and 7 8 Switches are used together to set the Remote I O baud rate SW8 57 6 kbps Default 1 0 115 2 kbps 0 230 4 kbps 1 1 Disable all hardware switches The adapter uses the following parameters instead of switches 3 RIO Addr Cfg for the rack address 5 RIO Rate Cfg for the baud rate 25 Start RIO Group for the starting module group 26
101. saging BTW User Message ENABLE MESSAGE ENABLE Input Bit N7 2 B3 0 B3 0 0002 JE OSR L 0 1 0 This rung enables a single BTW and then turns off the Message ENABLE bit Message Message Message ENABLE BT Write BT Read Message BTW Bit Available Available BT EN Enable B3 0 11 8 11 8 N12 0 0003 JE JE 0 9 10 15 1747 SN 1747 SN Message ENABLE Bit B3 0 U 0 This rung transfers the BTW information to the RIO scanner for execution COP 0004 Copy File Source N12 0 Dest M0 1 300 Length 74 Using Block Transfer Messaging Figure 5 5 SLC Block Transfer Messaging Example continued 5 15 This rung executes once each time the SLC is switched into RUN mode It resets any BTR control bits that might be set in the RIO scanner First Pass 5 1 MOV 0005 J E Move 15 Source 128 128 lt Dest N13 0 128 lt Copy File Source N13 0 Dest 0 1 400 Length 74 This rung transfers the Block Transfer Read BTR status buffer from the RIO scanner to the memory in the SLC When the BTR is complete the data in this file will indicate if the BTR was successful or not This file will also contain the response to the previous BTW message COP 0006 Copy File Source M1 1 400 Dest N13 100 Length 74 This rung will wait until a BTR is available from the 20 COMM R module and then execute a BTR Message BT Read Message BTR Available BT E
102. serial connections The Remote I O firmware uses the Xmodem protocol when you flash update its firmware Z Zero Data When communications are disrupted for example a cable is disconnected the adapter and drive can respond with zero data Zero data results in the drive receiving zero as values for command data If the drive was running and using the Reference from the adapter it will stay running but at zero Reference Glossary 7 Notes Glossary 8 Notes Numerics 20 COMMHR refer to adapter A adapter applying power to 2 8 commissioning 2 2 components 1 1 configuring with parameters 3 1 to 3 9 configuring with switches 2 2 connecting to the drive 2 6 connecting to the network 2 4 definition G 1 DPI port 2 6 features 1 2 grounding to drive 2 7 installing 2 1to 2 8 modes of operation 1 6 mounting on drive 2 7 resetting 3 8 tools to configure 3 1 troubleshooting 6 1to 6 6 applying power to the adapter 2 8 attentions 1 4 baud rate definition G 1 relation to cables 2 1 setting with a parameter 3 4 setting with switches 2 2 viewing 3 9 bit definitions for Logic Command Status word D 1 Block Transfer I O 4 5 Index Block Transfer messages control word 4 4 definition G 1 Explicit format 5 2 format 4 5 information about 5 1 read messages 5 4 status word 4 4 write messages 5 3 C cables and Remote I O plug 2 4 Internal Interface 2 6 relation to baud rate
103. set Module 2 SetDefaults 1 Reset Module When you enter 1 Reset Module the adapter will be immediately reset When you enter 2 Set Defaults the adapter will set all adapter parameters to their factory default settings but not reset The value of this parameter will be restored to 0 Ready after the adapter is reset or defaults are restored Number 1 Configuring the Adapter 3 9 Viewing the Adapter Configuration The following parameters provide information about how the adapter is configured and can be viewed at any time Name DPI Port Description The port on the drive to which the adapter is connected Usually it is port 5 2 DPI Data Rate The data rate used by DPI in the drive It will be either 125 kbps or 500 kbps It is set using a parameter in the drive and the adapter autobauds to the set DPI data rate RIO Addr Actual The rack address used by the adapter This will be one of the following values e The address set by the rotary switches e Thevalue of Parameter 3 RIO Addr Cfg if the switches have been disabled e An old address of the switches or parameter if they have been changed and the adapter has not been reset RIO Rate Actual The baud rate used by the adapter This will be one of the following values e The baud rate set by the DIP switches 7 and 8 e The value of Parameter 5 RIO Rate Cfg if the switches have been disabled e Anold baud rate of the
104. setting DIP switches 7 and 8 to On RIO Rate Actual Remote I O baud rate actually used by the adapter Ref Fdbk Size Size of the Reference Feedback The PowerFlex drive determines the size of the Reference Feedback Datalink Size Size of each Datalink word The PowerFlex drive determines the size of Datalinks Details Default Minimum Maximum Type Default Values Type Default Minimum Maximum Type Reset Required Default Minimum Maximum Type Default Values Type Reset Required Default Values Type Default Value Type Default Values Type ead Only 125 kbps 500 kbps ead Only oO mJ ooixm oo 63 decimal Read Write Yes 1 0 63 decimal Read Only 0 57 6 Baud 0 57 6 K Baud 1 115 2 K Baud 2 2304 K Baud Read Write Yes 0 57 6 K Baud 0 57 6 Baud 1 115 2 Baud 2 230 4 Baud Read Only 0 16 bit 0 16 bit 1 32 bit Read Only 0 16 bit 0 16 bit 1 32 bit Read Only 2 Adapter Parameters Parameter No Name and Description Details 09 Reset Module Default 0 Ready No action if set to Ready Resets the adapter if Values 0 Ready set to Reset Module Restores the adapter to its 1 Reset Module factory default settings if set to Set Defaults This 2 Set Defaults parameter is a command It will be reset to 0 Type Read Write Ready after a Reset Module co
105. switches or parameter if they have been changed and the adapter has not been reset Ref Fdbk Size The size of the Reference Feedback It will either be 16 bits or 32 bits It is set by the drive and the adapter automatically uses the correct size Datalink Size The size of the Datalinks It will either be 16 bits or 32 bits It is set by the drive and the adapter automatically uses the correct size DPI I O Active The Cmd Ref and Datalinks used by the adapter This value is the same as Parameter 12 DPI I O Config unless the parameter was changed and the adapter was not reset A 0 indicates the I O has been disabled A 1 indicates the I O has been enabled 210 Bit Definitions 0 011 0 Cmd Ref 1 L 1 Datalink A MM 2 Datalink B 3 Datalink C 4 Datalink D 5 Not Used 6 Not Used 7 Not Used Bit 7 6543 Default x xj x 0 0 24 Switches The status of the switches By default switches are enabled and the adapter is configured based on their settings If both SW 7 and SW 8 are On switches are disabled and the adapter is configured with values in parameters 3 5 25 26 and 27 3 10 Configuring the Adapter Notes Chapter 4 Using Discrete amp Block Transfer I O Chapter 4 provides information and examples about using I O to control a PowerFlex drive Topic Page Topic Page About I O 4 1 Ex
106. t using Discrete I O 1 0 and Block Transfer I O e Monitor or configure the product using Block Transfer Explicit Chapter 5 Messages Using Block Transfer Messaging Chapter 6 Troubleshooting Getting Started Modes of Operation The adapter uses three status indicators to report its operating status They can be viewed on the adapter or through the drive cover See Figure 13 Figure 1 2 Status Indicators location on drive may vary Powrerlex I Status Status Description Indicator PORT Green Normal Operation The adapter is properly connected and is communicating with the PowerFlex drive Flashing The adapter is in the process of establishing an I O Green connection to the PowerFlex drive or no I O connections are configured MOD Green Normal Operation The adapter is receiving I O from the controller Flashing Normal Operation The adapter is not transferring I O Green from the controller to the drive NETA Green Normal Operation The adapter is properly connected and is communicating with the controller on the network Flashing The adapter is properly connected but the controller is Green resetting in test mode in program mode or not properly configured to communicate with the adapter NETB Off Not used for Remote 1 0 If status indicators are off the adapte
107. tches 7 Reset Required Yes and 8 to On Set this parameter to 1 Enabled to indicate that a drive is the last rack 27 Rack Size Default 0 1 4 rack Rack size if the hardware switches have been Values 0 1 4 rack disabled The hardware switches are disabled by 1 1 2 rack setting DIP switches 7 and 8 to On Type Read Write Reset Required Yes CIP Objects Appendix C Appendix C presents information about the CIP Control amp Information Protocol Objects that can be accessed for Block Transfer messages For information on the format of Block Transfer messages and example ladder logic programs refer to Chapter 5 Using Block Transfer Messaging Topic Page CIP Services 1 Common Messages 2 DPI Device Object C4 DPI Parameter Object C 7 DPI Fault Object C 17 DPI Alarm Object C 19 DPI Time Object C 21 CIP Services The following CIP services work with most objects in this appendix Service Name Service Code Description Hexadecimal Decimal Get Attribute Single 0 0 14 Read a single attribute Set Attribute Single 0x10 16 Write to a single attribute 2 CIP Objects Common Messages The following table lists messages that are commonly used to view and edit information in a device Other messages can be sent using the values within each object listed values are in decimal
108. ted Throughout this manual we use notes to make you aware of safety considerations that can lead to personal injury or death property damage or economic ATTENTION Identifies information about practices or circumstances loss Attentions help you e identify a hazard e avoid the hazard e recognize the consequences Important Identifies information that is especially important for successful application and understanding of the product Shock Hazard labels may be located on or inside the drive to alert h people that dangerous voltage may be present Summary of Changes The information below summarizes the changes to this documentation since its last release The following changes were made Location Description of Changes Status Information and Data or Padding added to the list of Block Transfer Read messages 52 20 word BTW length added under Word 19 30 word BTW length added under Word 29 60 word BTW length added under Word 59 Refer to page 5 4 for a description of each word in a Block Transfer Read used for receiving an Explicit Message Response Word 0 Description changed to read The least significant byte contains the length of the Explicit Message The most significant byte is always zero This is the length of the actual 53 message in bytes not the size of the BTW in words This length excludes the two bytes of word 0 but includes words 1 and 2 and
109. ted by PowerFlex 7008 at time of publication 16 Read Parameter BYTE 0 No error Only Processing Error 1 Value is less than the minimum 2 Value is greater than the maximum UT CONTAINER is a 32 bit block of data that contains the data type used by a parameter value 2 3 Padding is used in the CONTAINER to ensure that it This value is used in the formulas used to convert the parameter value between display units and internal units Refer to Formulas for Converting on page C 10 Do NOT continually write parameter data to NVS Refer to the attention on page 5 1 is always 32 bits CIP Objects C 9 DPI Parameter Object Continued Descriptor Bit Definitions Bit Name 0 Data Type Bit 1 Data Type Bit 2 Description Right bit is least significant bit 0 000 BYTE used as an array of Boolean 001 WORD used as an array of Boolean 010 BYTE 8 bit integer 011 WORD 16 bit integer 100 DWORD 32 bit integer 2 Data Type Bit 3 101 TCHAR 8 bit not unicode or 16 bits unicode 110 REAL 32 bit floating point value 111 Use bits 16 17 18 3 Sign Type 0 unsigned 1 signed 4 Hidden 0 visible 1 hidden 5 Not a Link Sink 0 Parameter can sink a link 1 Parameter cannot sink a link 6 Not Recallable 0 Recallable from NVS 1 Not Recallable from NVS 7 ENUM 0 No ENUM text 1 ENUM text 8 Writable 0 Read only 1
110. the Network 2 4 Connecting the Adapter to the 2 6 Applying Power pie 2 8 Configuring the Adapter Configuration 3 1 Using the PowerFlex 3 2 Setting the Rack 3 3 Setting the Baud 3 4 Setting the Starting Module 3 4 Setting the Last 3 5 Setting the Rack 51 3 5 Setting the I O 3 6 Setting a Fault Action 3 7 Resetting the 3 8 Viewing the Adapter Configuration 3 9 Using Discrete amp Block Transfer I O Abo t I Q noster edat LP 4 1 Understanding the I O 4 2 Discrete I O 4 4 Block Transfer I O Image 4 5 Example Programs 20 0 0 0 cece eee eee eee eee 4 8 ControlLogix 4 9 PEC Examples y VUE 4 12 SEC Example reu e Se Ere SE 4 14 5 Chapter 6 Appendix Appendix Appendix D Glossary Index Using Block Transfer Messaging About Block
111. ting Started Safety Precautions Please read the following safety precautions carefully ATTENTION Risk of injury or equipment damage exists Only personnel familiar with drive and power products and the associated machinery should plan or implement the installation start up configuration and subsequent maintenance of the product using a Remote I O adapter Failure to comply may result in injury and or equipment damage 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 removed before installing or removing a Remote I O adapter ATTENTION Risk of injury or equipment damage exists DPI or SCANport host products must not be directly connected together via 1202 cables Unpredictable behavior due to timing and other internal procedures can result if two or more devices are connected in this manner ATTENTION Risk of injury or equipment damage exists If the Remote I O adapter is transmitting control I O to the product the product may fault when you reset the adapter Determine how your product will respond before resetting an adapter ATTENTION Risk of injury or equipment damage exists Parameters 10 Comm Flt Action and 11 Idle Flt Action let you determine the action of the adapter and connected PowerFlex drive if communications are disrupted By default these parameters fault the dr
112. to the drive using the ribbon cable e Apply power to the drive Flashing The adapter has failed the e Verify that the rack address switch setting is between 0 Red firmware test or the node and 77 address switch setting is e Clear faults in the adapter invalid e Cycle power to the drive e f cycling power does not correct the problem the parameter settings may have been corrupted Reset defaults and reconfigure the module e f resetting defaults does not correct the problem flash the adapter with the latest firmware release Solid The adapter has failed the e Cycle power to the drive Red hardware test e Replace the adapter Flashing The adapter is operational e Place the scanner in RUN mode Green butis not transferring e Program the controller to recognize and transmit I O to data the adapter e Configure the adapter for the program in the controller e Configure the adapter for the program in the controller e Normal behavior if no DPI I O is enabled Solid The adapter is operational je No Action Green transferring I O data NET A Status Indicator Status Cause Off The adapter is not powered or is not connected properly to the Remote I O network Troubleshooting 6 3 Corrective Actions Securely connect the adapter to the drive using the ribbon cable and to the Remote I O network using a Remote I O cable Correctly connect the Remote I O cable to the 3 pin Remote I O plug
113. tworks support baud rates of 57 6K 115 2K and 230 4K The baud rate that you use on a network depends on cable length Refer to Selecting Remote I O Cables in Chapter 2 for information on cables Block Transfer Messages A block transfer message is a data transfer mechanism that allows transfers of large amounts of data The 20 COMM R Remote I O adapter uses Block Transfer for two types of data Block Transfers that are 18 words or less in length are used to transfer I O data such as Reference Feedback and Datalink values These Block Transfers are often referred to as Block Transfer I O Block Transfers that are 20 30 or 60 words in length are used to transfer Explicit Messages that can access parameters and other data in a DPI device such as a PowerFlex drive These Block Transfers are often referred to as Block Transfer Messaging Block Transfer Messaging is often used to read and write several parameters per Explicit Message using the Get Attributes Scattered and Set Attributes Scattered services Size in Words Refer To 18 or fewer 1 0 Chapter 4 Using Discrete amp Block Transfer I O 20 30 0r60 Explicit Messaging Chapter 5 Using Block Transfer Messaging A Block Transfer Read BTR is initiated by the controller and contains no data The target device sends data in response to this request A Block Transfer Write BTW is initiated by the controller and contains data for the target device The target d
114. up Group 0 e Parameter 27 Rack Size 1 4 rack Scanner Settings for the Example Programs e Data files when used are pointed out in the examples Logic Command Status Words e These examples use the Logic Command word and Logic Status word for PowerFlex 70 and PowerFlex 700 drives Refer to Appendix D Logic Command Status Words to view these The definition of the bits in these words may vary if you are using a different DPI Host product Refer to the documentation for your DPI Host product End End Using Discrete amp Block Transfer I O 4 9 Figure 4 5 ControlLogix Main Routine Get the drive s logic status feedback and datalink outputs See Figure 4 6 for ControlLogix Block Transfer I O Read JSR Jump To Subroutine Routine Name BT IO Read This subroutine contains the user s control logic See Figure 4 7 for ControlLogix I O User Logic JSR Jump To Subroutine Routine Name IO UserLogic Send the logic command reference and datalink inputs to the drive See Figure 4 8 for ControlLogix Block Transfer Write JSR Jump To Subroutine Routine Name BT IO Write Perform messaging requests to the drive or peripherals See Figure 5 3 for ControlLogix Block Transfer Messaging JSR Jump To Subroutine Routine Name BT_Messaging Figure 4 6 ControlLogix Block Transfer I O Read Fetch the drive s Feedback and Datalink outputs and place in an arra
115. up the adapter 2 8 pre installation 2 1 Q quick start 1 5 R rack address definition G 5 setting with a parameter 3 3 setting with switches 2 2 viewing 3 9 rack size definition G 5 setting with a parameter 3 5 setting with switches 2 3 Rack Size parameter B 4 Ref Fdbk parameter B 1 Reference Feedback definition G 5 reference feedback enabling in the adapter 3 6 in Block Transfer I O 4 6 in discrete I O 4 4 viewing its size 3 9 regulatory compliance A 2 related documentation P 1 Remote I O adapter specifications A 1 cables 2 1 connecting the adapter to 2 4 connector on adapter 1 1 definition G 6 example network 2 4 plugs 2 4 termination resistors 2 5 Remote I O adapter refer to adapter required equipment 1 3 Reset Module parameter B 2 resetting the adapter 3 8 RIO Addr Actual parameter B 1 RIO Addr Cfg parameter B 1 RIO Rate Actual parameter B 1 RIO Rate Cfg parameter B 1 S safety precautions 1 4 scanner G 6 SLC example program for Block Transfer Messages 5 11 example program for I O 4 14 specifications A 1 Start RIO Group parameter B 4 starting module group definition G 6 setting with a parameter 3 4 setting with switches 2 3 status indicators definition G 6 locating 6 1 normal operation 1 6 storage temperature A 2 Index 5 switches DIP 2 3 disabling 2 3 location 1 1 rotary 2 2 viewing if active 3 9 Switches parameter B 4 T
116. y of 18 16 bit words lOBlockTransferRead en MSG 4 Type Block Transfer Read CEN iE Read the drive s Feedback word and place in Feedback tag Message Control lOBlockTransferRead 88 CDN _ 5 Read Datalink A outputs from the drive and place in respective tags Add similar rungs to use Datalinks B and D COP Copy File Source Dest DriveFeedback Length 1 Copy File Source DriveBTInputlmage 2 Dest DriveDatalinkA1Out Length 1 COP Copy File Source DriveBTInputlmage 4 Dest DriveDatalinkA2Out Length 1 Tag Name Type I O BlockTransferRead MESSAGE The 20CommR I AB RIO 4IOGROUP I 0 DriveLogicStatus INT DriveBTInputlmage INT 18 DriveFeedback INT DriveDatalinkA1Out INT DriveDatalinkA2Out INT Refer to Figure 4 3 for Block Transfer I O Image Layout 4 10 End Using Discrete amp Block Transfer I O Figure 4 7 ControlLogix I O User Logic Get the drive s Logic Status word COP Copy File Source 20 1 1 Dest DriveLogicStatus Length 1 Read Active Faulted and At Speed drive status bits and place in respective tags DriveLogicStatus 1 DriveStatusActive iE DriveLogicStatus 7 DriveStatusFaulted iE DriveLogicStatus 10 DriveStatusAtSpeed ME AL Transfer Start Stop Jog and Clear command tags into drive s output image Ad
117. y one adapter If more than one adapter is connected to a single drive the adapters must not attempt to use the same Datalink e Parameter settings in the drive determine the data passed through the Datalink mechanism Note that some parameters may not be allowed as Datalinks Refer to the documentation for your drive for more information e When a Datalink is used to change a value the value is not written to the Non Volatile Storage The value is stored in volatile memory and lost when the drive loses power Using Discrete amp Block Transfer I O 4 7 32 Bit Parameters using 16 Bit Datalinks To read and or write a 32 bit parameter using 16 bit Datalinks typically both Datalinks A B C D are set to the 32 bit parameter For example to read Parameter 09 Elapsed MWh both Datalink A1 and A2 are set to 9 Datalink A1 will contain the least significant word LSW and Datalink A2 the most significant word MSW In this example the parameter 9 value of 5 8MWh is read as a 58 in Datalink Al Datalink Most Least Significant Word Parameter Data decimal 9 A1 LSW 58 A2 MSW 9 0 Regardless of the Datalink combination x1 will always contain the LSW and x2 will always contain the MSW In the following examples Parameter 242 Power Up Marker contains a value of 88 4541 hours Example 1 Datalink Most Least Significant Word Parameter Data decimal A1 LSW 242 32573 A2 Not Used 0 0
Download Pdf Manuals
Related Search
Related Contents
D BEDIENUNGSANLEITUNG ∙ GB USER GUIDE F - Planet-RC Tripp Lite BP240V32 User's Manual MANUAL DE INSTALACIÓN Raidon GR5630-WSB3+ Cherry M82-24810 Copyright © All rights reserved.
Failed to retrieve file