Home

520COM-UM002 - Rockwell Automation

image

Contents

1. 25 COMM D PowerFlex 525 Frame A shown L Boo IE EA k e 29o 9 wont ad UUUUUUUUUUU 4 PowerFlex g Item Status Indicator Description Page U PORT DSI Connection Status 86 2 MOD Adapter Status 86 NET A DeviceNet Status 87 4 NET B Not used for DeviceNet Rockwell Automation Publication 520COM UM002A EN E April 2013 85 Chapter8 Troubleshooting PORT Status Indicator MOD Status Indicator 86 This red green bicolor LED indicates the status of the adapter s connection to the drive as shown in the table below Status Cause Off The adapter is not powered Corrective Actions Securely connect the adapter to the drive using the DeviceNet cable Apply power to the drive Flashing red The adapter is not receiving communication from the drive connected drive is faulted or a drive is missing in Multi drive mode e Clear any drive faults e Verify that cables are securely connected Cycle power to the drive Solid red The drive has refused an 1 0 connection from the adapter Another DSI peripheral is using the same DSI port as the adapter Important Cycle power to the drive after making the following correction Verify that all DSI cables are securely connected and not damaged Replace cables if necessary Flashing The adapter
2. M Configuration Communication Tag Name Single_Write_Message a Description Message Configuration Single_Write_Message Configuration Communication Tag Path DeviceNet_Scanner 2 1 Browse T l Type Message Configuration Single Write Message Data Type Broadel Scope Configuration Communication Tag _ Extemal Communic raa S Access UP Message Type CIP Generic lt l aea 2 Sibi el seve Sorene Ret O Eror Code Type STE Eror Path la Soucetengi 2 Tay paed Eror Text ae Class 93 Hex 7 Instance 41 Attribute 9 Hex i O Enable New Tag Tag L T Eror Code Eror Path Eror Text Enable Enable Wating Stat Done Done Length 0 L Eror Code Extended Eror Code E Timed Out c Eror Path Error Text k EEK Les Apv Lp J The following table identifies the data that is required in each box to configure message to write a single parameter Chapter 6 a Message Type CIP Generic Used to access the DPI Parameter Object in the adapter Service Type Write Attribute Single This service is used to Set a parameter value Service Code 10 Hex Code for the requested service Class 93 Class ID for the DPI Parameter Object Instance 41 Dec Instance number is the same as parameter number N Attribute 2 9 or A Hex Attribute number for the Parameter Value attribute Source Element Accel_Time_1 6 Name
3. DeviceNet DSI Controller Scanner Adapter Word and 1 0 Word0 _LogicC d Drive0 Z A PowerFlex Drive 0 Word1 Reference Drive 1 Word2 Logic Command P Flex Drive 1 a Word3 Reference aint by Output Word4 Logic Command Image De L E RE HRD PowerFlex Drive 2 Write Word5 Reference Drive 3 Word6 Logic Command P Flex Drive 3 HE Word7 Reference ila l Word8 Logic Command Drive4 L i Worda Referenc PowerFlex Drive 4 Word0 Logic Status a DriveQ L PowerFlex Drive 0 me Word1 Feedback K Word2 Logic Stat z Drivel aces Ee ee Lal PowerFlex Drive 1 Word3 Feedback Input lt j Image Drive2 p Deri ee La PowerFlex Drive 2 Read Word5 Feedback Word 6 Logic Status S Drive3 La PowerFlex Drive 3 Word7 Feedback Word8 Logic Status Drive4 PowerFlex Drive 4 Word9 Feedback M Message Message Handler Buffer Note Ifa daisy chained drive is disconnected from the RS 485 DSI network or powered down the Logic Status and Feedback words for the affected drive will be set to 0 The following parameters must be set in the daisy chained PowerFlex 4M drives and not in the master drive Parameter Value P106 Start Source 5 Comm Port P108 Speed Reference 5 Comm Port 302 Comm Data Rate 4 19 2K C303 Comm Node Addr 1 247 must be unique C306 Comm Format 0 RTU 8
4. Enter Search Text for Module Type Module Type Category Filters E Module Type Vendor Fiters E Analog 7 Allen Bradley V Communication 7 Advanced Micro Controls Inc AMCI Digital 7 Hardy Instruments Inc Other 2 Prosoft Technology Specialty W Spectrum Controls Inc Catalog Number Description Vendor Category 1769 Scanner DeviceNet Allen Bradley Communication MVI69 MVI 1763 Family Prosoft Technol Communication m U 2 of 54 Module Types Found Add to Favorites 7 Close on Create Create Close Help 3 In the list select the DeviceNet scanner used by your controller In this example we used a 1769 SDN DeviceNet scanner so the 1769 SDN option is selected 4 Click Create 5 In the select Major Revision pop up dialog box select the major revision of its firmware 6 Click OK The scanner s New Module dialog box appears New Module x Type 1769 SDN B 1769 Scanner DeviceNet Vendor Allen Bradley Name DeviceNet_Scanner Slot 1 Description 1769 SDN B lt Input Size 90 G2bit Output Sze 90 7 G2 i N e ET 7 pora Ps 7 l N haraa Rockwell Automation Publication 520COM UM002A EN E April 2013 Configuring the O Chapter 4 7 Edit the following Box Setting Name Aname to identify the scanner Description Optional description of the scanner Slot The slot of th
5. Parameter No Nameand Description Details 01 MultiDrv Sel Default 0 Disabled Sets the configuration of the drive that is in multi drive mode A Values 0 Disabled reset or power cycle is required after selection is made 1 Network Opt 2 EtherNet IP Type Read Only Reset Required No 02 DLs From Net Cfg Default 0 Sets the number of contiguous controller to drive Datalinks Minimum 0 additional parameters that are included in the network 1 0 Maximum 4 connection Logic Command and Reference are always included in the 1 0 connection This parameter controls how many of the Type 2 2 Read Write contiguous Host Opt Data Out x parameters four maximum Reset Required Yes are active For example if this parameter value is set to 4 then Host parameters C165 Opt Data Out 1 through C168 Opt Data Out 4 will be updated 03 DLs From Net Act Minimum 0 Displays the value of Device parameter 02 DLs From Net Cfg Maximum 4 at the time the drive was reset This is the number of actual Type Read Only contiguous controller to drive Datalinks that the drive is Reset Required No expecting l 04 DLs To Net Cfg Default 0 Sets the number of contiguous drive to controller Datalinks Minimum 0 additional parameters that are included in the network 1 0 T Maximum 4 connection Logic Status and Feedback are always included in s the 1 0 connection This parameter controls how many of the Type
6. Flashing green The adapter is in the process of establishing a connection to the drive This status indicator will turn solid green or red 2 MOD Green Normal operation The adapter is operational and is transferring 1 0 data Flashing green Normal operation The adapter is operational but is not transferring 1 0 data NET A Green Normal operation The adapter is properly connected and communicating on the network Flashing green The adapter is properly connected but is not communicating with any devices on the network 4 NETB Off Not used for DeviceNet 1 Ifall status indicators are off the adapter is not receiving power If any other conditions occur see Chapter 8 Troubleshooting Configuring Verifying Key Drive Parameters The PowerFlex 525 drive can be separately configured for the control and Reference functions in various combinations For example you could set the drive to have its control come from a peripheral or terminal block with the Reference coming from the network Or you could set the drive to have its control come from the network with the Reference coming from another peripheral or terminal block Or you could set the drive to have both its control and Reference come from the network Configuring the Host parameters can be done using the drive s keypad a HIM Logix Designer or Connected Components Workbench In the following example the drive will receive the Logic Co
7. Write Read Drive 0 Logic Command Drive 0 Logic Status Unused Unused Drive 0 Reference Drive 0 Feedback Drive 1 Logic Command Drive 1 Logic Status Drive 0 Reference Drive 1 Feedback Drive 2 Logic Command Drive 2 Logic Status Drive 2 Reference Drive 2 Feedback Drive 3 Logic Command Drive 3 Logic Status Drive 3 Reference Drive 3 Feedback Drive 4 Logic Command Drive 4 Logic Status Drive 4 Reference Drive 4 Feedback Rockwell Automation Publication 520COM UMO001A EN E April 2013 113 AppendixC DeviceNet Objects DPI Device Object Class Code Hexadecimal Decimal 0x92 146 Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single Instances The number of instances depends on the number of components in the device The total number of components can be read in Instance 0 Class Attribute 4 Instances Hex Instances Dec Single Drive Mode Multi Drive Mode 0x0000 0x3FFF 0 16383 Instances 0 1023 in the drive Instances 0 1023 in Drive 0 0x4000 0x43FF 16384 17407 Instances 0 1023 in the adapter Instances 0 1023 in the adapter 0x4400 0x47FF 17408 18431 DSI Instances 0 1023 in Drive 1 0x4800 0x4BFF 18432 19455 Option Instances 0 1023 in Drive 2 0x4C00 0x4FFF 19456 20479 Not supported Instances 0 1023 in Drive 3 0x5000 0x53FF 20480 21503 Not supported Instances 0 1023 in Dr
8. Drive_2_Command_Forward Drive_Output_Image 4 5 11 H E A COP 12 Copy File Source Drive_2_Reference Dest Drive_Output_Image 5 Length 1 Explicit Messaging Example Drive 2 parameters are accessed by adding 19456 decimal 4C00 hex to the desired parameter number For example to access parameter P109 an Instance of 19565 19456 109 is used Perform_Parameter_Read_2 SE 13 7 E Type CIP Generic EN Message Control Parameter_RD_Message_2 DN ER Perform_Parameter_Write_2 14 JE MSG EN d L Type CIP Generic lt Message Control Parameter_WR_Message_2 D ER RET 15 Return from Subroutine End Rockwell Automation Publication 520COM UM002A EN E April 2013 79 Chapter 7 80 Using Multi Drive Mode Drive 3 Control Routine Drive 3 Control Subroutine This section takes the data from the input area and moves it to specific tags Logic Status bits and Feedback for use elsewhere in the ladder program Drive_Input_Image 6 0 Drive_3_Status_Ready 0 AE Ic N Drive_Input_Image 6 1 Drive_3_Status_Active Drive_Input_Image 6 3 Drive_3_Status_Forward 2 JE gt Drive_Input_Image 6 7 Drive_3_Status_Faulted 3 JE Drive_Input_Image 6 8 Drive_3_Status_At_Reference 4 JE Ley COP 5 Copy File Source Drive_Input_Image 7 Dest Drive_3_ Feedback Length 1 This section take
9. Inhibit Module V Major Fault On Controller If Connection Fails While in Run Mode Module Fault Status Offline Gaa Cancel p Heb 9 Click OK The scanner is now configured for the DeviceNet network added to the RSLogix 5000 Logix Designer project and appears in the I O Configuration folder 5 VO Configuration E 1769 Bus G 0 1769 L36ERM v20_Example PowerFlex 52X sm S a Ethernet T 1769 L36ERM v20_Example_PowerFlex_52X In our example a 1769 SDN scanner appears under the I O Configuration folder with its assigned name For convenience keep the project open Later in this chapter the project will need to be downloaded to the controller Rockwell Automation Publication 520COM UM002A EN E April 2013 37 Chapter 4 38 Configuring the 1 0 Using RSNetWorx for DeviceNet Software to Configure and Save the 1 0 Configuration to the Scanner After adding the scanner to the I O configuration you must configure and save the I O to the scanner 1 Start RSNetWorx for DeviceNet software 2 From the File menu choose New to start a new configuration 3 From the Network menu choose Online to display the Browse for Network dialog box 4 Expand the communication path from your computer to the DeviceNet scanner The following dialog box shows our example navigating to devices on a DeviceNet network Depending on the communication link you are using the navigation path may be different Browse fo
10. Reproduction of the contents of this manual in whole or in part without written permission of Rockwell Automation Inc is prohibited Throughout this manual when necessary we use notes to make you aware of safety considerations WARNING Identifies information about practices or circumstances that can cause an explosion in a hazardous environment which may lead to personal injury or death property damage or economic loss ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you identify a hazard avoid a hazard and recognize the consequence SHOCK HAZARD Labels may be on or inside the equipment for example a drive or motor to alert people that dangerous voltage may be present BURN HAZARD Labels may be on or inside the equipment for example a drive or motor to alert people that surfaces may reach dangerous temperatures gt gt BIE IMPORTANT Identifies information that is critical for successful application and understanding of the product Allen Bradley Rockwell Automation Rockwell Software PowerFlex Studio 5000 and Connected Components Workbench are trademarks of Rockwell Automation Inc Trademarks not belonging to Rockwell Automation are property of their respective companies Overview Getting Started Installing the Adapter Configuring the Adapter Configuring the 1 0 Usi
11. Installing the Adapter Setting the Node Address and Data Rate Using the DIP Switches Switch Description Default SWT Least Significant Bit LSB of Node Address 1 Node 63 sw2 Bit 1 of Node Address 1 SW3 Bit 2 of Node Address 1 SW4 Bit 3 of Node Address 1 SW5 Bit 4 of Node Address 1 a T SW6 Most Significant Bit MSB of Node Address 1 J ar I I I SW7 Least Significant Bit LSB of Data Rate 1 Autobaud SW8 Most Significant Bit MSB of Data Rate 1 Node Address Switch Settings UP ON 1 Switch Setting Node Switch Setting Node SW1 sw2 sw3 sw4 sws swe Address sw1 sw2 sw3 sw4 Taws swe Address 0 0 0 0 0 0 0 0 0 0 0 0 1 32 1 0 0 0 0 0 1 1 0 0 0 0 1 33 0 1 0 0 0 0 2 0 1 0 0 0 1 34 1 1 0 0 0 0 3 1 1 0 0 0 1 35 0 0 1 0 0 0 4 0 0 1 0 0 1 36 1 0 1 0 0 0 5 1 0 1 0 0 1 37 0 1 1 0 0 0 6 0 1 1 0 0 1 38 1 1 1 0 0 0 7 1 1 1 0 0 1 39 0 0 0 1 0 0 8 0 0 0 1 0 1 40 1 0 0 1 0 0 9 1 0 0 0 1 41 0 1 0 1 0 0 10 0 1 0 0 1 42 1 1 0 1 0 0 11 1 1 0 0 1 43 0 0 1 1 0 0 12 0 0 1 0 1 44 1 0 1 1 0 0 13 1 0 1 0 1 45 0 1 1 1 0 0 14 0 1 1 0 1 46 1 1 1 1 0 0 15 1 1 1 0 1 47 0 0 0 0 1 0 16 0 0 0 0 1 1 48 1 0 0 0 1 0 17 1 0 0 0 1 1 49 0 1 0 0 1 0 18 0 1 0 0 1 1 50 1 1 0 0 1 0 19 1 1 0 0 1 1 51 0 0 1 0 1 0 20 0 0 1 0 1 1 52 1 0 1 0 1 0 21 1 0 1 0 1 1 53 0 1
12. Node Type Size Map f 01 Pow Polled 12 1 0 Data 0 0 Baal Unmap Advanced lt it ee Memory Discrete K Start DWord 0 4 1 0 Datal0l 01 PowerFlex 525 1P 240V _1 0HP 19 Dais 01 Powerflex 525 1P 240V_1 0HP 01 PowerFlex 525 1P 240V 1 0HP ets 31 0 TTT 1 0 Datal3 1 0 Datal4 1 0 Datal51 1 0 Datal6 1 0 Datal71 1 0 Datal81 ai oe ea te 24 Click OK Rockwell Automation Publication 520COM UM002A EN E April 2013 Configuring the O Chapter 4 If the Scanner Configuration dialog box appears asking to download these settings to the 1769 SDN scanner click Yes 25 From the File menu choose Save If this is the first time you saved the project the Save As dialog box appears a Navigate toa folder b Type a file name c Click Save to save the configuration as a file on your computer 26 When configuring the I O for additional PowerFlex 520 series drives on the network repeat steps 14 through 25 IMPORTANT When all Datalinks in each drive are used 6 DINTs of 1 0 per drive a maximum of 15 PowerFlex 520 series drives can be mapped This is due to the amount of 1 0 available in the 1769 SDN scanner which is a maximum of 90 DINTs Setting Datalinks in the Drive Optional After configuring the 1769 SDN scanner Datalinks if used must be set to parameters that are appropriate for your applic
13. ADR Automatic Device Replacement definition 131 limitation in multi drive mode 71 node address 25 B bridge definition 131 example 34 bus off 131 C cable DeviceNet 20 CAN Controller Area Network 131 catalog number 9 CIP Common Industrial Protocol 131 class 132 CompactLogix example program for multi drive mode 74 example program for single drive mode 51 example programs for Explicit Messages 57 58 63 65 formatting Explicit Messages 57 59 63 66 Connected Components Workbench 132 ControlFLASH 132 controller adding to the 1 0 configuration 34 definition 132 1 0 image 48 COS Change of State configuring a scanner for 42 configuring an adapter for 28 definition 131 cyclic configuring a scanner for 42 configuring an adapter for 28 Rockwell Automation Publication 520COM UM002A EN E Index definition 132 D data exchange Change of State COS 131 cyclic 132 polled 135 data rate definition 132 setting with a parameter 26 setting with the switches 16 17 Datalinks calculating Input Output byte sizes 43 definition 133 enabling to read write data 27 in 1 0 image 48 setting in the drive 45 using 49 DeviceNet cable 20 connector on adapter 9 definition 133 example network 34 objects 97 EDS Electronic Data Sheet files creating from an online device 39 definition 133 downloading from the Internet 40 events clearing 88 list of 89 v
14. Click Next to display the icon options for the node We recommend using the icon for the PowerFlex 520 series drive you can change icons by clicking Change icon Click Next to view a summary Click Next again to accept it Click Finish to finish creating the EDS file A new icon represents your PowerFlex 520 series drive and communications adapter appears in the RSNetWorx for DeviceNet graph view window Download the EDS File from the Internet Web Site Go to the website http www rockwellautomation com resources eds On the website search screen in the Network entry field enter the type of network for this example DeviceNet which enables the use of the other search fields In the Keyword entry field enter the type of PowerFlex 520 series drive for this example PowerFlex 525 noting that this field is space sensitive Click Search Due to the large number of EDS files this search may take seconds or up to several minutes On the search results screen in the Details amp Download Column click the Download hyperlink for the EDS file Click Save on the File Download screen to save the EDS file to an appropriate location on your computer Launch the EDS Hardware Installation Tool by clicking on the Microsoft Windows Start button and choose Programs gt Rockwell Software gt RSLinx Tools gt EDS Hardware Installation Tool Then follow the screen prompts to add the EDS file for use
15. Code for the requested service Class 938 Class ID for the DPI Parameter Object Instance 0 Dec Required for scattered messages Attribute 0 Hex Required for scattered messages Source Element Scattered_Read_Request Name of the tag for any service data to be sent from the scanner or bridge to the adapter drive Source Length 20 bytes Number of bytes of service data to be sent in the message Destination Scattered_Read_Response The tag where the data that is read is stored DeviceNet_Scanner 2 1 The path is the route that the message will follow TagTab _ ExampleValue Description Name Scattered_Read_Message The name for the message 1 The default setting for Service Type is Custom enabling entry of a Service Code not available from the Service Type pull down menu When choosing a Service Type other than Custom from the pull down menu an appropriate Hex value is automatically assigned to the Service Code box which is dimmed unavailable 2 Click Browse to find the path or type in the name of the device listed in the 1 0 Configuration folder for this example DeviceNet_Scanner Then always type in a comma followed by a 2 which is the DeviceNet scanner port followed by another comma then followed by the DeviceNet node number of the drive for this example 1 3 See Explicit Messaging Class Code Compatibility with PowerFlex 525 Drives on page 55 for limitations of PowerFlex 525 dri
16. or power cycle the drive so that the new values take effect Thereafter this parameter will be restored to a value of 0 Ready Rockwell Automation Publication 520COM UM002A EN E April 2013 Configuring the Adapter Chapter 3 Viewing the Ada pter Status The following Device parameters provide information about the status of the Using Parameters adapter You can view these parameters at any time using the PowerFlex 22 HIM A3 or 22 HIM C2S HIM or Connected Components Workbench DeviceNet Adapter Status Parameters Name 03 DLs From Net Act Description Displays the value of Device parameter 02 DLs From Net Cfg at the time the adapter was reset This is the number of actual contiguous controller to drive Datalinks that the adapter is expecting to receive from the controller 05 DLs To Net Act Displays the value of Device parameter 04 DLs To Net Cfg at the time the adapter was reset This is the number of actual contiguous drive to controller Datalinks that the controller is expecting to receive from the controller 06 Net Addr Src Displays the source from which the adapter s node address is taken This will be either the Node Address switches See Setting the Node Address and Data Rate Using the DIP Switches on page 16 or the value of Device parameter 07 Net Addr Cfg 08 Net Addr Act Displays the actual network node address used by the adapter which can be one of the following The
17. symbol next to the Ethernet controller 7 Note that two other RSLinx drivers Ethernet devices or Remote Devices through Linx Gateway may be used Use one of these drivers if the EtherNet IP Driver cannot see your drive After the adapter is configured the drive and adapter will be a single node on the network This section provides the steps needed to configure a simple EtherNet IP network In our example we will configure a 1769 L36ERM CompactLogix controller with 1769 SDN scanner to communicate with a drive using Logic Command Status Reference Feedback and eight Datalinks four to read and four to write over the network IP Address 192 168 1 3 Node 1 1769 L36ERM CompactLogix controller PowerFlex 525 drive with 25 COMM D with embedded EtherNet IP bridge DeviceNet adapter Frame A shown B es L Ethernet switch T Node 0 l 1769 SDN scanner DeviceNet Computer with Ethernet connection Adding the Controller to the 1 0 Configuration To establish communications between the controller and adapter over the network you must first add the CompactLogix controller and its embedded Ethe
18. 0 Output Size Bytes Heartbeat Rate 250 msec ees Restore I O Sizes a Select the type or types of data exchange Polled Change of State and or Cyclic For this example Polled was selected which we recommend Rockwell Automation Publication 520COM UM002A EN E April 2013 Configuring the O Chapter 4 b Enter the number of bytes that are required for your I O in the Input Size and Output Size boxes For the example in this manual all four Opt DL Out 1 4 and all four Opt DL In 1 4 are used resulting in an Input size of 12 and an Output size of 12 To determine the byte size for your application either view adapter Diagnostic Items 23 Input Size and 24 Output Size or calculate them View Diagnostic Items 23 and 24 for Input Output Byte Sizes Use the PowerFlex 4 Class HIM 22 HIM A3 or 22 HIM C2S or another drive configuration tool such as Connected Components Workbench to view Diagnostic Items 23 and 24 The adapter automatically calculates the number of bytes for the Input Size and Output Size based on the values of Device parameters 02 DLs From Net Cfg and 04 DLs To Net Cfg configured in Using Master Slave Hierarchy Optional on page 26 Calculate the Input Output Byte Sizes You can easily calculate the number of bytes for the Input size and Output Size Since the option module always uses the 16 bit Logic Command 16 bit Feedback 16 bit Logic Status and
19. 04 DLs To Net Cfg Sets the number of Datalinks used to write data from the network controller A Sets the number of Datalinks used to read data to the network controller Adapter Host Parameters P046 Start Source 1 4 Sets the input for Start Source 1 to 4 Network Opt P047 Speed Reference1 4 Sets the input for Speed Reference1 to 4 Network Opt 161 Opt Data In 1 52 Points to drive parameter P052 Average kWh Cost 162 Opt Data In 2 41 Points to drive parameter P041 Accel Time 1 C163 Opt Data In 3 42 Points to drive parameter P042 Decel Time 1 C164 Opt Data In 4 410 Points to drive parameter A410 Preset Freq 0 C165 Opt Data Out 1 45 Points to drive parameter P045 Stop Mode C166 Opt Data Out 2 41 Points to drive parameter P041 Accel Time 1 C167 Opt Data Out 3 42 Points to drive parameter P042 Decel Time 1 C168 Opt Data Out 4 410 Points to drive parameter A410 Preset Freq 0 TIP The PowerFlex 525 drive supports up to three control functions and three Reference functions There are several parameters in the drive that will override the start source and speed reference command if enabled For details on these parameters see the PowerFlex 525 drive s user manual publication 520 UMO001 The Host parameters Opt Data Out 1 4 are inputs into the drive that come from controller outputs data to write a drive parameter The Host parameters
20. 7 L Message Control Scattered_Read_Message ce ERT CompactLogix Formatting a Message to Read Multiple Parameters Scattered Read Message Configuration Screens Message Configuration Scattered_Read_Message Configuration Communication Tag Name Scattered_Read_Message Description Message Configuration Scattered Read Message x Configuration Communication Tag _ Path DeviceNet_Scanner 2 1 Browse nes ET cca ea er Data Type Broad Scope Configuration Communication Tag Ga Communica Access CIP Message Type CIP Generic lt O Enable Q nnn Service Custom Source Element Scattered Read Rec v Eror Code Type x Sa Conne Source Length 2 Bytes Service x Eror Text S 39 Hex Class 93 HEX Destination Scattered Read Res lt Element ________ Instance 0 Attribute 0 Hex Enable New Tag SSS Eror Code Eror Path Eror Text O Enable Enable Wating Stat O Done Done Length 0 O Eror Code Extended Eror Code T Timed Out Eror Path Eror Text a ime 63 Chapter 6 Using Explicit Messaging The following table identifies the data that is required in each box to configure a message to read multiple parameters Message Type CIP Generic Used to access the DPI Parameter Object in the adapter Service Type Custom Required for scattered messages Service Code 0x32 Hex
21. General Maer Faults Minor Faults Date Time Advanced SEC Execution Nonvolatile Memory Memory Intemet Protocol Port Configuration reen IP settings can be manually configured or can be automatically configured Subnet Mask 255 255 255 0 Gateway Address 0 0 0 0 Primary DNS Server Address s ks ua ua Secondary DNS ers L aD Gee L 5 3 Click OK The controller is now configured for the EtherNet IP network It appears in the I O Configuration folder In our example a 1769 L36ERM controller appears under the I O Configuration folder with its assigned name 5 8 UO Configuration 98 1769 Bus 0 1769 L36ERM v20_Example_PowerFlex_52X Gas Ethernet Ga 1769 L36ERM v20_Example_PowerFlex_52X Rockwell Automation Publication 520COM UM002A EN E April 2013 35 Chapter 4 36 Configuring the 1 0 Adding the Scanner to the 1 0 Configuration To establish communication between the controller and adapter over the network you must add the scanner to the I O configuration 1 In the treeview right click the 17698us icon under the I O Configuration folder and choose New Module The Select Module dialog box appears 7 29 VO Configuration jex 52X Ges Ethe Discover Modules fh Ex B Paste Ctrl V Print U 2 Select the Communication group to display all of the available communication modules tw iii Catalog Module Discovery Favorites
22. see Appendix B Adapter Parameters For definitions of terms in this chapter see the Glossary The adapter parameters can be configured using the drive keypad interface see page 23 or a PowerFlex 4 class HIM Human Interface Module see page 25 RSLogix 5000 Logix Designer Connected Components Workbench version 3 or greater and RSNetWorx for DeviceNet version 21 or greater can also be used to access the adapter parameters The following is an example of basic integral keypad and display functions This example provides basic navigation instructions and illustrates how to program a parameter IMPORTANT The DeviceNet adapter Device parameters can be accessed on the drive keypad via the N Network group Note that the parameters in the N group will appear offset from the Device parameter numbers referenced in this manual by 1000 decimal on the LCD display Rockwell Automation Publication 520COM UM002A EN E April 2013 23 Chapter 3 24 Configuring the Adapter Step When power is applied the last user selected Basic Display Group parameter number is briefly displayed with flashing characters The display then defaults to that parameters current value Example shows the value of b001 Output Freq with the drive stopped Press Esc to display the Basic Display Group parameter number shown on power up The parameter number will flash Press Esc to enter the parameter group list The
23. sometimes called allocation is the method that the adapter uses to exchange data on the DeviceNet network The adapter can be configured to use one of the following data exchanges e COS Change of State e Polled and COS e Cyclic e Polled and Cyclic 6 Polled If Polled and COS or Polled and Cyclic is used the adapter receives the I O from the polled messages It transmit its Logic Status and Feedback in COS or Cyclic messages Other data is transmitted in Polled messages Cyclic and Polled data exchanges are configured in the scanner so you only need to set the I O configuration in the adapter COS data exchange must be configured in both the adapter and the scanner You need to set the I O configuration and COS parameters in the adapter Using COS Change of State Data Exchange Optional Set Device parameter 11 COS Status Mask for the bits in the Logic Status word that should be checked for changes For the Logic Status bit definitions see Appendix D or the drive documentation 1 Edit any of the bits as required Value Description 0 Ignore this logic bit Default 1 Use the logic bit 2 Set Device parameter 12 COS Fdbk Change for the amount of change to the Feedback that is required to trigger a Change of State message The adapter is now configured for COS data exchange You must configure the scanner to allocate it using COS See Chapter 4 Configuring the I O Rockwell Automation Publication 5
24. version 3 or greater Rockwell Automation Publication 520COM UM002A EN E April 2013 11 Chapter1 Getting Started Safety Precautions Please read the following safety precautions carefully A 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 an adapter 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 drive using this DeviceNet adapter Failure to comply may result in injury and or equipment damage ATTENTION Risk of equipment damage exists The 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 see Guarding Against Electrostatic Damage publication 8000 4 5 2 ATTENTION Risk of injury or equipment damage exists If the adapter is transmitting control 1 0 to the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting the adapter ATTENTION Risk of injury or equipment damage exists Device parameters 15
25. 1 0 1 0 22 0 1 1 0 1 1 54 1 1 1 0 1 0 23 1 1 1 0 1 1 55 0 0 0 1 1 0 24 0 0 0 1 1 1 56 1 0 0 1 1 0 25 1 0 0 1 1 57 0 1 0 1 1 0 26 0 1 0 1 1 58 1 1 0 1 1 0 27 1 1 0 1 1 59 0 0 1 1 1 0 28 0 0 1 1 1 60 1 0 1 1 1 0 29 1 0 1 1 1 61 0 1 1 1 1 0 30 0 1 1 1 1 62 1 1 1 1 1 0 31 1 1 1 1 1 63 Rockwell Automation Publication 520COM UM002A EN E April 2013 Installing the Adapter Chapter 2 Data Rate Switch Settings UP ON 1 Switch Setting Data Rate SW 7 SWw8 0 0 125 kbps 1 0 250 kbps 0 1 500 kbps 1 1 Autobaud IMPORTANT Ifall switches are in the OFF position all 0 s then the Node Address and Data Rate are determined by parameter settings Device parameters 07 Net Addr Cfg and 09 Net Rate Cfg Setting Single Drive or Multi Drive Mode To select between Single Drive or Multi Drive mode see Parameter Configuration for Multi Drive Mode on page 73 Connecting the Adapter to ATTENTION Risk of injury or death exists The PowerFlex drive may contain the Drive A N high voltages that can cause injury or death Remove power from the drive and then verify power has been discharged before connecting the DeviceNet adapter to the network 1 Remove power from the drive 2 Use static control precautions 3 Separate the drive s control module from the power module a Press and hold down the catch on both sides of the frame cover then pullout and swing up
26. 13 7 E Type CIP Generic EN Message Control Parameter_RD_Message_1 ON ER Perform_Parameter_Write_1 14 JE MSG EN d L Type CIP Generic lt Message Control Parameter_WR_Message_1 ON LER RET 15 Return from Subroutine End Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Multi Drive Mode Chapter 7 Drive 2 Control Routine Drive 2 Control Subroutine This section takes the data from the input area and moves it to specific tags Logic Status bits and Feedback for use elsewhere in the ladder program Drive_Input_Image 4 0 Drive_2_Status_Ready 0 Je JIC Ne Drive_Input_Image 4 1 Drive_2_Status_Active Drive_Input_Image 4 3 Drive_2_Status_Forward 2 JE gt Drive_Input_Image 4 7 Drive_2_Status_Faulted 3 JE Drive_Input_Image 4 8 Drive_2_Status_At_Reference 4 JE Ley COP 5 Copy File Source Drive_Input_Image 5 Dest Drive_2_ Feedback Length 1 This section takes the data from specific tags Logic Command bits and Reference and moves them to the output image area for transmission to the scanner Drive_2_Command_Stop Drive_Output_Image 4 0 6 IE a aE Drive_2_Command_Start Drive_Output_Image 4 1 7 FE K IC X Drive_2_Command_Jog Drive_Output_Image 4 2 8 FE 5 Ic e Drive_2_Command_Clear_Faults Drive_Output_Image 4 3 9 SD lt CS ALG Drive_2_Command_Forward Drive_Output_Image 4 4 10 JE
27. C175 DSI 1 0 Cfg 4 Drive 0 4 5 drives on 1 node C171 Drv 1 Addr 1 Modbus address of Drive 1 172 Drv 2 Addr 2 Modbus address of Drive 2 173 Drv 3 Addr 3 Modbus address of Drive 3 174 Drv 4 Addr 4 Modbus address of Drive 4 1 The settings for these parameters must match the node address settings in the respective daisy chained drives Drive 1 4 PowerFlex 4M Settings for the Example Program in all drives The following parameters are set Com pa ctLogix Example Using The following common Tags are used Generic Profile 74 Value Parameter Drive 1 Drive 2 Drive 3 Drive 4 P106 Start Source 5 5 5 5 P108 Speed Reference 5 5 5 5 302 Comm Data Rate 4 4 4 4 303 Comm Node Addr 1 2 3 4 304 Comm Loss Action 0 0 0 0 305 Comm Loss Time 5 05 5 05 5 05 5 05 306 Comm Format 0 0 0 0 IMPORTANT Cycle drive power after making these settings Tag Name Type Description Local 1 0 AB 1769_SDN_364Bytes 0 0 1769 SDN 1 0 Local 1 1 AB 1769_SDN_496Bytes I 0 Accel_Time_1 INT Drive_Input_Image INT 10 Input Image Table Drive_Output_Image INT 10 Output Image Table Rockwell Automation Publication 520COM UM002A EN E April 2013 The following Tags are used for Drive 0 Using Multi Drive Mode Chapter 7 Tag Name Type Description Drive_0_Command_Stop BOOL Logic Command bit 0 STOP Drive_0_Command_ Start BO
28. Commissioning the Adapter on page 15 Apply power to the drive The adapter receives its power from the connected drive and network Ifthe parameter settings for the data rate and node address are to be used a configuration tool such as Connected Components Workbench version 3 or greater can be used to adjust the respective parameters in the adapter See Chapter 3 Configuring the Adapter Start Up Status Indication After power has been applied the status indicators can be viewed on the front of the drive When you apply power to the product and network for the first time Rockwell Automation Publication 520COM UM002A EN E April 2013 Installing the Adapter Chapter 2 the status indicators should be green after an initialization If the status indicators go red there is a problem See Chapter 8 Troubleshooting Drive and Adapter Status Indicators 25 COMM D PowerFlex 525 Frame A shown L i I g F 29 loc PowerFlex Annanonnan EJN J gt if E gt D BBS CD Item Status Indicator Status Description 1 PORT Green Normal operation The adapter is properly connected and is communicating with the drive
29. E April 2013 Adapter ADR Automatic Device Replacement Bridge Bus Off CAN Controller Area Network Change of State COS I O Data Exchange CIP Common Industrial Protocol Glossary The following terms and abbreviations are used throughout this manual For definitions of terms not listed here see the Allen Bradley Industrial Automation Glossary publication AG 7 1 Devices such as drives controllers and computers usually require an adapter to provide a communication interface between them and a network such as DeviceNet An adapter reads data on the network and transmits it to the connected device It also reads data in the device and transmits it to the network The 25 COMM D DeviceNet adapter connects PowerFlex 525 drives to a DeviceNet network Adapters are sometimes also called cards embedded communication options modules and peripherals A means for replacing a malfunctioning device with a new unit and having the device configuration data set automatically The DeviceNet scanner is set up for ADR using RSNetWorx for DeviceNet software The scanner uploads and stores a device s configuration Upon replacing a malfunctioning device with a new unit node 63 the scanner automatically downloads the configuration data and sets the node address A network device that can route messages from one network to another A bridge also refers to a communications module in a ControlLogix or CompactLogix
30. Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single Instances Instance Description 1 Status Data All 1 0 data being read from the DSI device read only 2 Command Data All 1 0 data written to the DSI device read write Class Attributes Attribute ID AccessRule Name Data Type Description 1 Get Revision UINT 2 2 Get Max Instance UINT 2 100 Set Control Timeout UINT Control timeout in seconds Instance Attributes Attribute ID Access Rule Name Data Type Description 1 Get Number of Members UINT 1 2 Get Members List ARRAY of STRUCT UINT Size of member data UINT Size of member path Packed EPATH Member path 3 Get Conditional Array of Bits Data to be transferred 4 Get Size UINT Size of assembly data in bits 1 for instance 1 access rule for the data attribute is Get For instance 2 it is Get Set IMPORTANT Rockwell Automation Publication 520COM UMO001A EN E April 2013 Setting instance attribute 3 can be done only when the Control Timeout class attribute 100 has been set to a non zero value Connection Object DeviceNet Objects Appendix C Class Code Hexadecimal Decimal 0x05 5 Services Implemented for Service Code Class Instance Service Name Ox0E No J Yes Get_Attribute_Single 0x10 No Yes Set_Attribute_Single 1 This service does not support class access Instances Instance Description 1 Maste
31. Network on page 70 The first drive must be a PowerFlex 525 drive The remaining drives can be any PowerFlex drive which supports Multi drive IMPORTANT For the examples in the chapter we will use the PowerFlex 525 as a Master drive with four daisy chained PowerFlex 4M drives Multi Drive Mode Example for Network Up to 5 drives per node Up to four daisy chained PowerFlex drives PowerFlex 4M shown CT PowerFlex 525 an 7 06 S N O0 d i 00O S y 000 N e as master drive Rey E PAE E TE will er er ea Poaniet E PowerFiex Powerfiex PowerFiex Powerflex Gt a ag TSTS TS TSTS TS ISS LST TN Weee N Ale oy W RS 485 cable DeviceNet AK U0 RJ45 TB2P AK U0 RJ45 TB2P connector with AK U0 RJ45 TB2P connector with terminating resistor 120 Q terminating resistor 120 Q Benefits of Multi drive mode include s Lower hardware costs No need to purchase additional communication adapters for daisy chained drives e Reduces the network node count For example in Single drive mode 30 drives would consume 30 nodes In Multi drive mode 30 drives can be connected in 6 nodes e Controller can control monitor and read write parameters for all five drives The trade offs of Multi drive mode include e Ifthe PowerFlex 525 with DeviceNet adapter is powered down the
32. Opt Data In 1 4 are outputs from the drive that go to controller inputs data to read a drive parameter Controller Tags When you add the adapter and drive to the I O configuration Chapter 4 Logix Designer automatically creates generic non descriptive controller tags In this example program the following controller tags are used CompactLogix Controller Tags for Drive Generic Profile Ladder Logic Program Example Name 8 Value Kl Data Type Description T Local 1 0 AB 1769_SDN T Local 1 AB 1769_SDN You can expand the Output and Input tags to reveal the output and input configuration see CompactLogix Controller Tags for Drive Generic Profile Ladder Logic Program Example on page 51 For this example the Input tag requires three 32 bit words of data and the Output tag requires three 32 bit words of data This corresponds to six 16 bit words of data for input and six 16 bit words of data for output because the 1769 SDN is a 32 bit device Rockwell Automation Publication 520COM UM002A EN E April 2013 51 Chapter5 Using the 1 0 Program Tags In our example program we will create 16 bit INT integer arrays for program tags and use Copy instructions to move this data to and from the 32 bit DINT double integer 1769 SDN scanner I O tags To use the Controller tags that are automatically created you need to create the following Program tags for this example prog
33. Parameter Object 0x93 Yes with limitations Single and scattered parameter reads write DeviceNet Object Class Code Parameter Object 0x0F Rockwell Automation Publication 520COM UM002A EN E April 2013 55 Chapter6 Using Explicit Messaging Performing Explicit Messaging CompactLogix Examples 56 There are five basic events in the Explicit Messaging process The details of each step will vary depending on the type of controller being used See the documentation for your controller IMPORTANT There must be a request message and a response message for all Explicit Messages whether you are reading or writing data Explicit Messaging Process 9 Set up and send Explicit Message Request Complete Explicit Message ele L 6 Retrieve Explicit peo Message Response 2 Network Event Description Oo You format the required data and set up the ladder logic program to send an Explicit Message request to the scanner or bridge module download The scanner or bridge module transmits the Explicit Message Request to the slave device over the network The slave device transmits the Explicit Message Response back to the scanner The data is stored in the scanner buffer The controller retrieves the Explicit Message Response from the scanner s buffer upload IG The Explicit Mes
34. Revision 2 Read Maximum Instance 3 Read Number of Instance 100 Read Write Timeout Instance Attributes Attribute ID AccessRule Name DataType Description 1 Get Bad Flag BOOL If set to 1 then attribute 4 may contain invalid data 0 good 1 bad 2 Get Direction BOOL Direction of data transfer 0 Produce Register drive to network 1 Consume Register network to drive 3 Get Size UINT Size of register data in bits 4 Conditional Data Array of Bits Data to be transferred 1 The access rule of Set is optional if attribute 2 Direction 1 If Direction 0 the access rule is Get IMPORTANT Setting the Data instance attribute can be done only when the Control Timeout class attribute 100 has been set to a non zero value Rockwell Automation Publication 520COM UMO001A EN E April 2013 105 AppendixC DeviceNet Objects Parameter Object Class Code Hexadecimal Decimal Ox0F 15 Services Implemented for Service Code Class Instance Service Name 0x01 Yes Yes Get_Attribute_All 0x05 Yes No Reset Ox0E Yes Yes Get_Atribute_Single 0x10 No Yes Set_Attribute_Single 0x4B No Yes Get_Enum_String Instances Single Drive Instance Description 0 Class 1 Drive Parameter 1 n Drive Parameter n n 1 Adapter Parameter 1 n m Adapter Parameter me 1 n represents the number of parameters in the drive 2 m represents the number of parameters in th
35. The following table identifies the data that is required in each box to configure a message to write multiple parameters Message Type CIP Generic Used to access the DPI Parameter Object in the adapter Service Type Custom Required for scattered messages Service Code 0x34 Hex Code for the requested service Class 93 Class ID for the DPI Parameter Object Instance 0 Dec Required for scattered messages Attribute 0 Hex Required for scattered messages Source Element Scattered _Write_Request Name of the tag for any service data to be sent from the scanner or bridge to the adapter drive Source Length 20 bytes Number of bytes of service data to be sent in the message Destination Scattered_Write_Response The tag where the data that is read is stored Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Explicit Messaging Chapter 6 DeviceNet_Scanner 2 1 The path is the route that the message will follow Scattered_Write_Message The name for the message 1 The default setting for Service Type is Custom enabling entry of a Service Code not available from the Service Type pull down menu When choosing a Service Type other than Custom from the pull down menu an appropriate Hex value is automatically assigned to the Service Code box which is dimmed unavailable 2 Scattered writes always write parameter values to the drive s Non Volatile Storage EEPROM memory so these va
36. address and transmits data on the network at the same data rate A cable is used to connect devices on the network It contains both the signal and power wires Devices can be connected to the network with drop lines in a daisychain connection or a combination of the two General information about DeviceNet and the DeviceNet specification are maintained by the Open DeviceNet Vendor s Association ODVA ODVA is online at http www odva org Simple text files that are used by network configuration tools such as RSNetWorx for DeviceNet software to describe products so that you can easily commission them on a network EDS files describe a product device type and revision EDS files for many Allen Bradley products can be found at http www ab com networks eds Explicit messages are used to transfer data that does not require continuous updates They are typically used to configure monitor and diagnose devices over the network A fault action determines how the adapter and connected drive act when a communications fault for example a cable is disconnected occurs or when the controller is switched out of run mode The former uses a communications fault action and the latter uses an idle fault action When communications are disrupted for example a cable is disconnected the adapter and its PowerFlex 525 drive can respond with a user defined fault configuration The user sets the data that is sent to the drive using specific faul
37. address set with the Node Address switches See Setting the Node Address and Data Rate Using the DIP Switches on page 16 The value of Device parameter 07 Net Addr Cfg An old address from the switches or parameter If either has been changed but the adapter has not been reset the new address will not be in effect 10 Net Rate Act Displays the actual network data rate being used by the adapter which can be one of the following The data rate set by the data rate switches See Setting the Node Address and Data Rate Using the DIP Switches on page 16 The value of Device parameter 09 Net Rate Cfg An old data rate of the switch or parameter If either has been changed but the adapter has not been reset the new data rate will not be in effect Updating the Ada pter The adapter firmware can be updated over the network or through a direct Firmware connection from a computer to the drive using a USB cable When updating firmware through a direct USB connection from a computer to a drive you will use the USB utility application B PowerFlex 520 Series USB Application Drive 14 PowerFlex 525 1P240V SOHP Only one control module can be connected via USB at any time Peripheral Upload Upload a configuration from the drive or peripheral Download Download a configuration to the drive or peripheral Fash Flash the drive or peripheral To obtain the latest version of Connected Componen
38. be limited Default parameter values must be loaded to clear this condition 5 App Updated The adapter application firmware was flash updated 6 Boot Updated The adapter boot firmware was flash updated 7 Watchdog Timeout The software watchdog detected a failure and reset the adapter DSI Events 10 DSI Detected The adapter detected that the DSI device is connected 11 DSI Removed The adapter detected that the DSI device was disconnected 12 DSI Logon The adapter has established communications with the DSI device 13 DSI Timeout The adapter has lost communications with the DSI device 14 DSI Brand Flt The brand of the DSI device is different from the adapter 15 Host 0 Logon The adapter has established communications with host 0 16 Host 1 Logon The adapter has established communications with host 1 17 Host 2 Logon The adapter has established communications with host 2 18 Host 3 Logon The adapter has established communications with host 3 19 Host 4 Logon The adapter has established communications with host 4 20 Host 0 Timeout The adapter has lost communications with host 0 21 Host 1 Timeout The adapter has lost communications with host 1 22 Host 2 Timeout The adapter has lost communications with host 2 23 Host 3 Timeout The adapter has lost communications with host 3 24 Host 4 Timeout The adapter has lost communications with host 4 25 Host 0 Brand Flt Th
39. data sent to the drive remains unchanged 2 Zero Data The drive is sent 0 values for all Reference and Datalink data This does not command a stop 3 Hold Last The drive continues in its present state 4 Send Flt Cfg The drive is sent the Reference and Datalink data that you set in the fault configuration parameters Device parameters 17 Flt Cfg Logic 18 Flt Cfg Ref and 19 Fit Cfg DL 1 through 22 Flt Cfg DL 41 Changes to these parameters take effect immediately A reset is not required If Multi Drive mode is used the same fault action is used by the adapter for all of the drives it controls Drive 0 4 Setting the Fault Configuration Parameters When setting Device parameters 15 Comm Flt Actn and 16 Idle Flt Actn to 4 Send Flt Cfg the values in the following parameters are sent to the drive after a communications fault and or idle fault for drive control fault occurs You must set these parameters to values required by your application Device Parameter Description 17 Flt Cfg Logic A 16 bit integer value sent to the drive for Logic Command 18 Fit Cfg Ref A 16 bit integer value sent to the drive for Reference 19 Flt Cfg DL 1 through A 16 bit integer value sent to the drive for a Datalink 22 Flt Cfg DL 4 Changes to these parameters take effect immediately A reset is not required Rockwell Automation Publication 520COM UM002A EN E April 2013 29 Chapter3 Configuring the Adapter Re
40. is establishing an 1 0 green connection to the drive or Host parameter C175 DSI 1 0 Config is configured for all 1 0 disabled e No Action This status indicator will turn solid green or red Verify Host parameter C175 DSI 1 0 Config settings Normal behavior if no DSI 1 0 is enabled Solid green The adapter is properly connected and is communicating with the drive No Action Orange Daisy chained drives in Multi drive mode are not all Allen Bradley drives PowerFlex 525 4 40 Use Allen Bradley PowerFlex 525 4 40 s for the daisy chained drives This red green bicolor LED indicates the status of the option module as shown in the table below Status Cause Off The adapter is not powered or is not connected properly to the drive Corrective Actions Securely connect the adapter to the drive using the DeviceNet cable Apply power to the drive Flashing red The adapter has failed the firmware test connected drive is faulted or a drive is missing in Multi drive mode e Clear any drive faults Cycle power to the drive e If cycling power does not correct the problem the parameter settings may have been corrupted Reset defaults and reconfigure the adapter If resetting defaults does not correct the problem flash the adapter with the latest firmware release e For Multi drive mode determine which drive is missing or faulted Check cabling and configuration settings see Chapte
41. of the tag for any service data to be sent from the scanner or bridge to the adapter drive Source Length 2 bytes Number of bytes of service data to be sent in the message Destination Leave blank not applicable DeviceNet_Scanner 2 1 The path is the route that the message will follow TagTab _ ExampleValue Description Name Single_Write_Message The name for the message 1 The default setting for Service Type is Custom enabling entry of a Service Code not available from the Service Type pull down menu When choosing a Service Type other than Custom from the pull down menu an appropriate Hex value is automatically assigned to the Service Code box which is dimmed unavailable Setting the Attribute value to 9 will write the parameter value to the drive s Non Volatile Storage EEPROM memory so the parameter value will remain even after the drive is power cycled Important When set to 9 be very cautious as the EEPROM may quickly exceed its life cycle and cause the drive to malfunction Important If you need to make frequent parameter changes using Explicit Messages set Host parameter C121 Comm Write Mode to 1 RAM only Click Browse to find the path or type in the name of the device listed in the 1 0 Configuration folder for this example DeviceNet_Scanner Then always type in a comma followed by a 2 which is the DeviceNet scanner port followed by another comma then followed by the D
42. receiving 1 0 from a scanner For example there is no scanner on the network the scanner is in idle program mode the scanner is faulted or the adapter is not mapped to the scanner The value of N42 3 is set to a non zero value Write Read N41 0 Logic Command Word Logic Status Word N41 1 Unused Unused N42 2 Reference Feedback N42 This N file lets you read and write some values configuring the port N42 3 Time out read write Time in seconds allowed between messages to the N41 or N44 file If the adapter does not receive a message in the specified time it performs the fault action configured in parameter 143 EN Comm Fit Actn N42 7 Adapter Port Number read only DSI port on the drive to which the adapter is connected 42 8 Peer Adapters read only Bit field of devices having DPI Peer capabilities Rockwell Automation Publication 520COM UMO001A EN E April 2013 DeviceNet Objects Appendix C N Files Multi Drive N File N44 N44 0 N44 1 N44 2 N44 3 N44 4 N44 5 N44 6 N44 7 N44 8 N44 9 N44 10 Description This N file lets you read and write control 1 0 messages You can write control 1 0 messages only when all of the following conditions are true The adapter is not receiving 1 0 from a scanner For example there is no scanner on the network the scanner is in idle program mode the scanner is faulted or the adapter is not mapped to the scanner The value of N42 3 is set to a non zero value
43. set to 4 Send Fit Cfg and the controller is idle 19 Fit Cfg DL 1 Default 0 20 Fit Cfg DL 2 Default 0 21 Fit Cfg DL 3 Default 0 22 Fit Cfg DL 4 Default 0 Sets the data that is sent to the Datalink in the drive if any of the Minimum 0 as is true TT Maximum 4294967295 Device parameter omm ctn is set to 4 Send Flt 5 n Cfg and the 1 0 Communication is disrupted Ae Required oe e Device parameter 16 Idle Flt Actn is set to 4 Send Fit Cfg l and the controller is set into Program or Idle mode 23 DSI 1 0 Act Values 0 Drive 0 Actv Indicates which drives the 25 COMM D is communicating with in both single drive and multi drive modes Rockwell Automation Publication 520COM UM002A EN E April 2013 Type Reset Required 1 Drive 1 Actv 2 Drive 2 Actv 3 Drive 3 Actv 4 Drive 4 Actv Read Only No Supported Data Types Appendix C DeviceNet Objects Appendix C presents information about the DeviceNet objects that can be accessed using Explicit Messages For information on the format of Explicit Messages and example ladder logic programs see Chapter 6 Using Explicit Messaging Object Class Code Page Object Class Code Page Hex Dec Hex Dec Identity Object 0x01 1 98 PCCC Object 0x67 103 111 Assembly Object 0x04 14 100 DPI Device Object 0x92 146 114 Connection Object 0x05 5 101 DPI Parameter Obje
44. set to French 29 Use Zero Text If the Disallow Zero bit is set this bit must be cleared If the Disallow Zero bit is cleared then 0 Use Disabled Text parameter class attribute 1 Use Zero Text parameter instance attribute 30 31 Reserved Reserved Rockwell Automation Publication 520COM UMO001A EN E April 2013 121 Appendix C 122 DeviceNet Objects Formulas for Converting Display Value Internal Value Offset x Multiplier x Base Divisor x 10 Decimal Places Internal Value Display Value x Divisor x 10 Pec Places Multiplier x Base Offset Common Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single Object Specific Services Implemented for Class Service Code Instance 0x32 Service Name Get_Attributes_ Scattered Allocation Size in bytes Par Number Par Value 0x34 Yes Yes Set_Attributes Scattered 4 4 The table below lists the parameters for the Get_Attributes_Scattered and Set_Attributes_Scattered object specific service Name Data Type Description Parameter to read or write Parameter Number UDINT Parameter Value UDINT The response data appears in the following format Name Data Type Description Parameter read or write Parameter Number UDINT Parameter value write zero when reading Parameter Valu
45. the makeup of the I O connection in a running system The I O connection with the controller must first be disabled to allow changes to the respective Datalinks Depending on the controller being used the I O connection can be disabled by e Inhibiting the module in RSLogix 5000 Logix Designer e Putting the controller in Program mode e Placing the scanner in idle mode e Disconnecting the drive from the network The example ladder logic programs in the sections of this chapter are intended for PowerFlex 525 drives Functions of the Example Programs The example programs enable you to s Receive Logic Status information from the drive e Senda Logic Command to control the drive start stop e Send a Reference to the drive and receive Feedback from the drive e Send receive Datalink data to from the drive Logic Command Status Words These examples use the Logic Command word and Logic Status word for PowerFlex 525 drives See Appendix D Logic Command Status Words PowerFlex 525 Drives to view details Rockwell Automation Publication 520COM UM002A EN E April 2013 CompactLogix Example Using thel 0 Chapter 5 Creating Ladder Logic Using the Logix Designer Generic Profile all versions Adapter Parameter Settings for CompactLogix Controller Example These adapter settings were used for example ladder logic program in this section Parameter Value Description Adapter Device Parameters A 02 DLs From Net Cfg
46. with your project Reboot the computer and repeat steps 1 through 7 at the beginning of this subsection The Unrecognized Device icon in the RSNetWorx for DeviceNet graph view window should have been replaced by a drive icon for this example the icon for a PowerFlex 525 drive Rockwell Automation Publication 520COM UM002A EN E April 2013 Configuring the 1 0 Chapter 4 9 In the graph view window right click the 1769 SDN icon and choose Properties to display its properties dialog box BY 1769 SDN Scanner Module amA R 1769 SDN Scanner Module General Module Scaniist Input Output ADR Summary Name 1769 5DN Scanner Module Description b a Address 0 La Device Identity Primary Vendor Rockwell Automation Allen Bradley 1 Type Communications Adapter 12 Device 1769 SDN Scanner Module 105 Revision 4 004 Catalog 1763 SDN SIS Cre J 10 Click the Module tab to display the Scanner Configuration dialog box 11 Click Upload to upload the 1769 SDN scanner configuration to the RSNetWorx for DeviceNet project and display the Module tab of the 1769 SDN Scanner Module dialog box BY 1769 SDN Scanner Module 2 isl General Module Scaniist Interscan Delay Foreground to Input Output ADR Summary Background Poll Ratio i0 msec _ Upload from Scanner p 2 Download to Scanner Module
47. write 9 Logic Status and Feedback 3 read only 10 Logic Command and Reference 3 read write 11 Logic Status and Feedback 4 read only 12 Logic Command and Reference 4 read write 13 Logic Command all drives Masked read write 14 Logic Command 0 Masked read write 15 Logic Command 1 Masked read write 16 Logic Command 2 Masked read write 17 Logic Command 3 Masked read write 18 Logic Command 4 Masked read write 19 Logic Status 0 read only 20 Logic Command 0 read write 21 Feedback 0 read only 22 Reference 0 read write 23 Logic Status 1 read only 24 Logic Command 1 read write 25 Feedback 1 read only 26 Reference 1 read write 27 Logic Command 2 read write 28 Logic Status2 read only 29 Reference 2 read write 30 Feedback 2 read only 31 Logic Command 3 read write 32 Logic Status 3 read only 33 Reference 3 read write 34 Feedback 3 read only 35 Logic Command 4 read write 36 Logic Status 4 read only 37 Reference 4 read write 38 Feedback 4 read only 1 The mask command DWORD is set to the value of the first DWORD of the data where there are ones in the second DWORD of the data Only the bits of the Logic Command that have the corresponding mask bit set are applied 104 Rockwell Automation Publication 520C0M UM001A EN E April 2013 DeviceNet Objects Appendix C Class Attributes Attribute ID Access Rule Description 1 Read
48. 11 A413 Preset Freq 3 X MOP Decrement 0 Not MOP Decrement 1 MOP Decrement 1 A Not Stop condition logic bit 0 0 must first be present before a 1 Start condition will start the drive 2 A Not Stop condition logic bit 0 0 must first be present before a 1 Jog condition will jog the drive A transition to a 0 will stop the drive 3 To perform this command the value must switch from 0 to 1 Rockwell Automation Publication 520COM UM002A EN E April 2013 127 Appendix D Logic Command Status Words PowerFlex 525 Drives Logic Status Word 128 Position Bit Definitions Comm Logic Command C122 1 Position Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 10 Command Description o TFT Tx Momastop 10 NNO Stop CC SsSCS 1 Normal Stop x Start 0 Not Start 1 Start X Jog1 2 0 Not Jog 1 Jog x Clear Fault 0 Not Clear Fault 1 Clear Fault Unipolar Direction 00 No Command 01 Forward Command 10 Reverse Command 11 No Command X Logic Input 1 1 Logicin 1 Xx Logic Input 2 1 LogicIn2 x x x Frequency and Position 000 Frequency and Position Step 0 Steps 001 Frequency and Position Step 1 010 Frequency and Position Step 2 011 Frequency and Position Step 3 100 Frequency and Position Step 4 101 Frequency and Position Step 5 110 Frequency and Position Ste
49. 16 bit Reference at least four bytes must be set for both the Input Size and Output Size A 16 bit word is two bytes If any or all of the drives eight 16 bit Datalinks are used see Using Master Slave Hierarchy Optional on page 26 increase the Input and Output Size settings accordingly e Input Size Multiply the number of Datalinks used to write data value of Device parameter 02 DLs From Net Cfg by two bytes and add this result to the minimum four bytes For example if Device parameter 02 has a value of 3 add 6 bytes 3 x 2 bytes to the required minimum four bytes for a total of 10 bytes e Output Size Multiply the number of Datalinks used to read data value of Device parameter 04 DLs To Net Cfg by two bytes and add this result to the minimum four bytes For example if Device parameter 04 has a value of 2 add 4 bytes 2 x 2 bytes to the required minimum four bytes for a total of 8 bytes 18 Set the scan rate for the selected data exchange method For more information about scan rates see RSNetWorx for DeviceNet software online help Data Exchange Method Rate Field Pull down Setting Polled Poll Rate Change of State Heartbeat Rate Cyclic Send Rate 19 Click OK Rockwell Automation Publication 520COM UM002A EN E April 2013 43 Chapter4 Configuring the 1 0 Ifa Scanner Configuration dialog box appears click Yes to continue The Edit I O Parameters dialog box closes and then t
50. 2013 Getting Started Chapter 1 You can view adapter Device parameters and Host parameters with any of the following drive configuration tools e PowerFlex 4 class HIM 22 HIM A3 or 22 HIM C2S e Connected Components Workbench software click the tab for the adapter at the bottom of the window and click the Parameters icon in the tool bar Com patible Products At the time of publication the DeviceNet adapter is compatible with Allen Bradley PowerFlex 525 drives Required Equipment Equipment Shipped with the Drive When you unpack the adapter verify that the package includes c One PowerFlex 520 series DeviceNet communications adapter 25 COMM D installed in a PowerFlex 520 series drive control module back cover CQ One 5 pin inline DeviceNet plug connected to the DeviceNet connector on the adapter Q Two interface connectors for connecting the Communication card Drive header to the header on the drive 0 Installation leaflet publication 520COM IN001 User Supplied Equipment The adapter parameters can be configured using the drive keypad interface see Using the Drive Keypad Interface to Access Parameters on page 23 In addition you must supply CJ DeviceNet cable thin cable with an outside diameter of 6 9 mm 0 27 in is recommended CQ Controller configuration software such as RSNetWorx for DeviceNet RSLogix 5000 or Logix Designer Connected Components Workbench
51. 20COM UM002A EN E April 2013 Configuring the Adapter Chapter 3 Setting a Fault Action By default when communications are disrupted the network cable is disconnected and or the scanner is idle the drive responds by faulting if it is using I O from the network You can configure a different response to e Disrupted I O communication by using Device parameter 15 Comm Flt Actn e An idle scanner by using Device parameter 16 Idle Flt Actn 15 Comm Fit Actn and 16 Idle Flt Actn respectively let you determine the action of the adapter and drive if communications are disrupted or the controller is idle By default these parameters fault the drive You may configure these parameters so that the drive continues to run however precautions should be taken to ensure that the settings of these parameters do not create a risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations a disconnected network cable or a controller in idle state f ATTENTION Risk of injury or equipment damage exists Device parameters Changing the Fault Action Set the values of Device parameters 15 Comm Flt Actn and 16 Idle Flt Actn to the desired responses Value Action Description 0 Fault The drive is faulted and stopped Datalink data is no longer sent to the drive Default 1 Stop The drive is stopped as per Host parameter P045 Stop Mode setting Datalink
52. 5 drives see Chapter 7 Using Multi Drive Mode The Logic Command is a 16 bit word of control data produced by the controller and consumed by the adapter The Logic Status is a 16 bit word of status data produced by the adapter and consumed by the controller When using a CompactLogix ControlLogix controller the Logic Command word is always INT 0 in the output image and the Logic Status word is always INT 0 in the input image This manual contains the bit definitions for compatible products available at the time of publication in Appendix D Logic Command Status Words PowerFlex 525 Drives The Reference is a 16 bit INT integer produced by the controller and consumed by the adapter The Feedback is a 16 bit INT produced by the adapter and consumed by the controller Rockwell Automation Publication 520COM UM002A EN E April 2013 Usingthe 0 Chapter 5 Using Datalinks When using a CompactLogix ControlLogix controller the 16 bit INT Reference word is always INT 1 in the output image see CompactLogix Controller I O Image for PowerFlex 520 Series Drives on page 48 and the 16 bit INT Feedback is always INT 1 in the input image The Reference and Feedback 16 bit INT values represent drive speed The scaling for the speed Reference and Feedback is 0 01 Hz For example a 16 bit INT Reference value of 3000 would equal a Reference of 30 00 Hz Note that the commanded maximum speed can never exceed the value of Host paramete
53. Adapter Status Using Parameters see 31 Updating the Adapter Firmware ss eee eee 31 Chapter 4 Using RSLinx Classe aRar aaa sata da van eA T E 33 CompactLogix Example e 34 Chapter 5 About I O Messaging ic sexue pve cis EEE NERNET T 47 Rockwell Automation Publication 520COM UM002A EN E April 2013 3 Table of Contents Using Explicit Messaging Using Multi Drive Mode Troubleshooting Specifications Adapter Parameters DeviceNet Objects Understanding the I O Image sse 48 Using Logic Command Status e e e e aranavarenatoss 48 Using Reteretice Feedbacks se 48 Using Datalinkss c cisstoitsvens piaatavacsGdeusyedenenatesgraesees 49 Example Ladder Logic Proptaint i5 2 525540 can va schdynve 5 peReasrebs 50 Compact Logix Example suc ccs e 51 Chapter 6 About Explicit Messaging voi2s yn es sedate soeeaeasadeeas ce eeaines 55 Performing Explicit Messaging ee ee 56 CompactLogix Examples e 56 Chapter 7 Single Drive Mode vs Multi Drive Mode sese 69 System WAS ry cores eae ciel elite te Addutis head coi Garat dated 71 Understanding the I O Images 6 sse 71 Configuring the RS 485 Newark 72 Multi Drive Ladder Logic Program Example sse 73 CompactLogix Example Using Generic Profile 08 74 Multi Drive Mode Explicit Messaging 00 cece eee ee eee 82 Additional Information 0 c cece cece ee eee ence eeeeenaes 83 Chapter 8 Understanding the Status Indicators eee 85 PORT St
54. CONTAINER Parameter value UINT Multiplier UNIT Divisor UNIT Base INT Offset 7 Get DSI Online Read Full STRUCT of BOOL 32 Descriptor see page 120 CONTAINER Parameter value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value UINT Next parameter UINT Previous parameter STRING 4 Units for example Amps Hz UINT Multiplier UINT Divisor UINT Base INT Offset USINT 3 Link source of the value 0 no link USINT Always zero 0 STRING 16 Parameter name 8 Get DSI Descriptor BOOL 32 Descriptor see page 120 9 Get Set DSI Parameter Value Various Name of the component with support for Unicode 10 Get Set DSI RAM Parameter Value Various Parameter value in NVS 2 14 Get DSI Parameter Name STRING 16 Parameter name 18 Get International DSI Offline Parameter Text Struct of STRINGN International parameter name STRINGN International offline units 19 Get International DSI Online Parameter Text Struct of STRINGN International parameter name STRINGN International online units 118 Rockwell Automation Publication 520COM UMO001A EN E April 2013 DeviceNet Objects Appendix C Attribute ID Access Rule Name Data Type Description 20 Get International DSI Online Read Full Struct of BOOL 32 Descriptor CONTAINER Parameter value CONTAINER Online minimum value CONTAINER Online maximum value CONTAINER Online default value UINT Next UINT Previous UINT Multiplier UINT Divis
55. Code Timed Out Eror Path Enor Text Le L e Ha J Parameter Write Message Configuration Message Configuration Parameter WR_Message_1 Configuration Communication Tag Path DeviceNet_Scanner 2 1 Browse DeviceNet_Sc Message Configuration Parameter WR_Message_1 a Broadcast Configuration Communication Teg Communication Method i clp DH Message Type CIP Generic M Service Parameter Write x Source Element Parameter _WR_Valui lt Type E Connected Source Length 2 a ytes l 10 Instance 18541 ae New Tag O Eae 7 Enable Wa Leis O Eror Code l Eror Path Eror Text Enable Enable Wating Start Done Done Length 0 Se S Eror Code Extended Eror Code E Timed Out J Eror Path Eror Text Les a Ln The Class Code is f for the Parameter Object and the Instance Attribute is 1 to select retrieving the parameter value See Appendix C Parameter Object for more information The Instance value is 18541 to access parameter P109 Accel Time 1 in the first daisy chained drive The Explicit message for Drive 1 to Drive 4 are identical except for the Instance values see Multi Drive Mode Explicit Messaging on page 82 for examples e When the PowerFlex 525 drive with the 25 COMM D DeviceNet adapter Drive 0 is powered up all configured daisy chained drives must be present before an I O connection is allowed on DeviceNet i e before the drive
56. Comm Fit Actn and 16 Idle Fit Actn let you determine the action of the adapter and drive if 1 0 communication is disrupted the controller is idle or explicit messaging for drive control is disrupted By default these parameters fault the drive You may configure these parameters so that the drive continues to run however precautions should be taken to ensure that the settings of these parameters do not create a risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations for example a disconnected cable or a controller in idle state 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 Inc does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication 12 Rockwell Automation Publication 520COM UM002A EN E April 2013 Quick Start Getting Started Chapter 1 This section is provided to help experienced users quickly start using the DeviceNet adapter If you are unsure how to complete a step re
57. Defaults Slave Mode Advanced 1769 SDN Platfom CompactLogx x Slot 1 E a toy toe 12 Edit the following Box Interscan Delay Setting Sets the scanner time delay between consecutive 1 0 scans on the network For this example we recommend using the default setting of 10 milliseconds TIP When numerous software packages are scanning the network RSNetWorx for DeviceNet Connected Components Workbench and they have problems communicating increasing this value may help Foreground to Background Poll Ratio using the default setting of 1 Sets the ratio of foreground to background polls For this example we recommend Slot 13 Click Apply selected Rockwell Automation Publication 520COM UM002A EN E April 2013 Sets the slot location in which the scanner is installed for this example Slot 1 is 41 Chapter 4 42 Configuring the 1 0 14 Click the Scanlist tab to begin the drive I O configuration The Available Devices left box shows devices that are presently on the DeviceNet network but are not yet configured The Scanlist right box shows devices that are presently on the DeviceNet network and are configured TIP The Automap on Add box is checked by default and allows RSNetWorx for DeviceNet software to automatically map the drive 1 0 into the scanner in the next available registers The mapping is based on the minimum 0 requirements four
58. EN E April 2013 Example Scattered Read Request Data Using Explicit Messaging Chapter 6 Name Sg Value Data Type Description Scattered Read_Request INT 10 Scattered Read_Request 0 INT Parameter Number Scattered Read _Request 1 INT Pad Scattered Read_Request 2 Scattered _Read_Request 3 INT INT Parameter Number Pad Scattered Read_Request 4 Scattered Read_Request 5 INT INT Parameter Number Pad Scattered_Read_Request 6 INT Parameter Number Scattered Read_Request 7 INT Pad Scattered Read _Request 8 a INT Parameter Number Scattered Read_Request 9 e Slolumjolelolwlolr le INT Pad CompactLogix Example Scattered Read Response Data The Scattered Read Request message reads the multiple parameters and returns their values to the destination tag Scattered_Read_Response Example Scattered Read Response Converted Data on page 65 shows the parameter values Example Scattered Read Response Converted Data Name salv Value Data Type Description Scattered_Read_Response INT 10 Scattered Read_Response 0 1 INT Parameter Number Scattered_Read_Response 1 5000 INT Value Scattered Read _Response 2 3 INT Parameter Number Scattered Read_Response 3 1 INT Parameter Value T Scattered_Read_Response 4 4 I
59. MESSAGE Example Ladder Logic to Write Multiple Parameters Execute_Scattered_Write_Message MSG 7 Message 4 L Message Control Scattered_Write_Message SN LER T IMPORTANT Ifyou need to make frequent parameter changes using Explicit Messages set Host parameter 121 Comm Write Mode to 1 RAM only CompactLogix Formatting a Message to Write Multiple Parameters Scattered Write Multiple Message Configuration Screens Message Configuration Scattered_Write Message x Configuration Communication Tag Name Scattered_Write_Message Description Message Configuration Scattered Write_ Message x Configuration Communication Tag I Path DeviceNet_Scanner 2 1 Browse m ai Message Configuration Scattered_Write_Message Data Type Broadc Scope Configuration Communication Tag Extemal Communica l a L Message Type CIP Generic FP Enable Q Service Source Element Scattered_Write_Rec Eror Code Type Geim z E Par Pathe Source Length 20 Bytes Service i e cose 34 Hex Class 93 Hex Destination Scattered_Write Re lt l Element l Instance 0 Attribute 0 Hex __ omae Leia n Eror Code Eror Path I Eror Text 7 Enable Enable Waiting O Stat Done Done Length 0 Es Eror Code Extended Eror Code E Timed Out Eror Path Eror Text L d
60. N 1 Note The RS 485 Multi drive network is fixed at 19 2K baud rate 8 data bits no parity and 1 stop bit Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Multi Drive Mode Chapter 7 Multi Drive Ladder Logic Program Example IMPORTANT Parameters Comm Loss Action and Comm Loss Time in the daisy chained drives are still used in Multi drive mode If the RS 485 cable is disconnected or broken the disconnected drive s will take the corresponding Comm Loss Action s On the DeviceNet side Device parameters 06 Comm Flt Actn and 07 Idle Flt Actn in the DeviceNet adapter determine the action taken for ALL of the drives on the Multi drive node The following Multi drive parameters must be set in the master PowerFlex 525 drive Parameter Configuration for Multi Drive Mode Parameter Value P046 Start Source 1 4 Network Opt P047 Speed Reference1 4 Network Opt C169 MultiDrv Sel 0 Disabled 1 Network Opt 2 EtherNet IP Note Drive must be power cycled after setting this parameter C171 Drv 1 Addr C124 RS485 Node Addr in Drive 1 172 Drv 2 Addr C124 RS485 Node Addr in Drive 2 C173 Drv 3 Addr C124 RS485 Node Addr in Drive 3 174 Drv 4 Addr C124 RS485 Node Addr in Drive 4 C175 DSI 1 0 Cfg 0 Drive 0 1 Drive 0 1 2 Drive 0 2 3 Drive 0 3 4 Drive 0 4 IMPORTANT Parameters can be set using a DSI periph
61. N E list 93 PCCC Programmable Controller Communications Command definition 135 events 90 object 111 polled configuring a scanner for 42 configuring an adapter for 28 definition 135 producer consumer network 135 Reference Feedback definition 135 in 1 0 image 48 using 48 RSLinx Classic using 33 RSLogix 5000 adding the controller to the 1 0 configuration 35 definition 135 136 going online 46 RSNetWorx for DeviceNet creating an EDS file 39 definition 136 saving a network configuration 38 S scanner adding to the 1 0 configuration 36 definition 136 saving the 1 0 configuration 38 status indicators definition 136 locating 21 85 troubleshooting 86 87 stop action definition 136 Studio 5000 environment 136 switches locating 16 setting the data rate 16 17 setting the node address 16 U UCMM UnConnected Message Manager 136 UDDT User Defined Data Type 136 update adapter firmware 31 definition 136 Z zero data definition 136 setting the fault action 29 April 2013 Rockwell Automation Support Rockwell Automation provides technical information on the Web to assist you in using its products At hetp www rockwellautomation com support you can find technical manuals a knowledge base of FAQs technical and application notes sample code and links to software service packs and a MySupport feature that you can customize to make the best use of these tool
62. NT Parameter Number Scattered Read_Response 5 1796 INT Parameter Value Scattered_Read_Response 6 5 INT Parameter Number Scattered Read_Response 349 INT Parameter Value Scattered Read_Response 8 17 INT Parameter Number Scattered_Read_Response 9 o INT Parameter Value In this message example the Host parameters have the following values PowerFlex 525 Drive Parameters Read Value b001 Output Freq 50 00 Hz b003 Output Current 0 01 Amp No load b004 Output Voltage 179 6V AC b005 DC Bus Voltage 349V DC b017 Output Power 0 kW No load CompactLogix Example Ladder Logic Program to Write Multiple Parameters A Scattered Write message is used to write to multiple parameters This write message example writes the following values to these five 16 bit parameters in a PowerFlex 525 drive PowerFlex 525 Drive Parameters Write Value A442 Accel Time 2 11 10 Sec A443 Decel time 2 22 20 Sec A415 Preset Freq 5 33 30 Hz A416 Preset Freq 6 44 40 Hz A417 Preset Freq 7 55 50 Hz See DPI Parameter Object on page 117 Class code 0x93 for parameter numbering Rockwell Automation Publication 520COM UM002A EN E April 2013 65 Chapter 6 66 Using Explicit Messaging Example Controller Tags to Write Multiple Parameters Operation Controller Tags for Scattered Write Message Data Types XIC Execute_Scattered_Write_Message BOOL MSG Scattered_Write_Message
63. Not used 2 Get International Fault Text STRINGN Text describing the fault with support for Unicode 124 Rockwell Automation Publication 520COM UMO001A EN E April 2013 DPI Diagnostic Object DeviceNet Objects Appendix C Class Code Hexadecimal Decimal 0x99 153 Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single Instances The number of instances depends on the maximum number of diagnostic items supported by the device The maximum number of diagnostic items can be read in Instance 0 Attribute 2 Instances Hex Instances Dec Single Drive Mode Multi Drive Mode 0x0000 0x3FFF 0 16383 Instances 0 1023 in the drive Instances 0 1023 in Drive 0 0x4000 0x43FF 16384 17407 Instances 0 1023 in the adapter Instances 0 1023 in the adapter 0x4400 0x47FF 17408 18431 DSI Instances 0 1023 in Drive 1 0x4800 0x4BFF 18432 19455 Option Instances 0 1023 in Drive 2 0x4C00 0x4FFF 19456 20479 Not supported Instances 0 1023 in Drive 3 0x5000 0x53FF 20480 21503 Not supported Instances 0 1023 in Drive 4 0x5400 0x57FF 21504 22527 Not supported Instances 0 1023 in the Option Class Attributes Attribute ID Access Rule Name Data Type Description 1 Get Class Revision UINT Revision of object 2 Get Number of Instances UINT Maximum number of diagnostic items that the device can recor
64. O 8859 1 Latin 1 2 ISO 8859 2 Latin 2 3 IS0 8859 3 Latin 3 4 ISO 8859 4 Latin 4 5 IS0 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 14 Get Product Option Support BOOL 64 15 Get Languages Supported STRUCT of USINT Number of Languages USINT n Language Codes see Class Attribute 2 16 Get Date of Manufacture STRUCT of UINT Year USINT Month USINT Day 17 Get Product Revision STRUCT of USINT Major Firmware Release USINT Minor Firmware Release 18 Get Serial Number UDINT Value between 0x00000000 and OxFFFFFFFF 29 Get Extended Product Option Support Bits BOOL 64 30 Get International Status Text STRINGN Text describing the status of device with support for Unicode 31 Get Set International User Definable Text STRINGN Text identifying the device with a user supplied name with support for Unicode 34 Get Key Information STRUCT of UDINT Rating Code UDINT Device Serial Number UINT Customization Code UINT Customization Revision UINT Brand Code USINT Family Code USINT Config Code USINT Language Code USINT Major Revision USINT 16 Minor Revision Customer Generated Firmware UUID 35 Get NVS CRC UDINT A 32 bit CRC of the Non Volatile Storage in a device 38 Set ADC Configuration Signature USINT 16 Value stored by the device and zeroed if its configuration changes Rockwell Automation Publicatio
65. OL Logic Command bit 1 START Drive_0_Command_Jog BOOL Logic Command bit 2 JOG Drive_0_Command_Clear_Faults BOOL Logic Command bit 3 CLEAR FAULTS Drive_0_Command_Forward BOOL Logic Command bit 4 FORWARD Drive_0_ Reference INT Speed Reference Drive_0_Status_Ready BOOL Logic Status bit 0 READY Drive_0_Status_Active BOOL Logic Status bit 1 ACTIVE Drive_0_Status_ Forward BOOL Logic Status bit 2 FORWARD Drive_0_Status_Faulted BOOL Logic Status bit 7 FAULT Drive_0_Status_At_Reference BOOL Logic Status bit 8 AT SPEED Drive_0_ Feedback INT Speed Feedback Perform_Parameter_Read_0 BOOL Initiates the parameter read Parameter_RD_Value_0 INT Read value of the parameter Parameter_RD_Message_0 MESSAGE Get_Attribute_Single Read Perform_Parameter_Write_0 BOOL Initiates the parameter value Parameter_WR_Value_0 INT Write value to the parameter Parameter_WR_Message_0 MESSAGE Set_Attritbute_Single Write The same type of Tags are also used for Drive 1 through Drive 4 Main Routine The Main Routine tells the scanner to run reads the network Input Image from the scanner calls the various drive control subroutines and writes the network Output Image to the scanner See Main Routine on page 76 Rockwell Automation Publication 520COM UM002A EN E April 2013 75 Chapter7 Using Multi Drive Mode Ma
66. P terminal block connector can be used for easy installation The wiring diagram for using AK U0 RJ45 TB2P terminal block connectors is shown below To PowerFlex 525 with DeviceNet adapter U ee To Drive 2 ToDrive 3 ToDrive 4 To Drive 5 120 Q 1 4W resistor TT TT TT S AL 120 Q 1 4W resistor The AK U0 RJ45 TB2P comes with 5 terminal block connectors and 2 terminating resistors Understanding the 1 0 Im age The terms input and output are defined from the scanner s point of view Therefore Output I O is data that is output from the scanner and consumed by the adapter Input I O is status data that is produced by the adapter and consumed as input by the scanner The I O image table will vary based on the configuration of Host parameters C169 MultiDrv Sel and C175 DSI I O Cfg The image table always uses consecutive words starting at word 0 The Multi Drive Example of I O Image on page 72 for an illustration of the Multi drive I O image with 16 bit words Rockwell Automation Publication 520COM UM002A EN E April 2013 71 Chapter7 Using Multi Drive Mode Configuring the RS 485 Network 72 Multi Drive Example of 1 0 Image
67. PowerFlex 4M Instance 18541 18432 109 e Drive 2 PowerFlex 4M Instance 19565 19456 109 e Drive 3 PowerFlex 4M Instance 20589 20480 109 e Drive 4 PowerFlex 4M Instance 21613 21504 109 WS Wa Da wa Drive 1 Explicit Message Example The Explicit message examples in the ControlLogix example program perform a read and a write to PowerFlex 4M parameter P109 Accel Time 1 The configuration for the read is shown in Parameter Read Message Configuration on page 83 and the write is shown in Parameter Write Message Configuration on page 83 Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Multi Drive Mode Chapter 7 Additional Information Parameter Read Message Configuration Message Configuration Parameter_RD_Message_1 Ex Configuration Communication Tag Path DeviceNet_Scanner 2 1 Browse DeviceNet_Sq Message Configuration Parameter_RD_Message_1 a Broadcast Configuration Communication I Tag Communication Method i c DH Message Type CIP Generic lt Service Parameter Read P Types lt E Connected 0 b i J Destination Parameter RD Value lt C Element Instance 18541 New Tag Enable Enable Wal enna Eror Code Eror Path Eror Text l O Enable Enable Wating Start O Done Done Length 0 ll Eror Code Extended Eror
68. SR panes 125 Appendix D Logic Command Wold ode sss 127 Logie Status Word aE 20 ted iawn ETA Ara 128 Glossary Rockwell Automation Publication 520COM UM002A EN E April 2013 5 Table of Contents Notes 6 Rockwell Automation Publication 520COM UM002A EN E April 2013 Recommended Documentation Manual Conventions Overview For information on Recommended Documentation Preface See page MN MN Manual Conventions All the recommended documentation listed in this section is available online at http www rockwellautomation com literature The following publications provide additional information For See Publication DeviceNet DeviceNet Network Configuration User Manual DNET UM004 DeviceNet Media Design Installation Guide DNET UM072 DeviceNet Starter Kit User Manual DNET UM003 PowerFlex 520 Series Drives PowerFlex 525 Adjustable Frequency AC Drive User Manual 520 UM001 RSLinx Classic RSLinx Classic Getting Results Guide LINX GR001 RSNetWorx for DeviceNet Getting Results with RSNetWorx for DeviceNet DNET GR001 RSLogix 5000 RSLogix 5000 online help CompactLogix 5370 CompactLogix 5370 Controllers User Manual 1769 L36ERM 1769 UM021 MicroLogix 1100 MicroLogix 1100 Programmable Controllers User Manual 1763 UM001 MicroLogix 1400 MicroLogix 1400 Programmable Controllers User Manual 1766 UM001 Connected Components Website containing information on the Connec
69. Size UINT Number of parameters in group Get Ist Paramete r Number in Group UINT U Get 2nd Paramete r Number in Group UINT Get n Paramete r Number in Group 1 Value varies based on group instance UINT Rockwell Automation Publication 520COM UM001A EN E April 2013 PCCC Object Class Code Hexadecimal 0x67 Services Service Code 0x4B Implemented for Decimal 103 DeviceNet Objects Appendix C Class Yes Instance Yes Service Name Execute_PCCC 0x4C No Yes Execute_DH 0x4D Instances Supports Instance 1 Class Attribute Not supported Yes Instance Attributes Not supported Yes Message Structure for Execute_PCCC Execute_Local_PCCC Request Response Name Data Type Description Name Data Type Description Length USINT Length of requestor ID Length USINT Length of requestor ID Vendor UINT Vendor number of requestor Vendor UINT Vendor number of requestor Serial Number UDINT ASA serial number of request Serial Number UDINT ASA serial number of request Other Product Specific Identifier of user task etc on the requestor Other Product Specific Identifier of user task etc on the requestor CMD USINT Command byte CMD USINT Command byte STS USINT 0 STS USINT Status byte TNSW UINT Transport word TNSW UINT Transport word Same value as th
70. The controller tag for Scattered_Write_Response must be the same size as the controller tag for Scattered_Write_Request for this example 20 bytes An array of INTs is suggested to be able to read any error codes that are returned CompactLogix Example Scattered Write Request Data In this message example we use the source tag Scattered_Write_Request to write new values to these 16 bit parameters PowerFlex 525 Drive Parameters Write Value A442 Accel Time 2 11 10 Sec A443 Decel time 2 22 20 Sec A415 Preset Freq 5 33 30 Hz A416 Preset Freq 6 44 40 Hz A417 Preset Freq 7 55 50 Hz See DPI Parameter Object on page 117 Class code 0x93 for parameter numbering Example Scattered Write Request Converted Data on page 67 shows the parameter values Example Scattered Write Request Converted Data Description Yl Data Type Scattered Write Request d INTIO Scattered Write_Request 0 442 INT Parameter Number Scattered Write_Request 1 1110 INT Parameter Value Scattered Write Request 2 443 INT Parameter Number Scattered_Write_Request 3 2220 INT Parameter Value Scattered_Write_Request 4 415 INT Parameter Number Scattered_Write_Request 5 3330 INT Parameter Value Scattered Write_Request 6 416 INT Parameter Number Scattered Write_Request 7 4440 INT Parameter Value Scattered Writ
71. This rung writes the output image to the scanner The output image is as follows Drive_Output_Image 0 and Drive_Output_Image 1 Drive 0 Logic Command and Reference Drive_Output_Image 2 and Drive_Output_Image 3 rive 0 Logic Command and Reference Drive_Output_Image 4 and Drive_Output_Image 5 Drive 0 Logic Command and Reference Drive_Output_Image 6 and Drive_Output_Image 7 Drive 0 Logic Command and Reference Drive_Output_Image 8 and Drive_Output_Image 9 Drive 0 Logic Command and Reference COP 7 Copy File Source Drive_Output_Image 0 Dest Local 1 0 Data 0 Length 5 End s s Drive 0 4 Control Routines The following Drive Control routines provide status information Logic Status and Feedback control Logic Command and Reference and parameter read write for each of the respective drives See page Z 78 re 80 81 76 Rockwell Automation Publication 520COM UM002A EN E April 2013 Drive 0 Control Routine Drive 0 Control Subroutine elsewhere in the ladder program Drive_Input_Image 0 0 Using Multi Drive Mode This section takes the data from the input area and moves it to specific tags Logic Status bits and Feedback for use Drive_O_Status_Ready Chapter 7 Drive_Input_Image 0 1 Drive_Input_Image 0 3 XN 7 Drive_O_Status_Active Drive_0_Status_Forward 2 J L ry Drive_Input_Image 0 7 Drive_0_Status_Faulted 3 IE y JE N Drive_Inp
72. User Manual Allen Bradley PowerFlex 525 DeviceNet Adapter Catalog Number 25 COMM D Allen Bradley Rockwell Software 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 available from your local Rockwell Automation sales office or online at http www rockwellautomation com literature describes some important differences between solid state equipment and hard wired electromechanical devices 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 Rockwell Automation Inc 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 Rockwell Automation Inc cannot assume responsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Rockwell Automation Inc with respect to use of information circuits equipment or software described in this manual
73. Workbench software at http www ab com support abdrives webupdate software html A class is defined by the DeviceNet specification as a set of objects that all represent the same kind of system component A class is a generalization of an object All objects in a class are identical in form and behavior but may contain different attribute values A free software tool used to electronically update the firmware of Allen Bradley products and network communication adapters Control FLASH software is downloaded automatically when the firmware revision file for the product being updated is downloaded from the Allen Bradley updates website to your computer 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 A device configured for Cyclic I O data exchange transmits data at a user configured interval This type of exchange ensures that data is updated at an appropriate rate for the application and allows data to be sampled at precise intervals for better determinism The speed at which data is transferred on the DeviceNet network The available data rates depend on the type of cable and to
74. _Parameter_Write_4 14 JE MSG EN d L Type CIP Generic lt Message Control Parameter_WR_Message_4 ON LER RET 15 Return from Subroutine End Rockwell Automation Publication 520COM UM002A EN E April 2013 81 Chapter7 Using Multi Drive Mode Multi Drive Mode Explicit Messaging 82 Parameter addressing for Explicit messaging is different in Multi drive than with Single drive mode In Single drive mode the Instance value in the message equals the desired parameter number in the drive In Multi drive mode an Instance table is used to account for the parameters in the adapter and up to five drives The parameters in the adapter and each of the drives are offset by 400 hex 1024 decimal Instance Hex Instance Dec Device Parameter 0x0000 0x3FFF 0 16383 DeviceNet Adapter parameters 0 1023 0x4000 0x43FF 16384 17407 DeviceNet Adapter parameters 0 1023 0x4400 0x47FF 17408 18431 Drive 0 0 1023 0x4800 0x4BFF 18432 19455 Drive 1 0 1023 0x4C00 0x4FFF 19456 20479 Drive 2 0 1023 0x5000 0x53FF 20480 21503 Drive 3 0 1023 0x5400 0x57FF 21504 22527 Drive 4 0 1023 0x5800 0x5BFF 22528 23551 DeviceNet Adapter parameters 0 1023 For example to access Accel Time 1 parameter P041 in PowerFlex 525 and P109 in PowerFlex 4M in each of the drives the following Instances would be used e Drive 0 PowerFlex 525 Instance 17449 17408 41 e Drive 1
75. alink value being transmitted from this adapter to the drive single drive mode 29 DLTo Net 01 Val The current datalink value being received from the drive by this adapter single drive mode 30 DL To Net 02 Val The current datalink value being received from the drive by this adapter single drive mode 31 DL To Net 03 Val The current datalink value being received from the drive by this adapter single drive mode 32 DL To Net 04 Val The current datalink value being received from the drive by this adapter single drive mode 33 Opt Comm Errs Number of errors that have been detected on the interface between the drive and the adapter 24 Net Rx Errs The present value of the DeviceNet CAN Receive Error Counter register 25 Net Rx Errs Max The maximum value of the DeviceNet CAN Receive Error Counter register 36 Net Tx Errs The present value of the DeviceNet CAN Transmit Error Counter register 37 Net Tx Errs Max The maximum value of the DeviceNet CAN Transmit Error Counter register 38 CAN Errors The number of errors reported by the DeviceNet hardware that did not appear in Net Rx Errs Max or Next Tx Errs Max 39 Boot Flash Count The number of times the boot firmware in the adapter has been flash updated 40 App Flash Count The number of times the application firmware in the adapter has been flash updated 41 Data Rate Sw The present value of the data rate switches 42 Net Addr Sw The present value of the node add
76. are many variables and requirements with any application Rockwell Automation Inc does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication T ATTENTION Risk of injury or equipment damage exists The examples in this ATTENTION Risk of equipment damage exists If Explicit Messages 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 Explicit Messages to write parameter data to NVS Datalinks do not write to NVS and should be used for frequently changed parameters ATTENTION If you need to make frequent parameter changes using Explicit Messages set Host parameter C121 Comm Write Mode to 1 RAM only See Chapter 5 for information about the I O Image using Logic Command Status Reference Feedback and Datalinks Explicit Messaging is used to transfer data that does not require continuous updates With Explicit Messaging you can configure and monitor a slave device s parameters on the network IMPORTANT PowerfFlex 525 drives have explicit messaging limitations See Explicit Messaging Class Code Compatibility with PowerFlex 525 Drives on page 55 for more information Explicit Messaging Class Code Compatibility with PowerFlex 525 Drives Compatibility Yes Single parameter reads write DPI
77. ata type and data size 3 Value varies based on parameter instance 4 See the DeviceNet specification for a description of the connection path 108 Rockwell Automation Publication 520COM UMO001A EN E April 2013 Parameter Group Object DeviceNet Objects Appendix C IMPORTANT This object is supported only in single drive mode Class Code Hexadecimal Decimal 0x10 16 Services Implemented for Service Code Class Instance Service Name Oa Ge_Avute Se Instances Instance Description 0 Class 1 Drive Parameter 1 n Drive Parameter n n 1 Adapter Parameter 1 n m Adapter Parameter me 1 n represents the number of parameters in the drive 2 m represents the number of parameters in the adapter Class Attributes Attribute ID Access Rule Name Data Type Description 1 Get Parameter group version UINT 1 2 Get Max Instance UINT Total number of parameter groups in drive 8 Get Native Language USINT 1 English 2 French 3 Spanish 4 Italian 5 German 6 Japanese 7 Portuguese 8 Chinese Simplified 9 Reserved 10 Reserved 11 Korean 12 Polish 13 Reserved 14 Turkish 15 Czech Rockwell Automation Publication 520COM UMO001A EN E April 2013 109 Appendix C 110 DeviceNet Objects Instance Attributes Attribute ID 1 Access Rule Get Name Group Name String Data Type SHORT_STRI NG Description Group name Get Link Path
78. ata type for each parameter 60 Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Explicit Messaging Chapter 6 Data Structures for Scattered Read Messages Request Source Data Response Destination Data INTO Parameter Number INTO Parameter Number 1 Pad 1 Parameter Value 2 Parameter Number 2 Parameter Number 3 Pad 3 Parameter Value 4 Parameter Number 4 Parameter Number 5 Pad 5 Parameter Value 6 Parameter Number 6 Parameter Number 7 Pad 7 Parameter Value 8 Parameter Number 8 Parameter Number 9 Pad 9 Parameter Value 10 Parameter Number 10 Parameter Number 11 Pad 11 Parameter Value 12 Parameter Number 12 Parameter Number 13 Pad 13 Parameter Value 14 Parameter Number 14 Parameter Number 15 Pad 15 Parameter Value 16 Parameter Number 16 Parameter Number 17 Pad 17 Parameter Value 18 Parameter Number 18 Parameter Number 19 Pad 19 Parameter Value 20 Parameter Number 20 Parameter Number 21 Pad 21 Parameter Value 22 Parameter Number 22 Parameter Number 23 Pad 23 Parameter Value 24 Parameter Number 24 Parameter Number 25 Pad 25 Parameter Value 26 Parameter Number 26 Parameter Number 27 Pad 27 Parameter Value 28 Parameter Number 28 Parameter Number 29 Pad 29 Parameter Value 30 Parameter Number 30 Pa
79. ation Use the 22 HIM A3 or 22 HIM C2S HIM or another drive configuration tool such as Connected Components Workbench software to set the Datalinks in the drive For this example the following Datalink values are used Host Parameter Value Description C161 Opt Data In 1 52 Points to drive parameter P052 Average kWh Cost C 162 Opt Data In 2 41 Points to drive parameter P041 Accel Time 1 C163 Opt Data In 3 42 Points to drive parameter P042 Decel Time 1 C 164 Opt Data In 4 410 Points to drive parameter A410 Preset Freq 0 165 Opt Data Out 1 45 Points to drive parameter P045 Stop Mode C166 Opt Data Out 2 41 Points to drive parameter P041 Accel Time 1 C167 Opt Data Out 3 42 Points to drive parameter P042 Decel Time 1 C168 Opt Data Out 4 410 Points to drive parameter A410 Preset Freq 0 TIP The Host parameters Opt Data In x are inputs to the drive that come from controller outputs data to write a drive parameter The Host parameters Opt Data Out x are outputs from the drive that go to controller inputs data to read a drive parameter Downloading the Project to the Controller and Going Online After adding the scanner and drive adapter to the I O configuration you must download the configuration to the controller You should also save the configuration to a file on your computer Rockwell Automation Publication 520COM UM002A EN E April 2013 45 Chapter 4 46 Conf
80. atus Indicator 0 cee eee cece cence ee eeenaeees 86 MOD Stratus Indicator 0 cee cece e cece cece ec enaeenaees 86 NET A Status Indicator 00 cece eee ce cece eee eeeneeenaees 87 Viewing Adapter Diagnostic Items sees eee 87 Viewing and Clearing Events e 88 Appendix A Communication careers rs ENEDA ER AAE eee EEA E AASE 91 Electrical iones aE COM nO pla el cuban Citations he ae ih 8 91 Mechanical 00 osg t8tie e tried ardent neh axeela eh ea 91 Brivironimien tales cee tens sot a ed ede aad ous teen a a 91 Regulatorcy Compliance 426 see e e elev ev eereecedidads 91 Appendix B Device Parameters sraa cc ccc cece eee eee RARER 93 Appendix C Sapported Data ypes vans Sea T TA TE L TASER 97 Identity Object lt STE AR RAT Siemon RR R TT 98 Assembly O DEC a Ee e ria REETA 0 TA 100 Rockwell Automation Publication 520COM UM002A EN E April 2013 Logic Command Status Words PowerFlex 525 Drives Index Table of Contents Connection Objects syed we a AGG ect BGS 101 REGISECIO BICC arne herer oran e Haal ER tena 103 Param ter Object RTRC Cine Ae SN RN REN shave tee T a 106 Parameter Group Objectiotipsiis indie raesGdeesucdeneuvnenguaeses 109 PE CG OD ECE cos asic die nls Sag a Seine aaa eases See RREA 111 DPI Device Objecto marisse nere those EE Ea eae 114 DPI Parameter Objects acca ER ERT e TE A E 117 DPI Fault Objects sas wach eine Ae EEEE T T 123 DPI Diagnostic Object su case lt a EaR ne Y E NR RR
81. bytes for input and four bytes for output that the scanner obtains from the drive EDS file 15 For this example uncheck the Automap on Add 16 Select the PowerFlex 525 drive in the Available Devices box and click gt to move it to the scanlist window BY 1769 SDN Scanner Module a Available Devices General Module Scaniist Input Output ADR Summary Scaniist fa 01 PowerFlex 525 1P 24 ly La LS Y Automap on Add Node Active Upload from Scanner ieee Download to Scanner z kaez oe Edit LO Parameters z Mir Tre a l a Boy Setting Node Active Activates deactivates the scanlist in the 1769 SDN scanner for the selected device For this example keep the box checked Device Type Electronic Key checkboxes select how specific the device in the scanlist must be for Vendor the 1769 SDN scanner to match its compatibility 1 0 operation The more boxes that are checked the more specific the device must be to operate For this example leave Product Code the default boxes Device Type Vendor and Product Code checked Major Revision 17 Click Edit I O Parameters to display the Edit I O Parameters dialog box for the PowerFlex 525 drive used in this example T Strobed Input Size 7 Bytes Y Polled Input Size 12 2 Bytes Output Size 112 4 Bytes Pel Baie Eve Scan v Core T Change of State Cyclic G Cc Input Size i Ener
82. c to Read a Single Parameter Execute_Single_Read_Message MSG TFE Message EN dL Message Control Single_Read_Message a5 ON ER CompactLogix Formatting a Message to Read a Single Parameter Get Attribute Single Message Configuration Screens Message Configuration Single Read_Message Ex 1 Configuration Communication Tag Name Single_Read_Message Description Message Configuration Single Read_Message Ex Configuration Communication Tag Path DeviceNet_Scanner 2 1 Browse Type Message Configuration Single Read_Message Data Type Broadc Scope Configuration Communication Tag Gian Communica a CIP Message Type CIP Generic z OEnable qi Service Get Attribute Single M Eror Code S Type amp ng Eror Path ma Eror Text e Class 93 He Destination Output_Current Element Instance 3 Attribute 9 Hex a __ Enable New Tag tim Eror Code Eror Path l Eror Text QEnable Enable Wating O Stat O Done Done Length 0 C O Eror Code Extended Eror Code Timed Out Eror Path h Eror Text Gea o i The following table identifies the data that is required in each box to configure a message to read a single parameter Configuration Tab Example Value Description Message Type CIP Generic Used to access the DPI Parameter Object in the adapter Service Type Get Attribut
83. configure the controller to recognize and transmit I O to the adapter See Chapter 4 Configuring the I O Enabling Datalinks To Read Data IMPORTANT Always use the Datalink parameters in consecutive numerical order starting with the first parameter For example use Host parameters C165 C166 and 167 to configure three Datalinks to read data Otherwise the network 1 0 connection will be larger than necessary which needlessly increases controller response time and memory usage Host parameters C165 Opt Data Out 1 through C168 Opt Data Out 4 configure which parameters in the drive adapter or any other connected Rockwell Automation Publication 520COM UM002A EN E April 2013 27 Chapter3 Configuring the Adapter Selecting COS Cyclic or Polled 1 0 28 peripheral send values to the network To configure these parameters set them to the parameter number you wish to read over the network The following steps are required to enable Datalinks to read data 1 Set the values of only the required number of contiguous drive to controller Datalinks needed to read data from the drive and that are to be included in the network I O connection 2 Reset the adapter by power cycling the drive After the above steps are complete the adapter is ready to send output data to the master controller Next configure the controller to recognize and transmit I O to the adapter See Chapter 4 Configuring the I O The data exchange
84. controller that connects the controller to a network See also Scanner A bus off condition occurs when an abnormal rate of errors is detected on the Control Area Network CAN bus in a device The bus off device cannot receive or transmit messages on the network This condition is often caused by corruption of the network data signals due to noise or data rate mismatch CAN is a serial bus protocol on which DPI is based A device that is configured for Change of State I O data exchange transmits data at a specified interval if its data remains unchanged If its data changes the device immediately transmits the change This type of exchange can reduce network traffic and save resources since unchanged data does not need to be transmitted or processed CIP is the transport and application layer protocol used for messaging over EtherNet IP ControlNet and DeviceNet networks The protocol is used for implicit messaging real time I O and explicit messaging configuration data collection and diagnostics Rockwell Automation Publication 520COM UM002A EN E April 2013 131 Glossary Connected Components Workbench Software Class ControlFLASH Controller Cyclic I O Data Exchange Data Rate The recommended tool for monitoring and configuring Allen Bradley products and network communication adapters It can be used on computers running various Microsoft Windows operating systems You can obtain a free copy of Connected Components
85. ct 0x93 147 117 Register Object 0x07 7 103 DPI Fault Object 0x97 151 123 Parameter Object OxOF 15 106 DPI Diagnostic Object 0x99 153 125 Parameter Group Object 0x10 16 109 TIP See the DeviceNet specification for more information about DeviceNet objects Information about the DeviceNet specification is available on the ODVA web site http www odva org Data Type Description BOOL 8 bit value low bit is true or false BOOL x Array of n bits CONTAINER 32 bit parameter value sign extended if necessary DINT 32 bit signed integer INT 16 bit signed integer LWORD 64 bit unsigned integer REAL 32 bit floating point SHORT_STRING Struct of USINT length indicator L USINT L characters SINT 8 bit signed integer STRINGN Struct of UINT character length indicator W UINT length indicator L USINT W x L string data STRING X Array of n characters STRUCT Structure name only no size in addition to elements TCHAR 8 or 16 bit character UDINT 32 bit unsigned integer UINT 16 bit unsigned integer USINT 8 bit unsigned integer Rockwell Automation Publication 520COM UMO001A EN E April 2013 97 Appendix C Identity Object DeviceNet Objects Class Code Hexadecimal Decimal 0x01 1 Services Implemented for Service Code Class Instance Service Name 0x01 Yes Yes Get_Attribute_All 0x05 No Yes Reset Ox0E Yes Yes Get_Attribute_Single Instances Si
86. d in its queue 3 Get ENUM Offset UINT DPI ENUM object instance offset Rockwell Automation Publication 520C0M UM001A EN E April 2013 125 AppendixC DeviceNet Objects Instance Attribute Attribute ID Access Rule Name Data Type Description 0 Get Full All Information STRUCT of BOOL 32 Descriptor see page 120 CONTAINER Value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value UINT Pad Word UINT Pad Word STRING 4 Units for example Amps Hz UINT Multiplier UINT Divisor UINT Base INT Offset UDINT Link source of the value 0 no link STRING 16 Diagnostic name text 1 Get Set Value Various Diagnostic item value 2 Get International Diagnostic Item Text STRUCT of STRINGN Diagnostic name text STRINGN Diagnostic units text 3 Get International Full Read All STRUCT of BOOL 32 Descriptor CONTAINER Value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value UINT Pad Word UINT Pad Word UINT Multiplier UINT Divisor UINT Base INT Offset UDINT Pad BOOL 32 Extended descriptor STRINGN Diagnostic name text STRINGN Diagnostic units text 1 A CONTAINER is a 32 bit block of data that contains the data type used by a value If signed the value is sign extended Padding is used in the CONTAINER to ensure that it is always 32 bits 2 This value is used in the formulas used to convert the value between display units and internal units See Formulas for Conv
87. do the following Commissioning the Adapter s Read the DeviceNet Media Design and Installation Guide publication DNET UM072 e Read the DeviceNet Starter Kit User Manual publication DNET UMO003 e Verify that you have all required equipment See Chapter 1 Getting Started To commission the adapter you must set a unique node address and the data rate that is used by the network See the Glossary for details about data rates and node addresses There are two methods for configuring the adapter s Node address and data rate e Using the onboard DIP Switches e Using adapter parameters Use adapter parameters when you want more flexibility in setting up the node address To set the Node address using adapter parameters see Setting the Node Address on page 25 IMPORTANT Regardless of the method used to set the adapter s node address each node on the network must have a unique node address To change a node address you must set the new value and then cycle drive power 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 see Guarding Against Electrostatic Damage publication 8000 4 5 2 i ATTENTION Risk of equipment damage exists The adapter contains ESD Rockwell Automation Publication 520COM UM002A EN E April 2013 15 Chapter 2 16
88. e Bit 5 000 Reserved 18 Extended Data Type Bit 6 001 UDINT used as an array of Boolean 010 Reserved 011 Reserved 100 Reserved 101 Reserved 110 Reserved 111 Reserved 19 Parameter Exists Used to mark parameters that are not available to network tools 20 Not Used 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 Bit 2 24 Access Level Bit 3 25 Writable ENUM ENUM text 0 Read Only 1 Read Write 26 Not a Link Source 0 May be the source end of a link 1 May not be the source end of a link 27 Enhanced Bit ENUM Parameter supports enhanced bit ENUMs 28 Enhanced ENUM Parameter supports enhanced ENUMs 29 Uses DSI Limits Object Parameter uses the DSI Limits Object Intelligent offline tools make use of the Limits Object to select limits and units 30 Extended Descriptor Parameter uses Extended Descriptor bits which can be obtained by reading the DSI Extended Descriptor attribute for this parameter 31 Always Upload Download Parameter shall always be included in uploads and downloads 120 Rockwell Automation Publication 520COM UM001A EN E April 2013 DeviceNet Objects Appendix C Extended Descriptor Attributes Bit Name Description 0 Indirect Mode 0 Analog selects entire parameters 1 Digital
89. e DeviceNet scanner in the rack Revision The minor revision of the firmware in the scanner You already set the major revision by selecting the scanner series in step 7 Electronic Keying Compatible Keying The Compatible Keying setting for Electronic Keying verifies that the physical module is consistent with the software configuration before the controller and scanner make a connection Therefore ensure that you have set the correct revision in this window See the online Help for additional information on this and other Electronic Keying settings If keying is not required select Disable Keying Disable Keying is recommended Input Size The size of the input data for the DeviceNet scanner We recommend the default value of 90 Output Size The size of the output data for the DeviceNet scanner We recommend the default value of 90 Open Module When this box is checked clicking OK opens additional module properties dialog Properties boxes to further configure the scanner When unchecked clicking OK closes the scanner s New Module dialog box For this example uncheck this box 8 Click OK The Module Properties Report window now appears In the Connection tab set the appropriate Requested Packet Interval RPI for your application 2 Module Properties Report Local 1 1769 SDN B 4 1 es General Connection RSNetWonx Requested Packet Interval RED 20 0 4ms 2 0 750 0ms
90. e Opt_Data_Out tags were created to describe the drive parameters to which these Datalinks are assigned For example Opt_Data_Out_01_Stop_Mode indicates that adapter Host parameter C165 Opt Data Out 1 is assigned to drive parameter P045 Stop Mode This same method applies to the Opt_Data_In tags Rockwell Automation Publication 520COM UM002A EN E April 2013 53 Chapter5 Using the 1 0 CompactLogix Controller Example Datalinks for Ladder Logic Program Using a Drive Generic Profile Name 8 7 Value Data Type Opt_Data_in Opt_Data_In Opt_Data_In _1_Avg_kWh_Cost o INT T Opt_Data_In _2_Accel_Time_1 o INT Opt_Data_in _3 Decel_Time_1 o INT T Opt_Data_In _4_Preset_Freq_0 o INT Opt_Data_Out Opt_Data_Out T Opt_Data_Out_1_Stop_Mode o INT Opt_Data_Out_2_Accel_Time_1 o INT T Opt_Data_Out_3_Decel_Time_1 o INT Opt_Data_Out _4_Preset_Freq_0 o INT 54 Rockwell Automation Publication 520C0M UM002A EN E April 2013 About Explicit Messaging Chapter 6 Using Explicit Messaging This chapter provides information and examples that explain how to use Explicit Messaging to configure and monitor the adapter installed and connected to the PowerFlex 525 drive Topic Page About Explicit Messaging 55 Performing Explicit Messaging CompactLogix Examples IR le ID IO publication are intended solely for purposes of example There
91. e Single This service is used to read a parameter value Service Code e Hex Code for the requested service Class 930 Class ID for the DPI Parameter Object Instance 3 Dec Instance number is the same as parameter number Attribute 9 Hex Attribute number for the Parameter Value attribute Rockwell Automation Publication 520COM UM002A EN E April 2013 57 Chapter 6 Using Explicit Messaging Source Element Leave blank not applicable Source Length 0 bytes Number of bytes of service data to be sent in the message Destination Output_Current The tag where the data that is read is stored Path DeviceNet_Scanner 2 1 The path is the route that the message will follow Name Single_Read_Message The name for the message 1 2 The default setting for Service Type is Custom enabling entry of a Service Code not available from the Service Type pull down menu When choosing a Service Type other than Custom from the pull down menu an appropriate Hex value is automatically assigned to the Service Code box which is dimmed unavailable Click Browse to find the path or type in the name of the device listed in the 1 0 Configuration folder for this example DeviceNet_Scanner Then always type in a comma followed by a 2 which is the DeviceNet scanner port followed by another comma then followed by the DeviceNet node number of the drive for this example 1 See Explicit Messagin
92. e UDINT 1 Ifan error occurred bit 15 will be turned on in the response 2 Ifan error occurred the error code will appear instead of the value Rockwell Automation Publication 520COM UM001A EN E April 2013 Parameter value read zero when writing 2 DPI Fault Object Class Code Hexadecimal 0x97 DeviceNet Objects Appendix C Decimal 151 Products such as PowerFlex drives use this object for faults Adapters use this object for events Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single 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 be read in Instance 0 Attribute 2 Instances Hex Instances Dec Single Drive Mode Multi Drive Mode 0x0000 0x3FFF 0 16383 Instances 0 1023 in the drive Instances 0 1023 in Drive 0 0x4000 0x43FF 16384 17407 Instances 0 1023 in the adapter Instances 0 1023 in the adapter 0x4400 0x47FF 17408 18431 DSI Instances 0 1023 in Drive 1 0x4800 0x4BFF 18432 19455 Option Instances 0 1023 in Drive 2 0x4C00 0x4FFF 19456 20479 Not supported Instances 0 1023 in Drive 3 0x5000 0x53FF 20480 21503 Not supported Instances 0 1023 in Drive 4 0x5400 0x57FF 21504 22527 Not supported Instances 0 1023 in the Optio
93. e adapter Instances Multi Drive Instance Description 0 Class instance for adapter 1 Adapter Parameter 1 n Adapter Parameter n 1 n represents the number of parameters in the adapter In addition the parameters for the other DSI devices can be accessed using the instance offset encoding shown in the table below Instances Dec Single Drive Mode Multi Drive Mode 16384 17407 Instances 0 1023 in the adapter Instances 0 1023 in the adapter 17408 18431 Instances 0 1023 in the drive Instances 0 1023 in Drive 0 18432 19455 Instances 0 1023 in the DSI device Instances 0 1023 in Drive 1 19456 20479 Instances 0 1023 in the adapter Instances 0 1023 in Drive 2 20480 21503 Not supported Instances 0 1023 in Drive 3 21504 22527 Not supported Instances 0 1023 in Drive 4 22528 23551 Not supported Instances 0 1023 in the adapter 106 Rockwell Automation Publication 520COM UM001A EN E April 2013 DeviceNet Objects Appendix C Class Attributes Attribute ID Access Rule Name Data Type Description 1 Get Revision UINT 1 2 Get Max Instance UINT Number of parameters 8 Get Parameter Class Descriptor WORD 0 False 1 True Bit 0 Supports parameter instances Bit 1 Supports full attributes Bit 2 Must do NVS save command Bit 3 Parameters are stored in NVS 9 Get Configuration Assembly Instance UINT 0 10 Get Native Language USINT 1 English 2 French 3 Spanis
94. e brand of host 0 is different from the adapter 26 Host 1 Brand Flt The brand of host 1 is different from the adapter 27 Host 2 Brand Flt The brand of host 2 is different from the adapter 28 Host 3 Brand Flt The brand of host 3 is different from the adapter 29 Host 4 Brand Flt The brand of host 4 is different from the adapter 30 Manual Reset The adapter was reset manually Network Events 40 Net Link Up 24V power was regained on DeviceNet DeviceNet communication can be re established 41 Net Link Down 24V power was lost on DeviceNet DeviceNet communication is impossible 42 Net Dup Address The adapter uses the same IP address as another device on the network 43 Net Comm Fault The adapter detected a communications fault on the network and has performed the Comm Flt action specified by the user 44 Net Sent Reset The adapter received a reset from the network Rockwell Automation Publication 520C0M UM002A EN E April 2013 89 Chapter 8 90 Troubleshooting Adapter Events Code Event Description 45 Net 10 Close An 1 0 connection from the network to the adapter was closed 46 Net Idle Fault The adapter detected a network idle condition on the network and has performed the Idle Flt action specified by the user 47 Net 10 Open An 1 0 connection from the network to the adapter has been opened 48 Net 10 Timeout An 1 0 connection from the network to the ada
95. e request FNC USINT Function code Not used for all CMDs EXT_STS USINT Extended Status Not used for all CMDs PCCC_params Array of USINT CMD FNC specific parameters PCCC_results Array of USINT CMD FNC specific result data Rockwell Automation Publication 520COM UM001A EN E April 2013 111 AppendixC DeviceNet Objects Message Structure for Execute_Local_PCCC Request Response Name Data Type Description Name Data Type Description CMD USINT Command byte CMD USINT Command byte STS USINT 0 STS USINT Status byte TNSW UINT Transport word TNSW UINT Transport word Same value as the request FNC USINT Function code Not used for all CMDs EXT_STS USINT Extended Status Not used for all CMDs PCCC_params Array of USINT CMD FNC specific parameters PCCC_results Array of USINT CMD FNC specific result data 112 The DeviceNet adapter supports the following PCCC command types CMD FNC Description 0x06 0x03 Identify host and some status 0x0F 0x95 Encapsulate the other protocol OxOF 0x00 Word range read Ox0F 0x01 Word range write For more information regarding PCCC commands see DET Protocol and Command Set Manual publication 1770 6 5 16 N Files Single Drive N File Description N41 This N file lets you read and write control 1 0 messages You can write control 1 0 messages only when all of the following conditions are true The adapter is not
96. e_Request 8 417 INT Parameter Number Scattered_Write_Request 3 5550 INT Parameter Value CompactLogix Example Scattered Write Response Data The results of the message appear in the destination tag named Scattered_Write_Response Example Scattered Write Response Data on page 68 Values of 0 indicate no errors occurred Rockwell Automation Publication 520COM UM002A EN E April 2013 67 Chapter6 Using Explicit Messaging Example Scattered Write Response Data 28 7 Value f Data Type Description Scattered Write_Response INTO T Scattered_Write_Response 0 442 INT Parameter Number T Scattered Write_Response 1 o INT Eror Code T Scattered_Write_Response 2 443 INT Parameter Number Scattered_Write_Response 3 o INT Error Code T Scattered_Write_Response 4 415 INT Parameter Number T Scattered Write_Response 5 o INT Error Code T Scattered_Wwrite_Response 6 416 INT Parameter Number T Scattered_Wwirite_Response 7 0 INT Error Code Scattered_Write_Response 8 417 INT Parameter Number Scattered_Write_Response 3 o INT Eror Code 68 Rockwell Automation Publication 520COM UM002A EN E April 2013 Chapter 7 Using Multi Drive Mode This chapter provides information and a ControlLogix ladder example to explain how to use Multi Drive mode Topic Page Single Drive Mode vs Multi Drive Mode 69 Syste
97. ed to add or configure the DeviceNet drive with RSLinx software See Using RSLinx Classic on page 33 and RSLinx online help for details 2 Click Download to download the configuration to the controller When the download is successfully completed RSLogix 5000 Logix Designer software goes into the Online mode and the I O OK box in the upper left of the dialog box should be steady green 3 From the File menu choose Save If this is the first time you saved the project the Save As dialog box appears a Navigate to a folder b Type a file name c Click Save to save the configuration as a file on your computer 4 To ensure that the present project configuration values are saved RSLogix 5000 Logix Designer software prompts you to upload them Click Yes to upload and save 5 Place the controller in Remote Run or Run Mode Rockwell Automation Publication 520COM UM002A EN E April 2013 About 1 0 Messaging Chapter 5 Using the 1 0 This chapter provides information and examples that explain how to control configure and monitor a PowerFlex 525 drive using the configured I O Topic Page About 1 0 Messaging 47 Understanding the 1 0 Image 48 Using Logic Command Status 48 Using Reference Feedback 48 Using Datalinks 49 Example Ladder Logic Program 50 CompactLogix Example 51 ATTENTION 1 U TION 17 U 7 Riaifjuayuipmedamage AN exists The examples in this publica
98. er of bytes of data in the consumed connection path 16 Get Consumed Connection Array of USINT Byte stream which defines Path Application objects whose data is Rockwell Automation Publication 520COM UM001A EN E April 2013 to be consumed by this Connection object DeviceNet Objects Appendix C Register Object Class Code Hexadecimal Decimal 0x07 7 Services Implemented for Service Code Class Instance Service Name Ox0E No Yes Get_Attribute_Single 0x10 No Yes Set_Attribute_Single Instances Single Drive Instance Description 1 Status Image All 1 0 data being read from the adapter read only 2 Command Image All 1 0 data written to the adapter read write 3 Logic Status and Feedback read only 4 Logic Command and Reference read write 5 Datalink To Net 1 read only 6 Datalink From Net 1 read write 7 Datalink To Net 2 read only 8 Datalink From Net 2 read write 9 Datalink To Net 3 read only 10 Datalink From Net 3 read write 11 Datalink To Net 3 read only 12 Datalink From Net 4 read write 13 Logic Command Masked read write 14 Logic Command Masked read write 15 Logic Command Masked read write 16 Logic Command Masked read write 17 Logic Command Masked read write 18 Logic Command Masked read write 19 Logic Status read only 20 Lo
99. eral 22 HIM A3 or 22 HIM C2S only when parameter 169 MultiDrv Sel is set to 0 Disabled The example ladder program demonstrates using Multi drive mode with five drives See Multi Drive Mode Example for Network on page 70 for an example of a system layout diagram See Multi Drive Example of I O Image on page 72 for the number of 16 bit input and output words to use for your application In this example the number of input words is 10 and the number of output words is 10 Function of the Example Program The example program provided is for the CompactLogix family but other Logix based controllers can also be used similarly This example program enables you to e View status information from the drives such as Ready Fault At Speed and Feedback Rockwell Automation Publication 520COM UM002A EN E April 2013 73 Chapter 7 Using Multi Drive Mode e Control the drives using various Logic Command bits Stop Start etc and Reference e Performa single parameter read and write for each drive The example uses PowerFlex 4M drive parameter P109 Accel Time 1 for both so you can see read the change after a write is performed Drive 0 PowerFlex 525 Settings for the Example Program s Parameter C169 MultiDrv Sel is set to 1 Network Opt e The following parameters are set Parameter Value Description P046 Start Source 1 4 Network Opt P047 Speed Reference1 4 Network Opt
100. ere in the ladder program Drive_Input_Image 8 0 Drive_4_Status_Ready 0 a Ic Ne Drive_Input_Image 8 1 Drive_4_Status_Active Drive_Input_Image 8 3 Drive_4_Status_Forward 2 JE gt Drive_Input_Image 8 7 Drive_4_Status_Faulted 3 JE Drive_Input_Image 8 8 Drive_4_Status_At_Reference 4 JE Fy COP 5 Copy File Source Drive_Input_Image 9 Dest Drive_4_ Feedback Length 1 This section takes the data from specific tags Logic Command bits and Reference and moves them to the output image area for transmission to the scanner Drive_4_Command_Stop Drive_Output_Image 8 0 6 IE CX ay Drive_4_Command_Start Drive_Output_Image 8 1 7 FE 5 IC X Drive_4_Command_Jog Drive_Output_Image 8 2 8 J ic 5 Ic e Drive_4_Command_Clear_Faults Drive_Output_Image 8 3 9 J E CS LG Drive_4_Command_Forward Drive_Output_Image 8 4 10 JE Drive_4_Command_Forward Drive_Output_Image 8 5 Wo E wS COP 12 Copy File Source Drive_4_Reference Dest Drive_Output_Image 9 Length 1 Explicit Messaging Example Drive 4 parameters are accessed by adding 21504 decimal 5400 hex to the desired parameter number For example to access parameter P109 an Instance of 21613 21504 109 is used Perform_Parameter_Read_4 SE 13 7 E Type CIP Generic EN Message Control Parameter_RD_Message_4 ON ER Perform
101. ern Read Write contiguous Host Opt Data In x parameters four maximum Reset Required Yes are active For example if this parameter value is set to 4 then Host parameters C161 Opt Data In 1 through C164 Opt Data In 4 will be updated 05 DLs To Net Act Minimum 0 Displays the value of Device parameter 04 DLs To Net Cfg at Maximum 4 the time the drive was reset This is the number of actual Type Read Only Sa drive to controller Datalinks that the controller is Reset Required No pecting 06 Net Addr Src Values 0 Switches Displays the source from which the adapter s node address is 1 Parameters taken This will be either the Node Address switches See Type Read Only Setting the Node Address and Data Rate Using the DIP Switches Reset Required Na on page 16 or the value of Device parameter 07 Net Addr Cfg Rockwell Automation Publication 520COM UM002A EN E April 2013 93 Appendix B 94 Adapter Parameters Parameter No Nameand Description Details 07 Net Addr Cfg Default 63 Sets the network node address for the adapter when Device Minimum 0 parameter 06 Net Addr Src is set to 1 Parameters Maximum 63 Type Read Write Reset Required Yes 08 Net Addr Act Minimum 0 Displays the actual network node address used by the adapter Maximum 63 Type Read Only Reset Required No 09 Net Rate Cfg Default 0 125kbps Sets the network data rate at whic
102. erting on page 122 126 Rockwell Automation Publication 520COM UMO001A EN E April 2013 Appendix D Logic Command Status Words PowerFlex 525 Drives Appendix D presents the definitions of the Logic Command and Logic Status words that are used for PowerFlex 525 drives Logic Command Word Velocity Bit Definitions Comm Logic Command 0122 0 Velocity Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command Description x Normal Stop 0 Not Normal Stop 1 Normal Stop x Start 0 Not Start 1 Start X Tog 17 0 Not Jog 1 Jog x Clear Fault 0 Not Clear Fault 1 Clear Fault x x Unipolar Direction 00 No Comman 01 Forward Command 10 Reverse Command 11 No Commani X Keypad 0 Not Force Keypad Control 1 Force Keypad Control X MOP Increment 0 Not MOP Increment 1 MOP Increment x x Accel Time 00 No Comman 01 Use Accel Rate 1 P041 Accel Time 1 10 Use Accel Rate 2 A442 Accel Time 2 11 Hold Accel Rate Selected x x Decel Time 00 No Comman 01 Use Decel Rate 1 P042 Decel Time 1 10 Use Decel Rate 2 A443 Decel Time 2 11 Hold Decel Rate Selected z Ref Select 1 000 No Command x Ref Select 2 001 Freq Source P047 Speed Reference1 x Ref Select 3 010 Freq Source P049 Speed Reference2 011 Freq Source P051 Speed Reference3 100 A410 Preset Freq 0 101 A411 Preset Freq 1 110 A412 Preset Freq 2 1
103. eviceNet node number of the drive for this example 1 See Explicit Messaging Class Code Compatibility with PowerFlex 525 Drives on page 55 for limitations of PowerFlex 525 drives when using DPI Parameter Object Class code 0x93 for explicit messaging In this example Accel Time 1 is a 16 bit parameter requiring the Data Type field to be set to INT when creating the controller tag Also the Source Length field on the Message Configuration screen must correspond to the selected Data Type in bytes for example 2 bytes for an INT See the drive documentation to determine the size of the parameter and its data type 6 Rockwell Automation Publication 520COM UM002A EN E April 2013 This applies only in single drive mode For Multi drive mode see Chapter 7 Using Multi Drive Mode for examples Chapter6 Using Explicit Messaging CompactLogix Explanation of Request and Response Data for Read Write Multiple Messaging The data structures in Data Structures for Scattered Read Messages on page 61 and Data Structures for Scattered Write Messages on page 62 use 16 bit words and can accommodate up to 64 parameters in a single message In the Response Message a parameter number with Bit 15 set indicates that the associated parameter value field contains an error code parameter number in response data will be negative The PowerFlex 525 Adjustable Frequency AC Drive User Manual publication 520 UM001 lists the d
104. f Datalinks actively used is controlled by the connection size in the controller and the in out parameters See the respective controller example sections in Chapter 4 for more information on setting the connection size When using a ControlLogix or CompactLogix controller and the Generic Profile or a MicroLogix 1100 1400 controller configure the Datalink parameters now as described in this section Enabling Datalinks To Write Data IMPORTANT Always use the Datalink parameters in consecutive numerical order starting with the first parameter For example use Host parameters C161 C162 and 163 to configure three Datalinks to write data Otherwise the network 1 0 connection will be larger than necessary which needlessly increases controller response time and memory usage Host parameters C161 Opt Data In 1 through C164 Opt Data In 4 control which parameters in the drive receive values from the network To configure these parameters set them to the drive parameter number you want to write them to The following steps are required to enable Datalinks to write data 1 Set the values of only the required number of contiguous controller to drive Datalinks needed to write data to the drive and that are to be included in the network I O connection 2 Reset the adapter by power cycling the drive After the above steps are complete the adapter is ready to receive input data and transfer status data to the master controller Next
105. fer to the referenced chapter Step Action See 1 Review the safety precautions for the adapter Throughout this manual 2 _ Verify that the PowerFlex drive is properly installed PowerFlex 525 Adjustable Frequency AC Drive User Manual publication 520 UM001 3 Commission the adapter Chapter 2 Set a unique node address and the appropriate data rate using the switches on the _ Installing the Adapter adapter If desired you can disable the switches and use parameter settings instead 4 _ Install the adapter Verify that the PowerFlex drive is not powered Then connect the adapter to the drive using the interface connector included with adapter 5 Connect the drive to the DeviceNet network Verify that the DeviceNet network is not powered Then connect the DeviceNet adapter to the network using a DeviceNet cable 6 Apply power to the drive and to the network The adapter receives power from the drive and network a The status indicators should be green If they flash red there is a problem See Chapter 8 Troubleshooting b Configure verify key drive parameters 7 Configure the adapter for your application Chapter 3 Set DeviceNet adapter parameters for the following functions as required by your Configuring the Adapter application Node address Data rate 1 0 configuration Change of State Cyclic or polled 1 0 data exchange Fault actions 8 _ Apply power to the DeviceNet maste
106. from the input area and moves it to specific tags Logic Status bits and Feedback for use elsewhere in the ladder program Drive_Input_Image 2 0 Drive_1_Status_Ready 0 Je Ic X Drive_Input_Image 2 1 Drive_1_Status_Active Drive_Input_Image 2 3 Drive_1_Status_Forward 2 JE gt Drive_Input_Image 2 7 Drive_1_Status_Faulted 3 JE Drive_Input_Image 2 8 Drive_1_Status_At_Reference 4 JE Ley COP 5 Copy File Source Drive_Input_Image 3 Dest Drive_1_Feedback Length 1 This section takes the data from specific tags Logic Command bits and Reference and moves them to the output image area for transmission to the scanner Drive_1_Command_Stop Drive_Output_Image 2 0 6 IE a AWE Drive_1_Command_Start Drive_Output_Image 2 1 7 TE 5 JIC X Drive_1_Command_Jog Drive_Output_Image 2 2 8 TE 5 Ic e Drive_1_Command_Clear_Faults Drive_Output_Image 2 3 9 SE C N e e Drive_1_Command_Forward Drive_Output_Image 2 4 10 JE Drive_1_Command_Forward Drive_Output_Image 2 5 1 H m A COP 12 Copy File Source Drive_1_Reference Dest Drive_Output_Image 3 Length 1 Explicit Messaging Example Drive 1 parameters are accessed by adding 18432 decimal 4800 hex to the desired parameter number For example to access parameter P109 an Instance of 18541 18432 109 is used Perform_Parameter_Read_1 ve
107. g Class Code Compatibility with PowerFlex 525 Drives on page 55 for limitations of PowerFlex 525 drives when using DPI Parameter Object Class code 0x93 for explicit messaging In this example Output Current is a 16 bit parameter requiring the Data Type field to be set to INT when creating the controller tag See the drive documentation to determine the size of the parameter and its data type This applies only in single drive mode For Multi drive mode see Chapter 7 Using Multi Drive Mode for examples CompactLogix Example Ladder Logic Program to Write a Single Parameter A Set Attribute Single message is used to write to a single parameter This write message example writes a value to the 16 bit parameter P041 Accel Time 1 ina PowerFlex 525 drive Example Controller Tags to Write a Single Parameter Operation Controller Tags for Single Write Message Data Types XIC Execute_Single_Write_Message BOOL MSG Single_Write_Message MESSAGE Example Ladder Logic to Write a Single Parameter Execute_Single_Write_Message MSG P Message EN ac Message Control Single_Write_Message ie AD La Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Explicit Messaging CompactLogix Formatting a Message to Write a Single Parameter Set Attribute Single Message Configuration Screens r Message Configuration Single_Write_Message
108. gic Command read write 21 Feedback read only 22 Reference read write 23 Logic Status read only 24 Logic Command read write 25 Feedback read only 26 Reference read write 27 Logic Command read write 28 Logic Status read only 29 Reference read write 30 Feedback read only 31 Logic Command read write 32 Logic Status read only 33 Reference read write 34 Feedback read only 35 Logic Command read write Rockwell Automation Publication 520C0M UM001A EN E April 2013 103 AppendixC DeviceNet Objects Instance 36 Description Logic Status read only 37 Reference read write 38 Feedback read only 1 The mask command DWORD is set to the value of the first DWORD of the data where there are ones in the second DWORD of the data Only the bits of the Logic Command that have the corresponding mask bit set are applied Instances Multi Drive Instance Description 1 Status Image All 1 0 data being read from the embedded adapter read only 2 Command Image All 1 0 data written to the embedded adapter read write 3 Logic Status and Feedback 0 read only 4 Logic Command and Reference 0 read write 5 Logic Status and Feedback 1 read only 6 Logic Command and Reference 1 read write 7 Logic Status and Feedback 2 read only 8 Logic Command and Reference 2 read
109. h 4 Italian 5 German 6 Japanese 7 Portuguese 8 Chinese Simplified 9 Reserved 10 Reserved 11 Korean 12 Polish 13 Reserved 14 Turkish 15 Czech Instance Attributes Attribute ID Access Rule Name DataType Description 1 m Paramete rValue 2 Get Link Path USINT 0 No link specified Size n Link specified 3 Get Link Path N 4 Get Descriptor WORD 0 False 1 True Bit 1 Supports ENUMs Bit 2 Supports scaling Bit 3 Supports scaling links Bit 4 Read only Bit 5 Monitor Bit 6 Extended precision scaling 5 Get Data Type USINT G INT 7 UINT D2 WORD 16 bit 6 Get Data Size USINT 8 7 Get Paramete SHORT_STRI rName NG String 8 Get Units SHORT_sTRI String NG 9 Get Help SHORT_STRI 0 String NG 10 Get Minimum Value 11 Get Maximum Value Rockwell Automation Publication 520COM UMO001A EN E April 2013 107 AppendixC DeviceNet Objects Attribute ID AccessRule Name DataType Description 12 Get Default B Value 13 Get Scaling UINT B Multiplier 14 Get Scaling UINT B Divisor 15 Get Scaling UINT B Base 16 Get Scaling UINT B Offset 17 Get Multiplier UINT B Link 18 Get Divisor UINT B Link 19 Get Base Link UINT B 20 Get Offset UINT B Link 21 Get Decimal USINT B Precision 1 Access rule is defined in bit 4 of instance attribute 4 0 Get Set 1 Get 2 Specified in descriptor d
110. h the adapter communicates Values 0 125kbps when the Data Rate switch See Setting the Node Address and 1 250kbps Data Rate Using the DIP Switches on page 16 is set to position 2 500kbps 3 Updates Device parameter 10 Net Rate Act after a reset 3 Autobaud Type Read Write Reset Required Yes 10 Net Rate Act Values 0 125kbps Displays the actual network data rate being used by the 1 250kbps adapter 2 500kbps 3 Autobauding Type Read Only Reset Required No 11 COS Status Mask Default 0000 0000 0000 0000 Sets the mask for the 32 bit Logic Status word Unless they are 0000 0000 0000 0000 masked out the bits in the Logic Status word are checked for Minimum 0000 0000 0000 0000 changes when the adapter is allocated using COS Change of 0000 0000 0000 0000 State If a bit changes it is reported as a change in the Change Maximum 111111111111 1111 of State operation 1111 11111111 1111 Ifthe mask bit is 0 Off the bit is ignored If the mask bit is 1 Type Read Write On the bit is checked Reset Required Na Important The bit definitions in the Logic Status word for PowerFlex 520 Series drives are shown in Appendix D 12 COS Fdbk Change Default 0 Sets the amount of acceptable error positive or negative that Minimum 0 000 the Feedback word can change before it is reported as a change Maximum 3 40282 x 1038 in the COS Change of State operation Type Read Write Reset Required No 13 COS C
111. hapter 8 Troubleshooting Provides a clean ground for the communication bus cable shields CS1 or CS2 should be connected to a clean ground or PE ground on the drive DeviceNet connector Rockwell Automation Publication 520COM UM002A EN E April 2013 A 5 pin connector to which a 5 pin linear plug can be connected Chapter1 Getting Started Features The features of the DeviceNet adapter include e Mounting onto a PowerFlex 525 Control Module back cover for installation into the drive It receives the required power from the drive and from the DeviceNet network e Switches to set a node address and network data rate before applying power to the PowerFlex drive Alternatively you can disable the switches and use parameters to configure these functions e Compatibility with various configuration tools to configure the DeviceNet adapter and host drive The tools include network software such as RSNetWorx for DeviceNet and drive configuration software such as RSLogix 5000 version 17 or greater Logix Designer version 21 or greater and Connected Components Workbench version 3 or greater e Status indicators that report the status of the DeviceNet adapter and network communications e Parameter configured 16 bit Datalinks in the I O to meet application require
112. he 1769 SDN Scanlist tab dialog box reappears 20 Click the Input tab to display the input registers for the 1769 SDN scanner 21 Click AutoMap to map the drive input image to the 1769 SDN scanner as shown in the example dialog box below TIP If your RSLogix 5000 Logix Designer project requires a different staring DWord double word 32 bit than the default value of 0 for the drive input image set the Start DWord field to the appropriate value 8 1769 SDN Scanner Module ea General Module Scaniist Input Output ADR Summary Type Size 01 Power Polled 12 1 1 Data 0 0 Advanced a _ Options Memory Discrete z Start DWord H ets 31 0 TTT 1 1 Datal0l Poweria P 3 1 I Data 1 PowerFle OV 1 0 1 1 Datal2 P 1 1 Datal3 1 1 Datal4l 1 1 Datal5 1 1 Datal6l 1 Datal 7 TT Pasig E ok crow a e J 22 Click the Output tab to display the output registers for the 1769 SDN scanner 23 Click AutoMap to map the drive output image to the 1769 SDN scanner as shown in the example dialog box below TIP If your RSLogix 5000 Logix Designer project requires a different staring DWord double word 32 bit than the default value of 0 for the drive output image set the Start DWord field to the appropriate value 8 1769 SDN Scanner Module General Module Scaniist Input Output ADR Summary
113. iewing 88 explicit messages about 55 CompactLogix examples 56 definition 133 performing 56 F fault action changing the 29 definition 133 setting a 29 fault configuration definition 133 setting the parameters 29 faulted node recovery 134 heartbeat rate 134 HIM Human Interface Module definition 134 using 25 hold last definition 134 April 2013 137 Index 138 1 0 setting the fault action 29 about 47 calculating 1 0 byte sizes 43 configuring the scanner 42 definition 134 mapping in the scanner 44 setting the configuration 26 idle action definition 134 setting the fault action parameter 29 L Logic Command Status bit definitions 127 128 definition 134 in 1 0 image 48 using 48 Logix Designer 136 adding the controller to the 1 0 configuration 35 definition 136 going online 46 M master slave hierarchy configuring 27 definition 134 multi drive mode additional information 83 benefits 70 explicit messaging example 82 1 0 image example 72 ladder logic program example 73 system wiring 71 versus single drive mode 69 node address definition 135 setting with a parameter 25 setting with switches 16 NVS Non Volatile Storage 135 0 objects definition 135 list 97 P parameters accessing with drive keypad 23 accessing with HIM 25 convention used in manual 7 Rockwell Automation Publication 520COM UM002A E
114. iguring the 1 0 1 From the Communications menu in the RSLogix 5000 Logix Designer dialog box choose Download The Download dialog box appears reri i S Download offline project v20_Example_PowerFlex_52X to the A controller Connected Controller Name v20_Example_PowerFlex_52X Type 1769 L36ERM A CompactLogixS336ERM Controller Path AB_ETH 1 192 168 1 3 Serial Number 6027S1ED Security No Protection A The controller is in Remote Run mode The mode will be changed to Remote Program prior to downloa DANGER This controller is the system time master Servo axes in synchronized controllers in this chassis or other chassis may be turned off DANGER Unexpected hazardous motion of machinery may occur Some devices maintain independent configuration settings that are not loaded to the device during the download of the controller Verify these devices drives network devices 3rd party products have been properly loaded before placing the controller into run mode Failure to load proper configuration could result in misaligned data and unexpected equipment operation a Gn TIP If a message box reports that RSLogix 5000 Logix Designer software is unable to go online find your controller in the Who Active dialog box From the Communications menu choose Who Active After finding and selecting the controller click Set Project Path to establish the path If your controller does not appear you ne
115. improve this document complete this form publication RA DU002 available at http www rockwellautomation com literature www rockwellautomation com Power Control and Information Solutions Headquarters Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Middle East Africa Rockwell Automation NV Pegasus Park De Kleetlaan 12a 1831 Diegem Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation Level 14 Core F Cyberport 3 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication 520COM UM002A EN E April 2013 Copyright 2013 Rockwell Automation Inc All rights reserved
116. in Routine CompactLogix DeviceNet Multi drive example program with a PowerFlex 525 and DeviceNet adapter at node address 1 Four PowerFlex 4M drives are daisy chained to the main PowerFlex 525 using their RJ45 ports RS 485 In this mode up to five PowerFlex drives can exist on one DeviceNet node This run enables the scanner changes the scanner to RUN mode Local 3 0 CommandRegister Run 0 This rung retrieves the Logic Status and Feedback data for all five drives from the scanner DINTs and moves it to specific INT tags for use elsewhere in the ladder program The input image is as follows Drive_Input_Image 0 and Drive_Input_Image 1 Drive 0 Logic Status and Feedback Drive_Input_Image 2 and Drive_Input_Image 3 Drive 1 Logic Status and Feedback Drive_Input_Image 4 and Drive_Input_Image 5 Drive 2 Logic Status and Feedback Drive_Input_Image 5 and Drive_Input_Image 7 Drive 3 Logic Status and Feedback Drive_Input_Image 8 and Drive_Input_Image 9 Drive 4 Logic Status and Feedback COP 1 Copy File Source Local 1 l Data 0 Dest Drive_Input_Image 0 Length 10 Drive 0 control subroutine JSR 2 Jump To Subroutine Routine Name Drived Drive 1 control subroutine JSR 3 Jump To Subroutine Routine Name Drivel Drive 2 control subroutine JSR 4 Jump To Subroutine Routine Name Drive2 Drive 3 control subroutine JSR 5 Jump To Subroutine Routine Name Drive3 Drive 4 control subroutine JSR 6 Jump To Subroutine Routine Name Drive4
117. ion was explicitly closed Adapter Specific Events 69 Module Defaulted The adapter has been set to defaults Rockwell Automation Publication 520C0M UM002A EN E April 2013 Communication Electrical Mechanical Environmental Regulatory Compliance Appendix A Specifications Appendix A presents the specifications for the adapter Network Protocol DeviceNet Data Rates 125 Kbps 250 Kbps 500 Kbps or Autobaud default Drive Protocol DSI Consumption Drive Network 150 mA 5V supplied through the drive 60 mA 24V supplied through DeviceNet Use the 60 mA value to size the network current draw from the power supply Dimensions Height 21 mm 0 83 in Length 141 8 mm 5 58 in Width 48 4 mm 1 9 in Weight 39 g 1 38 oz Temperature Operating 10 50 C 14 149 F Storage 40 85 C 40 185 F Relative Humidity 5 95 noncondensing See the PowerFlex 525 Adjustable Frequency AC Drive User Manual publication 520 UM001 for regulatory compliance information Rockwell Automation Publication 520COM UM002A EN E April 2013 91 AppendixA Specifications Notes 92 Rockwell Automation Publication 520COM UM002A EN E April 2013 Device Parameters Adapter Parameters Appendix B Appendix B provides information about the adapter parameters Topic Page Device Parameters 93 The adapter parameters are displayed in a Numbered List view order
118. itted through the adapter When communication is re 2 Zero Data established the drive will automatically receive commands 3 Hold Last over the network again 4 Send Flt Cfg Type Read Write Reset Required No ATTENTION Risk of injury or equipment damage exists Device L parameter 15 Comm Fit Actn 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 risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations for example a disconnected drive 16 Idle Flt Action Default 0 Fault Sets the action that the adapter and drive will take if the Values 0 Fault adapter detects that the controller is in program mode or 1 Stop faulted This setting is effective only if 1 0 that controls the drive is transmitted through the adapter When the controller is put 2 Zero Data back in Run mode the drive will automatically receive 3 Hold Last commands over the network again 4 Send Fit Cfg Type Read Write Reset Required No ATTENTION Risk of injury or equipment damage exists Device rN parameter 16 Idle Flt Actn lets you determine the action of the adapter and connected drive if the scanner is idle By defa
119. ive 4 0x5400 0x57FF 21504 22527 Not supported Instances 0 1023 in the Option Class Attributes Attribute ID Access Rule Name Data Type Description 0 Get Family Code USINT 0x00 DSI Peripheral 0x09 Single Drive Mode 0x0B Multi Drive Mode 0x1E 25 COMM X Option Module OxFF HIM 1 Get Family Text STRING 16 Text identifying the device 2 Set Language Code USINT 1 English 2 French 3 Spanish 4 Italian 5 German 6 Japanese 7 Portuguese 8 Chinese Simplified 9 Reserved 10 Reserved 11 Korean 12 Polish 13 Reserved 14 Turkish 15 Czech 114 Rockwell Automation Publication 520COM UMO001A EN E April 2013 DeviceNet Objects Appendix C Attribute ID Access Rule Name Data Type Description 3 Get Product Series USINT 1 A 2 B 4 Get Number of Components USINT Number of components for example main control board 1 0 boards in the device 5 Set User Definable Text STRING 16 Text identifying the device with a user supplied name 6 Get Status Text STRING 12 Text describing the status of the device 7 Get Configuration Code USINT Identification of variations 8 Get Configuration Text STRING 16 Text identifying a variation of a family device 9 Get Brand Code UINT 0x0001 Allen Bradley 11 Get NVS Checksum UINT Checksum of the Non Volatile Storage in a device 12 Get Class Revision UINT 2 DSI 13 Get Character Set Code USINT 0 SCANport HIM 1 IS
120. lave device must have a scanner specified as a master Rockwell Automation Publication 520COM UM002A EN E April 2013 Node Address NVS Non Volatile Storage Objects PCCC Programmable Controller Communications Command Polled I O Data Exchange PowerFlex 525 Drives Product Consumer Network Reference Feedback RSLogix 5000 Software Glossary A DeviceNet network can have as many as 64 devices connected to it Each device on the network must have a unique node address between 0 and 63 Node address 63 is the default used by non commissioned devices Node addresses are sometimes called MAC IDs NYS 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 The DeviceNet specification defines an object as an abstract representation of a particular component within a product PCCC is the protocol used by some controllers to communicate with devices on a network Some software products for example DriveExplorer and DriveExecutive also use PCCC to communicate A device that is configured for polling I O data exchange sends data immediately after it receives a request for the data For example an adapter receives a Logic Command from the scanner and then sends back the Logic Status of the connected PowerFlex drive The Allen Bradley PowerFlex 525 drives a
121. lues will remain even after the drive is power cycled Important Be very cautious as the EEPROM may quickly exceed its life cycle and cause the drive to malfunction Important If you need to make frequent parameter changes using Explicit Messages set Host parameter C121 Comm Write Mode to 1 RAM only 3 Click Browse to find the path or type in the name of the device listed in the 1 0 Configuration folder for this example DeviceNet_Scanner Then always type in a comma followed by a 2 which is the DeviceNet scanner port followed by another comma then followed by the DeviceNet node number of the drive for this example 1 4 See Explicit Messaging Class Code Compatibility with PowerFlex 525 Drives on page 55 for limitations of PowerFlex 525 drives when using DPI Parameter Object Class code 0x93 for explicit messaging 5 In this example we are writing to five 16 bit parameters Each parameter being written to requires two contiguous INT registers Also the Source Length field on the Message Configuration screen must correspond to the selected Data Type in bytes for this example 20 bytes for an array of ten INTs Scattered write messages always assume that every parameter being written to is a 16 bit parameter regardless of its actual size Maximum message length is 256 bytes which can write up to 64parameters regardless of their size For parameter numbering see DPI Parameter Object on page 117 Class code 0x93 6
122. m Wiring a Understanding the 1 0 Image 71 Configuring the RS 485 Network 22 Multi Drive Ladder Logic Program Example B CompactLogix Example Using Generic Profile 74 Multi Drive Mode Explicit Messaging 82 Additional Information 83 publication are intended solely for purposes of example There are many variables and requirements with any application Rockwell Automation Inc does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication f ATTENTION Risk of injury or equipment damage exists The examples in this Single Drive Mode VS Multi Single drive mode is a typical network installation where a single DeviceNet Drive Mode node consists of a single drive with a 25 COMM D DeviceNet adapter Single Drive Mode Example for Network One drive per node PowerFlex 525 PowerFlex 525 PowerFlex 525 with 25 COMM D with 25 COMM D with 25 COMM D C le E Meet O OR eye ge liaa 1 B PowsrFign A B 5 nananana AnaAnAnAnan DeviceNet Multi drive mode is an alternative to the typical network installation where a single DeviceNet node can consist of one to five drives see Multi Drive Mode Rockwell Automation Publication 520COM UM002A EN E April 2013 69 Chapter7 Using Multi Drive Mode Example for
123. mber of the parameter or diagnostic item to which this Extended Parameter Reference is pointing Note that an Extended Parameter Reference can only select parameters unlike an Indirect Selector An Extended Parameter Reference could be used to configure a Datalink or show the source of a Reference among other uses 21 Uses Rating Table Object This parameter has rating dependent defaults and limits that can be obtained from the Rating Table Object The Offline Read Full will include the default value for the smallest rating and limits that will accommodate the full range of values allowed in the family of devices using this particular combination of Family Code and Config Code The Online Read Full will include the rating dependent default and limit values for this particular combination of Family Code Config Code and Rating Code 22 Writable Referenced Parameter This bit must be zero unless the parameter is an Extended Parameter Reference If the parameter is an Extended Parameter Reference then 0 The referenced parameter may be read only or writable 1 The referenced parameter must always be writable including while running 23 Disallow Zero This bit must be zero unless the parameter is an Indirect Selector or Extended Parameter Reference If the parameter is an Indirect Selector or Extended Parameter Reference then 0 Allow zero 1 Disallow zero If this bit is cleared indicating that a value of zero is allowed the device must supp
124. ments four Datalinks to write data from the network to the drive and four Datalinks to read data to the network from the drive e Explicit Messaging and UCMM Unconnected Message Manager support e Master Slave hierarchy that can be configured to transmit data to and from a controller on the network e Multi drive mode which allows up to five drives to share a single DeviceNet address node e User defined fault actions to determine how the DeviceNet adapter and its host PowerFlex 525 drive respond to I O messaging communication disruptions Comm Flt Action Controllers in idle mode Idle Flt Action e Multiple data exchange methods including Polled Cyclic and Change of State COS can be used to transmit data between the network and adapter e Faulted node recovery is supported You can configure a device even when it is faulted on the network if you have a configuration tool that uses faulted node recovery and have properly set the adapter node address switches and data rate switches i This manual references two types of parameters Understanding Parameter ypes of p Types e Device parameters are used to configure the adapter to operate on the network These parameters reside on the adapter e Host parameters are used to configure the drive including the datalink configuration for the datalinks used by the adapter These parameters reside on the drive 10 Rockwell Automation Publication 520COM UM002A EN E April
125. mmand and Reference from the network 1 Set the value of Host parameter P046 Start Source 1 to 4 Network Opt Rockwell Automation Publication 520COM UM002A EN E April 2013 21 Chapter2 Installing the Adapter 2 Set the value of Host parameter P047 Speed Reference1 to 4 Network Opt TIP The PowerFlex 525 drive supports up to three control functions and three Reference functions For more information on how to set different combinations of the control and Reference functions see the PowerFlex 525 drive user manual publication 520 UMO001 22 Rockwell Automation Publication 520COM UM002A EN E April 2013 Configuration Tools Using the Drive Keypad Interface to Access Parameters Configuring the Adapter Chapter 3 provides instructions and information for setting the parameters to configure the DeviceNet adapter Topic Configuration Tools Chapter 3 Using the Drive Keypad Interface to Access Parameters Using the PowerFlex 4 Class HIM to Access Parameters Setting the Node Address Setting the Data Rate Setting the 1 0 Configuration Using Master Slave Hierarchy Optional Selecting COS Cyclic or Polled 1 0 Setting a Fault Action Resetting the Adapter Restoring Adapter Parameters to Factory Defaults Viewing the Adapter Status Using Parameters w Kari Updating the Adapter Firmware w Kel For a list of parameters
126. n communications with the daisy chained drives is disrupted and the drives will take the appropriate communications loss action set in each drive e Communications throughput to the daisy chained drives will be slower than if each drive was a separate node on DeviceNet Single drive mode This is because the DeviceNet adapter must take the DeviceNet data for the other drives and sequentially send the respective data to each drive over RS 485 The approximate additional throughput time for Logic Command Reference to be transmitted and received by each drive is Drive Additional Throughput Time versus Single Drive Mode PowerFlex 525 Oms PowerFlex 525 plus 1 drive 24 ms PowerFlex 525 plus 2 drives 48 ms PowerFlex 525 plus 3 drives 72 ms PowerFlex 525 plus 4 drives 96 ms 70 Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Multi Drive Mode Chapter 7 e Automatic Device Replacement ADR cannot be used with any of the drives e The RSNetWorx Parameter editor cannot be used to access the Host parameters It can only access the parameters on the DeviceNet adapter e Since the RS 485 ports are used for daisy chaining the drives there is no connection for a peripheral device such as a HIM or USB converter module 1203 USB DSI Splitter cables cannot be used to add a second connection for a peripheral device System Wiring To daisy chain the drives of the PowerFlex 525 the AK U0 RJ45 TB2
127. n Class Attributes Attribute ID Access Rule Name Data Type Description 1 Get Class Revision UINT Revision of object 2 Get Number of Instances UINT Maximum number of faults events that the device can record in its queue 3 Set Fault Command Write USINT 0 No Operation 1 Clear Fault Event 2 Clear Fault Event Queue 3 Reset Device 4 Get Fault Trip Instance Read UINT Fault that tripped the device For adapters this value is always 1 when faulted 6 Get Number of Recorded Faults UINT Number of faults events in the queue A 0 indicates the fault queue is empty 7 Get Fault Parameter Reference UINT Reserved Rockwell Automation Publication 520COM UM001A EN E April 2013 123 AppendixC DeviceNet Objects Instance Attributes Attribute ID Access Rule Name Data Type Description 0 Get Full All Information STRUCT of UINT Fault code STRUCT of Fault source USINT DSI port USINT DSI Device Object STRING 16 Fault text STRUCT of Fault time stamp LWORD Timer value 0 timer not supported BOOL 16 BOOL 0 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time BOOL 2 15 Not used UINT Reserved CONTAINER n Reserved 1 Get Basic Information STRUCT of UINT Fault code STRUCT of Fault source USINT DSI port USINT DSI Device Object STRUCT of Fault time stamp LWORD Timer value 0 timer not supported BOOL 16 BOOL 0 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time BOOL 2 15
128. n 520COM UM001A EN E April 2013 115 AppendixC DeviceNet Objects Instance Attribute Attribute ID Access Rule Name Data Type Description 3 Get Component Name STRING 32 Name of the component 4 Get Component Firmware Revision STRUCT of USINT Major Revision USINT Minor Revision 8 Get Component Serial Number UDINT Value between 0x00000000 and OxFFFFFFFF 9 Get International Component Name STRING Name of the component with support for Unicode 116 Rockwell Automation Publication 520COM UMO001A EN E April 2013 DPI Parameter Object Class Code Hexadecimal 0x93 Instances DeviceNet Objects Appendix C Decimal 147 The number of instances depends on the number of parameters in the device The total number of parameters can be read in Instance 0 Attribute 0 Instances Hex Instances Dec Single Drive Mode Multi Drive Mode 0x0000 0x3FFF 0 16383 Instances 0 1023 in the drive Instances 0 1023 in Drive 0 0x4000 0x43FF 16384 17407 Instances 0 1023 in the adapter Instances 0 1023 in the adapter 0x4400 0x47FF 17408 18431 DSI Instances 0 1023 in Drive 1 0x4800 0x4BFF 18432 19455 Option Instances 0 1023 in Drive 2 0x4C00 0x4FFF 19456 20479 Not supported Instances 0 1023 in Drive 3 0x5000 0x53FF 20480 21503 Not supported Instances 0 1023 in Drive 4 0x5400 0x57FF 21504 22527 Not supported Instances 0 1023 in the Option Class Attribu
129. networks and connected devices It is a 32 bit Windows application that can be used on computers running various Microsoft Windows operating systems Information about RSNetWorx for DeviceNet software can be found at http www software rockwell com rsnetworx A scanner is a separate module of a multi module controller or a built in component of a single module controller that provides communication with adapters connected to a network See also Controller Status indicators are LEDs that are used to report the status of the adapter network and drive They are on the adapter and can be viewed on the front cover of the drive when the drive is powered When communication is disrupted for example a cable is disconnected the adapter and drive can respond with a stop action A stop action results in the drive receiving zero as values for Logic Command Reference and Datalink data If the drive was running and using the Reference from the adapter it will stay running but at zero Reference The Studio 5000 Engineering and Design Environment combines engineering and design elements into a common environment The first element in the Studio 5000 environment is the Logix Designer application The Logix Designer application is the rebranding of RSLogix 5000 software and will continue to be the product to program Logix 5000 controllers for discrete process batch motion safety and drive based solutions The Studio 5000 environment is
130. ng the 1 0 Table of Contents Important User Information e e eeb oe Seowdedw os 2 Preface Recommended Documentation ci sees eee e 7 Manual Conventions eerie read ER KTTS R Re tate 7 Chapter 1 COMPONCATS e aa E wpa E E O R te 9 FeatUTES R aE T a RATA Ta N AAS Taa 10 Understanding Parameter Types n istavdsds date ren eases 10 Compatible Products x KS a EREEREER Es 11 Required Equipment s ee helen bee te oe lot 11 Safety Precaution seod n eee na a E A te 12 Quick Statt oore carsales ats rete ted a raa N NE aE 13 Chapter 2 Preparing for an lostallationwsscas cases ee 15 Commissioning he Adaptets scans tue ctr sepamg ice atuatuste wie gaoririvons 15 Connecting the Adapter to the Dive 17 Connecting the Adapter to the Network 0 00 00 eee c eee 19 Applymis Power nctshissasne seed ese EEEE E eh eee 20 Chapter 3 Configuration LOO Sivas Meeliannia uy rec cndes SURNAM emaiusivn ries 23 Using the Drive Keypad Interface to Access Parameters 23 Using the PowerFlex 4 Class HIM to Access Parameters 25 Setting the Node Address se 25 Setting the Data Rate 26 Setting the I O Configuration ee sev e 26 Using Master Slave Hierarchy Optional sse 26 Selecting COS Cyclic or Polled LO sasuis snssGaaisigens va raaens 28 Scttinga FaultActione aa Sr eS os pce R R ceecwnsy R RT TT 29 Resetting the Adapter T 30 Restoring Adapter Parameters to Factory Defaults 30 Viewing the
131. ngle Drive Instance Description 0 Class 1 Host Drive 2 22 SCM 232 or 22 HIM when present 3 25 COMM D Instances Multi Drive Instance Description 0 Class 1 25 COMM D 98 Class Attributes Attribute ID Access Rule Name DataType Description 1 Get Revision UINT 1 2 Get Max Instance UINT Total number of instances Instance Attributes Attribute ID AccessRule Name Data Type Description 1 Get Vendor ID UINT 1 Allen Bradley 2 Get Device Type UINT 149 3 Get Product Code UINT Number identifying product name and rating 4 Get Revision STRUCT of Major USINT Value varies Minor USINT Value varies 5 Get Status UNIT Bit 0 Owned Bit 2 Configured Bit 10 Recoverable fault Bit 11 Unrecoverable fault 6 Get Serial Number UDINT Unique 32 bit number Rockwell Automation Publication 520COM UMO001A EN E April 2013 DeviceNet Objects Appendix C Attribute ID AccessRule Name Data Type Description 7 Get Product Name SHORT_STRING Product name and rating 9 Get Configuration WORD Checksum of configuration information Consistency Value 102 Get Subminor UDINT Further revision information Revision Rockwell Automation Publication 520COM UMO001A EN E April 2013 99 AppendixC DeviceNet Objects Assembly Object 100 Class Code Hexadecimal Decimal 0x04 4 Services Implemented for Service Code Class Instance Service
132. ockwell Automation Publication 520COM UMO001A EN E April 2013 119 AppendixC DeviceNet Objects Descriptor Attributes Bit Name Description 0 Data Type Bit 1 Right bit is least significant bit 0 1 Data Type Bit 2 000 USINT used as an array of Boolean 2 Data Type Bit 3 001 UINT used as an array of Boolean 010 USINT 8 bit integer 011 UINT 16 bit integer 100 UDINT 32 bit integer 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 Nota Link Sink 0 May be the sink end of a link 1 May not be the sink end of 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 Read write 9 Not Writable When Enabled 0 Read only 1 Read write 10 Instance 0 Writable when enabled e g drive running 1 Not writable when enabled 11 Uses Bit ENUM Mask This parameter instance supports the Bit ENUM Mask attribute For more information see the definition of the attribute 12 Decimal Place Bit 0 Number of digits to the right of the decimal point 13 Decimal Place Bit 1 0000 0 14 Decimal Place Bit 2 1111 15 15 Decimal Place Bit 3 16 Extended Data Type Bit 4 Bit 16 is the least significant bit 17 Extended Data Typ
133. ompact Logix Example Ladder Logic Program Using a Drive Generic Profile for Logic Command Reference Command Word DriveCommandStop DriveOutputlmage 0 0 Sh iE y 8 e X Command Word DriveCommandsStart DriveOutputlmage 0 1 9 JE Command Word DriveCommandJog DriveOutputImage 0 2 10 JE E Command Word DriveCommandClearFaults DriveOutputImage 0 3 11 J gt Command Word DriveCommandForward DriveOutputlmage 0 4 12 JE Command Word o Ln DriveCommandForward DriveOutputimage 13 c e N Speed Reference op 14 Copy File Source DriveReference Dest DriveOutputlmage 1 Length 1 COP Copy File Source DriveOutputlmage 0 Dest Local 1 0 Data 0 Length 3 Enable the DeviceNet Scanner A rung in the ladder logic must be created and assigned to the 1769 SDN scanner Command Register Run bit This rung enables the scanner to transfer I O on the network Local 1 0 CommandRegister Run 0 IMPORTANT This rung must always be included in the ladder logic program Example Datalink Data The Datalink data used in the example program is shown in CompactLogix Controller Example Datalinks for Ladder Logic Program Using a Drive Generic Profile on page 54 Note that to describe the parameters to which the Datalinks are assigned you may want to add descriptions to the generic tags or create a UDDT user defined data type For this example th
134. onfigu ration The value of Host parameter C175 DSI I O Cfg determines the number of drives that will be represented on the network as one node by the adapter Up to five drives can be represented as one node by the adapter 1 Set the value of Host parameter C175 DSI I O Cfg to the number of drives you want to be represented as one node Options Drive 0 Default Drive 0 1 Drive 0 3 0 1 2 Drive 0 2 3 4 Drive 0 4 Drive 0 is the PowerFlex 525 with the 25 COMM D adapter installed Drive 1 through 4 are other PowerFlex drives that daisy chain to the RJ45 RS 485 port on Drive 0 See Chapter 7 Using Multi Drive Mode for further instructions 2 Reset the adapter by power cycling the drive Using Master Slave Hiera rchy A hierarchy determines the type of device with which the adapter exchanges data 0 ti on al In a Master Slave hierarchy the adapter exchanges data with a master such as a p scanner 1769 SDN 1756 DNB 1771 SDN 1747 SDN and so forth 26 Rockwell Automation Publication 520COM UM002A EN E April 2013 Configuring the Adapter Chapter 3 Configuring a Master Slave Hierarchy The controller I O image can have anywhere from zero to eight four In and four Out additional 16 bit parameters called Datalinks They are configured using Host parameters C161 Opt Data In 1 through C164 Opt Data In 4 and C165 Opt Data Out 1 through C168 Opt Data Out 4 The number o
135. or UINT Base INT Offset USINT 3 Link USINT Pad word always zero BOOL 32 Extended descriptor STRINGN International parameter name STRINGN International online parameter unit 21 Get DSI Extended Descriptor UDINT Extended Descriptor see page 121 22 Get International DSI Offline Read Full Struct of BOOL Descriptor CONTAINER Offline minimum value CONTAINER Offline maximum value CONTAINER Offline default value UINT Online minimum parameter instance UINT Online maximum parameter instance UINT Online default parameter instance UINT Multiplier parameter instance UINT Divisor parameter instance UINT Base parameter instance UINT Offset parameter instance USINT Formula number USINT Pad word always zero UINT Help instance UINT Pad word always a value of zero CONTAINER _ Parameter value UINT Multiplier UINT Divisor UINT Base INT Offset BOOL 32 Extended DSI descriptor STRINGN International DSI parameter name STRINGN International DS offline parameter units 1 A CONTAINER is a 32 bit block of data that contains the data type used by a parameter value If signed the value is sign extended Padding is used in the CONTAINER to ensure that it is always 32 bits 2 This value is used in the formulas used to convert the parameter value between display units and internal units See Formulas for Converting on page 122 3 Do NOT continually write parameter data to NVS See the attention on page 55 R
136. ork appears as Unrecognized Device use RSNetWorx for DeviceNet software to create the PowerFlex 520 series drive EDS file See Create the EDS File from Online Device on the Network on page 39 or Download the EDS File from the Internet Web Site on page 40 for instructions on how to create the EDS file Create the EDS File from Online Device on the Network 1 Right click the Unrecognized Device icon and select Register Device in the menu The EDS Wizard appears Rockwell Automation s EDS Wizard gt Welcome to Rockwell 7 Automation s EDS Wizard The EDS Wizard allows you to register EDS based devices jister a create an EDS file from an unknown device To continue click Next e rea 2 Click Next to start creating the EDS file Select Create an EDS file 4 Click Next If the EDS file is already downloaded and resides on your computer select Register an EDS file and click Next Then follow the screen prompts and disregard the remaining steps 5 13 in this procedure Qo 5 Enter a description if desired Rockwell Automation Publication 520COM UM002A EN E April 2013 39 Chapter 4 40 Configuring the 1 0 Click Next Check the Polled box 8 Enter 4 into the Input Size and Output Size boxes which accounts for 10 11 12 13 just the basic I O Click Next RSNetWorx for DeviceNet software will upload the EDS file from the drive
137. ort the Zero Text parameter attribute so that a software tool or HIM can obtain text from the Zero Text parameter attribute If this bit is set indicating that a value of zero is disallowed a software tool or HIM will not allow the user to enter a value of zero 24 Datalink Out This bit is used by offline tools and indicates that this is a Datalink Out parameter Bit 20 must also be set 25 Datalink In This bit is used by offline tools and indicates that this is a Datalink In parameter Bits 20 and 22 must also be set 26 Not Writable While 10 Active This parameter cannot be written if the 1 0 data being exchanged between the Host and the peripheral is valid 27 Command Parameter This parameter commands the drive to take an action such as Reset Defaults or Autotune and then returns to a value of zero Offline software tools will not allow setting this parameter to anything other than a value of zero If an offline file contains a Command Parameter with a non zero value the offline software tool will change the value to zero Note that command parameters cannot have values that do not return to zero 28 Current Value Is Default This bit identifies a parameter that will not change if a Reset Defaults is commanded For example if a drive contains a Language parameter that is set to German setting defaults will leave the parameter set to German Likewise if the parameter is set to French setting defaults will leave the parameter
138. p 6 111 Frequency and Position Step 7 X Find Home 1 Find Home X Hold Step 1 Hold Step x Redefine Position 1 Pos Redefine H Enable Sync 1 Sync Enable 1 Not Stop condition 2 A Not Stop condition the drive logic bit 0 0 must first be presen Disable Travel 1 Travel Disable logic bit 0 0 must first be present before a 1 Start condition will start the drive before a 1 Jog condition will jog the drive A transition to a 0 will stop 3 To perform this command the value must switch from 0 to 1 Velocity Bit Definitions Comm Logic Status C122 0 Velocity Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command Description T 77777777 N N TR RnReady NotReady toun N Ready to Run X Active 0 Not Active Active Running X Command Direction 0 Reverse Forward Xx Actual Direction 0 Rotating Reverse Rotating Forward X Accel 0 Not Accelerating Accelerating X Decel 0 Not Decelerating Decelerating X Reserved X Fault 0 Not Faulted Faulted x At Speed 0 Not at Reference At Reference Main Frequency 0 Not Controlled by Active Com Controlled by Active Com Operation Command 0 Not Controlled by Active Com Controlled by Active Com Parameters 0 Not Locked Locked Digital Input 1 Status Digital Input 2 Sta
139. parameter group letter will flash Press the Up Arrow or Down Arrow to scroll through the group list b P t C L d A f N M and Gx Press Enter or Sel to enter a group The right digit of the last viewed parameter in that group will flash Press the Up Arrow or Down Arrow to scroll through the parameter list Press Enter to view the value of the parameter Or Press Esc to return to the parameter list Press Enter or Sel to enter Program Mode and edit the value The right digit will flash and the word Program on the LCD display will light up Press the Up Arrow or Down Arrow to change the parameter value If desired press Sel to move from digit to digit or bit to bit The digit or bit that you can change will flash Press Esc to cancel a change and exit Program Mode Or Press Enter to save a change and exit Program Mode The digit will stop flashing and the word Program on the LCD display will turn off Press Esc to return to the parameter list Continue to press Esc to back out of the programming menu If pressing Esc does not change the display then b001 Output Freq is displayed Press Enter or Sel to enter the group list again Key s So 2 Chae lt i gt So e 2 a gt Q Q T WD Rockwell Automation Publication 520C0M UM002A EN E April 2013 2 or l E
140. pter has timed out 49 Net 10 Size Err The adapter received an incorrectly sized 1 0 packet 50 PCCC 10 Close The device sending PCCC Control messages to the adapter has set the PCCC Control Timeout to zero 51 PCCC 10 Open The adapter has begun receiving PCCC Control messages the PCCC Control Timeout was previously set to a non zero value 52 PCCC 10 Timeout The adapter has not received a PCCC Control message for longer than the PCCC Control Timeout 53 Msg Ctrl Open The timeout attribute in either the CIP Register or Assembly object was written with a non zero value allowing control messages to be sent to the adapter 54 Msg Ctrl Close The timeout attribute in either the CIP Register or Assembly object was written with a zero value disallowing control messages to be sent to the adapter 55 Msg Ctrl Timeout The timeout attribute in either the CIP Register or Assembly object elapsed between accesses of those objects 58 Net Bus Off The network has experienced a Bus Off condition 59 Net Poll Timeout A Polled 1 0 connection has timed out 60 Net 10 Frag Err A network 1 0 fragment was received out of sequence Possible line noise problem 61 Net COS Timeout A Change of State COS connection has timed out 62 Net Poll Alloc A Polled connection has been allocated 63 Net COS Alloc A Change of State COS 1 0 connection has been allocated 64 Net Poll Close A Polled 1 0 connection was explicitly closed 65 Net COS Close A Change of State COS 1 0 connect
141. r P044 Maximum Freq PowerFlex 520 Series Drive Example Speed Reference Feedback Scaling on page 49 shows example References and their results for a PowerFlex 520 series drive that has its e Host parameter P043 Minimum Freq set to 10 00 Hz e Host parameter P044 Maximum Freq set to 50 00 Hz PowerFlex 520 Series Drive Example Speed Reference Feedback Scaling Network Reference Value Speed Commanded Value Output Speed Network Feedback Value 10000 100 00 Hz 50 00 Hz 5000 6500 65 00 Hz 50 00 Hz 5000 3250 32 50 Hz 32 50 Hz 3250 0 0 00 Hz 0 00 Hz 0 1 The drive runs at 50 00 Hz instead of 100 00 Hz or 65 00 Hz because Host parameter P044 Maximum Freq sets 50 00 Hz as the maximum speed IMPORTANT Attempting to write a negative value to the Speed Reference will result in the drive ramping to maximum speed due to overflow the direction of the drive can only be controlled programmatically with the appropriate bits bits 4 and 5 in the Command Word A Datalink is a mechanism used by PowerFlex drives to transfer data to and from the controller Datalinks allow a drive parameter value to be read or written to without using an Explicit Message When enabled each Datalink occupies one 16 bit word in a ControlLogix CompactLogix or MicroLogix controller The following rules apply when using PowerFlex 525 drive Datalinks e Datalinks can not be used with Multi drive mode e The target of a Datalink can be an
142. r RSLinx Classic requires a driver to be configured before communications are established with network devices In our example we will use the embedded EtherNet IP interface in the CompactLogix controller 1769 L36ERM to configure the controller as well as a bridge to the DeviceNet network To configure the RSLinx driver 1 Start RSLinx and select Communications gt Configure Drivers to display the Configure Drivers window 2 From the Available Driver Types pull down box choose EtherNet IP Driver and then click Add New to display the Add New RSLinx Driver window 3 Use the default name or type a name and click OK The Configure driver window appears 4 Depending on your application select either the browse local or remote subnet option and click OK The Configure Drivers window reappears with the new driver in the Configured Drivers list Configure Drivers l oleae Available Driver Types jose 2 an Help Configured Drivers Name and Description Status AB ETH 1 A B Ethemet RUNNING Lo Configure Startup Start Stop Delete 5 Click Close to close the Configure Drivers window Keep RSLinx running Rockwell Automation Publication 520COM UM002A EN E April 2013 33 Chapter4 Configuring the 1 0 CompactLogix Example 34 6 Verify that your computer recognizes the drive Select Communications gt RSWho and in the menu tree click the
143. r 7 Configuring the RS 485 Network Solid red The adapter has failed the hardware test Cycle power to the drive e Replace the adapter Flashing The adapter is operational but is not green transferring 1 0 data Place the scanner in RUN mode Program the 1 0 controller to recognize and transmit 1 0 to the adapter e Configure the adapter for the program in the controller e Normal behavior if no DSI I0 is enabled Solid green The adapter is operational and transferring 1 0 data No Action Rockwell Automation Publication 520COM UM002A EN E April 2013 NET A Status Indicator Viewing Adapter Diagnostic Items Troubleshooting Chapter 8 This red green bicolor LED indicates the status of the network connection as shown in the table below Status Cause Corrective Actions Off The adapter and or network is not powered e Securely connect the adapter to the drive and the or adapter is not connected properly to the adapter to the network using DeviceNet cables drive Correctly connect the DeviceNet cable to the DeviceNet plug Apply power to the drive and network Flashing red A DeviceNet 1 0 connection has timed out e Place the scanner in RUN mode or apply power to the peer device that will send 1 0 Check the amount of traffic on the network Solidred Failed duplicate node detection test or bus e Configure the adapter to use a unique node address on off condition exis
144. r Slave Explicit Message Connection 2 Polled 1 0 Connection 4 Change of State Cyclic Connection 6 10 Explicit Message Connection Instance Attributes Attribute ID Access Rule Name Data Type Description 1 Get State USINT 0 Nonexistent 1 Configuring 2 Waiting for connection ID 3 Established 4 Timed out 2 Get Instance Type USINT 0 Explicit Message 1 1 0 Message 3 Get Transport Class Trigger USINT The Transport Class Trigger for this instance 4 Get Produced Cnxn ID USINT CAN Identifier to transmit on 5 Get Consumed Cnxn ID USINT CAN Identifier to receive on 6 Get Initial Comm Char USINT Defines the DeviceNet message groups that the tx rx Cnxn s apply 7 Get Produced Cnxc Size UINT Max bytes to transmit across this connection 8 Get Consumed Cnxn Size UINT Max bytes to receive across this connection 9 Get Set EPR UINT Expected Packet Rate timer resolution 2 msec 12 Get Set Watchdog Action USINT 0 Transition to timed out 1 Auto delete 2 Auto reset 13 Get Produced Path Length UINT Number of bytes of data in the produced connection path Rockwell Automation Publication 520C0M UM001A EN E April 2013 101 Appendix C 102 DeviceNet Objects Attribute ID AccessRule Name Data Type Description 14 Get Produced Connection Array of UINT Byte stream which defines Path Application objects whose data is to be produced by this Connection object 15 Get Consumed Path Length UINT Numb
145. r and other devices on the network DeviceNet Planning and Verify that the master and network are installed and functioning in accordance with Installation Manual DeviceNet standards and then apply power to them ODVA pub 27 9 Configure the scanner to communicate with the adapter Chapter 4 Use a network tool such as RSNetWorx for DeviceNet to configure the scanner on the Configuring the 1 0 network Make sure to Set up the scan list Map the adapter data to the scan list Save your DeviceNet configuration to the scanner and a file 10 Create a ladder logic program Chapter 5 Use a controller configuration tool such as RSLogix 5000 Logix Designer to createa Using the I 0 ladder logic program that enables you to Chapter 6 Control the adapter and drive using 1 0 Monitor or configure the drive using Explicit messages Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Explicit Messaging 13 Chapter1 Getting Started Notes 14 Rockwell Automation Publication 520COM UM002A EN E April 2013 Chapter 2 Installing the Adapter Chapter 2 provides instructions for installing the DeviceNet adapter in a PowerFlex 525 drive Topic Page Preparing for an Installation 15 Commissioning the Adapter E Connecting the Adapter to the Drive 7 Connecting the Adapter to the Network 19 Applying Power 20 Preparing for an Installation Before installing the adapter
146. r network S Select a communications path to the desired network Y Autobrowse Heren E E Workstation NAUSMKE758VOM1 Z Linx Gateways Ethernet Es AB_ETH 1 Ethernet j 192 168 1 3 1769 L36ERM LOGIXS336ERM v20_Exi 7 98 CompactBus CompactLogix System 8 00 1769 L36ERM LOGIXS336ERM v20_Exar 01 1769 SDN Scanner Module 1769 SDN 03 1769 16pt 24Vdc Snk Src Inp A FW Rev 04 1769 16pt 24Vdc Source Output B FW m t Cancel Help 5 Click OK after selecting a valid path to the DeviceNet network for this example Port 2 DeviceNet Ifa message box appears about uploading or downloading information click OK Rockwell Automation Publication 520COM UM002A EN E April 2013 Configuring the O Chapter 4 As the selected DeviceNet path is browsed RSNetWorx for DeviceNet software creates a graph view window that shows a graphical representation of the devices on the network d BY DeviceNet RSNetWorx for DeviceNet Sr File Edit View Network Device Diagnostics Tools Help jes a S L eee BQ EI A El r 1769 SDN PowerFlex 525 S home Description Scanner 1P 240V Module 1 0HP lt m r 2 H 4 E N Graph Spreadsheet X Master Slave Config gt f x SI Message Code Date Description Z ja m Ready Starting Browse J If the icon for the drive for this example PowerFlex 525 on the netw
147. rNet IP bridge to the I O configuration Rockwell Automation Publication 520COM UM002A EN E April 2013 Configuring the 1 0 Chapter 4 1 Start RSLogix 5000 Logix Designer The application window appears Select File gt New to display the New Controller window oo i Vendor Allen Bradley Type 1763 L38ERM CompactLogixS336ERM Controller Revision 20 X Redundancy Enabled Name v20_Example_PowerFlex_52x Description Example lt none gt 0 Create In CARSLogix S000 Projects Browse Security Authority No Protection x curity Authority for Authentication and Select the appropriate choices for the fields in the window to match your application Then click OK The application window reappears with the treeview in the left pane Note If you are using a controller without an embedded EtherNet IP bridge you will also need to add the bridge to the I O configuration See the user manual for your controller for details 2 Configure the IP address Network Settings on your controller or bridge In this example the Network Settings are set for a private network Internet Protocol IP Settings if the network supports this capability Manually configure IP settings Obtain IP settings automatically using BOOTP Obtain IP settings automatically using DHCP IP Settings Configuration IP Address 192 168 1 3 Domain Name Host Name C roperties v2 owerFlex_52X
148. ram CompactLogix Program Tags for Drive Generic Profile Ladder Logic Program Example 2517 Data Type Drivelnputimage INTIS Drivelnputimage 0 INT Status Word Drivelnputimage 1 INT Speed Feedback Drivelnputimage 2 INT Opt Data In 1 Drivelnputimage 3 INT Opt Data In 2 Drivelnputimage 4 INT Opt Data In 3 T Drivelnputimage 5 INT Opt Data In 4 DriveOutputimage INTIS DriveOutputlmage 0 INT Command Word DriveOutputimage 1 INT Speed Reference DriveOutputimage 2 INT Opt Data Out 1 T DriveOutputimage 3 INT Opt Data Out 2 DriveOutputimage 4 INT Opt Data Out 3 T DriveOutputimage 5 INT Opt Data Out 4 CompactLogix Example Ladder Logic Program Using a Drive Generic Profile for Logic Status Feedback Status Word COP Copy File Source Local 1 1 Data 0 1 Dest Drivelnputlmage 0 Length 6 Status Word Drivelnputlmage 0 0 DriveStatusReady 2 IE LE L Status Word DrivelnputImage 0 1 DriveStatusActive 3 IE co aE L Status Word Drivelnputlmage 0 3 DriveStatusForward 4 4 E L Status Word DrivelnputImage 0 7 DriveStatusFaulted IE yN a SF Status Word Drivelnputlmage 0 8 DriveStatusAtReference 6 IE y COP 7 Copy File Source Drivelnputlmage 1 Dest DriveFeedback Length 1 52 Rockwell Automation Publication 520COM UM002A EN E April 2013 Using the 1 0 Chapter 5 C
149. rameter Number 31 Pad 31 Parameter Value 32 Parameter Number 32 Parameter Number 33 Pad 33 Parameter Value 34 Parameter Number 34 Parameter Number 35 Pad 35 Parameter Value 62 Parameter Number 62 Parameter Number 63 Pad 63 Parameter Value Rockwell Automation Publication 520C0M UM002A EN E April 2013 61 Chapter6 Using Explicit Messaging Data Structures for Scattered Write Messages Request Source Data Response Destination Data INTO Parameter Number INTO Parameter Number 1 Parameter Value 1 Pad 2 Parameter Number 2 Parameter Number 3 Parameter Value 3 Pad 4 Parameter Number 4 Parameter Number 5 Parameter Value 5 Pad 6 Parameter Number 6 Parameter Number 7 Parameter Value 7 Pad 8 Parameter Number 8 Parameter Number 9 Parameter Value 9 Pad 10 Parameter Number 10 Parameter Number 11 Parameter Value 11 Pad 12 Parameter Number 12 Parameter Number 13 Parameter Value 13 Pad 14 Parameter Number 14 Parameter Number 15 Parameter Value 15 Pad 16 Parameter Number 16 Parameter Number 17 Parameter Value 17 Pad 18 Parameter Number 18 Parameter Number 19 Parameter Value 19 Pad 20 Parameter Number 20 Parameter Number 21 Parameter Value 21 Pad 22 Parameter Number 22 Parameter Number 23 Parameter Value 23 Pad 24 Parame
150. re and will continue to be the product to program Logix 5000 controllers for discrete process batch motion safety and drive based solutions The Studio 5000 environment is the foundation for the future of Rockwell Automation engineering design tools and capabilities It is the one place for design engineers to develop all the elements of their control system Rockwell Automation Publication 520COM UM002A EN E April 2013 Components Getting Started Chapter 1 The DeviceNet adapter is a communication option intended for installation into a PowerFlex 525 drive The Multi Drive feature Chapter 7 also provides a means for other supported PowerFlex drives and DSI Hosts to connect to a DeviceNet network Topic Page Components 9 Features 10 Understanding Parameter Types 10 Compatible Products D Required Equipment 11 Safety Precautions 15 Quick Start B Components of the DeviceNet Adapter 25 COMM D Part Node Address Rate switches Description Switches for setting the node address and network data rate Chapter 2 Installing the Adapter Communication card Drive header A 40 pin double row shrouded female header An interface connector is used to connect this header to a header on the drive Status indicators Lo l CS1 CS2 terminals Three LEDs that indicate the status of the connected drive adapter and network See C
151. re part of the PowerFlex 520 Series of drives On producer consumer networks packets are identified by content rather than an explicit destination Ifa node needs the packet it will accept the identifier and consume the packet Therefore the source sends a packet once and all the nodes consume the same packet if they need it Data is produced once regardless of the number of consumers Also better synchronization than Master Slave networks is possible because data arrives at each node at the same time The Reference is used to send a setpoint for example speed frequency torque to the drive It consists of one 32 bit word of output to the adapter from the network Feedback is used to monitor the speed of the drive It consists of one 32 bit word of input from the adapter to the network RSLogix 5000 software is a tool for configuring and monitoring controllers to communicate with connected devices It is a 32 bit application that runs on various Windows operating systems Information about RSLogix software can be found at http www software rockwell com rslogix See also Studio 5000 environment Rockwell Automation Publication 520COM UM002A EN E April 2013 135 Glossary RSNetWorx for DeviceNet Software Scanner Status Indicators Stop Action Studio 5000 Environment UCMM UnConnected Message Manager UDDT User Defined Data Type Update Zero Data A software tool for configuring and monitoring DeviceNet
152. ress switches Viewing and Clea ring Events The adapter has an event queue to record significant events that occur in the operation of the adapter When such an event occurs an entry consisting of the event s numeric code and a timestamp is put into the event queue You can view the event queue using the PowerFlex 22 HIM A3 C2S HIM or Connected Components Workbench 88 Rockwell Automation Publication 520COM UM002A EN E April 2013 Troubleshooting Chapter 8 The event queue can contain up to 32 entries which are stored in RAM making the event queue volatile meaning a power cycle will clear the event queue If the event queue becomes full a new entry replaces the oldest entry Only a power cycle event queue clear operation or the corruption of the RAM group containing the event queue will clear the event queue contents Many events in the event queue occur under normal operation Ifyou 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 Adapter Events Code Event Description Adapter Events 1 No Event Text displayed in an empty event queue entry 2 Device Power Up The adapter was powered up normally 3 Device Reset The adapter was commanded to reset from the network or DSI 4 EEPROM CRC Error The EEPROM checksum CRC is incorrect The functionality of the adapter will
153. rive 3 multi drive mode by this adapter 16 Drv3 Reference The present value of the Reference being transmitted to drive 3 multi drive mode by this adapter 17 Drv3 Logic Sts The present value of the Logic Status being received from drive 3 multi drive mode by this adapter 18 Drv 3 Feedback The present value of the Feedback being received from drive 3 multi drive mode by this adapter 19 Drv 4 Logic Cmd The present value of the Logic Command being transmitted to drive 4 multi drive mode by this adapter 20 Drv 4 Reference The present value of the Reference being transmitted to drive 4 multi drive mode by this adapter 21 Drv 4 Logic Sts The present value of the Logic Status being received from drive 4 multi drive mode by this adapter 22 Drv 4 Feedback The present value of the Feedback being received from drive 4 multi drive mode by this adapter 23 Input Size The size of the input image in bytes transferred from the network to the drive 24 Output Size The size of the output image in bytes transferred from the drive to the network 25 DLFrNet 01 Val The current datalink value being transmitted from this adapter to the drive single drive mode 26 DL Fr Net 02 Val The current datalink value being transmitted from this adapter to the drive single drive mode 27 DL Fr Net 03 Val The current datalink value being transmitted from this adapter to the drive single drive mode 28 DLFrNet 04 Val The current dat
154. s PowerFlex 525 25 COMM D To display the Host parameters repeat steps 1 through 3 and select PowerFlex 525 at step 3 The value of Device parameter 07 Net Addr Cfg determines the node address if all the adapter DIP switches are in the OFF position all 0 s We recommend that you do not use node address 63 because all new devices use it as the default address Address 63 is also used for Automatic Device Recovery ADR 1 Set the value of Device parameter 07 Net Addr Cfg to a unique node address Rockwell Automation Publication 520COM UM002A EN E April 2013 2 wu Chapter3 Configuring the Adapter 2 Reset the adapter by power cycling the drive TIP If you are using RSNetWorx for DeviceNet select Network gt Single Browse Path to see the new address then delete the old address Setting the Data Rate The value of Device parameter 09 Net Rate Cfg determines the DeviceNet data rate if all of the adapter DIP switches are in the OFF position all 0 s The Autobaud setting will detect the data rate used on the network if another device is setting the data rate Your application may require a different setting 1 Set the value of Device parameter 09 Net Rate Cfg to the data rate at which your network is operating Options 125kbps Default 250kbps 0 1 7 500kbps 3 Autobaud 2 Reset the adapter by power cycling the drive Setting the 1 0 C
155. s For an additional level of technical phone support for installation configuration and troubleshooting we offer TechConnect support programs For more information contact your local distributor or Rockwell Automation representative or visit http www rockwellautomation com support Installation Assistance If you experience a problem within the first 24 hours of installation review the information that is contained in this manual You can contact Customer Support for initial help in getting your product up and running United States or Canada 1 440 646 3434 Outside United States or Canada Use the Worldwide Locator at http www rockwellautomation com support americas phone_en html or contact your local Rockwell Automation representative New Product Satisfaction Return Rockwell Automation tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility However if your product is not functioning and needs to be returned follow these procedures United States Contact your distributor You must provide a Customer Support case number call the phone number above to obtain one to your distributor to complete the return process Outside United States Please contact your local Rockwell Automation representative for the return procedure Documentation Feedback Your comments will help us serve your documentation needs better If you have any suggestions on how to
156. s 3 Connect a DeviceNet cable to the network A DeviceNet thin cable with an outside diameter of 6 9 mm 0 29 in is recommended IMPORTANT Maximum cable length depends on data rate See the Glossary for Data Rate Rockwell Automation Publication 520COM UM002A EN E April 2013 19 Chapter2 Installing the Adapter Applying Power 20 4 Connect the 5 pin linear plug to the DeviceNet cable A KJ M E Ln Terminal Color Signal Function 5 Red V Power Supply 4 White CAN_H Signal High 3 Bare SHIELD Shield 2 Blue CAN_L Signal Low 1 Black V Common TIP A5 pin linear plug is shipped with the adapter If a replacement plug is needed the replacement plug part number is 1799 DNETSCON IMPORTANT 10 pin linear plug is not supported Insert the 5 pin linear plug into the mating socket on the adapter and secure it with the two screws Verify that the colors of the wires on the plug match up with the color codes on the socket operation may occur if you fail to verify that parameter settings are compatible with your application Verify that settings are compatible with your application before applying power to the drive T ATTENTION Risk of equipment damage injury or death exists Unpredictable 1 Make sure that the adapter will have a unique address on the network and is set at the correct data rate or to autobaud If a new data rate or address is needed reset its switches see
157. s can be controlled e Ifthe PowerFlex 525 drive with the 25 COMM D DeviceNet adapter Drive 0 is powered down communications with the four daisy chained drives Drive 1 to Drive 4 are disrupted and the drives will take their corresponding Comm Loss Actions Rockwell Automation Publication 520COM UM002A EN E April 2013 83 Chapter7 Using Multi Drive Mode e Ifany of the daisy chained drives Drive 1 to Drive 4 are powered down the respective Input Image Logic Status and Feedback will be set to zero and the NET A and PORT LEDs on the adapter will flash red Status information will not indicate there is a fault at the node and the I O connection will not be dropped 84 Rockwell Automation Publication 520COM UM002A EN E April 2013 Understanding the Status Indicators Troubleshooting Chapter 8 This chapter provides information for diagnosing and troubleshooting potential problems with the adapter and network Topic Page Understanding the Status Indicators 85 PORT Status Indicator 86 MOD Status Indicator 86 NET A Status Indicator 87 Viewing Adapter Diagnostic Items 87 Viewing and Clearing Events 88 The DeviceNet adapter has three status indicators They can be viewed on the adapter or through the drive cover Status Indicators
158. s the data from specific tags Logic Command bits and Reference and moves them to the output image area for transmission to the scanner Drive_3_Command_Stop Drive_Output_Image 6 0 6 IE a a Drive_3_Command_Start Drive_Output_Image 6 1 7 FE 5 JIC X Drive_3_Command_Jog Drive_Output_Image 6 2 8 TE 5 Ic e Drive_3_Command_Clear_Faults Drive_Output_Image 6 3 9 J E CS LG Drive_3_Command_Forward Drive_Output_Image 6 4 10 J E Drive_3_Command_Forward Drive_Output_Image 6 5 11 H m wS COP 12 Copy File Source Drive_3_Reference Dest Drive_Output_Image 7 Length 1 Explicit Messaging Example Drive 3 parameters are accessed by adding 20480 decimal 5000 hex to the desired parameter number For example to access parameter P109 an Instance of 20589 20480 109 is used Perform_Parameter_Read_3 SE 13 7 E Type CIP Generic EN Message Control Parameter_RD_Message_3 ON ER Perform_Parameter_Write_3 14 JE MSG EN d L Type CIP Generic lt Message Control Parameter_WR_Message_3 D LER T RET 15 Return from Subroutine End Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Multi Drive Mode Chapter 7 Drive 4 Control Routine Drive 4 Control Subroutine This section takes the data from the input area and moves it to specific tags Logic Status bits and Feedback for use elsewh
159. sage is complete For information on the maximum number of Explicit Messages that can be executed at a time see the documentation for the bridge or scanner and or controller that is being used TIP To display the Message Configuration screen in RSLogix 5000 Logix Designer add a message instruction MSG create a new tag for the message Properties Base tag type MESSAGE data type controller scope and click the button in the message instruction For supported classes instances and attributes see Appendix C DeviceNet Objects IMPORTANT The explicit messaging examples in this section can be performed using any software version of RSLogix 5000 Logix Designer The read and write messaging examples in this section are for parameters which use Class Code 0x93 The Message Configuration has a Service Type of Parameter Read which is Class code OxOF Parameter Object Rockwell Automation Publication 520COM UM002A EN E April 2013 Using Explicit Messaging Chapter 6 CompactLogix Example Ladder Logic Program to Read a Single Parameter A Get Attribute Single message is used to read a single parameter This read message example reads the value of the 16 bit parameter b003 Output Current in a PowerFlex 525 drive Example Controller Tags to Read a Single Parameter Operation Controller Tags for Single Read Message Data Types XIC Execute_Single_Read_Message BOOL MSG Single_Read_Message MESSAGE Example Ladder Logi
160. selects individual bits within parameters 1 Indirect Type 0 Analog input list Instance OxFFFF 2 Indirect Type 1 Digital input list Instance OxFFFE 3 Indirect Type 2 Feedback list Instance OxFFFD 4 Indirect Type 3 Analog output list Instance OxFFFC 5 Indirect Type 4 Digital output list Instance OxFFFB 6 Indirect Type 5 Undefined Instance OxFFFA 7 Indirect Type 6 Undefined Instance OxFFF9 8 Indirect Type 7 Undefined Instance OxFFF8 9 Indirect Type 8 Undefined Instance OxFFF7 10 Indirect Type 9 Undefined Instance OxFFF6 11 Indirect Type 10 Undefined Instance OxFFF5 12 Indirect Type 11 Undefined Instance OxFFF4 13 Indirect Type 12 Undefined Instance 0xFFF3 14 Indirect Type 13 Undefined Instance OxFFF2 15 Indirect Type 14 Parameter specific list 16 FP Max Decimals Bit 0 These four bits are used on REAL parameters only They indicate the maximum number of decimal places to be displayed for small values A 17 FP Max Decimals Bit 1 value of 0 indicates to not limit the number of decimal places used 18 FP Max Decimals Bit 2 19 FP Max Decimals Bit 3 20 Extended Parameter Reference 0 Not an Extended Parameter Reference 1 Extended Parameter Reference An Extended Parameter Reference contains a reference to another parameter The value is formatted the same as an analog mode Indirect Selector parameter SSpppp where SS slot number of device to which this Extended Parameter Reference is pointing and pppp nu
161. setting the Adapter Restoring Adapter Parameters to Factory Defaults 30 Changes to switch settings on some adapter parameters 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 Device parameter 14 Reset Module transmitting control 1 0 to the drive the drive may fault when you reset the i ATTENTION Risk of injury or equipment damage exists If the adapter is adapter Determine how your drive will respond before resetting the adapter Set Device parameter 14 Reset Module to 1 Reset Module Value Description 0 Ready Default 1 Reset Module 2 Set Defaults When you enter 1 Reset Module the adapter will be immediately reset An alternate method to reset the adapter is by power cycling the drive Set Device parameter 14 Reset Module to 2 Set Defaults Value Description 0 Ready Default 1 Reset Module 2 Set Defaults When you enter 2 Set Defaults the adapter will set all of its parameters to their factory default values IMPORTANT When performing a Set Defaults action the drive may detect a conflict and then not allow this function to occur If this happens first resolve the conflict and then repeat a Set Defaults action Common reasons for a conflict include the drive running or a controller in Run mode After performing a Set Defaults action you must enter 1 Reset Module
162. t configuration parameters in the adapter When a fault action parameter is set to use the fault configuration data and a fault occurs the data from these parameters is sent as the Logic Command Reference and or Datalink s Rockwell Automation Publication 520COM UM002A EN E April 2013 133 Glossary 134 Faulted Node Recovery Heartbeat Rate HIM Human Interface Module Hold Last Idle Action I O Data Logic Command Logic Status Master Slave Hierarchy This DeviceNet feature lets you change a configuration of a device that is faulted on the network For example if you add a device to a network and it does not have a unique address it will fault If you have a configuration tool that supports faulted node recovery and your adapter is using parameters to set its node address and data rate you can change the node address The heartbeat rate is used in Change of State COS data exchange It is associated with producing data once every EPR Expected Packet Rate duration There may be four heartbeats before a time out happens A device that can be used to configure and control a drive The PowerFlex 22 HIM A3 or 22 HIM C2S HIM can be used to configure PowerFlex 525 drives and their connected peripherals When communication is disrupted for example a cable is disconnected the adapter and its PowerFlex 525 drive can respond by holding last Hold last results in the drive receiving the last data received through the ne
163. tal cable length used on the network Cable Maximum Cable Length 125 Kbps 250 Kbps 500 Kbps Thick Trunk Line 500 m 1 640 ft 250 m 820 ft 100 m 328 ft Thin Trunk Line 100 m 328 ft 100 m 328 ft 100 m 328 ft Maximum Drop Length 6 m 20 ft 6m 20 ft 6 m 20 ft Cumulative Drop Length 156 m 512 ft 78 m 256 ft 39 m 128 ft Each device on a DeviceNet network must be set for the same data rate You can set the DeviceNet adapter to 125 Kbps 250 Kbps or 500 Kbps Or you can set it to Autobaud if another device on the network has set the data rate 132 Rockwell Automation Publication 520COM UM002A EN E April 2013 Datalinks DeviceNet Network EDS Electronic Data Sheet Files Explicit Messaging Fault Action Fault Configuration Glossary A Datalink is a type of pointer used by PowerFlex 525 drives to transfer data to and from the controller Datalinks allow specified parameter value s to be accessed or changed without using explicit messages When enabled each 16 bit Datalink in a PowerFlex 525 drive consumes 4 bytes in the input image table and or 4 bytes in the output image table of the controller An open producer consumer Controller Area Network CAN which connects devices for example controllers drives and motor starters Both I O and explicit messages can be transmitted over the network A DeviceNet network can support a maximum of 64 devices Each device is assigned a unique node
164. ted Components http Workbench Workbench software tool and includes a link for free software www ab com download support abdrives webupdate software html Connected Components Workbench online help 1 The online help is installed with the software This manual provides information about the DeviceNet adapter and using it with PowerFlex 525 drives for network communication The following conventions are used throughout this manual e Parameter names are shown in the format axxx The a represents the parameter group The xxx represents the parameter number The represents the parameter name for example C175 DSI I O Cfg 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 Rockwell Automation Publication 520COM UM002A EN E April 2013 Preface Overview e RSLinx Classic version 2 51 RSNetWorx for DeviceNet version 21 and RSLogix 5000 version 20 were used for the screen captures in this manual Different versions of the software may differ in appearance and procedures The Studio 5000 Engineering and Design Environment combines engineering and design elements into a common environment The first element in the Studio 5000 environment is the Logix Designer application The Logix Designer application is the rebranding of RSLogix 5000 softwa
165. ter Number 24 Parameter Number 25 Parameter Value 25 Pad 26 Parameter Number 26 Parameter Number 27 Parameter Value 27 Pad 28 Parameter Number 28 Parameter Number 29 Parameter Value 29 Pad 30 Parameter Number 30 Parameter Number 31 Parameter Value 31 Pad 32 Parameter Number 32 Parameter Number 33 Parameter Value 33 Pad 34 Parameter Number 34 Parameter Number 35 Parameter Value 35 Pad 62 Parameter Number 62 Parameter Number 63 Parameter Value 63 Pad 62 Rockwell Automation Publication 520C0M UM002A EN E April 2013 Using Explicit Messaging Chapter 6 CompactLogix Example Ladder Logic Program to Read Multiple Parameters A Scattered Read message is used to read the values of multiple parameters This read message example reads the values of these five 16 bit parameters in a PowerFlex 525 drive s Host parameter b001 Output Freq e Host parameter b003 Output Current e Host parameter b004 Output Voltage e Host parameter b005 DC Bus Voltage e Host parameter b017 Output Power See DPI Parameter Object on page 117 Class code 0x93 for parameter numbering Example Controller Tags to Read Multiple Parameters Rockwell Automation Publication 520COM UM002A EN E April 2013 Operation Controller Tags for Scattered Read Message Data Types XIC Execute_Scattered_Read_Message BOOL MSG Scattered_Read_Message MESSAGE Example Ladder Logic to Read Multiple Parameters Execute_Scattered_Read_Message S MSG jessage
166. ter5 Using the 1 0 Understanding the 0 Im age The terms input and output are defined from the controller s point of view Using Logic Command Status Using Reference Feedback 48 Therefore output I O is data that is produced by the controller and consumed by the adapter Input I O is status data that is produced by the adapter and consumed as input by the controller The I O image will vary based on how many of the drive s 16 bit Datalinks Host parameters C161 C164 Opt Data In 1 4 and C165 C168 Opt Data Out 1 4 are used Device parameters 02 DLs From Net Cfg and 04 DLs To Net Cfg must also be configured accordingly if Datalinks are used If all available I O is not used the image is truncated The image always uses consecutive words starting at word zero CompactLogix Controller I O Image for PowerFlex 520 Series Drives on page 48 shows the I O image when using all of the 16 bit Datalinks CompactLogix Controller 1 0 Image for PowerFlex 520 Series Drives 16 bit Logic Command Status Reference Feedback and Datalinks INT Output 1 0 INT Input 1 0 0 Logic Command 0 Logic Status 1 Reference 1 Feedback 2 Datalink 1 2 Datalink 1 3 Datalink 2 3 Datalink 2 4 Datalink 3 4 Datalink 3 5 Datalink 4 5 Datalink 4 Single drive mode is the typical configuration where one node consists of a PowerFlex 525 drive with a25 COMM D adapter For Multi Drive mode where one node can consist of up to
167. tes Attribute ID Access Rule Name Data Type Description 0 Get Number of Instances UINT Number of parameters in the device 1 Set Write Protect Password UINT 0 Password disabled n Password value 2 Set NVS Command Write USINT 0 No Operation 1 Store values in active memory to NVS 2 Load values in NVS to active memory 3 Load default values to active memory 4 Partial defaults 5 System defaults 3 Get NVS Parameter Value Checksum UINT Checksum of all parameter values in a user set in NVS 5 Get First Accessible Parameter UINT First parameter available if parameters are protected by passwords A 0 indicates all parameters are protected 7 Get Class Revision UINT 2 DsI Rockwell Automation Publication 520COM UMO001A EN E April 2013 117 AppendixC DeviceNet Objects Instance Attribute Attribute ID Access Rule Name Data Type Description 6 Get DSI Offline Read Full STRUCT of BOOL 32 Descriptor CONTAINER Offline Minimum value CONTAINER Offline Maximum value CONTAINER Offline Default value STRING 16 Parameter name STRING 4 Offline parameter units UINT Online minimum parameter instance UINT Online maximum parameter instance UINT Online default parameter instance UINT Multiplier parameter instance UINT Divisor parameter instance UINT Base parameter instance UINT Offset parameter instance USINT Formula number USINT Pad byte always zero UINT Help instance UINT Pad word always a value of zero
168. the foundation for the future of Rockwell Automation engineering design tools and capabilities It is the one place for design engineers to develop all the elements of their control system UCMM provides a method to create connections between DeviceNet devices A structure data type that you define during the development of an application for example to convert 32 bit REAL parameter data to correctly write and read their values The process of updating firmware in a device The adapter can be updated using various Allen Bradley software tools See Updating the Adapter Firmware on page 31 for more information 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 Logic Command Reference and Datalink data If the drive was running and using the Reference from the adapter it will stay running but at zero Reference 136 Rockwell Automation Publication 520COM UM002A EN E April 2013 A adapter adding to the scan list 42 applying power 20 commissioning 15 components 9 configuration tools 23 connecting to the drive 17 connecting to the network 19 definition 131 diagnostic parameters 87 events 88 features 10 list of parameters 93 mapping 1 0 in the scanner 42 resetting 30 single drive multi drive mode 69 specifications 91 status indicators 21 85 troubleshooting 85 viewing status 31
169. tion are intended solely for purposes of example There are many variables and requirements with any application Rockwell Automation Inc does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication On CIP based networks including DeviceNet I O connections are used to transfer the data which controls the PowerFlex drive and sets its Reference I O can also be used to transfer data to and from Datalinks in PowerFlex 520 series drives The adapter includes the Logic Command Logic Status Reference and Feedback all as 16 bit words This requires four bytes for the Input Size and four bytes for the Output Size in the controller s I O image This basic I O must be always configured in the DeviceNet scanner using RSNetWorx for DeviceNet software Additional I O if needed can be set using up to four Datalinks to write data and or up to four Datalinks to read data When using any combination of these Datalinks add two bytes for each Datalink to the basic I O Input Size and or Output Size Chapter 3 Configuring the Adapter and Chapter 4 Configuring the I O discuss how to configure the adapter and controller on the network for the required I O The Glossary defines the different options This chapter discusses how to use I O after you have configured the adapter and controller Rockwell Automation Publication 520COM UM002A EN E April 2013 47 Chap
170. ts the DeviceNet network e Configure the adapter to use the correct network data rate Make sure network has correct media installed Flashing The adapter is properly connected butis not Place the controller in RUN mode or apply power to the green communicating with any devices on the peer device that will send 1 0 network Program a controller or peer device to recognize and transmit 1 0 to the adapter e Configure the adapter for the program in the controller or the 1 0 from the peer device Solid green The adapter is properly connected and No Action communicating on the network If you encounter unexpected communications problems the adapter s diagnostic items may help you or Rockwell Automation personnel troubleshoot the problem The diagnostic parameters for the DeviceNet adapter can be viewed using the PowerFlex 22 HIM A3 C2S HIM DeviceNet Adapter Diagnostic Parameters No Name Description 01 Reserved 02 DrvOLogicCommand The present value of the Logic Command being transmitted to the drive single drive mode or drive 0 multi drive mode by this adapter 03 Drv0 Reference The present value of the Reference being transmitted to the drive single drive mode or drive 0 multi drive mode by this adapter 04 Reserved 05 Drv0 Logic Sts The present value of the Logic Status being received from the drive single drive mode or drive 0 multi drive mode by this adapter 06 Dr
171. ts Workbench go to http ab rockwellautomation com Programmable Controllers Connected Components Workbench Software For the latest drive or peripheral fimware updates go to http www ab com support abdrives webupdate index html For the latest product manuals go to http literature rockwellautomation com idc groups public documents webassets browse_category hcst When updating firmware over the network you can use the Allen Bradley ControlFLASH software tool Rockwell Automation Publication 520COM UM002A EN E April 2013 31 Chapter3 Configuring the Adapter To obtain a firmware update for this adapter go to http www ab com support abdrives webupdate This site contains all firmware update files and associated Release Notes that describe the following items e Firmware update enhancements and anomalies e How to determines the existing firmware revision e How to update the firmware using ControlFlash 32 Rockwell Automation Publication 520COM UM002A EN E April 2013 Using RSLinx Classic Chapter 4 Configuring the 1 0 This chapter provides instructions on how to configure a Rockwell Automation CompactLogix controller to communicate with the adapter and connected PowerFlex 525 drive Topic Page Using RSLinx Classic 33 CompactLogix Example 34 RSLinx Classic in all its variations Lite Gateway OEM etc is used to provide a communication link between the computer network and controlle
172. tus Digital Input 3 Status Digital Input 4 Status Rockwell Automation Publication 520COM UM002A EN E April 2013 Logic Command Status Words PowerFlex 525 Drives Appendix D Position Bit Definitions Comm Logic Status 122 1 Position Logic Bits 15 14 13 12 11 10 9 8 17 6 5 4 3 2 1 0 Command Description T7777 7 Tx Raney V0 NotReadytoRun Ready to Run X Active 0 Not Active Active Running X Command Direction 0 Reverse Forward Xx Actual Direction 0 Rotating Reverse Rotating Forward X Accel 0 Not Accelerating Accelerating X Decel 0 Not Decelerating Decelerating X Travel Position 0 Reverse Travel Position Forward Travel Position X Fault 0 Not Faulted Faulted At Speed 0 Notat Reference At Reference X At Position 0 Not at Position At Position xX Drive Home 0 Not at Home At Home X Commanded Home 0 Not Drive Homed Drive Homed X Sync Hold 0 Not Sync Hold Sync Hold X Sync Ramp 0 Not Sync Ramp Ramp Sync X Traverse 0 Traverse Off Traverse On X Traverse Decel 0 Not Traverse Decel Traverse Decel Rockwell Automation Publication 520COM UM002A EN E April 2013 129 AppendixD Logic Command Status Words PowerFlex 525 Drives Notes 130 Rockwell Automation Publication 520COM UM002A EN
173. twork 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 An idle action determines how the adapter and its PowerFlex 525 drive act when the controller is switched out of run mode I O data sometimes called implicit messages or input output is time critical data such as a Logic Command and Reference The terms input To Net and output From Net are defined from the controller s point of view Output is produced by the controller and consumed by the adapter Input is produced by the adapter and consumed by the controller The Logic Command is used to control the PowerFlex 525 drive for example start stop direction It consists of one 32 bit word of output to the adapter from the network The definitions of the bits in this word are shown in Appendix D The Logic Status is used to monitor the PowerFlex 525 drive for example operating state motor direction It consists of one 32 bit word of input from the adapter to the network The definitions of the bits in this word are shown in Appendix D An adapter configured for a master slave hierarchy exchanges data with the master device Usually a network has one scanner which is the master device and all other devices for example drives connected to DeviceNet adapters are slave devices Ona network with multiple scanners called a multi master hierarchy each s
174. ult 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 risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations for example a disconnected drive 17 Fit Cfg Logic Default 0000 0000 0000 0000 Sets the Logic Command data that is sent to the drive if any of 0000 0000 0000 0000 the following is true Minimum 0000 0000 0000 0000 Device parameter 15 Comm Flt Action is set to 4 Send 0000 0000 0000 0000 Fit Cfg and 1 0 communication is disrupted Maximum 11111111 1111 1111 e Device parameter 16 Idle Flt Action is set to 4 Send Fit 1111 111111111111 Cfg and the controller is idle Type Read Write Important The bit definitions in the Logic Command word for Reset Required No PowerFlex 520 Series drives are shown in Appendix D Rockwell Automation Publication 520COM UM002A EN E April 2013 95 Appendix B 96 Adapter Parameters Parameter No Nameand Description Details 18 FIt Cfg Ref Default 0 Sets the Reference data that is sent to the drive ifany ofthe Minimum 3 40282 x 10 sae is true vimana PF Maximum 3 40282 x 10 8 Device parameter omm ction is set to 4 Sen Fit Cig and 1 0 communication is disrupted vi Required oe e Device parameter 16 Idle Flt Action is
175. ut_Image 0 8 Drive_0_Status_At_Reference 4 IE O JC Sow COP 5 Copy File Source Drive_Input_Image 1 Dest Drive_0_Feedback Length 1 This section takes the data from specific tags Logic Command bits and Reference and moves them to the output image area for transmission to the scanner Drive_0_Command_Stop Drive_Output_Image 0 0 6 qe C N aE Pi Drive_O_Command_Start Drive_Output_Image 0 1 7 JE K Ic N Drive_0_Command_Jog Drive_Output_Image 0 2 8 IEF K d E N Drive_0_Command_Clear_Faults Drive_Output_Image 0 3 9 qf CN JE Drive_0_Command_Forward Drive_Output_Image 0 4 10 IC 5 Ic N Drive_0_Command_Forward Drive_Output_Image 0 5 COP 12 Copy File Source Drive_0_Reference Dest Drive_Output_Image 1 Length 1 Explicit Messaging Example Drive 0 parameters are accessed by referencing the desired parameter number For example to access parameter P041 an Instance of 41 is used Perform_Parameter_Read_0 13 7 E Type CIP Generic S EN Message Control Parameter_RD_Message_0 ON ER Perform_Parameter_Write_0 14 JE MSG EN JE Type CIP Generic lt Message Control Parameter_WR_Message_0 ON LER RET 15 Return from Subroutine End Rockwell Automation Publication 520COM UM002A EN E April 2013 77 Chapter 7 78 Using Multi Drive Mode Drive 1 Control Routine Drive 1 Control Subroutine This section takes the data
176. v0 Feedback The present value of the Feedback being received from the drive single drive mode or drive 0 multi drive mode by this adapter 07 Drv 1 Logic Cmd The present value of the Logic Command being transmitted to drive 1 multi drive mode by this adapter 08 Drv 1 Reference The present value of the Reference being transmitted to drive 1 multi drive mode by this adapter 09 Drv 1 Logic Sts The present value of the Logic Status being received from drive 1 multi drive mode by this adapter 10 Drv 1 Feedback The present value of the Feedback being received from drive 1 multi drive mode by this adapter 11 Drv 2 Logic Cmd The present value of the Logic Command being transmitted to drive 2 multi drive mode by this adapter 12 Drv2 Reference The present value of the Reference being transmitted to drive 2 multi drive mode by this adapter 13 Drv 2 Logic Sts The present value of the Logic Status being received from drive 2 multi drive mode by this adapter 14 Drv2 Feedback The present value of the Feedback being received from drive 2 multi drive mode by this Rockwell Automation Publication 520COM UM002A EN E April 2013 adapter 87 Chapter8 Troubleshooting DeviceNet Adapter Diagnostic Parameters No Name Description 15 Drv3 Logic Cmd The present value of the Logic Command being transmitted to d
177. ves when using DPI Parameter Object Class code 0x93 for explicit messaging 4 Inthis example we are reading five 16 bit parameters Each parameter being read requires two contiguous INT registers Therefore a controller tag was created with its Data Type field set to INT 10 Also the Source Length field on the Message Configuration screen must correspond to the selected Data Type in bytes for this example 20 bytes for an INT 10 array Scattered read messages always assume that every parameter being read is a16 bit parameter regardless of its actual size Maximum message length is 256 bytes which can read up to 64 parameters regardless of their size The controller tag for Scattered_Read_Response must be the same size as the controller tag for Scattered_Read_Request for this example 20 bytes but can be a different data type S CompactLogix Example Scattered Read Request Data In this message example we use the data structure in Example Scattered Read Request Data on page 65 in the source tag named Scattered Read Request to read these five 16 bit parameters in a PowerFlex 525 drive e Host parameter b001 Output Freq e Host parameter b003 Output Current e Host parameter b004 Output Voltage e Host parameter b005 DC Bus Voltage e Host parameter b017 Output Power See DPI Parameter Object on page 117 Class code 0x93 for parameter numbering Rockwell Automation Publication 520COM UM002A
178. wards to remove Frames B E only Rockwell Automation Publication 520COM UM002A EN E April 2013 17 Chapter2 Installing the Adapter b Press down and slide out the top cover of the control module to unlock it from the power module Led EES A c Hold the sides and top of the control module firmly then pull out to separate it from the power module 4 Insert the interface connector for the adapter into the header located at the back of the control module 18 Rockwell Automation Publication 520COM UM002A EN E April 2013 Installing the Adapter Chapter 2 5 Align the Communication card Drive header on the adapter with the interface connector Then press down firmly around the adapter The adapter snaps into the back of the control module IMPORTANT The CS1 CS2 terminals on the adapter provide a clean ground for the communication bus cable shields You should connect the CS1 or CS2 terminal to a clean ground or PE ground on the drive 6 Attach the control module to the power module Connecting the Adapter to ATTENTION Risk of injury or death exists The PowerFlex drive may contain the Network JN high voltages that can cause injury or death Remove power from the drive and then verify power has been discharged before connecting the embedded EtherNet IP adapter to the network 1 Remove power from the network 2 Use static control precaution
179. xample Display 23 nmr LILI LJ HERTZ siz ss L m 1 UU 1 LAr 1 7 BLL NI aot FET f WW ULL LIN nt 1 T N LS ILC m TT Ty IL ILC rm LJ NI x r1 PROBRAWN N1 FWD L PROBA NI RE Z PROGRAM K r1 LJ or OG ht Ir TT N UL IS Using the PowerFlex 4 Class HIM to Access Parameters Setting the Node Address Configuring the Adapter Chapter 3 The PowerFlex 4 class HIM can be used to access parameters in the adapter see basic steps shown below It is recommended that you read through the steps for your HIM before performing the sequence For additional HIM information refer to the HIM Quick Reference card publication 22HIM QRO001 Step 1 Power up the drive Then connect the HIM to the DSI port of the drive The Parameters tab for the drive will be displayed 2 Press Sel until the DSEL tab is selected 3 Select DSI Device in the DSEL tab if it is not g already selected using the Up Arrow or Down Arrow Press Enter to select DSI Device 4 Press the Up Arrow or Down Arrow to scroll g to 25 COMM Press Enter to reload the HIM to browse only the Communication Adapter 25 COMM D parameters A 2 Example Display Parameters Groups Linear List Changed Params DIAG BAN DSEL MEM SEL gt Device Select DSI Devices DIAG PARAM DSi MEM SEL DSI Devices PowerFlex 525 25 COMM D DSI Device
180. y appropriate Host parameter For example Host parameter P041 Accel Time 1 can be the target of the DeviceNet adapter installed in the drive e The data passed through the drive s Datalink mechanism is determined by the settings of the following parameters Device parameter 02 DLs From Net Cfg Device parameter 04 DLs To Net Cfg Host parameters C161 C164 Opt Data In 1 4 Rockwell Automation Publication 520COM UM002A EN E April 2013 49 Chapter5 Using the 1 0 Example Ladder Logic Program 50 Host parameters C165 C168 Opt Data Out 1 4 IMPORTANT Areset is always required after configuring Datalinks so that the changes take effect e Whenan I O connection that includes Datalinks is active those Datalinks being used are locked and cannot be changed until that I O connection becomes idle or inactive e When you use a Datalink to change a value the value is not written to the Non Volatile Storage NVS The value is stored in volatile memory and lost when the drive loses power Thus use Datalinks when you need to change a value of a parameter frequently Datalinks for PowerFlex 525 drive peripherals embedded EtherNet IP adapter and option modules such as a communication module are locked when the peripheral has an I O connection with a controller When a controller has an I O connection to the drive the drive does not allow a reset to defaults configuration download or anything else that could change
181. yc Interval Minimum 0 000 s Displays the amount of time that a scanner will wait to check Maximum 65 535 s for data in the adapter Type Read Only When COS Change of State data exchange has been Reset Required No configured this is the maximum amount of time between scans Scans will occur sooner if data changes When Cyclic data exchange has been configured this interval is the fixed time between scans 14 Reset Module Default 0 Ready No action if set to 0 Ready Resets the adapter if set to 1 Reset Values 0 Ready Module Restores the adapter to its factory default settings if 1 Reset Module set to 2 Set Defaults This parameter is a command It will be 2 Set Defaults reset to 0 Ready after the command has been performed Type Read Write Reset Required No A resetting the adapter Rockwell Automation Publication 520COM UM002A EN E April 2013 ATTENTION Risk of injury or equipment damage exists If the adapter is transmitting 1 0 that controls the drive the drive may fault when you reset the adapter Determine how your drive will respond before Adapter Parameters Appendix B Parameter No Nameand Description Details 15 Comm Fit Action Default 0 Fault Sets the action that the adapter and drive will take if the Values 0 Fault adapter detects that 1 0 communication has been disrupted 1 Stop This setting is effective only if 1 0 that controls the drive is transm

Download Pdf Manuals

image

Related Search

Related Contents

  Ford 2008 Mustang Automobile User Manual  Instruction Manual    les déboires des mesures techniques de protection dans l  Samsung DVD-P423 Manual de Usuario  Benutzerhandbuch für Macintosh  Supplement to the User's Manual for the 2012 CFPS Data  scala rider Q1 Manuale d`Uso IT  HT70x User Manual  

Copyright © All rights reserved.
Failed to retrieve file