Home
7 Class Dnet Module - Mid-Island Electrical Supply
Contents
1. Node 1 PowerFlex 70 Drive with DeviceNet Adapter 4 2 Configuring the Scanner Setting Up the Scan List For the scanner to communicate with a drive the scanner must be configured and the drive s node number must be added to its scan list 1 Goonline with RSNetWorx for DeviceNet Refer to Chapter 3 Using RSNetWorx for DeviceNet section The devices on the network are displayed in the configuration view Figure 4 2 Configuration View Graph 1747 SDN PowerFlex 70 2005048 Scanner Standard 3 Module 3 M Graph Spreadsheet Master Sl y 2 Right click the DeviceNet scanner node 00 in Figure 4 2 and select Properties The Scanner Module dialog box appears Important If your scanner is an unrecognized device you must create an EDS file for it and then configure the scanner Create an EDS file by following the instructions in Chapter 3 in the Using RSNetWorx for DeviceNet section Configure the scanner using the General and Module tabs If you need more information click Help or refer to your scanner documentation 3 Click the Scanlist tab A message box prompts you to upload 4 Click Upload Data is uploaded from the scanner and then the Scanlist page Figure 4 3 appears 5 Select the Automap on Add box a check mark will appear Configuring the Scanner
2. Required by ControlLogix May or may not be required by other controllers The data from the I O Board is loaded into the Datalink word starting with bit 0 of Datalink D1 and concluding with bit 14 Bit 15 of Datalink D1 is reserved as an input valid Status flag When the input data is valid bit 15 1 For example for the 20 XCOMM IO OPT1 the digital inputs are mapped as follows 8 4 Using the Adapter in an External Comms Kit Datalink Out D1 Word Bit 1514131211109 87654 32 10 3 3 3 Lc e Status ING NI The digital outputs are mapped as follows Datalink In D1 Word Bt 15 14 13 1211109 8765432 10 L OUT1 OUT2 Important On power up or reset the outputs will be in a non activated state Configuring the Communication Adapter to Use the Optional I O Data To configure the Communication Adapter to use the optional I O Board Parameters 13 DPI I O Cfg 25 M S Input and 26 M S Output must be set To send Input and Output data from the optional I O board to the network e Turn on bit 4 in Parameter 25 M S Input 1 e Turn on bit 4 in Parameter 26 M S Output 1 e Turn off bit 4 in Parameter 13 DPI I O Cfg Setting the Datalink D bit 4 in the M S Input and M S Output parameters direc
3. Word Output I O Word Input I O 0 Logic Command Status 0 1 Pad Word 1 Pad Word 2 Logic Command Status 2 Reference Feedback 3 Pad Word 3 Pad Word 4 Reference Feedback 4 7 Datalink A1 A2 5 Pad Word 8 11 Datalink B1 B2 6 9 Datalink A1 A2 12 15 Datalink C1 C2 11 13 Datalink B1 B2 16 19 Datalink 01 02 14 17 Datalink C1 C2 18 21 Datalink 01 02 Figure 5 2 illustrates an example of an I O image that does not use all of the I O data Only the Logic Command Reference and Datalink B are enabled In this example the Reference is a 32 bit word and Datalinks are 16 bit words 54 Using I O Messaging Figure 5 2 Example I O Image with Only Logic Reference and Datalink B Enabled DeviceNet Controller Scanner Adapter PowerFlex Drive Word and I O Output 0 Logic Command Logic Command Image 1 PadWord Reference Write 2 Reference LSW 2 Data In A1 3 Reference MSW e Data In A2 EM 1 4 Datalink In B1 Data In B1 5 Datalink In B2 Data In B2 Data In C1 Data In C2 Data In D1 Data In D2 Input 0 Pad Word 0 Image 1 Pad Word Read 2 Logic Status Logic Status 3 Pad Word Feedback 4 Feedback LSW Data Out A1 E 5 Feedback MSW Data Out A2 6 Datalink Out B1 Data Out B1 7 Datalink Out B2 Data Out B2 Data Out C1 Data Out C2 Data Out D1 Data Out D2 M Message Message BT Handler Buffer Handler Required by Contr
4. Length 1 COP Copy File Source DriveOutputlmage 0 Dest Local 1 O Data 0 Length 1 Using I O Messaging 5 11 PLC 5 Example Figure 5 5 Control File for Block Transfers EN ST EW NR RW RLEN DLEN FILE ELEM R G 5 0 0 jO 0 0 0 62 0 9 0 0 20 0 0 0 0 00 10 20110 0 0 JO 0 0 0 0 6 10 4000 J0 Figure 5 6 Example PLC 5 Ladder Logic Program The scanner gathers drive status data via the DeviceNet network The Block Transfer Read in this rung then moves the drive status data from the scanner to the N9 data file in the PLC BT20 0 BTR 0000 Block Transfer Read t CEN gt EN Module Type Generic Block Transfer Rack 000 CDN gt Group 0 CER gt Module 0 Control Block BT20 0 Data File N9 0 Length 62 Continuous No 70 These rungs move the drive status from the Block Status Bit Transfer Read data file to an operator display Status Bit N9 1 0 000 0001 lE C 1 10 PowerFlex 70 Operator Display FAULTED Drive Faulted Status Bit Status Bit N9 1 0 000 0002 J C 7 11 Operator Display Drive Feedback Status Word MOV 0003 Move Source N9 2 0 lt Dest N21 1 0 1771 SDN Scanner This rung enables the scanner Port A Enable N10 0 0004 C2 0 These rungs move the inputs of the operator from Operator Input the operator station to the Block Transfer Write PowerFlex 70
5. DeviceNet Objects C 23 DPI Parameter Object Continued The PLC data in this example is for a Get Attributes Scattered of PowerFlex 70 Parameters 1 Output Freq 3 Output Current and 6 Output Voltage from a device at node address 1 Request Data for Get Attributes Scattered Address Value Hex Description Refer to N30 0 0101 TXID 01 Command 01 execute 6 5 N30 1 0018 Port 00 Size 24 bytes 18 hex 6 5 N30 2 4B01 Service 4B Get Attributes Scattered C 21 Address 01 Node Address 6 5 N30 3 0093 Class 93 DPI Parameter Object C 18 N30 4 0000 Instance Class Attributes drive C 18 N30 5 0000 Attribute not used for this service C 18 N30 6 0001 Parameter Number 1 N30 7 0000 Pad Word N30 8 0000 Pad Word N30 9 0003 Parameter Number 3 N30 10 0000 Pad Word N30 11 0000 Pad Word N30 12 0006 Parameter Number 6 N30 13 0000 Pad Word N30 14 0000 Pad Word Response Data for Get_Attributes_Scattered Address Value Hex Description Refer 0 N30 70 0101 TXID 01 Status 01 successful transaction 6 6 30 71 0012 Port 00 Size 18 bytes 12 hex 6 6 N30 72 CBO1 Service CB successful 6 6 Address 01 Node Address 6 6 N30 73 0001 Parameter Number 1 N30 74 0258 Value 600 258 hex 60 0 Hz N30 75 0000 N30 76 0003 Parameter Number 3 N30 77 00
6. Module Type 1771 SDN DeviceNet Scanner Module Rack 000 CDN2 Group 0 Module 0 2 Control Block BT20 3 Data File N30 70 Length 64 Continuous No 0002 CEND gt 6 12 Using Explicit Messaging SLC Example Data Format for a Read and Write Parameter The data in this example is for a PowerFlex drive at node address 1 Refer to Formatting Explicit Messages in this chapter for a description of the content of the data file Request Data for Read of Drive Parameter 101 Address Value Hex Description Refer to 20 10 0101 TXID 01 Command 01 execute 6 5 N20 11 0006 Port 00 Size 06 bytes 6 5 N20 12 0 01 Service OE Get Attribute Single C 10 Address 01 Node Address 6 5 N20 13 000F Class OF Parameter Object C 8 N20 14 0065 Instance Parameter 101 65 hex N20 15 0001 Attribute 01 Parameter Value C 9 Response Data for Read of Drive Parameter 101 Address Value Hex Description Refer to N20 50 0101 01 Status 01 successful 6 6 20 51 0002 Port 00 Size 02 bytes 6 6 N20 52 8E01 Service 8E successful 6 6 Address 01 Node Address N20 53 03E8 Response Data 1000 3E8 hex 10 00 seconds Request Data for Write to Drive Parameter 101 Address Value Hex Description Refer to 20 10 0101 TXID 01 Command
7. 3 10 0101011 p o m COS Status Mask Configures the mask for the 16 bit Logic Status word Unless they are masked out the bits in the Logic Status word are checked for changes when the adapter is allocated using COS Change of State If a bit changes it is reported as a change in the Change of State operation If the mask bit is 0 Off the bit is ignored If the mask bit is 1 On the bit is checked Important The bit definitions in the Logic Status word depend on the drive COS Fdbk Change Sets the hysteresis band to determine how much the Feedback word can change before it is reported as a change in the COS Change of State operation COS Cyc Interval Displays the amount of time that a scanner will wait to check for data in the adapter When COS Change of State data exchange has been set up this is the maximum amount of time between scans Scans will happen sooner if data changes When Cyclic data exchange has been set up this interval is the fixed time between scans This interval is configured in the scanner Peer A Input Peer B Input Sets the destination in the drive of the Peer Input The adapter receives this data from the network and sends it to the drive Important Changes to these parameters are ignored when Parameter 37 Peer Inp Enable is On Important If a 32 bit Datalink or Reference is used in Parameter 30 Peer A Input Parameter
8. Value CONTAINER Minimum value CONTAINER Maximum value CONTAINER _ Default value WORD Pad Word WORD Pad Word STRING 4 Units e g Amp Hz UINT Multiplier 9 UINT Divisor 2 UINT Base 2 INT Offset 0 DWORD Link source of the value 0 no link STRING 16 Always zero 0 Parameter name 1 Get Set Value Various Diagnostic item value 7 CONTAINER is 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 0 This value is used in the formulas used to convert the value between display units and internal units Refer to Formulas for Converting on page C 21 Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single C 34 DeviceNet Objects DPI Time Object Class Code Hexadecimal Decimal 0x9B 155 Instances The number of instances depends on the number of timers in the device Instance 1 is always reserved for a real time clock although a device may not support it The total number of timers can be read in Instance 0 Attribute 2 Instances Hex Dec Device Example Description 0x0000 Ox3FFF 0 16383 Host 0 Class Attributes Drive 0x4000 Ox43FF 16384 17407 Adapter 1 Real Time Clock Predefined not
9. A1 LSW 58 A2 MSW 9 0 Regardless of the Datalink combination x1 will always contain the LSW and x2 will always contain the MSW In the following examples Parameter 242 Power Up Marker in a PowerFlex 70 contains a value of 88 4541 hours Datalink Most LeastSignificant Word Parameter Data decimal A1 LSW 242 32573 A2 Not Used 0 0 Using I O Messaging 5 7 Datalink Most Least Significant Word Parameter Data decimal Al Not Used 0 0 A2 MSW 242 13 Datalink Significant Word Parameter Data decimal A2 MSW 242 13 1 LSW 242 32573 32 bit data is stored in binary as follows MSW 2 through 216 LSW 215 through 20 Example Parameter 242 Power Up Marker 88 4541 hours MSW 13 decimal 1101 binary 219 2 8 219 851968 LSW 32573 851968 32573 884541 Using I O Messaging Example Ladder Logic Programs These example ladder logic programs Figure 5 4 Figure 5 7 work with PowerFlex 70 or PowerFlex 700 drives Functions of the Example Programs The example programs use an operator station wired to an I O module in Slot 0 Module Group 0 Rack 0 These example programs enable you to e Obtain Logic Status information from the drive Use the Logic Command to control the drive for example start stop e Send a Reference to the drive and receive Feedback from the drive Adapter Settings for the Example Programs e Node ad
10. Single Restore Default Values C All Upload From Device Download To Device Start Monitor Sz Parameter Current Value D DPI Port DPI Data Rate 25 DN Addr Cfg 25 DN Addr Actual DN Rate Cfg DN Rate Actual Ref Fdbck Size Datalink Size Reset Module Idle Fit Action Comm Fit Action DN Active Cfg Cancel Apply Help 5 125kbps 63 63 125kbps 125kbps 16 Bits 16 Bits Ready Fault Fault EEprom Configuring the Adapter 3 7 Setting the Node Address If the adapter Data Rate switch is set to the value of Parameter 03 DN Addr Cfg determines the node address 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 Setthe value of Parameter 03 DN Addr Cfg to a unique node address Figure 3 5 DeviceNet Node Address Screen on an LCD HIM Default 63 Port 5 Device 20 COMM D Parameter 3 DN Addr Cfg 0 lt gt 63 2 Reset the adapter See Resetting the Adapter section in this chapter 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 If the adapter Data Rate switch is set to PGM the value of Parameter 05 DN Rate Cfg determines the DeviceNet data rate The Autobaud setting will detect the data rate used on th
11. 01 execute 6 5 N20 11 0008 Port 00 Size 08 bytes 6 5 20 12 1001 Service 10 Set_Attribute_Single C 10 Address 01 Node Address 6 5 N20 13 000F Class OF Parameter Object C 8 20 14 0065 Instance Parameter 101 65 hex N20 15 0001 Attribute 01 Parameter Value C 9 20 16 10700 Data 2000 700 hex 20 00 seconds Response Data for Write to Drive Parameter 101 Address Value Hex Description Refer to N20 50 0101 TXID 01 Status 01 successful transaction 6 6 N20 51 0000 Port 00 Size 00 bytes 6 6 N20 52 9001 Service 90 successful 6 6 Address 01 Node Address 0000 0001 0002 Using Explicit Messaging 6 13 Program Important To originate a scanner transaction use a copy operation to 8106 number 224 Then use a copy operation to read M1 1 224 for the result If more than one message is enabled use the TXID to determine which message you are reading Figure 6 8 Example SLC Ladder Logic Program When B3 0 0 is set to true this rung will copy the 32 words of Explicit Message from the buffer at N20 10 to MO File Explicit Initiate Message buffer The scanner will send the Explicit message out over DeviceNet Explicit Message Message B3 0 COP 4 Copy File 0 Source N20 10 When 1 1 0 15 is set to true and the Explicit EU dur Message Response has been received in the M1
12. Decelerating x Alarm 0 No Alarm 1 Alarm x Fault 0 No Fault 1 Fault x At Speed 0 Not At Reference 1 At Reference x x Local Control 0 000 Port 0 001 Port 1 010 Port 2 011 Port 100 Port 4 101 Port 5 110 Port 6 111 No Local X X Reference 0000 Ref A Auto 0001 Ref B Auto 0010 Preset 2 Auto 0011 Preset 3 Auto 0100 Preset 4 Auto 0101 Preset 5 Auto 0110 Preset 6 Auto 0111 Preset 7 Auto 1000 Term Blk Manual 1001 DPI 1 Manual 1010 DPI 2 Manual 1011 DPI 3 Manual 1100 DPI 4 Manual 1101 DPI 5 Manual 1110 DPI 6 Manual 1111 Jog Ref 0 See Owners in drive User Manual for further information PowerFlex 700S Drives Logic Command Word Logic Command Status Words D 3 Logic Bits 15 14 113 12 11 10 9 817 6 5 14 3 Command Description Normal Stop 0 Not Normal Stop 1 Normal Stop Start 0 0 Not Start 1 Start Jog 1 0 Not Jog using Jog Speed 1 1 Jog using Jog Speed 1 Clear Fault 0 Not Clear Fault 1 Clear Fault Unipolar Direction 00 No Command 01 Forward Command 10 Reverse Command 11 Hold Direction Control Reserved x Jog 2 0 Not Jog using Jog Speed 2 1 Jog using Jog Speed 2 x Current Limit Stop 0 Not Current Limit Stop 1 Current Limit Stop x Coast Stop 0 Not Coast to Stop
13. DeviceNet Cables DeviceNet Product Overview DN 2 5 and Components DeviceNet Network DeviceNet Cable System Planning and Installation DN 6 7 2 Installation Manual DeviceNet Networks DeviceNet Starter Kit DNET UMOOS DriveExplorer http Awww ab com drives driveexplorer and DriveExplorer online help installed with the software DriveTools SP includes http www ab com drives drivetools and DriveExecutive DriveExecutive online help installed with the software HIM HIM Quick Reference 20HIM QRO01 Logix 55509 ControlLogix DeviceNet Scanner Installation 1756 5 66 Instructions PowerFlex 70 Drive PowerFlex 70 User Manual 20 0 001 PowerFlex 70 700 Reference Manual PFLEX RMOO PowerFlex 700 Drive PowerFlex 700 User Manual 20 0 001 PowerFlex 700VC Drive PowerFlex 70 700 Reference Manual PFLEX RMOO PowerFlex 700H Drive PowerFlex 700H Installation Instructions PFLEX INO06 PowerFlex 700H Programming Manual 20 01 PowerFlex 7005 Drive PowerFlex 7008 with Phase Control User Manual 20D UMO001 Frames 1 through 6 PowerFlex 700S with Phase Il Control User Manual 20D UMO06 PowerFlex 700S Reference Manual PFLEX RMOO2 PowerFlex 7008 Drive _ PowerFlex 7005 Installation Instructions PFLEX INO06 Frames 9 through 11 PowerFlex 700S with Phase Control User Manual 200 0 001 PowerFlex 7005 with Phase Il Control User Manual 20D UMO06 PowerFlex 700S Refe
14. DeviceNet Adapter 20 COMM D Series B FRN 2 xxx User Manual Automation Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment Safety Guidelines for the Application Installation and Maintenance of Solid State Controls Publication SGI 1 1 available from your local Rockwell Automation sales office or online at http Avww 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 Reproduction of the contents of this manual in
15. read write 9 Datalink C input data from device to scanner read only 10 Datalink C output data from scanner to device read write 11 Datalink D input data from device to scanner read only 12 Datalink D output data from scanner to device read write 13 Logic Status and Feedback Data read only 14 Mask 0 read write 7 The mask command word is set to the value of the first word of the data where there are ones in the second word of the data Command word 1 and not word 2 or word 1 and word 2 This only controls specified bits in the Logic Command data to the DPI product and does not change the Reference value Class Attributes Not supported DeviceNet Objects 0 7 Register Object Continued Instance Attributes Attribute Access Rule Name Data Type Description 1 Get BadFlag BOOL If set to 1 then attribute 4 may contain invalid bad or otherwise corrupt data 0 good 1 bad 2 Get Direction BOOL Direction of data transfer 0 Producer Register 1 Consumer Register 3 Get Size UINT Size of register data in bits 4 Conditional 0 Data ARRAY of Data to be transferred BITS 1 The access rule of Set is optional if attribute 2 Direction 1 If Direction 0 the access rule is Get Important Setting a register object attribute can only be accomplished through a connection with a non zero expected packet rate EPR This feature is to prevent accidental control of
16. 0 0000 1 Master Slave input When you enable Cmd Ref or Datalink in the adapter you must set the corresponding bit in Parameter 25 M S Input if you want the input data to come from the scanner or master device Tables E A and E B list possible configurations for Parameter 25 M S Input and the possible data size allocation associated with each value depending on the method of data transfer Master Slave I O Configuration Table E A Host Products using 16 bit Reference Feedback amp Datalinks Allocation Number of Bytes Data Size sent from the Controller to the Adapter is RA Poll Only COS Only Cyclic Only Poll amp COS Poll amp Cyclic 00000 0 0 NA NA NA NA 00001 0 4 NA NA NA NA 00010 0 4 NA NA NA NA 00011 xxxxO 8 NA NA NA NA 00100 0 4 NA NA NA NA 00101 xxxxO 8 NA NA NA NA 00110 0 8 NA NA NA NA 00111 XxxxO 12 NA NA NA NA 01000 0 4 NA NA NA NA 01001 xxxxO 8 NA NA NA NA 01010 0 8 NA NA NA NA 01011 XxxxO 12 NA NA NA NA 01100 0 8 NA NA NA NA 01101 XxxxO 12 NA NA NA NA 01110 0 12 NA NA NA NA 01111 XxxxO 16 NA NA NA NA 10000 0 4 NA NA NA NA 10001 xxxxO 8 NA NA NA NA 10010 xxxx0 8 NA NA NA NA 10011 XxxxO 12 NA NA NA NA 10100 0 8 NA NA NA NA 10101 XxxxO 12 NA NA NA NA 10110
17. 2 BYTE 3 Link source of the value 0 no link BYTE Always zero 0 STRING 16 Parameter name 8 Get DPI Descriptor BOOL 32 Descriptor see pages 20 0 21 9 Get Set DPI Parameter Various Parameter value NVS 9 Value 10 Get Set DPI RAM Various Parameter value in temporary memory Parameter Value 11 Get Set DPI Link BYTE 3 Link parameter or function block that is the source of the value 0 no link 12 Get Help Object WORD ID for help text for this parameter Instance 13 Get DPI Read Basic STRUCT of BOOL 32 Descriptor see pages 20 0 21 CONTAINER Parameter value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value STRING 16 Parameter name STRING 4 Units e g Amp Hz 14 Get DPI Parameter STRING 16 Parameter name Name 15 Get DPI Parameter STRING 16 Customer supplied parameter name Alias Only supported by PowerFlex 700S at time of publication 16 Get Parameter BYTE 0 No error Processing Error 1 Value is less than the minimum 2 Value is greater than the maximum 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 0 This value is used in the formulas used to convert the parameter value between display units and internal units Refer to Formulas for Converting on page C 21 0 Do NOT continually write parameter data
18. Attribute 2 Instances Hex 0x0000 Ox3FFF Dec 0 16383 Device Host Example 0 Description Class Attributes Drive 0x4000 0x43FF 16384 17407 Adapter 1 Most Recent Drive Fault 0x4400 Ox47FF 17408 18431 DPI Port 1 2 Second Most Recent Drive Fault 0x4800 Ox4BFF 18432 19455 DPI Port 2 0x4C00 Ox4FFF 19456 20479 DPI Port 3 16384 Class Attributes Adapter 0x5000 Ox53FF 20480 21503 DPI Port 4 16385 Most Recent Adapter Event 0x5400 Ox57FF 21504 22527 DPI Port 5 E 0x5800 Ox5BFF 22528 23551 DPI Port 6 Class Attributes Attribute Access Name Data Type Description ID Rule 1 Get Class Revision WORD Revision of object 2 Get Number of WORD Maximum number of faults events that Instances the device can record in its queue 3 Set Fault Command BYTE 0 No Operation Write 1 Clear Fault Event 2 Clear Fault Event Queue 3 Reset Device 4 Get Fault Trip WORD Fault that tripped the device For Instance Read adapters this value is always 1 when faulted 5 Get Fault Data List STRUCT of Reserved BYTE BYTE WORD n 6 Get Number of WORD Number of faults events in the queue A Recorded Faults 0 indicates the fault queue is empty 7 Get Fault Parameter WORD Reserved Reference DPI Fault Object Continued DeviceNet Objects C 29 Instance Attr
19. Fit Cfg and communications are disrupted Details Default 0000 0000 0000 0000 Minimum 0000 0000 0000 0000 Maximum 1111 1111 1111 1111 Type Read Write Reset Required No Default 0 Minimum 0 Maximum 4294967295 Type Read Write Reset Required No Important If the drive uses a 16 bit Reference the most significant word of this value must be set to zero 0 or a fault will occur Default Default Default Default Default Default Default Default Minimum Maximum Type Reset Required 4294967295 Read Write No Important If the drive uses 16 bit Datalinks the most significant word of this value must be set to zero 0 or a fault will occur M S Input Default xxxO 0001 Sets the Master Slave input data This data is Bit Values 0 1 0 disabled produced by the scanner consumed by the 1 1 0 enabled adapter Type Read Write Reset Required Yes Bt 76543210 Bit Definitions Default x x x 0 0 0 0 1 0 Cmd Ref t LLL 1 Datalink A Input 2 Datalink B Input 3 Datalink C Input 4 Datalink D Input 5 Not Used 6 Not Used 7 Not Used No Name and Description 27 28 29 30 31 M S Output Sets the Master Slave output data This data is produced by the adapter and consumed by the Master device for example scanner Bt 7654 Default 1 10
20. Hold Accel Rate X x Decel Rate 00 No Command 01 Decel Rate 1 Command 10 Decel Rate 2 Command 11 Hold Decel Rate x Reference 000 No Command Select 001 Ref 1 Ref A Select 010 Ref 2 Ref B Select 011 Ref 3 Preset 3 100 Ref 4 Preset 4 101 Ref 5 Preset 5 110 Ref 6 Preset 6 111 Ref 7 Preset 7 x MOP Decrement 0 Not Decrement 1 Decrement 1 A 0 Not Stop condition logic 0 must first be present before a 1 Start condition will start the drive The Start command acts as a momentary Start command 1 will start the drive but returning to 0 will not stop the drive 0 This Start will not function if a digital input parameters 361 366 is programmed for 2 Wire Control option 7 8 or 9 0 This Reference Select will not function if a digital input parameters 361 366 is programmed for Speed Sel 1 2 or 3 option 15 16 or 17 Note that Reference Select is Exclusive Ownership D 2 Logic Command Status Words PowerFlex 70 PowerFlex 700 PowerFlex 700 VC and PowerFlex 700H Drives Continued Logic Status Word Logic Bits 15 114 113 112 11 10 9 8 7 6 5 4 3 211 Status Description Ready 0 Not Ready 1 Ready x Active 0 Not Active 1 Active Command 0 Reverse Direction 1 Forward X Actual Direction 0 Reverse 1 Forward x Accel 0 Not Accelerating 1 Accelerating x Decel 0 Not Decelerating 1
21. Setting 20 COMM D 0 Off Default Parameter 41 1 On Peer Out Enable 2 Select the source of the data to output to the network in Parameter 39 Peer A Output Figure 3 11 Peer A Output Screen on an LCD HIM Port 5 Device Value Description 20 COMM D 0 Off Default Parameter 39 1 Logic Command Reference Peer A Output 2 5 Datalink A B C or D Input 1 6 9 Datalink A B C or D Output Cmd Ref If you are transmitting a 32 bit Reference or 32 bit Datalink only Peer A Output will be available Peer B Output cannot be used 3 If desired select an additional source of the data to output to the network in Parameter 40 Peer B Output Figure 3 12 Peer B Output Screen on an LCD HIM Port 5 Device Value Description 20 COMM D 0 Off Default Parameter 40 1 Logic Command Reference Peer B Output 2 5 Datalink A B C or D Input 2 6 9 Datalink A B C or D Output DL A Input Configuring the Adapter 3 11 4 Set Parameters 42 Peer Out Time and 43 Peer Out Skip to establish the minimum and maximum intervals between Peer messages The minimum interval is set in Parameter 42 Peer Out Time The maximum interval is the value of Parameter 42 Peer Out Time multiplied by the value of Parameter 43 Peer Out Skip Figure 3 13 Min Peer TX Time and Peer Out Skip Screens on an LCD HIM Port 5 Device Port 5 Device 20 COMM D
22. The following parameters provide information about how the adapter is configured You can view these parameters at any time Number Name Description 01 DPI Port The port on the drive to which the adapter is connected Usually it is port 5 02 DPI Data Rate The data rate used by in the drive It will be either 125 or 500 kbps It is set in the drive and the adapter detects it 04 DN Addr Actual The node address used by the adapter This will be one of the following values The address set by the rotary switches The value of Parameter 03 DN Addr Cfg if the switches have been disabled An old address of the switches or parameter if they have been changed and the adapter has not been reset 06 DN Rate Actual The data rate used by the adapter This will be one of the following values The data rate set by the DIP switch The value of Parameter 05 DN Rate Cfg if the switches have been disabled e An old data rate of the switches or parameter if they have been changed and the adapter has not been reset 07 Ref Fdbk Size The size of the Reference Feedback It will either be 16 bits or 32 bits It is set in the drive and the adapter automatically uses the correct size 08 Datalink Size The size of the Datalinks It will either be 16 bits or 32 bits It is set in the drive and the adapter automatically uses the correct size 12 DN Active Cfg
23. as a combined decimal value For example a 0 decimal 00 binary indicates both outputs are off and a 3 decimal 11 binary indicates both outputs are on Note A status bit is not used for outputs Diagnostic item 21 Datalink D1 Out will show the status of the inputs as a combined decimal value including the status bit 15 For example inputs valid and all on would show Datalink Out D1 Word Bit 1514131211109 876543210 32831 decimal 1101010 1010101 0 0 10 111 1111111 Status IN6 M Inputs valid and all off zero would show Datalink Out D1 Word Bit 1514131211109 87654 32 100 32768 decimal 11010 0 010 0101010101010 0 010 Status IN 8 6 Using the Adapter in an External Comms Kit Notes Appendix Specifications Appendix A presents the specifications for the adapter Topic Page Communications 1 Electrical Mechanical 1 Environmental 2 Regulatory Compliance A2 Communications Network Protocol DeviceNet Data Rates 125K 250K 500K Autobaud PGM The PGM Program setting on the switch is used to set the data rate using the adapter parameter Autobaud can be set only if another device on the network is setting a data rate Drive Protocol DPI Data Rates 125 kbps or 500 kbps Electrical Consumption Dr
24. communications have been disrupted This setting 2 Zero Data is effective only if I O that controls the drive is 3 Hold Last transmitted through the adapter 4 Send Fit Cfg Type Read Write Reset Required No ATTENTION Risk of injury or equipment damage exists Parameter 10 Comm Fit Action lets you determine the action of the adapter and connected drive if communications are disrupted By default this parameter faults the drive You can set this parameter so that the drive continues to run Precautions should be taken to ensure that the setting of this parameter does not create a risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations for example a disconnected cable A Adapter Parameters B 3 Parameter No Name and Description Details Idle Fit Action 0 Fault Sets the action that the adapter and drive will take Values 0 Fault if the adapter detects that the controller is set to 1 Stop program mode or faulted This setting is effective 2 Zero Data only if I O that controls the drive is transmitted 3 Hold Last through the adapter 4 Send Fit Cfg Type Read Write 12 13 14 Reset Required No Action lets you determine the action of the adapter and connected drive if the controller is idle By default this parameter faults the drive You can set this parameter so that the drive continues to run Precautions s
25. for example a disconnected cable ATTENTION Risk of injury or equipment damage exists Parameter 34 Peer 35 Peer Node to Inp Default 0 Sets the node address of the node producing the Minimum 0 peer 10 Maximum 63 Type Read Write Important A change to this parameter is ignored Reset Required No when Parameter 37 Peer Inp Enable is On Parameter No Name and Description 36 37 38 39 40 41 42 43 Peer Inp Timeout Sets the time out for a Change of State peer to peer connection If the time is reached without the adapter receiving consuming a message the adapter will respond with the action specified in Parameter 34 Peer Fit Action On the Slave drive this parameter should be set to the value calculated from the following formula Master Parameter 42 Peer Out Time x Master Parameter 43 Peer Out Skip Peer Inp Enable Determines if Peer I O input is on or off Peer Inp Status Displays the status of the consumed peer input connection Peer A Output Peer B Output Selects the source of the Peer I O output data The adapter transmits this data to the network Important Changes to these parameters are ignored when Parameter 41 Peer Out Enable is On Important If a 32 bit Datalink or Reference is used in Parameter 39 Peer A Output Parameter 40 Peer B Output cannot be used Peer Out Enable Determines if Peer I O output is on o
26. that many characters SINT Short Integer 8 bit signed integer STRING n Array of n characters STRUCT Structure name only no size in addition to elements TCHAR 8 or 16 bit character UDINT Unsigned Double Integer 32 bit unsigned integer UINT 16 bit unsigned integer USINT Unsigned Short Integer 8 bit WORD 16 bit word 0 2 DeviceNet Objects Identity Object Class Code Hexadecimal Decimal 0x01 1 Instances The number of instances depends on the number of components in the device connected to the adapter This number of components can be read in Instance 0 Attribute 2 Instance Description 0 Class 1 Entire device host and adapter 2 1 Host components n DeviceNet adapter Class Attributes Attribute Access Data Type Description ID Rule 2 UINT Total number of instances Instance Attributes Attribute Access Name Data Type Description Rule 1 Get Vendor ID UINT 1 Allen Bradley 2 Get Device Type UINT 121 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 WORD Bit 0 Owned Bit 2 Configured Bit 10 Recoverable fault Bit 11 Unrecoverable fault 6 Get Serial Number UDINT Unique 32 bit number 7 Get Product SHORT_ STRING Product name and rating 9 Get EEPROM CCV UINT Checksum value of adapter and drive para
27. 1 Coast to Stop Spd Ramp Hold 9 000 Spd Ref A 001 Spd Ref B 010 Preset 2 011 Ref 3 Preset 3 100 Ref 4 Preset 4 101 Ref 5 Preset 5 110 Ref 6 Preset 6 111 Ref 7 Preset 7 Reserved Spd Ref Selo 9 000 Spd Ref A 001 Spd Ref B 010 Preset 2 011 Ref 3 Preset 3 100 Ref 4 Preset 4 101 Ref 5 Preset 5 110 Ref 6 Preset 6 111 Ref 7 Preset 7 Spd Ref Selt 9 000 Spd Ref A 001 Spd Ref B 010 Preset 2 011 Ref 3 Preset 3 100 Ref 4 Preset 4 101 Ref 5 Preset 5 110 Ref 6 Preset 6 111 Ref 7 Preset 7 Spd Ref Sel2 9 000 Spd Ref A 001 Spd Ref B 010 Preset 2 011 Ref 3 Preset 3 100 Ref 4 Preset 4 101 Ref 5 Preset 5 110 Ref 6 Preset 6 111 Ref 7 Preset 7 Reserved A No start Stop condition logic bit 0 0 logic bit 8 0 and logic bit 9 0 must first be present before a 1 Start condition will he drive To perform this command the value must switch from 0 to 1 This command is available only for PowerFlex 7005 drives with Phase II Control For drives with Phase Control the command is reserved D 4 Logic Command Status Words PowerFlex 700S Drives Continued Logic Status Word Logic Bits 15 14 113 12 111 110 9 817 6 5 4 3 21 0 Status Description x E
28. 14 DPI I O Active in the adapter e Size of the Reference Feedback and Datalinks in your drive This information can be viewed using Parameters 07 Ref Fdbk Size and 08 Datalink Size in the adapter A 16 bit word is two bytes and a 32 bit word is four bytes e The actual size value used in the Rx Size box can be determined by the setting of the M S Input parameter as shown in Table E A or Table E B for Poll Only e The actual size value used in the Tx Size box can be determined by the setting of the M S Output parameter as shown in Table E C or Table E D for Poll Only e Table 4 A Table 4 B and Table 4 C show common configuration sizes In our example we typed 4 in the Rx Size and Tx Size boxes because we enabled only the Logic Command Status for I O in the adapter and our drive uses a 16 bit Reference Feedback Both the M S Input and M S Output parameters are set to 00001 Therefore the Logic Command Status uses 2 bytes and the Reference Feedback uses 2 bytes totaling 4 bytes Table 4 PowerFlex 70 700 and SCM Flex 16 bit Reference Feedback amp Datalinks Rx Tx Logic Command Reference Datalinks 16 bit Size Size Status Feedback 16 bit A B C D 4 4 v v 8 8 v v v 12 12 v v v v 16 16 v v v v v 20 20 v v v v v v Table 4 8 PowerFlex 700VC 16 bit Reference Feedback amp 32 bit Datalinks Rx Tx Logic Command Referen
29. 16 16 16 amp 0 16 amp 0 10011 XXXX1 24 24 24 2480 2480 10100 16 16 16 16 amp 0 16 amp 0 10101 XXXX1 24 24 24 2480 2480 10110 24 24 24 2480 2480 10111 XXXX1 32 32 32 32 amp 0 32 amp 0 11000 xxxx1 16 16 16 1680 1680 11001 XXXX1 24 24 24 24 amp 0 24 amp 0 11011 xxi 32 32 32 32 amp 0 32 amp 0 11100 xxxx1 24 24 24 2480 2480 11101 XXXX1 32 32 32 32 amp 0 32 amp 0 11110 xxxx1 32 32 32 32 amp 0 32 amp 0 11111 XXXX1 40 40 40 40 amp 0 40 amp 0 M S Output Parameter Configurations Parameter 26 M S Output has the following five configurable bits Figure E 2 Parameter 26 M S Ouput Bits and Corresponding I O Datalink B Datalink C Datalink A Datalink D Cmd Ref X pu 0 Peer or other output xxx0 0000 1 Master Slave output When you enable Cmd Ref or Datalink in the adapter you must set the corresponding bit in Parameter 26 M S Output if you want the output data to be sent to the scanner or master device Master Slave I O Configuration Tables E C and E D list possible configurations for Parameter 26 M S Output and the possible data size allocation associated with each value depending on the method of data transfer Table E C Host Products using 16 bit Reference Feedback amp Datalinks Allocation Number of Bytes M S M S Data Size sent from the Adapter to th
30. 20 COMM D Parameter 42 Parameter 43 Peer Out Time Peer Out Skip IDEO Secs 1 0 lt gt 10 00 1 16 5 Set Parameter 41 Peer Out Enable to On The adapter will transmit the data selected in Parameters 39 Peer A Output and 40 Peer B Output to the network Another adapter must be configured to receive the data To set an adapter to receive Peer to Peer data Important The device receiving peer data must match the data sizes of the sending device For example if the sending device uses a 16 bit Reference the receiving device must also use a 16 bit Reference Datalinks if used must also be the same size l Verify that Parameter 37 Peer Inp Enable is set to Off This parameter must be set to Off while you configure some of the peer input parameters Figure 3 14 Peer Input Enable Screen on an LCD HIM Port 5 Device Value Setting 20 COMM D 0 Off Default 1 On Parameter 37 Peer Inp Enable Off 3 12 Configuring the Adapter 2 Select the node from which you want to receive data in Parameter 35 Peer Node to Inp Valid nodes must have 20 COMM D adapters connected to drives with similar data structures Figure 3 15 Peer Node to Input Screen on an LCD HIM Default 0 Port 5 Device 20 COMM D Parameter 35 Peer Node to Inp 0 563 3 Select the destination of the data that is input to the drive in Parameter 30 Peer A Input Figure
31. 31 Peer B Input cannot be used Adapter Parameters B 5 Details Default xxx0 0001 Bit Values 0 I O disabled 1 I O enabled Type Read Write Reset Required Yes Bit Definitions 0 Status Fdbk L gt 1 Datalink A Output 2 Datalink B Output 3 Datalink C Output 4 Datalink D Output 5 Not Used 6 Not Used 7 Not Used Default 0000 0000 0000 0000 Minimum 0000 0000 0000 0000 Maximum 1111 1111 1111 1111 Values 0 Ignore bit 1 Use bit Type Read Write Reset Required No Default 0 Minimum 0 Maximum 4294967295 Type Read Write Reset Required No Default 0 Seconds Minimum 0 Seconds Maximum 655 35 Seconds Type Read Only Default 0 Off Default 0 Off Values 0 Off 1 Cmd Ref 2 Datalink A Input 3 Datalink B Input 4 Datalink C Input 5 Datalink D Input Type Read Write Reset Required No B 6 Adapter Parameters Parameter No Name and Description Details 32 Peer Mask Default 0000 0000 0000 0000 Configures the mask for the Logic Command word Minimum 0000 0000 0000 0000 when it is received through peer input If the mask Maximum 1111 1111 1111 1111 bit is 0 Off the command bit is ignored and Values 0 Ignore bit used If the mask bit is 1 On the command bit is 1 Use bit checked and used Type Read Write yp Reset Required Yes Important If the adapter receives a Logic Command from both a Maste
32. 31 BYTE Months 1 January 12 December BYTE Years since 1972 3 Get Timer BOOL 16 0 invalid data 1 valid data Descriptor BOOL 1 0 elapsed time 1 real time BOOL 2 15 Not used Services Service Code _ Implemented for Service Name Class Instance Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single C 36 DeviceNet Objects Notes Appendix D Logic Command Status Words Appendix D presents the definitions of the Logic Command and Logic Status words that are used for some products that can be connected to the EtherNet IP adapter If you do not see the Logic Command Logic Status for the product that you are using refer to your product s documentation PowerFlex 70 PowerFlex 700 PowerFlex 700VC and PowerFlex 700H Drives Logic Command Word Logic Bits 15 14 113 112 111 110 9 8 17 6 5 4 3 211 0 Command Description Stop 0 Not Stop 1 Stop x Start A 0 Not Start 1 Start x Jog 0 Not 1 x Clear Faults 0 Not Clear Faults 1 Clear Faults x Direction 00 No Command 01 Forward Command 10 Reverse Command 11 Hold Direction Control x Local Control 0 No Local Control 1 Local Control X MOP Increment 0 Not Increment 1 Increment x Accel Rate 00 No Command 01 Accel Rate 1 Command 10 Accel Rate 2 Command 11
33. Action and 11 Idle Fit Action to the desired responses Value Action Description 0 Fault default The drive is faulted and stopped Default 1 Stop The drive is stopped but not faulted 2 Zero Data The drive is sent 0 for output data after a communications disruption This does not command a stop 3 Hold Last The drive continues in its present state after a communications disruption 4 Send Fit Cfg The drive is sent the data that you set in the fault configuration parameters Parameters 15 Cfg Logic through 24 Fit Cfg D2 In Figure 3 25 Fault Action Screens on an LCD HIM Port 5 Device 20 COMM D Port 5 Device 20 COMM D Parameter 10 Comm Fit Action Fault Parameter 11 Idle Fit Action Fault Changes to these parameters take effect immediately A reset is not required Configuring the Adapter 3 17 To set the fault configuration parameters If you set Parameter 10 Comm Action 11 Idle Flt Action or 34 Peer Flt Action to Send Fit Cfg the values in the following parameters are sent to the drive after a communications fault and or idle fault occurs You must set these parameters to values required by your application Parameter Description 15 Fit Cfg Logic A 16 bit value sent to the drive for Logic Command 16 Fit Cfg Ref A 32 bit value 0 4294967295 sent to the drive as a 17 24
34. CMD s used for all CMD s PCCC ARRAY CMD FNC specific PCCC ARRAY CMD FNC specific params of parameters results result data USINT USINT Message Structure for Execute Local PCCC Request Response Name Description Name Data Description Type Type CMD USINT Command byte CMD USINT Command byte STS USINT 0 STS USINT Status byte TNSW UINT Transport word TNSW Transport word Same value as the request FNC USINT Function code Not EXT_STS USINT Extended status Not used for all CMD s used for all CMD s PCCC_ ARRAY CMD FNC specific PCCC__ ARRAY CMD FNC specific params of parameters results result data USINT USINT DeviceNet Objects C 15 DPI Device Object Class Code Hexadecimal Decimal 0x92 146 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 Dec Device Example Description 0x0000 Ox3FFF 0 16383 Host 0 Class Attributes Drive 0x4000 Ox43FF 16384 17407 Adapter 1 Drive Component 1 0x4400 Ox47FF 17408 18431 DPI Port 1 2 Drive Component 2 0x4800 Ox4BFF 18432 19455 DPI Port 2 0x4C00 Ox4FFF 19456 20479 DPI Port 3 16384 Class Attributes Adapter 0x5000 Ox53FF 20480 21503 DPI Port 4 16385 Adapter Component 1 0x5400 0x57FF 21504 22527 DPI Port
35. Comms Kit 20 XCOMM DC BASE 82 10 Board Option 20 XCOMM IO OPT1 82 Understanding the I O Image Drive I O Option 8 3 Configuring the Communication Adapter to Use the Optional I O Data 18 4 Viewing Optional I O Diagnostic Items 8 5 Using the Adapter in an External DPI Comms Kit External DPI Comms Kit 20 XCOMM DC BASE This adapter can be installed in an External DPI Comms Kit Figure 8 1 Mounting and Connecting the Adapter Comms Kit Comms Kit Enclosure Cover Enclosure Base with adapter mounted inside Internal Interface Cable connects power supply board in enclosure base to adapter For further information refer to the 20 XCOMM DC BASE Installation Instructions Publication Number 20COMM INOOI 10 Board Option 20 XCOMN IO OPT1 The I O Board option can be used with the adapter Series B Firmware 2 xxx or higher required when installed in the External DPI Comms Kit The I O Board provides 6 DC inputs and 2 Relay outputs for use by a controller on the network Figure 8 2 10 Connector Function Descriptions Fon a a o a a a d nt faa UP PE P 11111111111 1 6000000000000 mi 6 7 8 910 12345 1112 iv ere IN2 o2 com QUT INS end N4 01 0 gt OUTI INS Oi NO ING INPUT COM For further information refer to the 20 10 1 Installation Instructions Publication Number 20COMM INO002 Using the Adapter in an External DPI Comms Ki
36. Dest N9 0 Length 128 PowerFlex 70 Operator Display RUNNING Drive Running Status Bit These rungs move the drive status from Status Bit N9 0 the N9 data file to an operator display 0 30 0001 lE C2 1 0 1746 0 8 70 Operator Display Status Bit Drive Faulted 0 Status Bit 0 3 0 0002 E C 7 1 1746 0 8 Operator Display Drive Feedback Status Word MOV 0003 Move l Source N9 1 0 lt Dest N21 1 These rungs move the inputs of the 3s operator from the operator station to the Operator put data file They will then be sent to the ee 9 Command Bit Scanner and out to the drive via the Command Bit 120 DeviceNet network N10 0 0004 J C2 0 1 17464716 Operator Input PowerFlex 70 Drive Stop STOP Command Bit Command Bit 12 0 N10 0 0005 M C 1 0 1746 16 Operator Input PowerFlex 70 Drive Jog JOG Command Bit Command Bit 120 100 0006 lE C 2 2 1746 6 5 14 0007 0008 0009 0010 0011 Using I O Messaging Figure 5 7 Example SLC Ladder Logic Program Continued Operator Input PowerFlex 70 Drive Clear Faults CLEAR FAULTS Command Bit Command Bit 120 10 0 am al E 3 3 1746416 PowerFlex 70 REFERENCE Command Word MOV Move 7 1 Source 21 0 0 Dest N10 1 0 lt 1747 SDN Scanner Enable This rung enables the scanner It changes the scanner to RUN mode Bit 0110 2 0 This rung copies the drive command data to the 1747 SDN scanner and out to the drive via
37. Fit Cfg x1 In Reference or Datalink eh Cfg x2 In Important If the drive uses a 16 bit Reference 16 bit Datalinks the most significant word of the value must be set to zero 0 or a fault will occur Changes to these parameters take effect immediately A reset is not required Resetting the Adapter Changes to switch settings or some 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 the following parameter adapter is transmitting control I O to the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting a connected adapter ATTENTION Risk of injury or equipment damage exists If the e Set Parameter 09 Reset Module to Reset Module Figure 3 26 Reset Screen on an LCD HIM Port 5 Device Value Description 20 COMM D 0 Ready Default Parameter 9 1 Reset Module Reset Module 2 Set Defaults 1 Reset Module When you enter 1 Reset Module the adapter will be immediately reset When you enter 2 Set Defaults the adapter will set all adapter parameters to their factory default settings After performing a Set Defaults enter 1 Reset Module so that the new values take effect The value of this parameter will be restored to 0 Ready after the adapter is reset 3 18 Configuring the Adapter Viewing the Adapter Configuration
38. G 4 supported feature 1 2 drives see PowerFlex drives DriveTools SP accessing parameters with 3 1 definition G 4 supported feature 1 2 E EDS Electronic Data Sheet files creating with RSNetWorx 3 5 definition G 4 web site G 4 EEPROM see Non Volatile Storage NVS environmental specifications A 2 equipment required 1 3 events clearing 7 6 list of 7 7 viewing 7 6 examples ControlLogix explicit messaging 6 8 Datalinks 5 7 I O messaging 5 8 PLC 5 explicit messaging 6 10 SLC explicit messaging 6 12 Explicit Messages about 6 1 ControlLogix format 6 2 definition G 4 PLC format 6 4 running 6 7 SLC format 6 4 External Comms Kit using adapter in 8 1 F fault action configuring an adapter 3 16 definition G 4 fault configuration configuring an adapter for 3 16 definition G 4 faulted node recovery definition G 5 supported feature 1 2 faults see events features 1 2 firmware release P 2 flash update G 5 Fit Cfg A1 D2 In parameters B 4 Fit Cfg Logic parameter B 4 Fit Cfg Ref parameter B 4 formatting Explicit Messages 6 2 Index 3 G going online with RSNetWorx 3 4 grounding the adapter 2 5 H heartbeat rate definition G 5 setting in the scanner 4 3 HIM Human Interface Module accessing parameters with 3 1 definition G 5 LCD model 3 2 LED model 3 2 hold last configuring an adapter for 3 16 definition G 5 10 about 5 1 configuring a scanne
39. Jol 0 5 i PowerFlex 700 or 700S Drive PowerFlex 700 or 700S Drive Frames 0 1 Frames 2 and Larger Item Description Item Description 15 24 cm 6 in Internal Interface cable amp DeviceNet cable DPI Connector 254 11 Internal Interface cable Installing the Adapter 2 5 4 Ona PowerFlex 70 fold the Internal Interface cable behind the adapter and mount the adapter on the drive using the four captive screws On a PowerFlex 700 PowerFlex 7005 just mount the adapter on the drive using the four captive screws to secure and ground it to the drive Important screws must be tightened since the adapter is grounded through a screw Recommended torque is 0 9 N m 8 0 Ib in Figure 2 5 Mounting the Adapter Adapter Lf Internal Interface Cable a sosoPSPsSsG folded behind the adapter and in front of the drive 660090066 TIT Lang nagnngnal 1 ze id ET E PowerFlex 70 Drive Adapter mounts in drive 000000000 o o o o o o o o o o o o PowerFlex 700 or 700S Drive PowerFlex 700 or 700S Drive Frames 0 1 Frames 2 and Larger Adapter mounts on door Adapter mounts in drive 2 6 Installing the Adapter Applying Power Unpredictable operation may
40. NA NA NA NA 10101 XxxxO 24 NA NA NA NA 10110 xxxx0 24 NA NA NA NA 10111 XxxxO 32 NA NA NA NA 11000 0 16 NA NA NA NA 11001 XxxxO 24 NA NA NA NA 11011 XxxxO 32 NA NA NA NA 11100 0 24 NA NA NA NA 11101 XxxxO 32 NA NA NA NA 11110 xxxx0 32 NA NA NA NA 11111 XxxxO 40 NA NA NA NA 00000 0 0 0 0 amp 0 0 amp 0 00001 8 8 8 8 amp 0 8 amp 0 00010 xxxx1 8 8 8 8 amp 0 8 amp 0 00011 16 16 16 16 amp 0 16 amp 0 00100 8 8 8 8 amp 0 8 amp 0 00101 1 16 16 16 16 amp 0 16 amp 0 00110 1 16 16 16 16 amp 0 16 amp 0 00111 1 24 24 24 24 amp 0 24 amp 0 01000 8 8 8 8 amp 0 8 amp 0 01001 16 16 16 16 amp 0 16 amp 0 01010 1 16 16 16 16 amp 0 16 amp 0 Master Slave 1 Configuration E 5 Table E B Host Products using 32 bit Reference Feedback amp Datalinks Continued Allocation Number of Bytes M S M S Data Size sent from the Controller to the Adapter Input Output Poll Only COS Only Cyclic Only Poll amp COS Poll amp Cyclic 01011 XXXX1 24 24 24 24 amp 0 24 amp 0 01100 1 16 16 16 16 amp 0 16 amp 0 01101 XXXX1 24 24 24 24 amp 0 24 amp 0 01110 xxxx1 24 24 24 24 amp 0 24 amp 0 01111 XXXX1 32 32 32 32 amp 0 32 amp 0 10000 xxxx1 8 8 8 8 amp 0 8 amp 0 10001 16 16 16 16 amp 0 16 amp 0 10010 xxxx1 16
41. NA NA NA NA XXXXX 00100 8 NA NA NA NA XXXXX 00110 16 NA NA NA NA XXXXX 01000 8 NA NA NA NA XXXXX 01010 16 NA NA NA NA XXXXX 01100 16 NA NA NA NA XXXXX 11100 24 NA NA NA NA XXXXX 10000 8 NA NA NA NA XXXXX 10010 16 NA NA NA NA XXXXX 10100 16 NA NA NA NA XXXXX 10110 24 NA NA NA NA XXXXX 11000 16 NA NA NA NA XXXXX 11010 24 NA NA NA NA XXXXX 11100 24 NA NA NA NA XXXXX 11110 32 NA NA NA NA XXXXX 00001 8 8 amp 8 8 amp 8 XXXXX 00011 16 16 amp 8 16 amp 8 XXXXX 00101 16 16 amp 8 16 amp 8 24 amp 8 2488 24 88 24 88 24 amp 8 24 88 32 88 32 amp 8 16 amp 8 16 amp 8 24 88 24 88 24 88 24 88 32 88 32 amp 8 24 88 24 88 32 88 32 88 32 88 32 8 8 4088 4088 00111 24 01011 24 01101 24 01111 32 10001 16 10011 24 10101 24 10111 32 11001 24 11011 32 11101 32 11111 40 CO CO CO OO O CO CO O OO E 8 Master Slave I O Configuration Notes Glossary Adapter Devices such as drives controllers and computers usually require an adapter to provide a communication interface between them and a network such as DeviceNet An adapter reads data on the network and transmits it to the connected device It also reads data in the devi
42. OPT Open and 40 OPT Close e Configuration of the 20 COMM D adapter to use the optional I O Board 20 XCOMM IO OPT1 installed in an External DPI Comms Kit 20 XCOMM DC BASE Important Firmware Release v2 xxx can be flash upgraded into a Series 20 COMM D adapter but the adapter will not function in an External DPI Comms Kit soc ii Summary of Changes Preface Chapter 1 Chapter 2 Chapter 3 Chapter 4 Table of Contents About This Manual Related Documentation P 1 Conventions Used in this Manual P 2 Rockwell Automation Support 2 Getting Started Coniponents ee eye s e ee ences nares 1 1 Features datas 1 2 Compatible Products 1 3 Required Equipment eeeleeeee eee 1 3 Safety Precautions 00 eevee a ee eet 1 4 Quick Start etre tee mte eda 1 6 Modes of Operation 1 7 Installing the Adapter Preparing for an Installation 2 1 Commissioning the Adapter 2 1 Connecting the Adapter to the Network 2 3 Connecting the Adapter to the 2 4 Applying Power i ba bee bob eV Pr Ix 2 6 Configuring the Adapter Configuration Tools 3 1 Using the PowerFlex
43. Response from the scanner s buffer upload 5 The Explicit Message is complete If you are using a PLC or SLC delete the transaction ID so that it can be reused Note The scanner module may be integrated with the controller for example ControlLogix Using Explicit Messaging ControlLogix Example Data Format for a Read and Write Parameter The data in this example is for a PowerFlex drive at node address 1 Refer to Formatting Explicit Messages in this chapter for a description of the content in each box Message Configuration ParameterReadMessage x Configuration Communication Path TheDNB Fx Browse TheDNR 2 1 Message Configuration ParameterReadMessage x Configuration Communication Message Type LIP Generic Service Code fe Hex Source ParameterReadSource Object Type Hex Num Of Elements 2 Bytes Object ID fi 01 Destination ParameterReadDestinati z Object Attribute fi Hex Create Tag O Enable Enable Waiting Start 9 Done Done Length 2 Error Code Timed Out Extended Error Code Cancel Apply Help Configuration Example Value Service Code Code for Get Attribute Single Object Type Parameter Object Object ID Parameter Address Object Attribute Parameter Value Using Explicit Messaging 6 9 Configuration Communication Path Browse Configuration Communication Message Type ad Service Code 10 Hex Source Parameter wWiri
44. and clear events Step Viewing Events 1 Access parameters in the adapter Refer to Using the PowerFlex HIM in Chapter 3 Press the Up Arrow or Down Arrow to scroll to Diagnostics Press Enter to display the Diagnostics menu in the adapter Repeat steps 2 and 3 to enter the Events option and then View Event Queue option Press the Up Arrow or Down Arrow to scroll through the events The most recent event is Event 1 Clearing Events 1 Access parameters in the adapter Refer to Using the PowerFlex HIM in Chapter 3 Press the Up Arrow or Down Arrow to scroll to Diagnostics Press Enter to display the Diagnostics menu in the adapter Repeat steps 2 and 3 to enter the Events option and then the Clear Event option or Clr Event Queue option A message will pop up to confirm that you want to clear the message or queue Press Enter to clear all events out of the event queue All event queue entries will then display No Event Keys Example Screen Main Menu Parameter Device Select Event Q Ping Time Fit Dgn Events View Event Queue Clear Event Clr Event Queue Events Troubleshooting 7 7 Many events in the Event queue occur under normal operation If you encounter unexpected communications problems the events may help you or Allen Bradley personnel troubleshoot the problem The following events may appear in
45. dialog box in RSLogix 5000 add a message instruction MSG create a new tag for the message properties Base tag type MESSAGE data type controller scope and click the Configure button Using Explicit Messaging 6 3 The following table identifies the number of Explicit Messages that can be executed at a time Messages at Scanner Time 1756 DNB Refer to Figure 6 1 ControlLogix Message Requests and Responses Box o Description Message Type The message type must be CIP Generic e Service Code The service code is the requested DeviceNet service Available services depend on the class and instance that you are using Refer to Appendix C DeviceNet Objects Object Type The object type is a DeviceNet class Refer to Appendix C DeviceNet Objects for available classes Object ID The object ID is an instance of a DeviceNet class Refer to Appendix C DeviceNet Objects for available instances Object Attribute The object attribute is a class or instance attribute Refer to Appendix C DeviceNet Objects for available classes Source This box contains the name of the tag for any service data to be sent from the scanner to the adapter and drive A tag must be specified even if it is not used Num of Elements This box contains the number of bytes of service data to be sent or received in the message Destination This box contains the name of the tag that will
46. of Parameter 55 Maximum Freq where 32 676 equals the Parameter 55 frequency value and 0 equals 0 Hz Note that the commanded maximum speed can never exceed the value of Parameter 82 Maximum Speed Table 5 shows example References and their results on a PowerFlex 70 700 drive that has its Parameters 55 Maximum Freq set to 130 Hz and 82 Maximum Speed set to 60 Hz Table 5 A Example Speed Reference and Feedback for a PowerFlex 70 700 Reference Scale Feedback Value Percent Value Output Speed Value 32767 7 10096 130 Hz 60 Hz A 15123 9 16384 50 65 Hz 60 Hz 9 15123 0 8192 25 32 5 Hz 32 5 Hz 8192 0 0 0 Hz 0 Hz 0 1 A value of 32767 is equivalent to the Parameter 55 frequency value The effects of values greater than 32767 depend on whether the DPI product uses a bipolar or unipolar direction mode Refer to the documentation for your DPI product 0 The drive runs at 60 Hz instead of 130 Hz or 65 Hz because Parameter 82 Maximum Speed sets 60 Hz as the maximum speed 3 The Feedback value is also scaled based on the value of Parameter 55 Maximum Freq For example 60 130 0 46 so 32767 x 0 46 15123 For Reference Feedback details about other DPI Hosts refer to their respective User Manuals 5 6 Using I O Messaging Using Datalinks A Datalink is a mechanism used by PowerFlex drives to transfer data to and from the controller Datalinks allow a parameter value t
47. to NVS Refer to the attention on page 6 1 C 20 DeviceNet Objects DPI Parameter Object Continued Descriptor Attributes Bit Name Description 0 Data Type Bit 1 Right bit is least significant bit 0 000 BYTE used as an array of Boolean 001 WORD used as an array of Boolean i 010 BYTE 8 bit integer Data Type Bit2 ot WORD 16 bit integer 100 DWORD 32 bit integer 2 Data Type Bit 3 101 TCHAR 8 bit not unicode or 16 bits unicode 110 REAL 32 bit floating point value 111 Use bits 16 17 18 3 Sign Type 0 unsigned 1 signed 4 Hidden 0 visible 1 hidden 5 Not a Link Sink 0 Parameter can sink a link 1 Parameter cannot sink a link 6 Not Recallable 0 Recallable from NVS 1 Not Recallable from NVS 7 ENUM 0 No ENUM text 1 ENUM text 8 Writable 0 Read only 1 Read write 9 Not Writable When 0 Writable when enabled e g drive running Enabled 1 Not writable when enabled 10 Instance 0 Parameter value is not a Reference to another parameter 1 Parameter value refers to another parameter 11 Reserved Must be zero 12 Decimal Place Bit 0 Number of digits to the right of the decimal point 13 Decimal Place Bit 1 0009 is 14 Decimal Place Bit 2 7 15 Decimal Place Bit 3 16 Extended Right bit is least significant bit 16 Data Type Bit 1 000 Reserved 17 Extended 001 DWORD used as an array of Boolean Data Type B
48. to configure an adapter and drive Refer to Chapter 6 Using Explicit Messaging 3 2 Configuring the Adapter Using the PowerFlex HIM If your drive has either an LED or LCD HIM Human Interface Module you can use it to access parameters in the adapter as shown below It is recommended that you read through the steps for your HIM before performing the sequence For additional HIM information refer to your PowerFlex Drive User Manual or the HIM Quick Reference card Using an LED HIM Step Key s Example Screens 1 Press ALT and then Sel Device Device to display the Device Screen 2 Press the Up Arrow or Down Arrow to scroll to the DeviceNet adapter Letters represent files in OR 623 5 g the drive and numbers represent ports The adapter is usually connected to port 5 3 Pressthe Enter key to enter your selection A parameter database is constructed and then the first eo parameter is displayed 4 Editthe parameters using the same techniques that you use to edit drive parameters Using an LCD HIM Step Key s Example Screens 1 Inthe main menu press the Up Arrow or Down Arrow to scroll to O OR amp Device Select 2 Press Enter to enter your selection e Main Menu Diagnostics Parameter Device Select 3 Press the Up Arrow or Down Arrow to scroll to the DeviceNet OR e adapter 20 COMM D 4 Press Enter to sele
49. 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 Important Identifies information that is critical for successful application and understanding of the product ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you e identify a hazard e avoid the hazard e recognize the consequences Shock Hazard labels may be located on or inside the equipment e g drive or motor to alert people that dangerous voltage may be present Burn Hazard labels may be located on or inside the equipment e g drive or motor to alert people that surfaces may be at dangerous temperatures P Allen Bradley PowerFlex ControlLogix Logix5550 ControlFLASH DriveExplorer DriveExecutive DriveTools SP DPI PLC 5 SCANport and SLC are either registered trademarks or trademarks of Rockwell Automation Inc RSLinx RSLogix and RSNetWorx are trademarks of Rockwell Software DeviceNet is a trademark of the Open DeviceNet Vendor Association Windows Windows CE Windows NT and Microsoft are either registered trad
50. 00 Data 2000 700 hex 20 00 seconds Response Data for Write to Drive Parameter 101 Address Value Hex Description Refer to N30 70 0101 TXID 01 Status 01 successful transaction 6 6 N30 71 0000 Port 00 Size 00 bytes 6 6 N30 72 9001 Service 90 successful 6 6 Address 01 Node Address Ladder Logic Program Using Explicit Messaging Figure 6 7 Example PLC 5 Ladder Logic Program instruction then initializes the next rung When 1 000 17 is set to true a one time Block Transfer Write sends data to the scanner The Move he first word of the data file that is used by the Block Transfer Read instruction in 6 11 1 000 B3 0 BTW 00001 4 E ons 1 Block Transfer Write CEND 17 0 Module Type 1771 SDN DeviceNet Scanner Module Rack 000 DN Group 0 Module 0 4 2 Control Block BT20 2 Data File N30 0 Length 64 Continuous No MOV Move Source 0 When BT20 2 DN is true the Block Transfer Write is complete 0 lt The compare instruction compares the first word of data sent Dest N30 70 from the scanner to the first word of data you send to the 25 scanner When the messaging function is complete the two words are equal If the Block Transfer Read is not enabled this instruction enables it when BT20 2 DN and the compare are true The Block Transfer Read reads 64 words of data BT20 2 CMP BT20 3 0001 3 E Comparison DN Expression N30 70 N30 0 EN BTR Block Transfer Read
51. 00 drives e PowerFlex 700H drives e External DPI Comms Kit Required Equipment Equipment Shipped with the Adapter When you unpack the adapter verify that the package includes C One DeviceNet adapter A 2 54 cm 1 in and a 15 24 cm 6 in Internal Interface cable only one cable is needed to connect the adapter to the drive One five pin linear DeviceNet plug connected to the DeviceNet connector on the adapter This manual User Supplied Equipment To install and configure the DeviceNet adapter you must supply A small flathead screwdriver DeviceNet cable thin cable with an outside diameter of 6 9 mm 0 27 in is recommended Configuration tool such as PowerFlex 7 Class HIM 20 HIM DriveExplorer version 2 01 or higher DriveExecutive stand alone software version 3 01 or higher or bundled with the DriveTools SP suite version 1 01 or higher RSNetWorx for DeviceNet Smart Self powered Serial Converter 1203 SSS v3 001 or higher Q Computer with a DeviceNet communications adapter installed Examples 1784 PCD 1784 PCID 1784 PCIDS or 1770 KFD Q Controller configuration software Examples RSLogix5 RSLogix500 or RSLogix 5000 o Getting Started Safety Precautions Please read the following safety precautions carefully ATTENTION Risk of injury or death exists The PowerFlex drive may contain high voltages that can cause injury or de
52. 01 Value 1 1 hex 0 1A N30 78 0000 z N30 79 0006 Parameter Number 6 N30 80 0864 Value 2148 864 hex 214 8V AC N30 81 0000 C 24 DeviceNet Objects DPI Parameter Object Continued Format for Set Attributes Scattered Service PLC SLC The structure shown below can get up to eight parameters in a single message In the Response Message a parameter number with the high bit set indicates that the associated pad word field contains an error code Request Response Word0 TXID Command TXID Status 1 Port Size Port Size 2 Service Address Service Address 3 Class Parameter Number 4 Instance Pad Word or Error Code 5 Attribute Pad Word 6 Parameter Number Parameter Number 7 Parameter Value LSW Pad Word or Error Code 8 Parameter Value MSW Pad Word 9 Parameter Number Parameter Number 10 Parameter Value LSW Pad Word or Error Code 11 Parameter Value MSW Pad Word 12 Number Parameter Number 13 Parameter Value LSW Pad Word or Error Code 14 Parameter Value MSW Pad Word 15 Number Parameter Number 16 Parameter Value LSW Pad Word or Error Code 17 Parameter Value MSW Pad Word 18 Number Parameter Number 19 Parameter Value LSW Pad Word or Err
53. 0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single C 32 DeviceNet Objects DPI Diagnostic Object Class Code Hexadecimal Decimal 0x99 153 Instances The number of instances depends on the maximum number of diagnostic items in the device The total number of diagnostic items can be read in Instance 0 Attribute 2 Instances Hex 0x0000 Ox3FFF Dec 0 16383 Device Host Example 0 Description Class Attributes Drive 0x4000 0x43FF 16384 17407 Adapter 1 Drive Diagnostic Item 1 0x4400 0x47FF 17408 18431 DPI Port 1 2 Drive Diagnostic Item 2 0x4800 Ox4BFF 18432 19455 DPI Port 2 E 1 0x4C00 Ox4FFF 19456 20479 DPI Port 3 16384 Class Attributes Adapter 0x5000 Ox53FF 20480 21503 DPI Port 4 16385 Adapter Diagnostic Item 0x5400 Ox57FF 21504 22527 DPI Port 5 E E 0x5800 Ox5BFF 22528 23551 DPI Port 6 Class Attributes Attribute Access ID Rule Data Type Description 1 Get Class Revision WORD 1 2 Get Number of WORD Number of diagnostic items in the Instances device 3 Get ENUM Offset WORD DPI ENUM object instance offset DeviceNet Objects C 33 DPI Diagnostic Object Continued Instance Attributes Attribute Access ID Rule Name Data Type Description 0 Get Full All STRUCT of Info BOOL 32 Descriptor see pages 20 0 21 CONTAINER
54. 1 Parameter Mast scx ud De AA Rhee NE RHENUS B 1 Appendix C Appendix D Appendix E Glossary Index Table of Contents iii DeviceNet Objects Identity Object zii acd eee trt ev PDT 2 Connection eee eee C 4 Register Object ree pet eue C 6 Parameter rnrn 8 Parameter Group Object C 11 eap tiber e deus 13 DPI Device Object 0 0 eee eee eee C 15 DPI Parameter Object C 18 DPI Fault Object seeeeeeleeee rrn C 28 DPI Alarm Object 0 C 30 DPI Diagnostic C 32 DPF Time Object 4 4 C 34 Logic Command Status Words PowerFlex 70 PowerFlex 700 PowerFlex 700VC and PowerFlex 700H D 1 PowerFlex 7005 Drives D 3 Master Slave I O Configuration M S Input Parameter Configurations E 1 M S Output Parameter Configurations E 5 iv Table of Contents About This Manual Topic Page Related Documentation P 1 Conventions Used in this Manual P 2 Rockwell Automation Support P 2 Related Documentation Preface For Refer to Publication
55. 1 m Parameter Value B 2 Get Link Path Size USINT 0 No link specified n The size of Attribute 3 in bytes 3 Get Link Path 8 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 1 WORD 16 bit 2 UINT 16 bit 3 INT 16 bit 5 SINT 6 DINT 8 USINT 9 UDINT 11 REAL 23 SHORT STRING 24 BYTE 25 DWORD 6 Get Data Size USINT 8 7 Get Parameter Name SHORT_ 8 String STRING 8 Get Units String sHoRT 6 STRING 9 Get Help String SHORT 0 STRING 10 Get Minimum Value 8 11 Get Maximum Value 00 8 12 Get Default Value 8 13 Get Scaling Multiplier UIN 8 14 Get Scaling Divisor UINT 8 15 Get Scaling Base UINT 8 16 Get Scaling Offset UINT 8 17 Get Multiplier Link UINT 8 18 Get Divisor Link UINT B 19 Get Base Link UINT 8 20 Get Offset Link UINT 8 21 Get Decimal USINT 8 Precision 1 Access rule is defined in bit 4 of instance attribute 4 0 Get Set 1 Get Specified in descriptor data type and data size Value varies based on parameter instance Refer to the DeviceNet specification for a description of the connection path C 10 DeviceNet Objects Parameter Object Continued Services Service Code Implemented for Service Name Class Instance 0 01 Get Attribute All 0x05 Yes No Reset Ox0E Yes Yes Get_At
56. 10101 Dod 12 12 12 1280 1280 10110 xxxx1 12 12 12 12 amp 0 12 amp 0 10111 1 16 16 16 16 amp 0 16 amp 0 11000 xxxx1 8 8 8 8 amp 0 8 amp 0 11001 xxxx1 12 12 12 12 amp 0 12 amp 0 11011 1 16 16 16 16 amp 0 16 amp 0 11100 xxxx1 12 12 12 12 amp 0 12 amp 0 11101 1 16 16 16 16 amp 0 16 amp 0 11110 1 16 16 16 1680 1680 11111 1 20 20 20 20 amp 0 20 amp 0 Master Slave I O Configuration Table E B Host Products using 32 bit Reference Feedback amp Datalinks Allocation Number of Bytes Data Size sent from the Controller to the Adapter m Poll Only COS Only Cyclic Only Poll amp COS Poll amp Cyclic 00000 0 0 NA NA NA NA 00001 0 8 NA NA NA NA 00010 0 8 NA NA NA NA 00011 XxxxO 16 NA NA NA NA 00100 0 8 NA NA NA NA 00101 XxxxO 16 NA NA NA NA 00110 0 16 NA NA NA NA 00111 XxxxO 24 NA NA NA NA 01000 0 8 NA NA NA NA 01001 XxxxO 16 NA NA NA NA 01010 0 16 NA NA NA NA 01011 XxxxO 24 NA NA NA NA 01100 xxxx0 16 NA NA NA NA 01101 XxxxO 24 NA NA NA NA 01110 0 24 01111 XxxxO 32 NA NA NA NA 10000 0 8 NA NA NA NA 10001 XxxxO 16 NA NA NA NA 10010 0 16 NA NA NA NA 10011 XxxxO 24 NA NA NA NA 10100 xxxx0 16
57. 3 000 kW 4 000 HP All PowerFlex 7 Class drives support DPI allowing them to use the 20COMM D DeviceNet adapter This manual focuses on using the adapter with PowerFlex 7 Class drives Other products that support DPI can also use the adapter Producer Consumer Network On producer consumer networks packets are identified by content rather than an explicit destination If a node needs the packet it will accept the identifier and consume the packet The source therefore 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 Reference Feedback The Reference is used to send a Reference for example speed frequency torque to the drive It consists of one word of input to the adapter from the network The size of the word either a 16 bit word or 32 bit word is determined by the drive Feedback is used to monitor the speed of the drive It consists of one word of output from the adapter to the network The size of the word either a 16 bit word or 32 bit word is determined by the drive Glossary RSLogix RSLogix 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
58. 3 16 Peer A Input Screen on an LCD HIM Port 5 Device Value Description 20 COMM D 0 Off Default Parameter 4 30 1 Logic Command Reference Peer A Input 2 5 Datalink A B C or D Input 1 If you are receiving a 32 bit Reference 32 bit Datalink only Peer A Input will be available Peer B Input cannot be used 4 If desired select the destination of the data to input to the drive in Parameter 31 Peer B Input Figure 3 17 Peer B Input Screen on an LCD HIM Port 5 Device Value Description 20 COMM D 0 Off Default Parameter 31 1 Logic Command Reference Peer B Input 2 5 Datalink A B C or D Input 2 DL A Input 5 If you are receiving a Logic Command set the bits in it that should be used in Parameter 32 Peer Cmd Mask The bit definitions for the Logic Command word will depend on the drive to which the adapter is connected Refer to the drive documentation Configuring the Adapter 3 13 Figure 3 18 Peer Logic Command Mask Screen an LCD HIM Port 5 Device Description 20 COMM D 0 Ignore this command bit Default Parameter 32 Peer Cmd Mask 1 Use this command bit 000000000000000 Bit 0 If the adapter receives a Logic Command from both a Master device and a Peer device each command bit must have only one source The source of command bits set to 0 will be the Master device The source of comm
59. 3 2 Using RSNetWorx for DeviceNet 3 3 Setting the Node 5 3 7 Setting the Data 3 7 Setting the I O Configuration 3 8 Selecting Master Slave or 3 8 Selecting COS Cyclic or Polled 3 14 Setting a Fault Action 0 0 3 16 Resetting the Adapter 3 17 Viewing the Adapter Configuration 3 18 Configuring the Scanner Example eee seen 4 1 Setting Up the Scan List 4 2 Mapping the Drive Data in the 4 6 Saving the esses 4 8 ii Table of Contents Chapter 5 Chapter 6 Chapter 7 Chapter 8 Appendix A Appendix B Using I O Messaging About I O Messaging lees 5 1 Understanding the I O Image 5 2 Using Logic Command Status 5 4 Using Reference Feedback 5 5 Using eee eee 5 6 Example Ladder Logic Programs 5 8 ControlLogix Example 5 9 PLC 5 Example 5 11 SLC Examples eda a E UPS 5 13 Using Explicit Messa
60. 3 SSS Smart Self powered Serial converter version 3 xx or higher firmware or the built in flash capability of DriveExplorer version 4 01 or higher Heartbeat Rate 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 HIM Human Interface Module A device that can be used to configure and control a PowerFlex 7 Class drive PowerFlex 7 Class HIMs 20 HIM xxx can be used to configure connected peripherals Hold Last When communications are disrupted for example a cable is disconnected the adapter and PowerFlex drive can respond by holding last Hold last results in the drive receiving the last data received via the DeviceNet 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 I O Data T O data sometimes called implicit messages or input output transmit time critical data such as a Logic Command and Reference The terms input and output are defined from the scanner s point of view Output is transmitted by the scanner and consumed by the adapter Input is transmitted by the adapter and consumed by the scanner Glossary Logic Command Logic Status The Logic Command is used to control the PowerFlex drive e g start stop direction It consists of one 16 bit wor
61. 4 3 6 Under Available Devices select the drive and then click gt Right Arrow to add it to the scanlist Figure 4 3 Scanlist Page in the Scanner Module Dialog Box Ee 1747 SDN Scanner Module 3 71x General Module Scanlist Input Output ADR Summary Available Devices lt lt Automap on Add Node Active Upload from Scanner ci esc dm Vend Download to Scanner zd ia Ha HEVISIOr Edit 1 0 Parameters 7 Under Scanlist select the drive and then click Edit I O Parameters The Edit I O Parameters dialog box Figure 4 4 appears Figure 4 4 Edit I O Parameters Dialog Box Edit 1 0 Parameters 01 Bul 1305 Drive 3 0A 230V Strobed T Change of State Cyclic Bx Size pa Bytes Change cfState Cyclic Ris Size p Bytes Poed Tx Size p 1 Bytes Rg Size pa Bytes Heartbeat Rate msec Is Size 21 Bytes Poll Rate Eve Scan Cancel Restore 1 0 Sizes 8 Select the type s of data exchange Polled Change of State and or Cyclic In our example we selected Polled 4 4 Configuring the Scanner 9 Type the number of bytes that are required for your I O in the Rx Size and Tx Size boxes The size will depend on the following e T O that you enabled in the adapter This information can be found in Parameter
62. 5 1 0x5800 Ox5BFF 22528 23551 DPI Port 6 Class Attributes Attribute Access Name Data Type Description Rule 0 Get Family Code BYTE 0x00 Communications Adapter 0x30 PowerFlex 70 0x38 0x39 or PowerFlex 700 0x40 PowerFlex 7000 0x48 0x49 or 0x4A PowerFlex 7005 OxFF HIM 1 Get Family Text STRING 16 Text identifying the device 2 Get Set Language BYTE 0 English Code 1 French 2 Spanish 3 Italian 4 German 5 6 Portuguese 7 Mandarin Chinese 8 Russian 9 Dutch 3 Get Product Series BYTE 1 A 2 8 4 Get Number of BYTE Number of components e g main Components control board I O boards in the device 5 Get Set User Definable STRING 16 Text identifying the device with a Text user supplied name 6 Get Status Text STRING 12 Text describing the status of the drive C 16 DeviceNet Objects DPI Device Object Continued Class Attributes Continued Attribute Access Name Data Type Description ID Rule 7 Get Configuration BYTE Identification of variations Code 8 Get Configuration STRING 16 Text identifying a variation of a family Text device 9 Get Brand Code WORD 0x0001 Allen Bradley 11 Get NVS WORD Checksum of the Non Volatile Storage in Checksum a device 12 Get Class WORD 2 DPI Revision 18 Get Character Set BYTE 0 SCANport HIM Co
63. D 0 Logic Command Reference Default Parameter 25 1 Datalink A Input M S Input 2 Datalink B Input XXXX 0 0008 3 Datalink C Input Cmd Ref 500 4 Datalink D Input 5 15 Not Used Bit 0 is the right most bit In Figure 3 8 it is highlighted and equals 3 Set the bits in Parameter 26 M S Output This parameter determines the data transmitted from the drive to the scanner A 1 enables the I O A 0 disables the I O Figure 3 9 Master Slave Output Screen on an LCD HIM Port 5 Device Bit Description 20 COMM D 0 Status Feedback Default Parameter 26 1 Datalink A Output M S Output 2 Datalink B Output 0000 3 Datalink C Output Status Fdbk 000 4 Datalink D Output 5 15 Not Used Bit 0 is the right most bit In Figure 3 9 it is highlighted and equals 4 Reset the adapter See Resetting the Adapter section in this chapter The adapter is ready to receive I O from the master i e scanner You must now configure the scanner to recognize and transmit I O to the adapter Refer to Chapter 4 Configuring the Scanner 3 10 Configuring the Adapter To set an adapter to transmit Peer to Peer data l Verify that Parameter 41 Peer Out Enable is set to Off This parameter must be set to Off while you configure some of the peer output parameters Figure 3 10 Peer Out Enable Screen on an LCD HIM Port 5 Device Value
64. Drive Start data file They will then be sent to the scanner START Command Bit and out to the drive via the DeviceNet network Command Bit 1 000 N10 1 0005 lE 10 1 5 12 0006 0007 0008 0009 0010 0011 Using I O Messaging Figure 5 6 Example PLC 5 Ladder Logic Program Continued Operator Input PowerFlex 70 Drive Stop STOP Command Bit Command Bit 1 000 N10 1 J E Cy eG 11 0 Operator Input PowerFlex 70 Drive Jog JOG Command Bit Command Bit 1000 N10 1 Je Cy el ui 12 2 Operator Input PowerFlex 70 Drive Clear Faults CLEAR FAULT Command Bit Command Bit 1 000 N10 1 q E Cy zd 13 3 PowerFlex 70 REFERENCE Command Word MOV Move A Source N21 0 0 lt The Block Transfer Write in this rung sends the drive Dest N10 2 command data to the scanner and out to the drive via 0 lt the DeviceNet network BT20 1 BTW 28 Block Transfer Write I CEND EN Module Type Generic Block Transfer Rack 000 I CDND roup Module 0 CERD Control Block BT20 1 Data File N10 0 Length 62 Continuous No CEND gt Using 10 Messaging 5 13 SLC Example Figure 5 7 Example SLC Ladder Logic Program The scanner gathers drive status data via the DeviceNet network The M File is copied into the N9 data file in the SLC to move the drive status information to a convenient location COP 0000 Copy File Source M1 1 0
65. Fdbk Change Figure 3 24 COS Fdbk Change Configuration Screen on an LCD HIM Port 5 Device 20 COMM D Parameter 28 COS Fdbk Change 0 lt gt 4294967295 The adapter is now configured for COS data exchange You must configure the scanner to allocate it using COS Chapter 4 Configuring the Scanner 3 16 Configuring the Adapter Setting a Fault Action By default when communications are disrupted for example a cable is disconnected 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 communication disruptions using Parameter 10 Comm Action and a different response to an idle scanner using Parameter 11 Idle Fit Action Parameters 10 Comm FIt Action and 11 Idle Flt Action let you ATTENTION Risk of injury or equipment damage exists determine the action of the adapter and connected drive if communications are disrupted or the scanner is idle By default these parameters fault the drive You can set these parameters so that the drive continues to run Precautions should be taken to ensure that the settings of these parameters do not create a 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 faulted controller To change the fault action e Set the values of Parameters 10 Comm FIt
66. File this rung performs the following Copies the response message into N10 50 Initiate Copies a command of four 4 into the Explicit M1 File The four 4 commands the 1747 SDN Message scanner to discard the response data so that the B3 0 buffer can be used for the next message QU response 0 Explicit Message Explicit Response Message Available Response 11 0 COP J Copy File 15 Source M1 1 224 1747 SDN Dest N20 50 Length 32 Explicit Message EQU Equal Mask Move Source A N20 10 Source N20 0 257 4 Source B N20 50 Mask OOFFh 257 lt 255 lt Dest M0 1 224 7 CEND 6 14 Using Explicit Messaging Notes Chapter 7 Troubleshooting Chapter 7 provides information for diagnosing and troubleshooting potential problems with the adapter Topic Page Topic Page Understanding the Status Indicators 7 1 NET A Status Indicator 74 PORT Status Indicator 7 2 Viewing Adapter Diagnostic Items 7 5 MOD Status Indicator 1 3 Viewing and Clearing Events 1 6 Understanding the Status Indicators The DeviceNet adapter has three status indicators They can be viewed on the adapter or through the drive cover See Figure 7 1 Figure 7 1 Status Indicators location on drive may vary ltem Status Indicator Description Page 9 PORT DPI Connection Status 7 2 MOD Adapter Status 1 3 e NETA DeviceNet Status 1 4 Not Used for DeviceNe
67. Not Used 6 Not Used 7 Not Used B4 Adapter Parameters Parameter No Name and Description 15 16 25 Fit Cfg Logic Sets the Logic Command data that is sent to the drive if any of the following is true e Parameter 10 Comm Fit Action is set to Send Flt Cfg and communications are disrupted e Parameter 11 Idle Fit Action is set to Send Fit Cfg and the scanner is idle e Parameter 34 Peer Fit Action is set to Send Fit Cfg and communications are disrupted The bit definitions will depend on the product to which the adapter is connected Flt Cfg Ref Sets the Reference data that is sent to the drive if any of the following is true e Parameter 10 Comm Fit Action is set to Send Fit Cfg and communications are disrupted e Parameter 11 Idle Fit Action is set to Send Fit Cfg and the scanner is idle e Parameter 34 Peer Fit Action is set to Send Fit Cfg and communications are disrupted Flt Cfg A1 In Fit Cfg A2 In Flt Cfg B1 In Flt Cfg B2 In Fit Cfg C1 In Fit Cfg C2 In Flt Cfg D1 In Fit Cfg D2 In Sets the data that is sent to the Datalink in the drive if any of the following is true e Parameter 10 Comm Fit Action is set to Send Flt Cfg and communications are disrupted e Parameter 11 Idle Fit Action is set to Send Fit Cfg and the scanner is idle e Parameter 34 Peer Fit Action is set to Send
68. P Common Industrial Protocol CIP is the transport and application layer protocol used for messaging over DeviceNet The protocol is used for implicit messaging real time T O and explicit messaging configuration data collection and diagnostics Glossary Class A class is defined by the DeviceNet specification as 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 ControlFLASH ControIFLASH is an Allen Bradley software tool that lets users electronically update firmware on printed circuit boards The tool takes advantage of the growing use of flash memory electronic erasable chips across industrial control products Controller A controller also called programmable logic controller is a solid state control system that has a user programmable memory for storage of instructions to implement specific functions such as I O control logic timing counting report generation communication arithmetic and data file manipulation A controller consists of a central processor input output interface and memory See also Scanner Cyclic I O Data Exchange 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 preserves bandwidth for
69. Second Most Recent Alarm Class Attributes Attribute Access Name Data Type Description Rule 1 Get Class Revision WORD Revision of object 2 Get Number of WORD Maximum number of alarms that Instances the device can record in its queue 3 Set Alarm Command BYTE 0 No Operation Write 1 Clear Alarm 2 Clear Alarm Queue 3 Reset Device 4 Get Fault Data List STRUCT of Reserved BYTE BYTE WORD n 5 Get Number of WORD Number of alarms in the queue A Recorded Alarms 0 indicates the alarm queue is empty DPI Alarm Object Continued DeviceNet Objects C 31 Instance Attributes Attribute Access Name Data Type Description Rule 0 Get Full All STRUCT of Information WORD Alarm code STRUCT of Alarm source BYTE DPI port BYTE DPI Device Object STRING 16 Alarm text STRUCT of Alarm time stamp LWORD Timer value 0 Timer not supported BOOL 16 BOOL O 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time BOOL 2 15 Reserved WORD Reserved CONTAINER n Reserved 1 Get Basic STRUCT of Information WORD Alarm code STRUCT of Alarm source BYTE DPI port BYTE DPI Device Object STRUCT of Alarm time stamp LWORD Timer value 0 Timer not supported BOOL 16 BOOL O 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time 2 15 Reserved Services Service Code Implemented for Service Name Class Instance Ox
70. Source from which the adapter node address and data rate are taken This will be either switches or parameters in EEPROM It is determined by the settings of the switches on the adapter 14 DPI I O Active The Reference Feedback and Datalinks used by the adapter This value is the same as Parameter 13 DPI I O Config unless the parameter was changed and the adapter was not reset Bit EI 0 Cmd Ref gt 1 Datalink A 2 Datalink B 3 Datalink C 4 Datalink D 5 Not Used 6 Not Used 7 Not Used Bit 7 6 5 Default x x x eo Chapter 4 Configuring the Scanner Chapter 4 provides instructions on how to configure a scanner to communicate with the adapter and connected PowerFlex drive Topic Page Example Network 4 1 Setting Up the Scan List 4 2 Mapping the Drive Data in the Scanner 4 6 Saving the Configuration 4 8 Example Network After the adapter is configured the connected drive and adapter will be a single node on the network This chapter describes the steps needed to configure a simple network like the network in Figure 4 1 In our example we will configure the drive for using Logic Command Status and Reference Feedback over the network Figure 4 1 Example DeviceNet Network Node 0 Node 62 SLC 500 Controller with Computer with 1770 KFD and 1747 SDN Scanner RSNetWorx for DeviceNet 000 SS
71. Start Word 1 If you selected the Automap on Add box in the Scanlist page Figure 4 3 RSNetWorx has already mapped the I O If it is not mapped click Automap to map it If you need to change the mapping click Advanced and change the settings Click Help for assistance 4 8 Configuring the Scanner 2 In the Memory box select a location in scanner memory Scanner Memory Locations 1747 SDN Discrete or M File 1756 DNB Assembly Data 1771 SDN Block Xfer 62 57 In our example we are using a 1747 SDN and selected Discrete 3 In the Start Word box select the word in memory at which the data should start In our example we selected 1 Logic Command and Speed Reference data will be written to O 1 1 and O 1 2 respectively Saving the Configuration After configuring a scanner you must download the configuration to the scanner You should also save it to a file on your computer 1 Inthe Scanner Module dialog box Figure 4 6 click Apply to save the configuration to the scanner A Scanner Configuration Applet appears and asks if it is OK to download the changes 2 Click Yes to download the changes The changes are downloaded and then the Scanner Module dialog box reappears 3 Click OK to close the Scanner Module dialog box 4 Select File Save If this is the first time that you saved the project the Save As dialog box appears Navigate to a folder type a file name and click Save to save the conf
72. a DPI device Services Service Code _ Implemented for Service Name Class Instance Ox0E Yes Yes Get_Attribute_Single 0x10 No Yes Set_Attribute_Single DeviceNet Objects Parameter Object Class Code Hexadecimal Decimal OxOF 15 Instances The number of instances depends on the number of parameters in the DPI drive The adapter parameters are appended to the list of drive parameters The total number of parameters can be read in Instance 0 Attribute 2 Instance Description 0 Class Attributes 1 Drive Parameter 1 Attributes n Last Drive Parameter Attributes n1 Adapter Parameter 1 Attributes 43 Last Adapter Parameter Attributes Class Attributes Attribute Access Name Data Type Description Rule 1 Get Revision UINT 1 2 Get Max Instance UINT Number of parameters 8 Get Parameter WORD 0 False 1 True Class Bit 0 Supports parameter instances Descriptor Bit 1 Supports full attributes Bit 2 Must do NVS save command Bit 3 Parameters are stored in NVS 9 Get Configuration UINT 0 Assembly Instance 10 Get Native USINT 0 English Language 1 French 2 Spanish 3 Italian 4 German 5 Japanese 6 Portuguese 7 Mandarin Chinese 8 Russian 9 Dutch DeviceNet Objects C 9 Parameter Object Continued Instance Attributes Attribute Access Name Data Type Description ID Rule
73. alink In C1 Data In C1 7 Datalink In C2 Data In C2 8 Datalink In D1 Data In D1 9 Datalink In D2 Data In D2 Input 0 Pad Word 0 Image 1 Pad Word Read 2 Logic Status Logic Status 3 Feedback Feedback 4 Datalink Out A1 Data Out A1 2 5 Datalink Out A2 Data Out A2 6 Datalink Out B1 Data Out B1 7 Datalink Out B2 Data Out B2 8 Datalink Out C1 Data Out C1 9 Datalink Out C2 Data Out C2 10 Datalink Out D1 Data Out D1 11 Datalink Out D2 Data Out D2 Message Message Message Handler Buffer Handler Required by ControlLogix May or may not be required by other controllers Using Messaging 5 3 In Figure 5 1 the configuration is shown using 10 words of output and 12 words of input the adapter adds two pad words at the beginning of the input Depending on your application needs this may vary For example an image that uses 32 bit words for Reference and four Datalinks would change the I O image in Figure 5 1 as follows Word Output I O Word Input I O 0 Logic Command Status 0 1 Pad Word 1 Pad Word 2 Logic Command Status 2 3 Reference Feedback 3 Pad Word 4 7 Datalink A1 A2 4 5 Reference Feedback 8 11 Datalink B1 B2 6 9 Datalink A1 A2 12 15 Datalink C1 C2 11 13 Datalink B1 B2 16 19 Datalink 01 02 14 17 Datalink C1 C2 18 21 Datalink 01 02 An image that uses a 16 bit Reference and 32 bit Datalinks would change the I O image in Figure 5 1 as follows
74. alue of zero In this example value 5 0 6 10000 Parameter Value Hi HZ 50 decimal 32 hexadecimal 7 10065 Parameter Number Lo 8 10000 Parameter Number Ei Parameter Number 101 Preset Speed 1 9 0064 Parameter Value Lo May bea BYTE WORD or DWORD 10 0000 Parameter Value parameter unused bytes are always a 11 10000 Parameter Value value of zero In this example value 10 0 12 0000 Parameter Value Hi HZ 100 decimal 64 hexadecimal Reply Data Byte Value Hex Definition Comments 0 0064 Parameter Number Lo 110000 Param ter Number Fli Parameter Number 100 Jog Speed 2 0000 Status 3 0000 Pad Byte 4 0000 Pad Byte Status 0x00 Success 5 10000 Pad Byte 6 0065 Parameter Number Lo 7 0000 Parameter Number Bii Parameter Number 101 Preset Speed 1 8 0000 Status 9 0000 Pad Byte tatus 10 10000 Pad Byte Status 0x00 Success 11 0000 Pad Byte If an error occurs the most significant bit of the Parameter Number in the Reply Data will be set 0x8000 Parameter Number and the Status field will contain the DPI error code C 28 DeviceNet Objects DPI Fault Object Class Code Decimal 151 Hexadecimal 0x97 Products such as PowerFlex drives use this object for faults Adapters use this object for events Instances The number of instances depends on the maximum number of faults or events supported in the queue The maximum number of faults events can be read in Instance 0
75. always supported 0x4400 Ox47FF 17408 18431 DPI Port 1 2 Timer 1 0x4800 Ox4BFF 18432 19455 DPI Port 2 3 Timer 2 0x4C00 Ox4FFF 19456 20479 DPI Port 3 0x5000 Ox53FF 20480 21503 DPI Port 4 0x5400 Ox57FF 21504 22527 DPI Port 5 0x5800 Ox5BFF 22528 23551 DPI Port 6 Class Attributes Attribute Access Name Data Type Description ID Rule 1 Get Class Revision WORD Revision of object 2 Get Number of WORD Number of timers in the object excluding Instances the real time clock that is predefined 3 Get First Device WORD Instance of the first timer that is not Specific Timer predefined 4 Set Time Command BYTE 0 No Operation Write 1 Clear all timers Does not clear the real time clock or read only timers DPI Time Object Continued DeviceNet Objects C 35 Instance Attributes Attribute Access Name Data Type Description Rule 0 Get Read Full STRUCT of STRING 16 Name of the timer LWORD or Elapsed time in milliseconds unless timer STRUCT is a real time clock See attribute 2 BOOL 16 See Attribute 3 1 Get Timer Text STRING 16 Name of the timer 2 Get Set Timer Value WORD Elapsed time in milliseconds unless the OR timer is a real time clock STRUCT of Real Time Clock Data WORD Milliseconds 0 999 BYTE Seconds 0 59 BYTE Minutes 0 59 BYTE Hours 0 23 BYTE Days 1
76. an unrecognized device create an EDS file for it Step 1 m Roco Right click the Unrecognized Device icon and select Register Device in the menu The EDS Wizard appears Figure 3 3 Click Next to display the next step Select Upload EDS and then click Next Type a description if desired and then click Next Under Polled select Enabled type 4 in the Input Size and Output Size boxes and then click Next RSNetWorx will upload the EDS file from the drive and adapter Click Next to display the icon options for the node We recommend that you use the icon for your product You can change icons by clicking Change icon Click Next to view a summary and then click Next again to accept it Click Finish to finish the EDS creation A new icon represents the PowerFlex drive and adapter in the Configuration View Important RSNetWorx for DeviceNet versions 2 22 18 and earlier replaces 32 bit values with exponential values For the EDS file to work in RSNetWorx you must edit the Icons Unrecognized Device fe 63 PowerFlex 70 Standard 2 EDS file replacing exponential values with 32 bit values 63 typically 4294967295 and then restart RSNetWorx Figure 3 3 EDS Wizard EDS Wizard x The EDS Wizard helps you register EDS based devices unregister a ice DescText change the CreateDate create an EDS Stub HodDate upload of EDS text from an unknown
77. and Status D 3 adding to the scan list 4 2 compatible with adapter 1 3 definition G 7 HIM 3 2 installing adapter on 2 4 mapping I O in the scanner 4 6 preparing for an installation 2 1 processor see controller producer consumer network G 7 products see PowerFlex drives programmable logic controller see controller Q quick start 1 6 R Ref Fdbk Size parameter B 2 Reference Feedback definition G 7 in I O image 5 2 using 5 5 Register object C 6 regulatory compliance A 1 related documentation P 1 Reset Module parameter B 2 resetting the adapter 3 17 ribbon cable see Internal Interface cable RSLinx P 2 3 3 Index 6 RSLogix G 8 RSNetWorx for DeviceNet creating EDS files with 3 5 definition G 8 editing parameters with 3 6 going online 3 4 saving a network configuration 4 8 setting up RSLinx for 3 3 using to map 1 4 6 using to set up a scan list 4 2 web site G 8 S safety precautions 1 4 scan list 4 2 scanner adding devices to a scan list 4 2 configuring for COS Cyclic or Polled 4 3 definition G 8 in Master Slave hierarchy 3 8 mapping I O 4 6 SLC example program for Explicit Messages 6 12 example program for I O 5 13 formatting Explicit Messages 6 4 specifications adapter A 1 DeviceNet G 3 status indicators definition G 8 locating 7 1 normal operation 1 7 troubleshooting with 7 1 to 7 8 switches locating 1 1 setting 2 2 T technical s
78. and bits set to 1 will be the Peer device 6 If you are receiving a Reference you can scale it using Parameter 33 Peer Ref Adjust It can be scaled between 0 00 and 199 9995 injury note that changes to Parameter 33 Peer Ref Adjust take effect immediately A drive receiving its Reference from peer I O will receive the newly scaled Reference resulting in a change of speed i ATTENTION To guard against equipment damage and or personal Figure 3 19 Peer Reference Adjust Screen on an LCD HIM Port 5 Device Default 0 00 20 COMM D Parameter 33 Peer Ref Adjust 0 00 lt gt 199 99 7 Set Parameter 36 Peer Inp Timeout to the maximum amount of time the adapter will wait for a message before timing out Important This value must be greater than the product of Parameter 42 Peer Out Time multiplied by Parameter 43 Peer Out Skip in the adapter from which you are receiving I O Figure 3 20 Minimum Peer Receiving Time Screen on an LCD HIM Default 10 00 Secs Port 5 Device 20 COMM D Parameter 36 Peer Inp Timeout M Secs 0 01 lt gt 180 00 3 14 Configuring the Adapter 8 Parameter 34 Peer Flt Action sets the action that the adapter will take if it times out ATTENTION Risk of injury or equipment damage exists Parameter 34 Peer Flt Action lets you determine the action of the adapter and connected drive if communications are disrupted By defaul
79. ansaction TXID unknown 08 Invalid command code 09 Scanner out of buffers 10 Other client server transaction in progress 11 Could not connect to slave device 12 Response data too large for block 13 Invalid port 14 Invalid size specified 15 Connection busy 16 255 Reserved TXID Most Significant Byte The transaction ID is a 1 byte integer in word 31 with a range of 1 to 255 It is assigned in the ladder logic program when the processor creates and downloads a request to the scanner The scanner uses it to track the transaction to completion It returns this value with the response that matches the request downloaded by the processor 1 Size Least Significant Byte The size of the service data is in bytes The service data includes words used for the response data The maximum size is 58 bytes 29 words Port Most Significant Byte The port that is used by the message is always zero Channel A on an SLC scanner It is zero Channel A or one Channel B for a PLC scanner 2 Address Least Significant Byte The node address of the slave device to which the transaction is sent For the Explicit Message to be successful the slave device must be in the scanlist of the scanner and it must be online Service Most Significant Byte If the message was successful 0x80 is added to the service If it is unsuccessful 0x94 is returned l Response Data This is
80. apter is operational and is transferring I O data Flashing Normal Operation The adapter is operational but is not Green transferring I O data NETA Green Normal Operation The adapter is properly connected and communicating on the network Flashing The adapter is properly connected but is not Green communicating with any devices on the network NETB Off Not used for DeviceNet 1 f all status indicators are off the adapter is not receiving power Refer to Chapter 2 Installing the Adapter for instructions on installing the adapter If any other conditions occur refer to Chapter 7 Troubleshooting 1 8 Getting Started Notes Chapter 2 Installing the Adapter Chapter 2 provides instructions for installing the adapter in a PowerFlex 7 Class drive Topic Page Preparing for an Installation 2 1 Commissioning the Adapter 241 Connecting the Adapter to the Network 2 3 Connecting the Adapter to the Drive 2 4 Applying Power 2 6 Preparing for an Installation Before installing the DeviceNet adapter e Read the DeviceNet Product Overview Manual Publication DN 2 5 and the DeviceNet Cable System Planning and Installation Manual Publication DN 6 7 2 These manuals will provide information on selecting cables setting up a network and network basics e Verify that you have all required equipment Refer to Chapter 1 Getting Started Commissioning the Adapter To commission t
81. at http www software rockwell com rslogix RSNetWorx for DeviceNet RSNetWorx for DeviceNet software is a tool for configuring and monitoring DeviceNet networks and connected devices It is a 32 bit Windows application that runs on Windows 95 Windows 98 and Windows NT Information about RSNetWorx for DeviceNet software can be found at http www software rockwell com rsnetworx Scanner A scanner is a separate module of a multi module controller or a built in component of a single module controller that provides communication with adapters connected to a network See also Controller Status Indicators 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 Type 0 1 2 Control When transmitting I O the adapter can use different types of messages for control The Type 0 Type 1 and Type 2 events help Allen Bradley personnel identify the type of messages that an adapter is using UCMM UnConnected Message Manager UCMM provides a method to create connections between DeviceNet devices Zero Data When communications are disrupted for example a cable is disconnected the adapter and drive can respond with zero data Zero data results in the drive receiving zero as values for Logic Command Reference and Datalink data If the drive was running and using the Reference
82. ath Remove all power from the PowerFlex drive and then verify power has been removed before installing or removing a DeviceNet 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 product using a DeviceNet adapter Failure to comply may result in injury and or equipment damage ATTENTION Risk of equipment damage exists The DeviceNet adapter contains ESD Electrostatic Discharge sensitive parts that can be damaged if you do not follow ESD control procedures Static control precautions are required when handling the adapter If you are unfamiliar with static control procedures refer to Guarding Against Electrostatic Damage Publication 8000 4 5 2 ATTENTION Risk of injury or equipment damage exists DPI or SCANport host products must not be directly connected together via 1202 cables Unpredictable behavior due to timing and other internal procedures can result if two or more devices are connected in this manner ATTENTION Risk of injury or equipment damage exists If the DeviceNet adapter is transmitting control I O to the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting an adapter ATTENTION Risk of injury or equipment damage exists Parameters 10 Comm FIt Action 11 Idle Fl
83. ce Datalinks 32 bit Size Size Status Feedback 16 bit A B C D 4 4 v v 12 12 v v v 20 20 v v v v 28 28 v v v v v 36 36 v v Configuring the Scanner 4 5 Table 4 C PowerFlex 7005 32 bit Reference Feedback amp Datalinks Rx Tx Logic Command Reference Datalinks 32 bit Size Size Status Feedback 32 bit A B C D 8 8 v v 16 16 v v v 24 24 v v v v 32 32 v v v v v 40 40 v v v v v v Set the scan rate Click Help for more information Data Exchange Rate to set Polled Polled Rate Change of State Heartbeat Rate Cyclic Send Rate Click OK If you changed any settings a Scanner Applet asks if it is OK to unmap the I O Click Yes to continue The Edit I O Parameters dialog box closes and then the Scanner Module dialog box Figure 4 3 reappears You will map the I O in the next section in this chapter Configuring the Scanner Mapping the Drive Data in the Scanner Data from I O messages must be mapped in the scanner This mapping determines where a ladder logic program can find data that is passed over the network You must map both the Input I O and the Output I O For Refer to Mapping the Input I O 4 6 Mapping the Output I O 4 7 Mapping the Input I O 1 In the Scanner Module dialog box click the Input tab If necessary right click the scanner in the configuration view Figure 4 2 to display this dialog b
84. ce and transmits it to the network The 20 COMM D DeviceNet adapter connects PowerFlex drives to a DeviceNet network Adapters are sometimes also called cards embedded communication options gateways modules and peripherals Automatic Device Replacement ADR 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 The scanner uploads and stores a devices configuration Upon replacing a malfunctioning device with a new unit node 63 the scanner automatically downloads the configuration data and sets the node address Bus Off 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 Controller Area Network A CAN is a serial bus protocol on which DPI is based Change of State COS I O Data Exchange 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 CI
85. configure monitor and diagnose a device over the network Fault Action 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 Fault Configuration When communications are disrupted for example a cable is disconnected the adapter and PowerFlex drive can respond with a user defined fault configuration The user sets the data that is sent to the drive in the fault configuration parameters Parameters 15 Flt Cfg Logic through 24 Flt Cfg D2 In When a fault action parameter is Glossary G 5 set to use the fault configuration and a fault occurs the data from these parameters is sent as the Command Logic Reference and or Datalink s Faulted Node Recovery 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 Flash Update The process of updating firmware in the adapter The adapter can be flash updated using the Allen Bradley software tool ControlFLASH the X modem protocol and a 120
86. ct the e DeviceNet adapter A parameter database is constructed and Port 5 Device then the main menu for the 20 COMM D adapter is displayed Main Menu 5 Editthe parameters using the Diagnostics same techniques that you use to Parameter edit drive parameters Device Select Configuring the Adapter Using RSNetWorx for DeviceNet RSNetWorx for DeviceNet is a Rockwell Software application that can be used to set up DeviceNet networks and configure connected devices To set up RSLinx for RSNetWorx for DeviceNet To use RSNetWorx for DeviceNet you must first set up a driver in RSLinx The driver provides a communications link between the computer and DeviceNet network Step Icons 1 Start RSLinx and select Communications Configure Drivers to display the Configure Drivers dialog box 5 to Ei RSLinx 2 In the Available Driver Types box select DeviceNet Drivers and then click Add New The DeviceNet Driver Selection dialog box appears 3 Inthe Available DeviceNet Drivers list select the adapter connected to your computer and then click Select A Driver Configuration dialog box appears 4 Configure the driver for your computer and network settings and then click OK The Configure Drivers dialog box reports the progress of the configuration Then the Add New RSLinx Driver dialog box appears 5 Typeaname if desired and then click OK The Configure Drivers dialog box reappears and the new
87. ction Object Continued Instance Attributes Continued Refer to the DeviceNet Specification for more information D Rue ye HO AFER 12 Get Set Watchdog USINT 0 Transition to timed out Action 1 Auto delete 2 Auto reset 13 Get Produced Path UINT Number of bytes of data in the produced Length connection path 14 Get Produced ARRAY Byte stream which defines Application Connection of UINT objects whose data is to be produced by Path this Connection object 15 Get Consumed UINT Number of bytes of data in the Path Length consumed connection path 16 Get Consumed ARRAY Byte stream which defines Application Connection of objects whose data is to be consumed Path USINT by this Connection object Services Service Code _ Implemented for Service Name Class Instance Yes Get Attribute Single DeviceNet Objects Register Object Class Code Hexadecimal Decimal 0x07 7 Instances Instance Description 1 All polled data being read from the DPI device read only 2 All polled data written to the DPI device read write 3 Logic Status and Feedback data read only 4 Logic Command and Reference data read write 5 Datalink A input data from device to scanner read only 6 Datalink A output data from scanner to device read write 7 Datalink B input data from device to scanner read only 8 Datalink B output data from scanner to device
88. d PCCC is the protocol used by some controllers to communicate with devices on a network Some software products for example DriveExplorer and DriveTools SP also use PCCC to communicate Peer to Peer Hierarchy An adapter that is configured for a peer to peer hierarchy can exchange data with a device on the network that is not a scanner This type of Glossary G 7 hierarchy can be set up so that a scanner configures or transmits data to one PowerFlex drive which then sends the same configuration or data to other PowerFlex drives on the network To use a peer to peer hierarchy you configure one adapter to transmit data 2 or 4 words and one or more adapters to receive the data Ping A ping is a message that is sent by a DPI product to its peripheral devices They use the ping to gather data about the product including whether it can receive messages and whether they can log in for control Polled I O Data Exchange 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 Status Command from the scanner and then sends the Logic Status of the connected PowerFlex drive PowerFlex 7 Class Drives The Allen Bradley PowerFlex 7 Class family of drives includes PowerFlex 70 PowerFlex 700 PowerFlex 700VC PowerFlex 700H PowerFlex 700S and PowerFlex 7000 These drives can be used for applications ranging from 0 37 kW 0 5 HP to
89. d of input to the adapter from the network The definitions of the bits in this word depend on the drive The Logic Status is used to monitor the PowerFlex drive for example operating state motor direction It consists of one 16 bit word of output from the adapter to the network The definitions of the bits in this word depend on the drive Master Slave Hierarchy 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 On a network with multiple scanners called a multimaster hierarchy each slave device must have a scanner specified as its master Node Address 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 uncommissioned devices Node addresses are sometimes called MAC IDs NVS Non Volatile Storage NVS is the permanent memory of a device Devices such as the adapter and drive store parameters and other information in NVS so that they are not lost when the device loses power NVS is sometimes called EEPROM Objects The DeviceNet specification defines an object as abstract representation of a particular component within a product PCCC Programmable Controller Communications Comman
90. data used for the message For example it may be the value read from a parameter Refer to Page 6 5 for a description of the words in a PLC SLC Explicit Message request Using Explicit Messaging 6 7 Performing Explicit Messages There are five basic events in the Explicit Messaging process defined below The details of each step will vary depending on the controller ControlLogix PLC or SLC Refer to 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 Figure 6 4 Explicit Message Process 9 Set up and send Explicit Message Request 1 1 Y Complete Explicit Es al Message gt ES n o Retreive e Message Response i Event 1 You format the required data and set up the ladder logic program to send an Explicit Message request to the scanner module download 2 The scanner module transmits the Explicit Message Request to the slave device over the DeviceNet network 3 The slave device transmits the Explicit Message Response back to the scanner The data is stored in the scanner buffer 4 The controller retrieves the Explicit Message
91. de 1 150 8859 1 Latin 1 2 ISO 8859 2 Latin 2 3 ISO 8859 3 Latin 3 4 SO 8859 4 Latin 4 5 150 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 150 10646 Unicode 15 Get Languages STRUCT of Supported BYTE Number of Languages BYTE n Language Codes See Class Attribute 2 16 Get Date of STRUCT of Manufacture WORD Year BYTE Month BYTE Day 17 Get Product STRUCT of Revision BYTE Major Firmware Release BYTE Minor Firmware Release 18 Get Serial Number DWORD Value between 0x00 and OxFFFFFFFF 19 Get Set Language BYTE 0 Default HIM will prompt at start up Selected 1 Language was selected no prompt 20 Get Set Customer STRING 36 GUID Globally Unique Identifier Generated identifying customer firmware flashed Firmware into the device 128 Get Customization WORD Code identifying the customized device Code 129 Get Customization WORD Revision of the customized device Revision Number 130 Get Customization STRING 32 Text identifying the customized device Device Text DPI Device Object Continued DeviceNet Objects 0 17 Instance Attributes Attribute Access Name Data Type Description ID Rule 3 Get Component STRING 32 Name of the component Name 4 Get Component STRUCT of Firmware BYTE Major Revision Revision BYTE Minor Revision 5 Get Comp
92. ding Logic Command Reference and up to four pairs of Datalinks may be configured for your application using parameters Explicit and UCMM Unconnected Message Manager Messages are supported Multiple data exchange methods including Polled Cyclic and Change of State COS can be used to transmit data between the network and adapter Master Slave or Peer to Peer hierarchies can be set up so that the adapter and connected PowerFlex drive transmit data to and from either a scanner or another PowerFlex drive on the network User defined fault actions determine how the adapter and PowerFlex drive respond to communication disruptions on the network and controllers in idle mode 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 set the data rate switch to Program With the PGM setting the adapter uses parameter settings for the data rate and node address instead of switch settings Getting Started 1 3 Compatible Products DPI is a second generation peripheral communication interface The DeviceNet adapter is compatible with Allen Bradley PowerFlex 7 Class drives and other products that support DPI DPI is a functional enhancement to SCANport see Glossary At the time of publication compatible products include e PowerFlex 70 drives e PowerFlex 7005 drives e PowerFlex 700 drives e PowerFlex 70
93. dress 1 is set using the switches Logic Command Reference and Datalink A are enabled in Parameter 13 DN I O Config e Master Slave Hierarchy is set using Parameters 25 M S Input and 26 M S Output Polled I O was enabled during the scanner configuration Scanner Settings for the Example Programs e The scanner is node 0 on the DeviceNet network e The scanner is in slot 1 The adapter I O is mapped in word 0 and word 1 Data files when used are pointed out in the examples Logic Command Status Words These examples use the Logic Command word and Logic Status word for PowerFlex 70 and PowerFlex 700 drives Refer to Appendix D Logic Command Status Words to view these The definition of the bits in these words may vary if you are using a different DPI product Refer to the documentation for your drive Using Messaging 5 9 ControlLogix Example For this example program the following controller tags are used Figure 5 3 Controller Tags for Example ControlLogix Ladder Logic Program Tag Name Type Tag Name Type Local 1 l DINTI DriveFeedback INT Local 1 0 DINTI DrivelnputImage INT 2 DriveCommandClearFault BOOL DriveOutputlmage INT 2 DriveCommandJog BOOL DriveReference INT DriveCommandStart BOOL DriveStatusFaulted BOOL DriveCommandStop BOOL DriveStatusRunning BOOL Figure 5 4 Example ControlLogix Ladder Logic Program This rung enables the DeviceNet scanner Local 1 0 CommandRegiste
94. driver is in the Configured Drivers List Figure 3 1 6 Click Close to close the dialog box Leave RSLinx running Figure 3 1 Configure Drivers Dialog Box with a Configured Driver r Available Driver Types Ch DeviceNet Drivers gt Hep r Configured Drivers Name and Description 1770 KFD 1 MAC 10 62 Baud Rate 125k RUNNING Running Stent Star Stop 34 Configuring the Adapter To go online with RSNetWorx for DeviceNet You can view the devices on a DeviceNet network by going online A device may appear as an unrecognized device node 63 in Figure 3 2 if RSNetWorx for DeviceNet does not have an EDS file for it Step 1 After setting up a driver in RSLinx start RSNetWorx for DeviceNet 2 Select Network Online If the Browse for Network dialog box appears RSLinx has multiple drivers configured Select your DeviceNet network and click OK A prompt appears 3 Click OK to go online The devices on the network appear in the Configuration View You can select Graph Spreadsheet or Master Slave views Figure 3 2 shows an example network in a Graph view Figure 3 2 Example DeviceNet Network Icons ar Shortcut to RSNetWorx 1747 SDN W2005848 Unrecognized Scanner Device 2 Module 3 00 B2 4 M Graph ri Spreadsheet 3 Master Slz Configuring the Adapter 3 5 To create an EDS file If the adapter and drive appear as
95. e Controller Input Output Poll Only COS Only Cyclic Only Poll amp COS Poll amp Cyclic XXXXX 00000 0 NA NA NA NA XXXXX 00010 14 NA NA NA NA XXXXX 00100 4 NA NA NA NA XXXXX 00110 8 NA NA NA NA XXXXX 01000 4 NA NA NA NA XXXXX 01010 8 NA NA NA NA XXXXX 01100 8 NA NA NA NA XXXXX 11100 12 NA NA NA NA XXXXX 10000 14 NA NA NA NA XXXXX 10010 8 NA NA NA NA XXXXX 10100 8 NA NA NA NA XXXXX 10110 112 NA NA NA NA XXXXX 11000 8 NA NA NA NA XXXXX 11010 12 NA NA NA NA XXXXX 11100 12 NA NA NA NA XXXXX 11110 16 NA NA NA NA XXXXX 00001 4 4 4 4 amp 4 484 00011 8 4 4 884 884 00101 8 4 4 884 884 00111 12 4 4 1284 1284 01011 12 4 4 1284 1284 01101 12 4 4 1284 1284 01111 16 4 4 1684 1684 10001 18 4 4 8 amp 4 8 amp 4 XXXXX 10011 12 4 4 12 amp 4 1284 10101 12 4 4 1284 1284 10111 16 4 4 1684 1684 11001 12 4 4 1284 1284 11011 16 4 4 1684 1684 11101 16 4 4 1684 1684 11111 120 4 4 20 amp 4 20 amp 4 Master Slave 1 Configuration E 7 Table E D Host Products using 32 bit Reference Feedback amp Datalinks Allocation Number of Bytes M S M S Data Size sent from the Adapter to the Controller Input Output Poll Only COS Only Cyclic Only Poll amp COS Poll amp Cyclic XXXXX 00000 0 NA NA NA NA XXXXX 00010 8
96. e drive by this adapter If the drive indicates a 16 bit datalink 17 Datalink B1 Out size the value appears in the least significant 16 bits of this 18 Datalink B2 Out diagnostic item and the most significant 16 bits are zero 19 Datalink C1 Out 20 Datalink C2 Out 21 Datalink D1 Out 22 Datalink D2 Out 23 Field Flash Cnt Number of times the firmware in the adapter has been flash updated 24 Rx Errors Current value of the DPI Receive error counter 25 DPITx Errors Current value of the DPI Transmit error counter 26 DNRx Errors Number of receive errors reported by the DeviceNet hardware 27 DNTx Errors Number of transmit errors reported by the DeviceNet hardware 28 DN Image Size Size of I O image on DeviceNet network 29 Data Rate SW Current value of data rate switch 30 Node Address SW Current value of node address switches 31 Status Operating status of optional I O board in External Comms Kit For bit status indications see Chapter 8 Viewing Optional Diagnostic Items 32 OPT RX Errors Number of optional I O board receive errors 33 FW Version Firmware version of optional I O board in External Comms Kit Troubleshooting Viewing and Clearing Events The adapter maintains an event queue that reports the history of its actions You can view the event queue using an LCD PowerFlex HIM DriveExplorer 2 01 or higher software or DriveExecutive 1 01 or higher software To view
97. e network if another device is setting the data rate Your application may require a different setting 1 Set the value of Parameter 05 DN Rate Cfg to the data rate at which your network is operating Figure 3 6 DeviceNet Data Rate Screen on an LCD HIM Port 5 Device Value Baud Rate 20 COMM D 0 125 kbps Parameter 5 1 250 kbps DN Rate Cfg 2 500 kbps E 3 Autobaud Default Autobaud 2 Reset the adapter See Resetting the Adapter section in this chapter 3 8 Configuring the Adapter Setting the I O Configuration The I O configuration determines the type of data that is sent to and from the drive Logic Command Status Reference Feedback and Datalinks may be enabled or disabled A 1 enables the I O A 0 disables it 1 Set the bits in Parameter 13 DPI I O Config Figure 3 7 I O Configuration Screen on an LCD HIM Port 5 Device Bit Description 20 COMM D 0 Logic Command Reference Default Parameter 8 13 1 Datalink A DPI I O Config 2 Datalink B XXXX xxxx 0 0008 3 Datalink C Cmd Ref b00 4 Datalink D 5 15 Not Used Bit 0 is the right most bit In Figure 3 7 it is highlighted and equals 2 Set a Master Slave or Peer to Peer hierarchy Refer to the Selecting Master Slave or Peer to Peer section in this chapter 3 If you enabled Logic Command Reference configure the drive to accept the Logic Command and Reference
98. emarks or trademarks of Microsoft Corporation Summary of Changes The information below summarizes the changes made to this manual since version 20 17 002 November 2002 Description of New or Updated Information Page Changed online literature reference www ab com manuals to P 1 www rockwellautomation com literature Added US UK and Germany customer contact information in Rockwell P 3 Automation Support section Added separate word tables for Output I O and Input I O in Understanding 5 3 the I O Image section and added I O word tables for 16 bit Reference and 32 bit Datalinks Added scaling information and Table 5A in Using Reference Feedback 5 5 section Replaced the Important statement with an Attention statement to increase 6 safety emphasis for Parameter 33 Peer Ref Adjust Added new adapter diagnostic item numbers 31 32 and 33 1 5 Added new event codes 38 39 and 40 7 8 Added Attribute ID 9 row in Identity Object Instance Attributes table C2 Added chapter for using the 20 COMM D adapter in External Comms Kit Chapter 8 Series B Firmware Release v2 xxx adds the following 20 COMM D adapter features e Diagnostic item numbers 31 OPT Status 32 OPT RX Errors and 33 OPT FW Version for optional I O Board 20 XCOMM IO OPT1 when using the 20 COMM D adapter in an External DPI Comms Kit 20 XCOMM DC BASE e Event codes 38 OPT Timeout 39
99. ent numbers Configuration Tool DriveExplorer DriveTools 2000 e HIM e Explicit Messaging e RSNetWorx for DeviceNet Numbering Scheme The adapter parameters begin with parameter 01 For example Parameter 01 DPI Port is parameter 01 as indicated by this manual The adapter parameters are appended to the list of drive parameters For example with a drive with 300 parameters Parameter 01 DPI Port is parameter 301 Parameter List 01 02 03 No Name and Description Details DPI Port Default 5 Displays the port to which the adapter is Minimum 0 connected This will usually be port 5 Maximum 7 Type Read Only DPI Data Rate Default 0 125 kbps Displays the data rate used by the drive This data Values 0 125 kbps rate is set in the drive and the adapter detects it 1 500 kbps Type Read Only DN Addr Cfg Default 63 Configures the DeviceNet node address if the Minimum 0 Data Rate switch is set to PGM Program Maximum 63 Type Read Write Reset Required Yes B 2 Adapter Parameters Parameter 04 05 06 07 08 09 No Name and Description Details DN Addr Actual Default 63 Displays the DeviceNet node address actually Minimum 0 used by the adapter Maximum 63 Type Read Only DN Rate Cfg Default 3 Autobaud Configures the DeviceNet data rate at which the Values 0 125 kbps adapter commu
100. es 6 8 example program for I O 5 9 formatting Explicit Messages 6 2 COS Fdbk Change parameter B 5 COS Status Mask parameter B 5 Index 2 COS see Change of State COS Cyc Interval parameter B 5 Cyclic configuring adapter for 3 14 configuring scanner for 4 3 definition G 2 D data exchange Change of State COS G 1 Cyclic G 2 Polled G 7 data rate definition G 2 setting with a parameter 3 7 setting with the switch 2 2 Datalink Size parameter B 2 Datalinks definition G 3 in I O image 5 2 using 5 6 using Datalink D to send optional Board data 8 3 DeviceNet 10 pin linear plug 2 3 5 pin linear plug 2 3 adapter see adapter cable 2 3 connector on adapter 1 1 example network 4 1 network definition G 3 objects C 1 specification G 3 diagnostic items 7 5 dimensions A 1 DN Active Cfg parameter B 3 DN Addr Actual parameter B 2 DN Addr Cfg parameter B 1 DN Rate Actual parameter B 2 DN Rate Cfg parameter B 2 DPI connector on adapter 1 1 data rate 3 18 definition G 3 Internal Interface cable 2 4 peripheral G 3 product G 3 DPI Alarm object C 30 DPI Data Rate parameter B 1 DPI Device object C 15 DPI Diagnostic object C 32 DPI Fault object C 28 DPI I O Active parameter B 3 DPI I O Config parameter B 3 DPI Parameter object C 18 DPI Port parameter B 1 DPI Time object C 34 DriveExplorer accessing parameters with 3 1 definition G 4 free lite version
101. es a 16 bit value 35 DN MAC The adapter has detected another node on DeviceNet using the Fault same node address that it is using 36 Manual Reset The adapter was reset by changing Parameter 09 Reset Module 37 Language The language text memory segment is corrupt CRC Bad 38 OPT Timeout Communication between the adapter and I O option was disrupted 39 OPTOpen The adapter began exchanging I O data with the I O option 40 OPT Close The adapter forced a fault condition on the I O option Chapter 8 Using the Adapter in an External DPI Comms Kit Chapter 8 provides information and examples that explain how to use the adapter in an External DPI Comms Kit 20 XCOMM DC BASE The adapter is typically installed in the internal communication slot on the PowerFlex drive However there are some instances when an externally mounted adapter may be desired e The PowerFlex drive is already connected to an existing network such as Remote I O and a second network is desired for software tools DriveExplorer DriveExecutive etc data collection etc The PowerFlex drive is remotely located next to some I O devices that also need to be networked The External DPI Comms Kit has an option slot for general purpose network I O that a controller can use Both the drive and I O devices are handled as one node on the network saving network node count Topic Page External
102. et cable A 10 pin linear plug is not supported A 5 pin linear plug is shipped with the adapter Figure 2 3 Connecting a 5 Pin Linear Plug to the Cable D Red White Bare Blue Black 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 Common 5 Connect the DeviceNet cable to the adapter and secure it with the two screws See Figure 2 4 24 Installing the Adapter Connecting the Adapter to the Drive 1 Remove power from the drive and network 2 Use static control precautions 3 Connect the Internal Interface cable to the DPI port on the drive and then to the DPI connector on the adapter Figure 2 4 DPI Ports and Internal Interface Cables DeviceNet Adapter Wii 900000000090 0090000000901 on n n non n nid E 7710 LITT 1 lt 0000000000000 000000000000 o
103. eters Notes 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 refer to Chapter 6 Using Explicit Messaging Object Class Code Page Object Class Code Page Hex Dec Hex Dec Identity Object 0 01 11 0 2 DPI Device Object 0x92 146 C 15 Connection Object 0x05 5 C4 DPI Parameter Object 0x93 147 C 18 Register Object 0x07 7 C 6 DPI Fault Object 0 97 151 C 28 Parameter Object 15 C 8 DPI Alarm Object 0x98 152 C 30 Parameter Group Object 0x10 16 C 11 DPI Diagnostic Object 0x99 153 C 32 PCCC Object 0x67 103 C 13 DPI Time Object Ox9B 155 C 34 TIP Refer to 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 Supported Data Types Data Type Description BOOL Boolean 8 bit value low bit is true or false BOOL n Array of n bits BYTE 8 bit string CONTAINER 32 bit parameter value sign extended if necessary DINT Double Integer 32 bit signed integer DWORD Double Word 32 bit unsigned integer INT 16 bit signed integer LWORD 64 bit string REAL 32 bit floating point SHORT_STRING 1 byte length indicator
104. from the adapter For example set Parameter 90 Speed Ref A Sel in a PowerFlex 70 700 drive to DPI Port 5 so that the drive uses the Reference from the adapter Also verify that the mask parameters in the drive for example Parameter 276 Logic Mask are configured to receive the desired logic from the adapter 4 If you enabled one or more Datalinks configure the drive to determine the source and destination of data in the Datalink s Also ensure that the DeviceNet adapter is the only adapter using the enabled Datalink s 5 Reset the adapter See Resetting the Adapter section in this chapter Selecting Master Slave or Peer to Peer A hierarchy determines the type of device with which the adapter exchanges data In a Master Slave hierarchy an adapter exchanges data with a scanner In a Peer to Peer hierarchy an adapter can exchange data with one or more DeviceNet adapter s connected to PowerFlex drives that have similar data structures same data sizes 16 bit or 32 bit Configuring the Adapter 3 9 To set a Master Slave hierarchy 1 Enable the desired I O in Parameter 13 DPI I O Config Refer to Figure 3 7 2 Setthe bits in Parameter 25 M S Input This parameter determines the data transmitted from the scanner to the drive A 1 enables the I O A 0 disables the I O Figure 3 8 Master Slave Input Screen on an LCD HIM Port 5 Device Bit Description 20 COMM
105. from the adapter it will stay running but at zero Reference Numerics 10 pin linear plug 2 3 5 pin linear plug 2 3 A adapter adding to the scan list 4 2 applying power 2 6 commissioning 2 1 compatible products 1 3 components 1 1 configuring to use with optional I O data 8 4 definition G 1 features 1 2 grounding 2 5 illustration 1 1 installing 2 1 to 2 6 mapping I O in the scanner 4 6 mounting 2 5 parameters B 1 to B 7 resetting 3 17 specifications A 1 tools to configure 3 1 troubleshooting 7 1 to 7 8 using in an External DP Comms Kit 8 1 viewing active configuration 3 18 optional I O diagnostic items 8 5 applying power to the adapter 2 6 attentions 1 4 Automatic Device Replacement ADR G 1 baud rate see data rate Index bit definitions for Logic Command Status word D 1 bus off G 1 C cables DeviceNet 2 3 DPI Internal Interface 2 4 CAN Controller Area Network G 1 Change of State COS configuring adapter for 3 14 configuring scanner for 4 3 definition G 1 CIP G 1 class G 2 Comm Fit Action parameter B 2 commissioning the adapter 2 1 communications module see adapter compatible products 1 3 components 1 1 configuration tools 3 1 connecting adapter to the network 2 3 Connection object C 4 controller ControlLogix 5 9 6 8 definition G 2 PLC 5 11 6 10 running Explicit Messages 6 7 SLC 5 13 6 12 ControlLogix example program for Explicit Messag
106. ging PLC 5 Example Data Format for a Read and Write Parameter The data in this example is for a PowerFlex drive at node address 1 Refer to Formatting Explicit Messages in this chapter for a description of the content of the data file Request Data for Read of Drive Parameter 101 Address Value Hex Description Refer to N30 0 10101 TXID 01 Command 01 execute 6 5 N30 1 0006 Port 00 Size 06 bytes 6 5 30 2 0E01 Service OE Get Attribute Single C 10 Address 01 Node Address 6 5 N30 3 000F Class OF Parameter Object C 8 N30 4 0065 Instance Parameter 101 65 hex N30 5 0001 Attribute 01 Parameter Value C 9 Response Data for Read of Drive Parameter 101 Address Value Hex Description Refer to N30 70 0101 TXID 01 Status 01 successful 6 6 N30 71 0002 Port 00 Size 02 bytes 6 6 N30 72 8E01 Service 8E successful Address 01 Node 6 6 Address N30 73 03E8 Response Data 1000 3E8 hex 10 00 seconds Request Data for Write to Drive Parameter 101 Address Value Hex Description Refer to N30 0 10101 TXID 01 Command 01 execute 6 5 N30 1 0008 Port 00 Size 08 bytes 6 5 N30 2 1001 Service 10 Set Attribute Single C 10 Address 01 Node Address 6 5 N30 3 000F Class OF Parameter Object C 8 N30 4 0065 Instance Parameter 101 65 hex N30 5 0001 Attribute 01 Parameter Value C 9 N30 6 07
107. ging About Explicit Messaging 6 1 Formatting Explicit Messages 6 2 Performing Explicit 6 7 ControlLogix Example 6 8 PEC 5 Example ses 6 10 Sb Examples 5 pique tp ES 6 12 Troubleshooting Understanding the Status Indicators 7 1 PORT Status 7 2 MOD Status Indicator 7 3 NET A Status Indicator 7 4 Viewing Adapter Diagnostic Items 7 5 Viewing and Clearing 7 6 Using the Adapter an External Comms Kit External DPI Comms Kit 20 XCOMM DC BASE 8 2 T O Board Option 20 XCOMM IO OPT1 8 2 Understanding the I O Image Drive I O Option 8 3 Configuring the Communication Adapter to Use the Optional I O Data 8 4 Viewing Optional I O Diagnostic Items 8 5 Specifications Communications 1 Electrical e Mee Aes 1 Mechanical beats lee eee 1 Environmental UR EE a 2 Regulatory Compliance A 2 Adapter Parameters About Parameter B
108. hapter 3 Configuring the Adapter and Chapter 4 Configuring the Scanner discuss how to configure the adapter and scanner on the network for these options The Glossary defines the different options This chapter discusses how to use I O after you have configured the adapter and scanner 5 2 Using I O Messaging Understanding the I O Image The DeviceNet specification requires that the terms input and output be defined from the scanner s point of view Therefore Output I O is data that is output from the scanner and consumed by the DeviceNet 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 e Size either 16 bit or 32 bit of the Reference Feedback words and Datalink words used by the drive e Configuration of I O Parameter 13 DPI I O Config If all I O is not enabled the image table is truncated The image table always uses consecutive words starting at word 0 Figure 5 1 illustrates an example of an I O image with 16 bit words Figure 5 1 Example I O Image with All I O Enabled DeviceNet DPI Controller Scanner Adapter PowerFlex Drive Word and I O Output 0 Logic Command Logic Command Image 1 Reference Reference Write 2 Datalink In A1 Data In A1 3 Datalink In A2 Data In A2 4 Datalink In B1 Data In B1 5 Datalink In B2 Data In B2 6 Dat
109. he adapter you must set a unique node address and the data rate that is used by the network Refer to the Glossary for details about data rates and node addresses Important New settings are recognized only when power is applied to the adapter or it is reset If you change a setting cycle power or reset the adapter ATTENTION Risk of equipment damage exists The DeviceNet adapter contains ESD Electrostatic Discharge sensitive parts that can be damaged if you do not follow ESD control procedures Static control precautions are required when handling the adapter If you are unfamiliar with static control procedures refer to Guarding Against Electrostatic Damage Publication 8000 4 5 2 2 2 Installing the Adapter 1 Setthe node address switches on the adapter Figure 2 1 Setting the Node Address 2 9 3 2 3 A MA 1 dnl AS AA oS 28 7 8 720 Tens Ones Digit Digit Setting Description 0 63 Node address used by the adapter if switches are enabled The default switch setting is 63 Node address 63 is also the default address used by all uncommissioned devices We recommend that you do not use this address as the final adapter address Important If the Data Rate switch is set to Program the adapter will use the setting of Parameter 03 DN Addr Cfg for the node address The default parameter setting is 63 Refer to Chapter 3 Configuring the Adapter 64 99 Do no
110. he adapter is not powered Troubleshooting 1 3 Corrective Action Securely connect the adapter to the drive using the Internal Interface ribbon cable Apply power to the drive Flashing The adapter has failed the Clear faults in the adapter Red firmware test e Cycle power to the drive The adapter is being flash e If cycling power does not correct the upgraded problem the parameter settings may have been corrupted Reset defaults and The node address switch reconfigure the adapter setting is invalid e f resetting defaults does not correct the problem flash the adapter with the latest firmware release e Verify that node address switch setting is between 0 and 63 Solid The adapter has failed the Cycle power to the drive Red hardware test e Replace the adapter Flashing adapter is operational e Place the scanner in RUN mode Green butis not transferring VO data Program the controller to recognize and transmit I O to the adapter Configure the adapter for the program in the controller e Normal behavior if no DPI I O is enabled Solid The adapter is operational No action required Green andtransferring I O data 74 Troubleshooting NET A Status Indicator Status Off Cause The adapter and or network is not powered or the adapter is not connected properly to the network Corrective Actions Securely connect the adapter to the drive using the In
111. hex 10 0 Hz N30 14 0000 Response Data for Set Attributes Scattered Address Value Hex Description Refer 0 N30 70 0101 TXID 01 Status 01 successful transaction 6 6 N30 71 0012 Port 00 Size 18 bytes 12 hex 6 6 N30 72 01 Service CC successful 6 6 Address 01 Node Address 6 6 N30 73 008C Parameter Number 140 8C hex N30 74 0000 N30 75 0000 N30 76 008E Parameter Number 142 8E hex N30 77 0000 N30 78 0000 N30 79 0064 Parameter Number 100 64 hex N30 80 0000 N30 81 0000 C 26 DeviceNet Objects DPI Parameter Object Continued ControlLogix Data Structure for Messaging The ControlLogix data structure for messaging is different than the PLC SLC because some of the information is already contained in the ControlLogix MSG instruction Example Get Scattered of Parameters 100 and 101 in a PowerFlex 70 Send Data Byte Value Hex Definition Comments 0 0000 Attribute ID Always zero 1 0064 Parameter Number Lo 2 10000 Parameter Number Hi Parameter Number 100 Jog Speed 3 10000 Pad Byte 4 10000 Pad Byte 5 0000 Pad Byte y 6 10000 Pad Byte 7 10065 Parameter Number Lo 8 0000 Parameter Number Hi Parameter Number 101 Preset Speed 1 9 10000 Pad Byte 10 10000 Pad Byte A 11 10000 Pad Byte y 12 0000 Pad B
112. higher software DriveExecutive version 1 01 or higher software or an LCD PowerFlex HIM Diagnostics Device Items These diagnostic items can help you or Rockwell Automation personnel troubleshoot communications problems No Name Description 1 Common Logic Current value of the common Logic Command being Cmd transmitted to the drive by this adapter 2 ProdLogic Cmd Current value of the product specific Logic Command being transmitted to the drive by this adapter 3 Reference Current value of the product specific Reference being transmitted to the drive by this adapter 4 Common Logic Sts Current value of the common Logic Status being received from the drive by this adapter 5 Prod Logic Sts Current value of the product specific Logic Status being received from the drive by this adapter 6 Feedback Current value of the product specific Feedback being received from the drive by this adapter 7 Datalink A1 In Current value of respective Datalink In being transmitted to the 8 Datalink A2 In drive by this adapter If not using a Datalink this parameter 9 Datalink B1 In should have a value of zero 10 Datalink B2 In 11 Datalink C1 In 12 Datalink C2 In 13 Datalink D1 In 14 Datalink D2 In 15 Datalink A1 Out Current value of respective Datalink Out being received from 16 Datalink A2 Out th
113. hould 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 faulted controller ATTENTION Risk of injury or equipment damage exists Parameter 11 Idle Fit DN Active Cfg Default 1 Switches Displays the source from which the adapter node Values 0 EEPROM address and data rate are taken This will either be 1 Switches switches or parameters in EEPROM It is Type Read Only determined by the settings of the switches on the adapter DPI I O Config Default xxxO 0001 Sets the I O that is transferred through the Bit Values 0 1 0 disabled adapter 1 I O enabled Type Read Write Reset Required Yes Bt 76543210 Bit Definitions Defaut xIx x 0 0 0 0 1 0 Cmd Ref LL 1 Datalink A 2 Datalink B 3 Datalink C 4 Datalink D 5 Not Used 6 Not Used 7 Not Used DPI I O Active Default xxxO 0001 Displays the I O that the adapter is actively Bit Values 0 1 0 disabled transmitting The value of this parameter will 1 1 0 enabled usually be equal to the value of Parameter 13 Read Only DPI I O Config Bt 76543210 Bit Definitions Default x x x 0 0 0 0 1 0 Cmd Ref LL 1 Datalink A MR 2 Datalink 3 Datalink C 4 Datalink D 5
114. ibutes Attribute Access Name Data Type Description ID Rule 0 Get Full All STRUCT of Information WORD Fault code STRUCT of Fault source BYTE DPI port BYTE DPI Device Object STRING 16 Fault text STRUCT of Fault time stamp LWORD Timer value 0 Timer not supported 16 0 invalid data 1 data BOOL 0 elapsed time 1 real time BOOL 2 15 Not used WORD Reserved CONTAINER n Reserved 1 Get Basic STRUCT of Information WORD Fault code STRUCT of Fault source BYTE DPI port BYTE DPI Device Object STRUCT of Fault time stamp LWORD Timer value 0 Timer not supported BOOL 16 BOOL O 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time BOOL 2 15 Not used Services Service Code Implemented for Service Name Class Instance Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single C 30 DeviceNet Objects DPI Alarm Object Class Code Hexadecimal Decimal 0x98 152 Products such as PowerFlex drives use this object for alarms or warnings Adapters do not support this object Instances The number of instances depends on the maximum number of alarms supported by the queue The maximum number of alarms can be read in Instance 0 Attribute 2 Instances Hex Device Example Description 0x0000 0 16383 Host 0 Class Attributes Drive Only host devices can have alarms 1 Most Recent Alarm 2
115. icit 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 DeviceNet network 6 2 Using Explicit Messaging Formatting Explicit Messages Explicit Messages for a ControlLogix Controller ControlLogix scanners accommodate both downloading Explicit Message Requests and uploading Explicit Message Responses The scanner module can accommodate one request or response for each transaction block Each transaction block must be formatted as shown in Figure 6 1 Figure 6 1 ControlLogix Message Format in RSLogix 5000 Message Configuration MessageRead x Configuration Communication Message Type Service Code Hex Source Qi Object Type 6 OfElements 1 3 Bytes 9 Object ID Destination Qi Object Attribute 9 Create Tag Enable Enable Waiting Start Done Done Length 0 Error Code Timed Out Extended Error Code Cancel Appl Help Configuration Communication Path X3 3333 Browse M Cache Connections e Enable Enable Waiting Start Done Done Lenath 0 Error Code Timed ut Extended Error Code Cancel Apply Help Refer to Page 6 3 for a description of the data that is required in each box 1 9 gt TIP To display the Message Configuration
116. iew the safety precautions for the adapter Throughout This Manual 2 Verify that the PowerFlex drive is properly installed Drive User Manual 3 Commission the adapter Chapter 2 Set a unique node address and the appropriate data rate installing the Adapter using the switches on the adapter If desired you can disable the switches and use parameter settings instead 4 Install the adapter Chapter 2 Verify that the PowerFlex drive and DeviceNet network are Installing the Adapter not powered Then connect the adapter to the network using a DeviceNet cable and to the drive using the Internal Interface cable Use the captive screws to secure and ground the adapter to the drive 5 Apply power to the adapter Chapter 2 The adapter receives power from the drive and network Installing the Adapter Apply power to the network and to the drive The status indicators should be green If they flash red there is a problem Refer to Chapter 7 Troubleshooting 6 Configure the adapter for your application Chapter 3 Set the parameters for the following features as required Configuring the Adapter by your application Node address and data rate if the Data Rate switch is set to PGM e 1 0 configuration e Change of State Cyclic or polled I O data exchange Master slave or peer to peer hierarchy Fault actions 7 Apply power to the DeviceNet master and other DeviceNet Cable System devices on the network Planning a
117. iguration to a file Chapter 5 Using I O Messaging Chapter 5 provides information and examples that explain how to use a ControlLogix PLC 5 or SLC controller to send I O Messaging to control configure and monitor a PowerFlex 7 Class drive Topic Page Topic Page About I O Messaging 5 1 Example Ladder Logic Programs 5 8 Understanding the I O Image 5 2 ControlLogix Example 5 9 Using Logic Command Status 5 4 PLC 5 Example 5 11 Using Reference Feedback 5 5 SLC Example 5 13 Using Datalinks 5 6 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 About I O Messaging On DeviceNet I O Messaging is 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 drives The DeviceNet adapter provides many options for configuring and using I O including Configuring the size of I O by enabling or disabling the Logic Command Reference and Datalinks e Setting up Master Slave hierarchy or Peer to Peer communications Using a Change of State Cyclic or Polled data exchange method C
118. 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 Configuring the Adapter 3 15 To use COS Change of State data exchange 1 Set bit 0 the Logic Command Reference bit in Parameter 13 DPI I O Config to 1 enabled and bit O the Logic Status Feedback bit in Parameter 26 M S Output to 1 enabled Changes to bits in the Logic Status or Feedback trigger messages in COS data exchange Figure 3 22 10 Configuration Screens on an LCD HIM Port 5 Device Port 5 Device 20 COMM D 20 COMM D Parameter 13 Parameter 26 DPI I O Config M S Output 0 000 0 0008 Cmd Ref b00 Status Fdbk 000 2 Setthe bits in the Logic Status word that should be checked for changes in Parameter 27 COS Status Mask The bit definitions for the Status Mask will depend on the drive to which you are connected Refer to its documentation Figure 3 23 COS Status Mask Configuration Screen on an LCD HIM Port 5 Device Value Description 20 COMM D 0 Ignore this logic bit Default Parameter 27 1 Check this logic bit COS Status Mask 000000000000000H Bit 0 b00 3 Set the amount of change to the Feedback that is required to trigger a Change of State message in Parameter 28 COS
119. it 2 010 Reserved 011 Reserved 18 Extended 100 Reserved Data Type Bit 2 101 Reserved 110 Reserved 111 Reserved DeviceNet Objects C 21 DPI Parameter Object Continued Descriptor Attributes Continued Bit Name Description 19 Parameter Exists Reserved 20 Not Used Reserved 21 Formula Links Reserved 22 Access Level Bit 1 Reserved 23 Access Level Bit 2 Reserved 24 Access Level Bit 3 Reserved 25 Writable ENUM Reserved 26 Not a Link Source 0 Parameter can be a source for a link 1 Parameter cannot be a source for a link 27 Enhanced Bit ENUM Reserved 28 Enhanced ENUM Reserved 29 Not Used Reserved 30 Not Used Reserved 31 Not Used Reserved 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 Decima Places Multiplier x Base Offset Common Services Service Code _ Implemented for Service Name Class Instance Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single Object Specific Services Service Code _ Implemented for Service Name Class Instance 0x4B Yes Yes Get_Attributes_Scattered 0 4 Yes Yes Set Attributes Scattered C 22 DeviceNet Objects DPI Parameter Object Continued Format for Get Attributes Scattered Service PLC SLC The structure shown below ca
120. ive 18 Control The adapter has sent a Soft Control Enable command to the Enabled drive 19 IO Time The adapter has not received a PCCC control message within Fit the specified PCCC Control Timeout interval 20 Normal The adapter successfully started up Startup 21 Message A Client Server message sent by the adapter was not Timeout completed 22 DPI Fault Msg The drive has faulted 23 DN Poll A Polled I O connection has timed out Timeout 24 DN 1 0 Too Reconfigure the I O length in the scanner Long 25 Bad I O A DeviceNet I O fragment was received out of sequence Fragment Possible line noise problem 1 8 Troubleshooting Code Event Description 26 Idle 10 The DeviceNet scanner was placed in program mode Message 27 Peer I O The adapter has not received Peer I O from another device on Timeout the network within the specified time out interval 28 Fault The drive issued this because a fault was cleared lear 29 DN COS A Change of State COS connection has timed out Timeout 30 DN Poll A Polled connection has been allocated Allocate 31 DN COS A Change of State COS I O connection has been allocated Allocate 32 DN Poll A Polled I O connection was explicitly closed Closed 33 DN COS A Change of State COS connection was explicitly closed Closed 34 Fit Cfg Error At least one of the Fit Cfg xx parameters is set to a value greater than 65535 and the DPI host requir
121. ive 150 mA 0 5 VDC supplied through the drive Network 60 mA 24 VDC supplied through DeviceNet Use the 60 mA value to size the network current draw from the power supply Mechanical Dimensions Height 19 mm 0 75 inches Length 86 mm 3 39 inches Width 78 5 mm 3 09 inches Weight 85g 3 oz A 2 Specifications Environmental Temperature Operating 10 to 50 14 to 149 F Storage 40 to 85 C 40 to 185 F Relative Humidity 5 to 95 non condensing Atmosphere Important Adapter must not be installed in an area where the ambient atmosphere contains volatile or corrosive gas vapors or dust If the adapter is not going to be installed for a period of time it must be stored in an area where it will not be exposed to a corrosive attmosphere Regulatory Compliance UL UL508C cUL CAN CSA C22 2 No 14 91 CE EN50178 and EN61800 3 CTick EN61800 3 NOTE This is a product of category C2 according to IEC 61800 3 In a domestic environment this product may cause radio interference in which case supplementary mitigation measures may be required Appendix B Adapter Parameters Appendix B provides information about the DeviceNet adapter parameters Topic Page About Parameter Numbers 1 Parameter List About Parameter Numbers The parameters in the adapter are numbered consecutively However depending on which configuration tool you use they may have differ
122. ize Port Size Service Address Service Address Class Service Response Data Instance Attribute Word 6 31 Service Data Refer to Page 6 5 and Page 6 6 for a description of the data that is required in each word Using Explicit Messaging 6 5 The following table identifies the number of transaction blocks within a scanner that are reserved for Explicit Messaging Number of Words in Each Transaction Blocks Transaction Block Refer to Scanner 1747 SDN 110 32 Figure 6 3 1771 SDN 110 32 two blocks can Figure 6 2 be moved at once PLC SLC Explicit Message Requests Word Description 0 Command Least Significant Byte The Command is a code that instructs the scanner how to administer the request during each download 00 Ignore transaction block empty 01 Execute this transaction block 02 Get status of transaction TXID 03 Reset all client server transactions 04 Delete this transaction block available only for SLC 05 255 Reserved TXID Most Significant Byte The Transaction ID is a 1 byte integer between 1 and 255 It is assigned in the ladder logic program when the processor creates and downloads a request to the scanner The scanner uses it to track the transaction to completion It returns this value with the response that matches the request downloaded by the processor 1 Size Least Significant Byte The size of the service data is in bytes Service data includes
123. leshooting with 7 4 NET B status indicator locating 7 1 not used 7 1 node address definition G 6 setting with a parameter 3 7 setting with the switches 2 2 Non Volatile Storage NVS definition G 6 in adapter 3 1 in drive 5 6 6 1 O objects definition G 6 list of C 1 ODVA DeviceNet specification G 3 operating status 1 7 P Parameter Group object C 11 Parameter object C 8 parameters accessing 3 1 convention P 2 editing with RSNetWorx 3 6 list of B 1 to B 7 numbers B 1 PCCC G 6 PCCC object C 13 Peer A Input parameter B 5 Peer A Output parameter B 7 Peer B Input parameter B 5 Peer B Output parameter B 7 Peer Cmd Mask parameter B 6 Peer Fit Action parameter B 6 Peer Inp Enable parameter B 7 Peer Inp Status parameter B 7 Peer Inp Timeout parameter B 7 Peer Node to Inp parameter B 6 Peer Out Enable parameter B 7 Peer Out Skip parameter B 7 Peer Ref Adjust parameter B 6 Peer to Peer hierarchy configuring adapter to receive data 3 11 configuring adapter to transmit data 3 10 definition G 6 ping G 7 PLC example program for Explicit Messages 6 10 example program for I O 5 11 formatting Explicit Messages 6 4 plug 2 3 Polled configuring adapter for 3 14 configuring scanner for 4 3 definition G 7 Index 5 PORT status indicator locating 7 1 troubleshooting with 7 2 power consumption A 1 PowerFlex drives 70 700 700VC 700H Logic Command Status D 1 7005 Logic Comm
124. mber of WORD Number of parameters in the device Instances 1 Get Set Write Protect WORD 0 Password disabled Password n Password 2 Set NVS Command BYTE 0 No Operation Write 1 Store values in active memory to NVS 2 Load values in NVS to active memory 3 Load default values to active memory 3 Get NVS Parameter WORD Checksum of all parameter values in a Value Checksum user set in NVS 4 Get NVS Link Value WORD Checksum of parameter links in a user set Checksum in NVS 5 Get First Accessible WORD First parameter available if parameters Parameter are protected by passwords A 0 indicates all parameters are protected 7 Get Class Revision WORD 2 DPI 8 Get First Parameter WORD The first parameter that has been written Processing Error with a value outside of its range A 0 indicates no errors 9 Set Link Command BYTE 0 No Operation 1 Clear All Parameter Links This does not clear links to function blocks DeviceNet Objects C 19 DPI Parameter Object Continued Instance Attributes Attribute Access Name Data Type Description ID Rule 7 Get DPI Online Read STRUCT of Full 32 Descriptor see pages 20 0 21 CONTAINER 0 Parameter value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value WORD Next parameter WORD Previous parameter STRING 4 Units e g Amp Hz UINT Multiplier UINT Divisor UINT Base INT Offset
125. me Class Instance Ox0E Yes Yes Get_Attribute_Single 0x01 Yes No Set Attribute Single C 13 DeviceNet Objects PCCC Object Class Code Hexadecimal Decimal 0x67 103 Instances Not supported Class Attributes Not supported Instance Attributes Not supported Services Service Code Implemented for Service Name Class Instance 0x4B No Yes Execute_PCCC 0x4D No Yes Execute_Local_PCCC Message Structure for Execute_PCCC Request Response Name Data Description Name Data Description Type Type Length USINT Length of requestor Length USINT Length of requestor ID ID Vendor UINT Vendor number of Vendor UINT Vendor number of requestor requestor Serial UDINT ASA serial number of Serial UDINT ASA serial number of Number requestor Number requestor Other Product Identifier of user Other Product Identifier of user Specific task etc on the Specific task etc on the requestor requestor CMD USINT Command byte CMD USINT Command byte C 14 DeviceNet Objects PCCC Object Continued Message Structure for Execute PCCC Continued Request Response Name Data Description Name Data Description Type Type STS USINT 0 STS USINT Status byte TNSW UINT Transport word TNSW Transport word Same value as the request FNC USINT Function code Not EXT STS USINT Extended status Not used for all
126. meter configuration Identity Object Continued DeviceNet Objects C 3 Services Service Code Implemented for Service Name Class Instance 0x05 Yes No Reset Ox0E Yes Yes Get_Attribute_Single Ox11 Yes N A Find_Next_Obj_Instance Connection Object DeviceNet Objects Class Code Hexadecimal Decimal 0x05 5 Instances Instance Description 1 Master Slave Explicit Message Connection 2 Polled I O Connection 4 Change of State Cyclic Connection 6 10 Instance Attributes Explicit Message Connection Refer to the DeviceNet Specification for more information Attribute Access Name Data Description Jp Rue ype 1 Get State USINT 0 Nonexistent 1 Configuring 2 Waiting for connection ID 3 Established 4 Timed out 2 Get Instance USINT 0 Explicit Message 1 I O Message 3 Get Transport USINT The Transport Class Trigger for this instance Class Trigger 4 Get Produced USINT CAN Identifier to transmit on Cnxn ID 5 Get Consumed USINT CAN Identifier to receive on Cnxn ID 6 Get Initial Comm USINT Defines the DeviceNet message groups that Char the tx rx Cnxn s apply 7 Get Produced UINT Max bytes to transmit across this connection Cnxn Size 8 Get Consumed UINT Max bytes to receive across this connection Cnxn Size 9 Get Set EPR UINT Expected Packet Rate timer resolution 2 msec DeviceNet Objects C 5 Conne
127. n get up to eight parameters in a single message In the Response Message a parameter number with the high bit set indicates that the associated parameter value field actually contains an error code Request Response Word 0 TXID Command TXID Status 1 Port Size Port Size 2 Service Address Service Address 3 Class Parameter Number 4 Instance Parameter Value LSW 5 Attribute Parameter Value MSW 6 Parameter Number Parameter Number 7 Pad Word Parameter Value LSW 8 Pad Word Parameter Value MSW 9 Parameter Number Parameter Number 10 Pad Word Parameter Value LSW 11 Pad Word Parameter Value MSW 12 Parameter Number Parameter Number 13 Pad Word Parameter Value LSW 14 Pad Word Parameter Value MSW 15 Parameter Number Parameter Number 16 Pad Word Parameter Value LSW 17 Pad Word Parameter Value MSW 18 Parameter Number Parameter Number 19 Pad Word Parameter Value LSW 20 Pad Word Parameter Value MSW 21 Parameter Number Parameter Number 22 Pad Word Parameter Value LSW 23 Pad Word Parameter Value MSW 24 Parameter Number Parameter Number 25 Pad Word Parameter Value LSW 26 Pad Word Parameter Value MSW 27 Parameter Number Not Used 28 Pad Word Not Used 29 Pad Word Not Used 30 Not Used Not Used Word 31 Not Used Not Used
128. nabled 0 Not Enabled 1 Enabled x Running 0 Not Running 1 Running x Command 0 Reverse Direction 1 Forward x Actual Direction 0 Reverse 1 Forward 0 Not Accelerating 1 Accelerating x Decel 0 Not Decelerating 1 Decelerating x Jogging 0 Not Jogging 1 Jogging x Fault 0 No Fault 1 Fault X Alarm 0 No Alarm 1 Alarm x Flash Mode 0 Not in Flash Mode 1 In Flash Mode X Run Ready 0 Not Ready to Run 1 Ready to Run x At Limit 0 0 Not At Limit 1 At Limit x Tach Loss Sw 0 Not Tach Loss Sw 1 Tach Loss Sw x At Zero Spd 0 Not At Zero Speed 1 At Zero Speed At Setpt Spd 0 Not At Setpoint Speed 1 At Setpoint Speed x Reserved See Parameter 304 Limit Status in the PowerFlex 7005 drive for a description of the limit status conditions Appendix E Master Slave I O Configuration Appendix E lists possible configurations for the M S Input Output parameters and the possible data size allocation associated with each value depending on the method of data transfer Topic Page M S Input Parameter Configurations E 1 M S Output Parameter Configurations E 5 M S Input Parameter Configurations Parameter 25 M S Input has the following five configurable bits Figure E 1 Parameter 25 M S Input Bits and Corresponding I O Datalink B Datalink C Datalink A Datalink D Cmd Ref N 74 0 Peer or other input
129. nd Installation Verify that the master and network are installed and Manual functioning in accordance with DeviceNet standards and then apply power to them 8 Configure the scanner to communicate with the Chapter 4 adapter Configuring the Scanner Use a network tool such as RSNetWorx for DeviceNet to configure the scanner on the network Make sure to e Set up the scan list the adapter data to the scan list e Save your DeviceNet configuration to the scanner and a file 9 Create a ladder logic program Chapter 5 l Use a programming tool such as RSLogix to create a Using I O Messaging ladder logic program that enables you to Chapter 6 e Control the adapter and connected drive using I O Monitor or configure the drive using Explicit Messages Using Explicit Messaging Modes of Operation Getting Started 1 7 The adapter uses three status indicators to report its operating status They can be viewed on the adapter or through the drive cover See Figure 1 2 Figure 1 2 Status Indicators location on drive may vary Ef 0 lH Item Status Status Description Indicator PORT Green Normal Operation The adapter is properly connected and is communicating with the drive Flashing The adapter is in the process of establishing a connection Green to the drive This status indicator will turn solid green or red MOD Green Normal Operation The ad
130. nicates if the data rate switch is 1 250 kbps set to Program 2 500 kbps 3 Autobaud Type Read Write Reset Required Yes DN Rate Actual Default 0 125 kbps Displays the DeviceNet data rate currently being Values 0 125 kbps used by the adapter 1 250 kbps 2 500 kbps Type Read Only Ref Fdbk Size Default 0 16 bit Displays the size of the Reference Feedback The Value 0 16 bit drive determines the size of the Reference 1 32 bit Feedback Type Read Only Datalink Size Default 0 16 bit Displays the size of each Datalink word The drive Values 0 16 bit determines the size of Datalinks 1 32 bit Type Read Only Reset Module Default 0 Ready No action if set to Ready Resets the adapter if Values 0 Read set to Reset Module Restores the adapter to its 1 Reset Module factory default settings if set to Set Defaults This 2 Set Defaults parameter is a command It will be reset to 0 Type Read Write Ready after the command has been performed Reset Required No 10 ATTENTION Risk of injury or equipment damage exists the adapter is transmitting I O that controls the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting a connected adapter Comm Fit Action Default 0 Fault Sets the action that the adapter and drive take if Values 0 Fault the adapter detects that DeviceNet 1 Stop
131. nsmitted over the network A DeviceNet network can support a maximum of 64 devices Each device is assigned a unique node 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 daisy chain 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 DPI Drive Peripheral Interface DPl is a second generation peripheral communication interface used by various Allen Bradley drives and power products such as PowerFlex 70 and PowerFlex 700 drives It is a functional enhancement to SCANport DPI Peripheral A device that provides an interface between DPI and a network or user Peripheral devices are also referred to as adapters or modules The serial converter and PowerFlex 7 Class HIMs 20 HIM xxx are examples of DPI peripherals DPI Product A device that uses the DPI communications interface to communicate with one or more peripheral devices For example a motor drive such as a PowerFlex 7 Class drive is a DPI product In this manual a DPI product is also referred to as drive or host Glossary DriveExplorer Software DriveExplorer software is a tool for monitoring and configuring Allen Bradley
132. o be changed without using an Explicit Message When enabled each Datalink occupies two 16 bit or 32 bit words in both the input and output image Parameter 08 Datalink Size will indicate whether the drive uses 16 bit or 32 bit words for Datalinks Rules for Using Datalinks e Each set of Datalink parameters in a PowerFlex drive can be used by only one adapter If more than one adapter is connected to a single drive multiple adapters must not try to use the same Datalink e Parameter settings in the drive determine the data passed through the Datalink mechanism Refer to the documentation for your drive 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 32 Bit Parameters using 16 Bit Datalinks To read and or write a 32 bit parameter using 16 bit Datalinks typically both Datalinks of a pair A B C D are set to the same 32 bit parameter For example to read Parameter 09 Elapsed MWh in a PowerFlex 70 both Datalink A1 and A2 are set to 9 Datalink A1 will contain the least significant word LSW and Datalink A2 will contain the most significant word MSW In this example the Parameter 9 value of 5 8 MWh is read as a 558 in Datalink A1 Datalink Most LeastSignificant Word Parameter Data decimal 9
133. occur if you fail to verify that parameter settings and switch settings are compatible with your application Verify that settings are compatible with your application before applying power to the drive ATTENTION Risk of equipment damage injury or death exists 1 Close the door or reinstall the cover on the drive The status indicators can be viewed on the front of the drive after power has been applied 2 Ensure 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 Commissioning the Adapter in this chapter 3 Apply power to the network 4 Apply power to the PowerFlex drive The adapter receives its power from the connected drive and network When you apply power to the product and network for the first time the status indicators should be green after an initialization If the status indicators go red there is a problem Refer to Chapter 7 Troubleshooting 5 If the data rate switch is set to PGM use a configuration tool to set the data rate and node address parameters in the adapter Chapter 3 Configuring the Adapter If you are using RSNetWorx for DeviceNet you need to create a point to point connection to the drive 6 Apply power to the master device scanner and other devices on the network Chapter 3 Configuring the Adapter Chapter 3 provides instructions and information f
134. olLogix May or may not be required by other controllers 2 LSW is Least Significant Word Bits 15 0 MSW is Most Significant Word Bits 31 16 Using Logic Command Status When enabled the Logic Command Status word is always word 0 in the output image and word 2 in the input image The Logic Command is a 16 bit word of control produced by the scanner and consumed by the adapter The Logic Status is a 16 bit word of status produced by the adapter and consumed by the scanner This manual contains the bit definitions for compatible products available at the time of publication in Appendix D Logic Command Status Words For other products refer to their documentation Using Messaging 5 5 Using Reference Feedback When enabled Reference Feedback begins at word 1 16 bit or word 2 32 bit in the I O image The Reference 16 bits or 32 bits is produced by the controller and consumed by the adapter The Feedback 16 bits or 32 bits is produced by the adapter and consumed by the controller The size of the Reference Feedback is determined by the drive and displayed in Parameter 07 Ref Fdbk Size in the adapter Size Valid Values In I O Image Example 16 bit 32768 to 32767 Word 1 Figure 5 1 32 bit 2147483648 to 2147483647 Word 2 and Word 3 Figure 5 2 The Reference value is a scaled value it is not an engineering value For example in PowerFlex 70 700 drives the Reference is scaled based on the value
135. onent BYTE 0 Not Available Hardware Change Number 6 Get First Flash Object WORD Instance in the Flash Object used Instance for the firmware in the component 7 Get Number of Flash BYTE Number of segments in memory Object Instances that can be flashed 8 Get Component DWORD Value between 0x00 and Serial Number OxFFFFFFFF Services Service Code Implemented for Service Name Class Instance Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single C 18 DeviceNet Objects DPI Parameter Object Class Code Hexadecimal Decimal 0x93 147 Instances 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 Dec Device Example Description 0x0000 Ox3FFF 0 16383 Host 0 Class Attributes Drive 0x4000 Ox43FF 16384 17407 Adapter 1 Drive Parameter 1 Attributes 0x4400 Ox47FF 17408 18431 DPI Port 1 2 Drive Parameter 2 Attributes 0x4800 Ox4BFF 18432 19455 DPI Port 2 0x4C00 Ox4FFF 19456 20479 DPI Port 3 16384 Class Attributes Adapter 0x5000 Ox53FF 20480 21503 DPI Port 4 16385 Adapter Parameter 1 Attributes 0x5400 Ox57FF 21504 22527 DPI Port 5 0x5800 Ox5BFF 22528 23551 DPI Port 6 Class Attributes Attribute Access Name Data Type Description ID Rule 0 Get Nu
136. online device ModTime Revision Device VendCode ProdType ProdCode NajRev To continue click Next Welcome to the EDS Wizard images associated with a device Configuring the Adapter To access and edit parameters Parameters in the drive and adapter can be edited with RSNetWorx The adapter parameters are appended to the list of drive parameters For example in Figure 3 4 the drive has 387 parameters so parameter 388 is the first adapter parameter Step 1 After creating an EDS file right click on the icon for the PowerFlex drive and adapter and select Properties The PowerFlex Drive dialog box appears 2 Clickthe Device Parameters tab Figure 3 4 If an EDS Editor message appears click Upload to load the parameter values in the drive to the computer Icons PowerFlex 70 Standard 2 Parameters are displayed in numerical order under Parameter You can either scroll through the list or select a specific group of parameters in the Groups box The available groups and the numbers of the adapter parameters will vary based on the type of drive that is connected to the adapter 3 Inthe Current Value column double click a value to edit it 4 Click Apply to save changes to the device Figure 3 4 Example PowerFlex Drive Dialog Box Ee PowerFlex 70 Standard 2 General Device Parameters 1 0 Defaults EDS Fie Groups Online DeviceNet Module Parameter Help
137. or Code 20 Parameter Value MSW Pad Word 21 Parameter Number Parameter Number 22 Parameter Value LSW Pad Word or Error Code 23 Parameter Value MSW Pad Word 24 Parameter Number Parameter Number 25 Parameter Value LSW Pad Word or Error Code 26 Parameter Value MSW Pad Word 27 Parameter Number Not Used 28 Parameter Value LSW Not Used 29 Parameter Value MSW Not Used 30 Not Used Not Used Word 31 Not Used Not Used DeviceNet Objects C 25 DPI Parameter Object Continued The PLC data in this example is for a Set Attributes Scattered of PowerFlex 70 Parameters 140 Accel Time 1 142 Decel Time 1 and 100 Jog Speed to a device at node address 1 Request Data for Set Attributes Scattered Address Value Hex Description Refer 0 N30 0 0101 TXID 01 Command 01 execute 6 5 N30 1 0018 Port 00 Size 24 bytes 18 hex 6 5 N30 2 4C01 Service 4C Set Attributes Scattered C 21 Address 01 Node Address 6 5 N30 3 0093 Class 93 Parameter Object C 18 N30 4 0000 Instance Class Attributes drive C 18 N30 5 0000 Attribute not used for this service N30 6 008C Parameter Number 140 8C hex N30 7 0032 Value 50 32 hex 5 0 seconds N30 8 0000 N30 9 008E Parameter Number 142 8E hex N30 10 0032 Value 50 32 hex 5 0 seconds N30 11 0000 N30 12 10064 Parameter Number 100 64 hex N30 13 0064 Value 100 64
138. or setting the parameters in the adapter Topic Page Topic Page Configuration Tools 3 1 Selecting Master Slave or Peer to Peer 3 8 Using the PowerFlex HIM 3 2 Selecting COS Cyclic or Polled O 3 14 Using RSNetWorx for DeviceNet 3 3 Setting a Fault Action 3 16 Setting the Node Address 3 7 Resetting the Adapter 3 17 Setting the Data Rate 3 7 Viewing the Adapter Configuration 3 18 Setting the I O Configuration 3 8 For a list of parameters refer to Appendix B Adapter Parameters For definitions of terms in this chapter refer to the Glossary Configuration Tools The DeviceNet adapter stores parameters and other information in its own non volatile memory You must therefore access the adapter to view and edit its parameters The following tools can be used to access the adapter parameters Tool Refer to PowerFlex HIM page 3 2 RSNetWorx for DeviceNet page 3 3 Software DriveExplorer Software DriveExplorer Getting Results Manual Publication version 3 xx or higher 9306 GR001 Download only or the online help DriveExecutive Software DriveExecutive Product Profile Publication version 1 xx or higher 9303 PP002 or the online help RSNetWorx for DeviceNet version 2 22 18 and RSLinx version 2 10 118 were used for examples in this manual Different versions of software may differ in appearance and procedures TIP Explicit Messaging can also be used
139. ox Figure 4 5 Input Page on the Scanner Module Dialog Box 1747 SDN Scanner Module x General Module Scaniist Input ADR Summary Node Type p TEE BB 01 Powerflex 70 Poled 4 111 0 pra If you selected the Automap on Add box in the Scanlist page Figure 4 3 RSNetWorx has already mapped the I O If it is not mapped click Automap to map it If you need to change the mapping click Advanced and change the settings Click Help for assistance Configuring the Scanner 4 7 2 In the Memory box select a location in scanner memory Scanner Memory Locations 1747 SDN Discrete or M File 1756 DNB Assembly Data 1771 SDN Block Xfer 62 57 In our example we are using a 1747 SDN and selected Discrete 3 In the Start Word box select the word in memory at which the data should start In our example we selected 1 Logic Status and Speed Feedback information will be found in I 1 1 and I 1 2 respectively Mapping the Output I O 1 Inthe Scanner Module dialog box click the Output tab To display this dialog box right click the scanner in the configuration view Figure 4 2 Figure 4 6 Output Page on the Scanner Module Dialog Box 1747 SDN Scanner Module 21 x General Module Scanist Input Output ADR Summary Antiwar Advanced Options a 01 PowerFlex 70 Polled 4 0 1 1 0 Memory Discrete z
140. products and adapters It can be run on computers running Microsoft Windows 95 Windows 98 Windows ME Windows NT 4 0 SP6a Windows 2000 Windows XP and Windows CE version 2 0 or higher operating systems DriveExplorer version 3 xx or higher can be used to configure this adapter and PowerFlex drives Information about DriveExplorer software and a free lite version can be accessed at http www ab com drives driveexplorer DriveTools SP Software A software suite designed for Microsoft Windows 98 Second Edition Windows ME Windows NT 4 0 SP6a Windows 2000 SP3 and Windows XP operating systems This software suite provides a family of tools including DriveExecutive that you can use to program monitor control troubleshoot and maintain Allen Bradley products DriveTools SP version 1 01 or higher can be used with PowerFlex drives Information about DriveTools SP can be accessed at http www ab com drives drivetools EDS Electronic Data Sheet Files EDS files are simple text files that are used by network configuration tools such as RSNetWorx for DeviceNet to describe products so that you can easily commission them on a network EDS files describe a product device type revision and configurable parameters EDS files for many Allen Bradley products can be found at http www ab com networks eds Explicit Messaging Explicit Messages are used to transfer data that does not require continuous updates They are typically used to
141. r Run This rung copies the 32 bit DeviceNet scanner input image into an array of two 16 bit words The length in this instruction is two because two 16 bit array elements of the destination are used COP These rungs read the Running and Faulted status bits from the input image of the drive and place the data in respective tags Source Local 1 l Data 0 Dest Drivelnputlmage 0 Length 2 DriveStatusRunning Copy File Drivelnputlmage 0 1 J E Drivelnputlmage 0 7 DriveStatusFaulted J E C This rung reads the drive s Feedback word and places it in the Feedback tag e Feedback tag COP Copy File Source Drivelnputlmage 1 Dest DriveFeedback These rungs move the inputs of the operator from the Length 1 operator station to the drive s output image DriveCommandStart DriveOutputlmage 0 1 JE DriveCommandStop DriveOutputlmage 0 0 jt DriveCommandJog DriveOutputlmage 0 2 21 r 4 5 10 End Using I O Messaging Figure 5 4 Example ControlLogix Ladder Logic Program Continued DriveCommandClearFault DriveOutputlmage 0 3 JE C This rung transfers the reference tag to the drive s output image COP This rung copies the output image into the 32 bit DeviceNet scanner output structure The length in this instruction is one because only one 32 bit array element of the destination is used Copy File Source DriveReference Dest DriveOutputlmage 1
142. r device and a Peer device each command bit must have only one source The source of command bits set to 0 will be the Master device The source of command bits set to 1 will be the Peer device 33 Peer Ref Adjust Default 0 00 Scales the Reference received from a peer Minimum 0 00 Maximum 199 99 Type Read Write Reset Required No that changes to Parameter 33 Peer Ref Adjust take effect immediately A drive receiving its Reference from peer 1 will receive the newly scaled Reference ATTENTION To guard against equipment damage and or personal injury note A resulting in a change of speed 34 Peer Fit Action Default 0 Fault Sets the action that the adapter and drive will take Values 0 Fault if the adapter detects that DeviceNet 1 Stop communications with a peer have been disrupted 2 Zero Data This setting is effective only if I O is transmitted 3 Hold Last through the adapter 4 Fault Cfg Type Read Write Reset Required No Fit Action lets you determine the action of the adapter and connected drive if the adapter is unable to communicate with the designated peer 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
143. r for 4 3 configuring an adapter for 3 8 definition G 5 examples 5 8 image 5 2 input 4 6 mapping in the scanner 4 6 output 4 7 10 Board option configuring adapter to use optional I O data 8 4 in External Comms Kit 8 2 understanding the I O image 8 3 using Datalink D to send I O data 8 3 viewing optional I O diagnostic data 8 5 Identity object C 2 Idle flt Action parameter B 3 Index 4 installation applying power to the adapter 2 6 commissioning the adapter 2 1 connecting to the drive 2 4 connecting to the network 2 3 preparing for 2 1 Internal Interface cables connecting to the adapter 2 4 connecting to the drive 2 4 illustration 2 4 L LCD HIM 3 2 LED HIM 3 2 LEDs see status indicators Logic Command Status bit definitions D 1 definition G 6 in I O image 5 2 using 5 4 Logix5550 see ControlLogix M MAC ID see node address manual conventions P 2 related documentation P 1 web site P 1 Master Slave hierarchy communications E 1 E 5 configuring adapter for 3 9 definition G 6 mechanical dimensions A 1 messages see Explicit Messages or 10 Min Peer Tx Time parameter B 7 MOD status indicator locating 7 1 troubleshooting with 7 3 modes of operation 1 7 mounting the adapter 2 5 M S Input parameter B 4 M S Input Parameter Configurations E 1 M S Output parameter B 5 M S Output Parameter Configurations E 5 N NET A status indicator locating 7 1 troub
144. r off Peer Out Time Sets the minimum time that an adapter will wait when transmitting data to a peer Important A change to this parameter is ignored when Parameter 41 Peer Out Enable is On Peer Out Skip Sets the maximum time that an adapter will wait when transmitting data to a peer The value of Parameter 42 Peer Out Time is multiplied by the value of this parameter to set the time Important A change to this parameter is ignored when Parameter 41 Peer Out Enable is On Adapter Parameters Details Default Minimum Maximum Type Reset Required Default Values Type Reset Required Default Values Type Default Default Values Type Reset Required Default Values Type Reset Required Default Minimum Maximum Type Reset Required Default Minimum Maximum Type Reset Required B 7 10 00 Seconds 0 01 Seconds 180 00 Seconds Read Write No 0 Off 0 Off 1 On Read Write No 0 Off 0 Off 1 Waiting 2 Running 3 Faulted Read Only 0 Off 0 Off 0 Off 1 Cmd Ref 2 Datalink A Input 3 Datalink B Input 4 Datalink C Input 5 Datalink D Input 6 Datalink A Output 7 Datalink B Output 8 Datalink C Output 9 Datalink D Output Read Write No 0 Off 0 Off 1 On Read Write No 10 00 Seconds 0 01 Seconds 10 00 Seconds Read Write No 1 1 16 Read Write No B 8 Adapter Param
145. rapidly changing devices and allows data to be sampled at precise intervals for better determinism Data Rate The data rate is the speed at which data is transferred on the DeviceNet network The available data rates depend on the type of cable and total cable length used on the network Maximum Cable Length Cable 125 K 250 K 500 K Thick Trunk Line 500 1 640 ft 250 820 ft 100 m 328 ft Thin Trunk Line 100 m 328 ft 100 328 ft 100 m 328 ft Maximum Drop Length 6 m 20 ft 6 m 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 K 250 K or 500 K You can set it to Autobaud if another device on the network has set the data rate Glossary G 3 Datalinks A Datalink is a type of pointer used by some PowerFlex 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 Datalink consumes either four bytes or eight bytes in both the input and output image table of the controller The drive determines the size of Datalinks DeviceNet Network A DeviceNet network uses a producer consumer Controller Area Network CAN to connect devices for example controllers drives and motor starters Both I O and explicit messages can be tra
146. receive service response data from the adapter and drive A tag must be specified even if it is not used Path The path includes the following Name of the DeviceNet scanner Communication port on the front of the 1756 DNB scanner Always 2 Node address of the DeviceNet adapter This is set with switches or parameters in the DeviceNet adapter Tip Click Browse to find the path or type in the name of a module that you previously mapped 64 Using Explicit Messaging Explicit Messages for a PLC or SLC Controller Transaction blocks in PLC and SLC scanners accommodate both downloading Explicit Message Requests and uploading Explicit Message Responses The scanner module can accommodate one request or response for each transaction block Each transaction block must be formatted as shown in Figure 6 2 or Figure 6 3 Figure 6 2 PLC Explicit Message Format Request Response Bit 15 15 Word 0 TXID Command TXID Status Port Size Port Size Service Address Service Address Class Service Response Data Instance Attribute Word 6 31 Service Data Word 32 TXID Command TXID Status Port Size Port Size Service Address Service Address Class Service Response Data Instance Attribute Word 38 63 Service Data Figure 6 3 SLC Explicit Message Format 12221 Bit 15 15 Word 0 TXID Command TXID Status Port S
147. release is displayed as FRN X xxx The FRN signifies Firmware Release Number The is the major release number The is the minor update number e RSNetWorx for DeviceNet version 2 22 and RSLinx version 2 10 were used for the examples in this manual Different versions of the software may differ in appearance and procedures e This manual provides information about the 20 COMM D DeviceNet adapter and using it with PowerFlex 7 Class drives The adapter can be used with other products that support DPI Refer to the documentation for your product for specific information about how it works with the adapter Rockwell Automation Support Rockwell Automation Inc offers support services worldwide with over 75 sales support offices over 500 authorized distributors and over 250 authorized systems integrators located through the United States alone In addition Rockwell Automation Inc representatives are in every major country in the world Local Product Support Contact your local Rockwell Automation Inc representative for e Sales and order support Product technical training e Warranty support e Support service agreements About This Manual P 3 Technical Product Assistance If you need to contact Rockwell Automation Inc for technical assistance please review the information in Chapter 7 Troubleshooting first If you still have problems then call your local Rockwell Automation Inc representati
148. rence Manual PFLEX RMOO2 RSLinx Getting Results with RSLinx Guide LINX GROO 1 Online help installed with the software RSLogix 5 RSLogix 5 Getting Results Guide LG5 GRO01 Online help installed with the software RSLogix 500 RSLogix 500 Getting Results Guide LG500 GR001 Online help installed with the software RSLogix 5000 RSLogix 5000 Getting Results Guide 9399 RLD300GR Online help installed with the software RSNetWorx for RSNetWorx for DeviceNet Getting Results Guide DNET GR001 DeviceNet Online help installed with the software SLC 500 and 1747 SDN DeviceNet Scanner Module Installation Instructions 1747 5 8 DeviceNet Scanner Module Configuration Manual 1747 6 5 2 5 and 1771 SDN DeviceNet Scanner Module Installation Instructions 1747 5 14 DeviceNet Scanner Module Configuration Manual 1771 6 5 118 Documentation can be obtained online at http www rockwellautomation com literature About This Manual Conventions Used in this Manual The following conventions are used throughout this manual e Parameter names are shown in the format Parameter xx The xx represents the parameter number The represents the parameter name For example Parameter 01 DPI Port e Menu commands are shown in bold type face and follow the format Menu gt Command For example if you read Select File gt Open you should click the File menu and then click the Open command e The firmware
149. rive DeviceNet 5 pin connector to which a 5 pin linear plug can be connected Connector Node Address Switches for setting the node address Refer to Chapter 2 Switches Installing the Adapter Data Rate Switch for setting the DeviceNet data rate at which the adapter Switch communicates Refer to Chapter 2 Installing the Adapter 1 2 Getting Started Features The DeviceNet adapter features the following The adapter is normally mounted in the PowerFlex 7 Class drive The Series B 20 COMM D adapter FRN v2 001 or higher can also be installed in an External DPI Comms Kit 20 XCOMM DC BASE In either case it receives the required power from the drive and from the DeviceNet network Switches let you 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 features Captive screws secure and ground the adapter to the drive or when mounted in an External DPI Comms Kit to the kit s metal enclosure A number of configuration tools can be used to configure the adapter and connected drive The tools include the PowerFlex HIM on the drive network software such as RSNetWorx for DeviceNet or drive configuration software such as DriveExplorer version 3 xx or higher or DriveExecutive version 3 xx or higher Status indicators report the status of the drive communications adapter and network I O inclu
150. t 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 Figure 3 21 Peer Fault Action Screen on an LCD HIM Port 5 Device Value Description 20 COMM D 0 Fault Default Parameter 34 1 Stop Peer Fit Action 2 Zero Data 3 Hold Last Fault 4 SendFItCfg For details see Setting a Fault Action section in this chapter 9 Set Parameter 37 Peer Inp Enable to On The adapter is now configured to receive I O from the specified node Ensure that the specified node is configured to transmit I O 10 Set Parameter 9 Reset Module to Reset Module The adapter will reset and the parameter will display Ready after the command has been performed Selecting COS Cyclic or Polled I O The data exchange 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 Cyclic e Polled and Cyclic Polled If Polled and COS or Polled and Cyclic is used the adapter receives the I O from the polled messages It transmits its Logic Status and Feedback in COS or Cyclic messages Other data is transmitted in Polled messages Cyclic and Polled data exchanges are configured
151. t 8 3 Understanding the I O Image Drive I O Option The data for the optional I O Board is sent over the I O connection using Datalink D When the optional I O Board is installed in the External DPI Comms Kit Datalink D is dedicated for this function only and is not available for other uses When the 20 COMM D adapter detects the presence of the optional I O Board the I O image is modified as shown in Figure 8 3 Figure 8 3 Example I O Image with Datalink D Dedicated to I O Board and All I O Enabled DeviceNet DPI Controller Scanner Adapter PowerFlex Drive Word and I O Output 0 Logic Command Logic Command Image 1 Reference Reference Write 2 Datalink In A1 Data In A1 3 Datalink In A2 Data In A2 4 Datalink In B1 Data In B1 5 Datalink In B2 Data In B2 6 Datalink In C1 Data In C1 7 Datalink In C2 Data In C2 8 Datalink In D1 Opt 0 Data In D1 9 Datalink In D2 Board Data In D2 Outputs Input 0 Pad Word 0 Image 1 Pad Word Read 2 LogicStatus Logic Status 3 Feedback Feedback 4 Datalink Out A1 lt Data Out A1 2 5 Datalink Out A2 lt Data Out A2 6 Datalink OutB1 lt Data Out B1 7 Datalink Out B2 lt Data Out B2 8 Datalink OutC1 lt Data Out C1 9 Datalink Out C2 Data Out C2 10 Datalink Out D1 Data Out D1 11 Datalink Out D2 Data Out D2 Inputs Handler Buffer Handler
152. t Action and 34 Peer Flt Action let you determine the action of the adapter and connected PowerFlex drive if communications are disrupted or the controller is idle By default these parameters fault the drive You can set these parameters so that the drive continues to run Precautions should be taken to ensure that the settings of these parameters do not create a 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 faulted controller Getting Started 1 5 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 1 6 Getting Started Quick Start This section is provided to help experienced users quickly start using the DeviceNet adapter If you are unsure how to complete a step refer to the referenced chapter Step Refer to 1 Rev
153. t m Troubleshooting PORT Status Indicator Status Off Cause The adapter is not powered or is not connected properly to the drive Corrective Action Securely connect the adapter to the drive using the Internal Interface ribbon cable Apply power to the drive Flashing adapter is not receiving a e Verify that cables are securely connected Red ping message from the drive Cycle power to the drive Solid The drive has refused an Important Cycle power to the drive after Red 10 connection from the making any of the following corrections adapter e Verify that all DPI cables are securely ted not damaged Replace Another DPI peripheral is connec using the same DPI port as cables if necessary the adapter e Verify that the DPI Host supports Datalinks e Configure the adapter to use a Datalink that is not already being used by another peripheral Orange The adapter is connected to a Connect the adapter to a product that product that does not support supports Allen Bradley DPI communications Allen Bradley DPI for example PowerFlex drives communications Flashing The adapter is establishing an No action required Normal behavior if no DPI Green I O connection to the drive _ I O is enabled Solid The adapter is properly No action required Green _ connected and is communicating with the drive MOD Status Indicator Status Cause Off T
154. t use The adapter will not recognize these addresses 2 Set the data rate switch on the adapter Figure 2 2 Setting the Data Rate Setting Description Auto The adapter is set to the data rate used by other network devices Another device on the network must be set to a data rate 125K 250K 500K The adapter is set to the respective data rate PGM The adapter uses the setting of Parameter 05 DN Rate Cfg for the data rate This is the default parameter setting Refer to Chapter 3 Configuring the Adapter The switch settings can be verified using a PowerFlex HIM DriveExplorer software or DriveExecutive software and viewing Diagnostic Device Item numbers 29 and 30 page 7 5 Installing the Adapter 2 3 Connecting the Adapter to the Network may contain high voltages that can cause injury or death Remove power from the drive and then verify power has been discharged before installing or removing an adapter ATTENTION Risk of injury or death exists The PowerFlex drive 1 Remove power from the network and drive 2 Use static control precautions 3 Connect a DeviceNet cable to the network and route it through the bottom of the PowerFlex drive see Figure 2 5 DeviceNet Thin cable with an outside diameter of 6 9 mm 0 27 in is recommended Important Maximum cable length depends on data rate Refer to the Glossary 4 Connect a 5 pin linear plug to the DeviceN
155. teSource z Object Type f Hex Num Of Elements 2 Bytes Object ID 101 Destination Parameter writeD estinati x Object Attribute 1 Hex Create Tag O Enable Enable Waiting Start 9 Done Done Length 0 Q Error Code Timed Out Extended Error Code tms s Configuration Example Value Description Refer to Service Code 10 Hex Code for Set Attribute Single C 10 Object Type f Hex Parameter Object C 8 Object ID 101 Dec Parameter Address Object Attribute 1 Hex Parameter Value C 9 Figure 6 5 Tags for the Example Explicit Messaging Program Tag Names Tag Names for Read Message Type for Write Messages Type StartParameterRead BOOL StartParameterWrite BOOL ParameterReadDestination INT ParameterWriteDestination INT ParameterReadMessage MESSAGE ParameterWriteMessage MESSAGE ParameterReadSource INT ParameterWriteSource INT Figure 6 6 Example ControlLogix Ladder Logic Program This rung reads the value of parameter 101 The value is in the ReadDestination tag StartParameterRead MSG 0 E Type CIP Generic EN Message Control ParameterReadMessage CDND I EFD This rung writes the value of parameter 101 The value is taken from the WriteSource tag 1 StartParameterWrite MSG m E Type CIP Generic END Message Control ParameterWriteMessage 41 400 6 10 Using Explicit Messa
156. ternal Interface ribbon cable and to the network using a DeviceNet cable Correctly connect the DeviceNet cable to the DeviceNet plug Apply power to the drive and network Solid The adapter failed Configure the adapter to use a unique node Red duplicated node detection address on the DeviceNet network test or bus off e Configure the adapter to use the correct network data rate e Ensure network has correct media installed Flashing A DeviceNet I O Place the scanner in RUN mode or apply Red connection has timed out power to the peer device that will send 1 Check the amount of traffic on the network Flashing adapter has received e Wait for the faulted node recovery to complete Red an Identify Comm Fault Green _ request Flashing The adapter is properly Place the controller in RUN mode or apply Green connected but is not power to the peer device that will send I O communicating with any Pro gram a controller or peer device to devices on the network recognize and transmit I O or make a messaging connection to the adapter Configure the adapter for the program in the controller or the 1 from the peer device Solid The adapter is properly action required Green connected and communicating on the network Troubleshooting 1 5 Viewing Adapter Diagnostic Items The following adapter diagnostic items can be viewed using DriveExplorer version 2 01 or
157. the DeviceNet network COP Copy File Source N10 0 Dest M0 1 0 Length 128 CEND gt Chapter 6 Using Explicit Messaging Chapter 6 provides information and examples that explain how to use Explicit Messaging to configure and monitor the DeviceNet adapter installed and connected to the PowerFlex 7 Class drive Topic Page About Explicit Messaging 6 1 Formatting Explicit Messages 6 2 Performing Explicit Messages 6 7 ControlLogix Example 6 8 PLC 5 Example 6 10 SLC Example 6 12 ATTENTION Risk of injury or equipment damage exists The gt 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 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 Refer to Chapter 5 for information about the I O image using Logic Command Status and Reference Feedback About Explicit Messaging Expl
158. the event queue Code Event Description 1 No Event Empty event queue entry 2 DPI Bus Off Fit A bus off condition was detected on DPI This event may be caused by loose or broken cables or by noise 3 Ping Time Fit A ping message was not received on DPI within the specified time 4 Port ID Fit The adapter is not connected to a correct port on a DPI product 5 Port Change The DPI port changed Fit 6 Host Sent The drive sent a reset event message Reset 7 EEPROM Sum The EEPROM in the adapter is corrupt Fit 8 Online The adapter detected that the drive is communicating at 125 125kbps kbps 9 Online The adapter detected that the drive is communicating at 500 500kBps kbps 10 Bad Host Fit The adapter was connected to an incompatible product 11 Dup Port Fit Another peripheral with the same port number is already in use 12 0 Login The adapter has logged in for type 0 control 13 0 Time The adapter has not received a type 0 status message within the Fit specified time 14 DL Login The adapter has logged into a Datalink 15 DL Reject Flt The drive rejected an attempt to log to a Datalink because the Datalink is not supported or is used by another peripheral 16 DL Time Fit The adapter has not received a Datalink message within the specified time 17 Control The adapter has sent a Soft Control Disable command to the Disabled dr
159. the words for the class instance attribute and any data The maximum size is 58 bytes 29 words Port Most Significant Byte The port that is used by the message is always zero Channel A on an SLC scanner It is zero Channel A or one Channel B for a PLC scanner 2 Address Least Significant Byte The node address of the slave device to which the transaction is sent For the Explicit Message to be successful the slave device must be in the scanlist of the scanner and it must be online Service Most Significant Byte Available services depend on the class and instance that you are using Refer to Appendix C DeviceNet Objects 3 Class Refer to Appendix C DeviceNet Objects for available classes 4 Instance Refer to Appendix C DeviceNet Objects for available instances 5 Attribute Refer to Appendix C DeviceNet Objects for available attributes Request Data This is data used for the message For example it may be the value written to a parameter o wo 6 6 Using Explicit Messaging PLC SLC Explicit Message Responses Word Description 0 Status Least Significant Byte One of the following status codes is provided during each upload 00 Ignore transaction block empty 01 Transaction completed successfully 02 Transaction in progress not ready 03 Slave not in scan list 04 Slave offline 05 DeviceNet port disabled or offline 06 Tr
160. tribute_Single 0x10 No Yes Set_Attribute_Single 0x15 Yes No Restore_Request 0x16 Yes No Save_Request 0x4B No Yes Get Enum String Parameter Group Object Class Code Hexadecimal Decimal 0x10 16 Instances DeviceNet Objects C 11 The number of instances depends on the number of groups in the device A group of adapter parameters is appended to the list of groups in the device The total number of groups can be read in Instance 0 Attribute 2 Number Description 0 Class Attributes 1 Drive Group 1 Attributes n Last Drive Group Attributes n 1 Adapter Group Attributes Class Attributes Attribute Access Name Data Description ID Rule Type 1 Get Parameter group UINT 1 version 2 Get Instance Total number of groups 8 Get Native USINT 0 English Language 1 French 2 Spanish Mexican 3 Italian 4 German 5 Japanese 6 Portuguese 7 Mandarin Chinese 8 Russian 9 Dutch C 12 DeviceNet Objects Parameter Group Object Continued Instance Attributes Attribute Access Name Data Description ID Rule Type 1 Get Group Name String SHORT Group name STRING 2 Get Number of Members UINT Number of parameters in group in Group 3 Get istParameterNumber UINT O in Group 4 Get 2nd Parameter UNT Number in Group n Get uwr 0 1 Value varies based on group instance Services Service Code Implemented for Service Na
161. ts the Communication Adapter to send Datalink D back to the controller Turning off bit 4 in the DPI I O Cfg parameter directs the Communication Adapter to not send Datalink D data back to the drive For more information on I O Messaging and Configuring Datalinks please see Chapter 5 Using I O Messaging If the I O Board Fault Action Jumper JMP1 is set to the Fault Configurable position Parameter 23 Flt Cfg D1 In is used to set the states of the outputs when the I O Board takes its Fault Action For details on setting the Fault Action jumper see the 20 XCOMM IO OPTI Installation Instructions Publication Number 20COMM INO002 Using the Adapter in an External DPI Comms Kit 8 5 Viewing Optional I O Diagnostic Items Viewing communication adapter diagnostic item 31 OPT Status shows the operating status of the optional I O board Bit State Status Indication Description 0 1 OPT Present 10 data is being exchanged with the host 1 1 On Faulted Slave is taking its fault action 2 1 On Hold Last Fault Action is Hold Last 3 1 On Send Fit Cfg Fault Action is Fault Contig Viewing communication adapter diagnostic item 32 OPT RX Errors shows the number of I O board receive errors Viewing communication adapter diagnostic item 33 OPT FW Version shows the present firmware version on the optional I O board Diagnostic item 13 Datalink D1 In will show the status of the outputs
162. upport P 2 tools required 1 3 troubleshooting 7 1 to 7 8 U UCMM G 8 update see flash update W web site for DeviceNet G 3 for DriveExplorer software G 4 for DriveTools SP software G 4 for EDS files G 4 for manuals P 1 for ODVA Open DeviceNet Vendor s Association G 3 for RSLogix G 8 for RSNetWorx for DeviceNet G 8 wiring see cables Z zero data configuring an adapter for 3 16 definition G 8 www rockwellautomation com Corporate Headquarters Rockwell Automation 777 East Wisconsin Avenue Suite 1400 Milwaukee WI 53202 5302 USA Tel 1 414 212 5200 Fax 1 414 212 5201 Headquarters for Allen Bradley Products Rockwell Software Products and Global Manufacturing Solutions Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Middle East Africa Rockwell Automation SA NV Vorstlaan Boulevard du Souverain 36 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation 27 F Citicorp Centre 18 Whitfield Road Causeway Bay Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Headquarters for Dodge and Reliance Electric Products Americas Rockwell Automation 6040 Ponders Court Greenville SC 29615 4617 USA Tel 1 864 297 4800 Fax 1 864 281 2433 Europe Middle East Africa Rockwell Automation Br hlstraBe 22 D 74834 Elztal Dallau Germany Tel 49 6261 9410 Fa
163. ve U S Allen Bradley Drives Technical Support E mail support drives ra rockwell com Tel 1 262 512 8176 Fax 1 262 512 2222 Online www ab com support abdrives UK Customer Support Center E mail esupport2 ra rockwell com Tel 44 0 870 2411802 Fax 44 0 1908 838804 Germany Customer Service Center E mail ragermany csc ra rockwell com Tel 49 0 2104 960 630 Fax 49 0 2104 960 501 P 4 About This Manual Notes Chapter 1 Getting Started The 20 COMM D DeviceNet adapter is a communication option intended for installation into a PowerFlex 7 Class drive It can also be used with other Allen Bradley products that support an internal DPITM Drive Peripheral Interface adapter The Series B 20 COMM D adapter FRN v2 001 or higher can be installed in an External DPI Comms Kit 20 XCOMM DC BASE Topic Page Topic Page Components 1 1 Safety Precautions 1 4 Features 1 2 Quick Start 1 6 Compatible Products 1 3 Modes of Operation 1 7 Required Equipment 1 3 Components Figure 1 1 Components of the Adapter Item Part Description Status Three LEDs that indicate the status of the connected drive Indicators adapter and network Refer to Chapter 7 Troubleshooting Connector A 20 pin single row shrouded male header An Internal Interface cable is connected to this connector and a connector on the d
164. x 49 6261 17741 Asia Pacific Rockwell Automation 55 Newton Road 11 01 02 Revenue House Singapore 307987 Tel 65 6356 9077 Fax 65 6356 9011 U S Allen Bradley Drives Technical Support Tel 1 262 512 8176 Fax 1 262 512 2222 Email support drives ra rockwell com Online www ab com support abdrives Publication 20COMM UM002D EN P November 2004 P N 307972 P03 Supersedes 20COMM UM002C EN P November 2002 Copyright 2004 Rockwell Automation Inc All rights reserved Printed in USA
165. xxxx0 12 10111 XxxxO 16 NA NA NA NA 11000 0 8 NA NA NA NA 11001 XxxxO 12 NA NA NA NA 11011 XxxxO 16 NA NA NA NA 11100 xxxx0 12 11101 XxxxO 16 NA NA NA NA 11110 xxx0 16 NA NA NA NA 11111 XxxxO 20 NA NA NA NA 00000 0 0 0 0 amp 0 0 amp 0 00001 1 4 4 4 4 amp 0 4 amp 0 00010 1 4 4 4 4 amp 0 4 amp 0 00011 8 8 8 8 amp 0 8 amp 0 00100 1 4 4 4 4 amp 0 4 amp 0 00101 1 8 8 8 8 amp 0 8 amp 0 00110 1 8 8 8 8 amp 0 8 amp 0 00111 1 12 12 12 12 amp 0 12 amp 0 01000 1 4 4 4 4 amp 0 4 amp 0 01001 1 8 8 8 8 amp 0 8 amp 0 01010 1 8 8 8 8 amp 0 8 amp 0 Master Slave 1 Configuration E 3 Table E A Host Products using 16 bit Reference Feedback amp Datalinks Continued Allocation Number of Bytes M S M S Data Size sent from the Controller to the Adapter Input Output PollOnly COS Only Cyclic Only Poll amp COS Poll amp Cyclic 01011 1 12 12 12 12 amp 0 12 amp 0 01100 xxxx1 8 8 8 8 amp 0 8 amp 0 01101 xxxx1 12 12 12 1280 1280 01110 12 12 12 12 amp 0 12 amp 0 01111 16 16 16 16 amp 0 16 amp 0 10000 1 4 4 4 4 amp 0 4 amp 0 10001 xxxx1 8 8 8 880 880 10010 xxxx1 8 8 8 880 880 10011 1 12 12 12 1280 1280 10100 8 8 8 880 880
166. yte Reply Data Byte Value Hex Definition Comments 0 10064 Parameter Number Lo 1 10000 Parameter Number Hi Parameter Number 100 Jog Speed 2 10032 Parameter Value Lo May be a BYTE WORD or DWORD 3 0000 Parameter Value parameter unused bytes are always a 4 10000 Parameter Value value of zero In this example value 5 0 5 0000 Parameter Value Hi 2 50 decimal 32 hexadecimal 6 0065 Parameter Number Lo 7 0000 Parameter Number Hi Parameter Number 101 Preset Speed 1 8 10064 Parameter Value Lo May be a BYTE WORD or DWORD 9 0000 Parameter Value parameter unused bytes are always a 10 0000 Parameter Value value of zero In this example value 10 0 11 10000 Parameter Value Hi Hz 100 decimal 64 hexadecimal If an error occurs the most significant bit of the Parameter Number in the Reply Data will be set 0x8000 Parameter Number and the Parameter Value field will contain the DPI error code DeviceNet Objects C 27 DPI Parameter Object Continued Example Set Scattered of Parameters 100 and 101 in a PowerFlex 70 Send Data Byte Value Hex Definition Comments 0 0000 Attribute ID Always zero 1 10064 Parameter Number Lo 2 0000 Parameter Number Ef Parameter Number 100 Jog Speed 3 10032 Parameter Value Lo May be a BYTE WORD or DWORD 4 0000 Parameter Value parameter unused bytes are always a 5 10000 Parameter Value v
Download Pdf Manuals
Related Search
Related Contents
DarkRoom Wizard™ User Manual Toastmaster TOV850B/W User's Manual InFocus C105 User's Manual Whirlpool GZ7930XHS1 User's Manual Conditions commerciales générales Télécharger la brochure Emerson ASCO 7000 Series Power Control System For Medium Voltage Applications Warranties USER`S MANUAL Copyright © All rights reserved.
Failed to retrieve file