Home
Ethernet Comm User Manual - Mid
Contents
1. Single mode is the typical configuration where one node consists of a PowerFlex 40 drive with a 22 COMM E adapter For Multi Drive mode where one node can consist of up to 5 drives refer to Chapter 7 Using Multi Drive Mode Using Logic Command Status When enabled the Logic Command Status word is always word 0 in the T O 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 I O Messaging 5 3 Using Reference Feedback When enabled Reference Feedback begins at word 1 in the I O image The Reference 16 bits is produced by the controller and consumed by the adapter The Feedback 16 bits is produced by the adapter and consumed by the controller Size _ Valid Values In I O Image Example 16 bit 0 0 to 240 0 Hz PowerFlex 4 or Word 1 Figure 5 1 0 0 to 400 0 Hz PowerFlex 40 1 The Reference for a PowerFlex 4 or 40 is set in Hz and not in engineering units like other PowerFlex drives For example 300 equates to 30 0 Hz the decimal point is always implied Example Ladder Logic Program The example ladder logic program wo
2. 0 7 4 Configuring the RS 485 Network 0 7 5 Multi Drive Ladder Logic Program Example 7 6 ControlLogix Example 0 00 0 e ee eee 7 7 Multi Drive Mode Explicit Messaging 7 20 Additional Information 00 00008 7 22 Troubleshooting Locating the Status Indicators 04 8 1 PORT Status Indicator 0 00 2 e eee eee 8 2 MOD Status Indicator 0 0 00 e eae 8 3 Net A Status Indicator 0 00 0 e ee eee 8 4 Net B Status Indicator 0 0 0 0 eee 8 5 Adapter Diagnostic Items in Single Drive Mode 8 5 Adapter Diagnostic Items in Multi Drive Mode 8 7 Viewing and Clearing Events 005 8 8 Viewing the Adapter s Web Pages Accessing the Adapter s Web Home Page 9 1 Process Display Pop up Windows 04 9 6 TCP IP Configuration Web Page 05 9 7 Configure E mail Notification Web Page 9 8 Configure Process Display Web Page 9 10 DSI Device Information Pages 04 9 11 Appendix A Appendix B Appendix C Appendix D Glossary Index Table of Contents Specifications Communications 0 0 ccc eee El ctrical 0 03 cece cous ereraa wide 428 dee eee ARS a e Mechanical ereas cece os ae a abe Osa ewes Environmental 0 0
3. 12 Slave Logon The adapter has established communications with the slave 13 Slave Timeout The adapter has lost communications with the slave 14 Slave Brand Fit The slave brand is different than the adapter 15 Host 0 Logon The adapter has established communications with host 0 16 Host 1 Logon The adapter has established communications with host 1 17 Host 2 Logon The adapter has established communications with host 2 18 Host 3 Logon The adapter has established communications with host 3 19 Host 4 Logon The adapter has established communications with host 4 20 Host 0 Timeout The adapter has lost communications with host 0 21 Host 1 Timeout The adapter has lost communications with host 1 22 Host 2 Timeout The adapter has lost communications with host 2 23 Host 3 Timeout The adapter has lost communications with host 3 24 Host 4 Timeout The adapter has lost communications with host 4 25 Host 0 Brand Fit The host 0 brand is different than the adapter 26 Host 1 Brand Fit The host 1 brand is different than the adapter 27 Host 2 Brand Fit The host 2 brand is different than the adapter 28 Host 3 Brand Fit The host 3 brand is different than the adapter 29 Host 4 Brand Fit The host 4 brand is different than the adapter 30 39 Reserved Network Events 40 EN Link Up The network link is established 41 EN Link Down The network link is lost 42 Dup IP Addr The adapter detec
4. Switch 000 SSS SSS a Computer with Ethernet Connection Configuring the Scanner or Bridge Adding a Bridge or Scanner to the I O Configuration To establish communications over an EtherNet IP network you must first add the controller and its scanner or bridge to the I O configuration 1 Start RSLogix 5000 The RSLogix 5000 window appears Figure 4 2 RSLogix 5000 Window S RSLoaix 5000 LtherNetIP_Demo in DSI EtherNetiP ACD 1756 L1 1D 2d Fie Fuk View Seurch Log Communications Took Window Hip alerital e o alale te le aAa cee ow Sh fda Nor ai 4 Hll Pa Pad Pied ES gt a BY fi f Ferortes Teast DeK B 5 Controler EthertietIP_Demo DB Controler Tags C Controler Fault Harder A Pemer Up Handler BE Tasks 5 G ManTask OB MainProgram C Unecheduied Prog ars Create a modde 2 In the Control Organizer pane right click the I O Configuration folder and select New Module Figure 4 2 The Select Module Type dialog box Figure 4 3 appears Figure 4 3 Select Module Type Dialog Box Select Module Type Major Revision Type 1756 ENBT A iso 9 Type Descriptio 11756 DNB 1756 DeviceNet Scanner 1756 ENBT A 1756 10 100 Mbps Ethernet Bridge Twisted Pair Media 1 756 ENET A 1756 Ethemet Communication Interface 11 756 ENET B 1756 Ethernet Bridge 11756 HSC 1756 High Speed Counter 1756 1416 16 Point 79V 132 AC
5. gt Chapter 6 Using Explicit Messaging Chapter 6 provides information and examples that explain how to use Explicit Messaging to configure and monitor the EtherNet IP adapter installed and connected to the PowerFlex 40 drive Topic Page Topic Page About Explicit Messaging 6 1 About the Example Explicit Messages 6 5 Formatting Explicit Messages 6 2 Example Get Attribute Single Message 6 6 Performing Explicit Messages 6 4 Example Set Attribute Single Message 6 8 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 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 Refer to Chapter 5 for information about the I O image using Logic Command Status and Reference Feedback About Explicit Messaging Explicit Messaging is used to transfer data that does not require continuous updates With Explicit Messaging you can configu
6. 0x01 Word range write See DF1 Protocol and Command Set Manual Allen Bradley Publication No 1770 6 5 16 N Files N File Description N40 This N file lets you use Emulated Block Transfer messages to read and write many types of DPI messages To use Emulated Block Transfer messages you send a Write message to N40 0 N40 63 wait until the adapter responds with a reply message and then read the response data in N40 0 N40 63 with a Read message For details about Block Transfer messages and the data required for each byte in the N File refer to the Remote I O Adapter User Manual Publication 20COMM UMO004 Bits 15 to 8 are the Most Significant Byte Bits 7 to 0 are the Least Significant Byte Write Read Bits 15 0 15 0 N40 0 0x00 Length in Bytes 0x00 Length in Bytes N40 1 DPI Port 0x81 Status Size Status Type N40 2 0x00 CIP Service Data N40 3 CIP Class length varies based on message N40 4 CIP Instance N40 5 CIP Attribute N40 6 Data length varies based on message N40 63 1 Use the following DPI Port Assignment table to determine the value for the DPI port C 18 EtherNet IP Objects PCCC Object Continued N Files Continued DPI Port Assignments DPI Port No Single Drive Mode _ Multi Drive Mode 0 The drive Drive 0 1 The adapter Drive 1 2 The slave Drive 2 3 Not supported Drive 3
7. Instances 0 1023 in the adapter 17408 18431 Instances 0 1023 in the adapter Instances 0 1023 in Drive 1 18432 19455 Instances 0 1023 in the slave Instances 0 1023 in Drive 2 19456 20479 Not supported Instances 0 1023 in Drive 3 20480 21503 Not supported Instances 0 1023 in Drive 4 21504 22527 _ Not supported Instances 0 1023 in the adapter Class Attributes Attribute Access ID Rule Name Data Type Description 1 Get Class Revision WORD Revision of object 2 Get Number of WORD Maximum number of faults events that the Instances 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 adapters Instance Read 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 EtherNet IP Objects C 29 Instance Attributes Attribute Access ID Rule Name Data Type Description 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 L
8. 100M bits sec half 23 DSI I O Act Indicates the Drives that are active in the Multi Drive mode Bit Definitions 0 Drive 0 Active 1 Drive 1 Active 2 Drive 2 Active 3 Drive 3 Active 4 Drive 4 Active 29 Web Enable Indicates the setting of the Web Pages Switch SW2 on the adapter when the adapter was last reset Values 0 Disabled 1 Enabled Chapter 4 Configuring the Scanner or Bridge Chapter 4 provides instructions on how to configure a ControlLogix bridge to communicate with the adapter and connected PowerFlex drive Topic Example Network I O Configuration Adding a Bridge or Scanner to the 4 2 Saving the Configuration 4 7 1 O Configuration Example Network After the adapter is configured the connected drive and adapter will be a single node on the network This chapter provides the steps that are needed to configure a simple network like the network in Figure 4 1 In our example we will configure a 1756 ENBT bridge to communicate with a drive using Logic Command Status and Reference Feedback over the network Figure 4 1 Example EtherNet IP Network IP Address 131 200 130 176 IP Address 131 200 130 178 ControlLogix Controller with PowerFlex 40 Drive with 1756 ENBT Bridge EtherNet IP Adapter ZZ by wT MINE Mill
9. 999 in this adapter Parameters 1 999 in this adapter N14 0 Number of parameters in this Number of parameters in Drive 1 adapter N14 1 999 Parameters 1 999 in this adapter Drive 1 parameters 1 999 N15 0 Number of parameters in the slave Number of parameters in Drive 2 N15 1 999 Parameters 1 999 in the slave Drive 2 parameters 1 999 N16 0 Not supported Number of parameters in Drive 3 N16 1 999 Not supported Drive 3 parameters 1 999 N17 0 Not supported Number of parameters in Drive 4 N17 1 999 Not supported Drive 4 parameters 1 999 N18 0 Not supported Number of parameters in this adapter N18 1 999 Not supported Parameters 1 999 in this adapter DPI Device Object Class Code Hexadecimal Decimal 0x92 146 Instances EtherNet IP Objects C 21 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 Dec 0 16383 Single Drive Mode Instances 0 16383 in the drive Multi Drive Mode Instances 0 16383 in Drive 0 16384 17407 Instances 0 1023 in the adapter Instances 0 1023 in the adapter 17408 18431 Instances 0 1023 in the adapter Instances 0 1023 in Drive 1 18432 19455 Instances 0 1023 in the slave Instances 0 1023 in Drive 2 19456 20479 Not supported Instances 0 1023 in Dr
10. About the Example Explicit Messages These examples show how to format and execute the following types of Explicit Messages using a ControlLogix controller e Get Attribute Single e Set Attribute Single Message Formats When formatting an example message refer to Formatting Explicit Messages in this chapter for an explanation of the content of each box Also to format and execute these example messages you need the Controller tags displayed in Figure 6 3 Figure 6 3 Controller Tags for Explicit Messages Scope EtherNetIP_Demofe x Show Show Al Sort Tag Name 7 P Tag Name MESSAGE ParameterReadValue INT ParameterwriteMessage MESSAGE 7 o ParameterwriteValue INT PF40_Demo C AB ETHERNET_ PF40_Dema l AB ETHERNET_ PF40_Demo 0 AB ETHERNET_ Ladder Logic Rungs The ladder logic rungs for the examples in this chapter can be appended after rung 12 in the ladder logic program Figure 5 5 in Chapter 5 Using I O Messaging Source and Destination Data The example values for the source and destination data that appear in this chapter may vary in your application 6 6 Using Explicit Messaging Example Get Attribute Single Message A Get Attribute Single message reads a single attribute value In this example we read the value of a parameter in a PowerFlex 40 drive Example Message Format
11. after the command has been performed Reset Required No 18 A ATTENTION Risk of injury or equipment damage exists If the adapter is transmitting I O that controls the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting a connected adapter Comm Fit Action Default 0 Fault Sets the action that the adapter and drive will take Values 0 Fault if the adapter detects that Ethernet 1 Stop communications have been disrupted This setting 2 Zero Data is effective only if I O that controls the drive is 3 Hold Last transmitted through the adapter 4 Send Fit Cfg Type Read Write Reset Required No ATTENTION Risk of injury or equipment damage exists Parameter 18 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 drive A B 4 Adapter Parameters Parameter No 20 21 22 Name and Description Idle Fit Action Sets the action that the adapter and drive will take if the adapter detects that the scanner is idle because
12. 1 Line 2 desired parameter of host and its dynamic value Line 3 desired parameter of host and its dynamic value 1 The parameter whose value is shown on this line can be set by using the Configure Process Display web page For details see the Configure Process Display Web Page section in this chapter Viewing the Adapter s Web Pages 9 7 TCP IP Configuration Web Page The TCP IP Configuration web page provides details about the adapter s EtherNet IP settings and network activities Figure 9 4 Example of TCP IP Configuration Web Page Rockwell Automation Microsoft Internet Explorer provided by Rockwell Automation lt 19 xj Fie Edt vew Favorkes Toos Hep Urbs cuncmse unbs E freeHotmal windows Back gt GA A Dh Gjrovertes Jhoy D SH a Adddress E heto 1 10 91 97 59 ew Atten Bradtey PE e y VEAN epee EE Pelei So TCP IP Configuratio E Home Process display IP address O Te configuration iG Configure e mail not Subnet mask D configure process d Gateway address 10 91 96 1 Ca Browse DSI devices BOOTP Disabled online user manuals Ethemet address 00 00 8C 08 60 0B O software tools Web Launch my DriveExp Ethernet received packets 275 1S Launch my DriveExe ore OO E mail technical supp Ethernet transmit errors 0 Copynght 2003 Rockwell Automation Inc All Rights Reserved EJ oone EE Loca intranet Information Des
13. C 32 EtherNet IP Objects TCP IP Interface Object Class Code Hexadecimal Decimal OxF5 245 Instances The adapter supports one instance of the TCP IP Interface object Number Description 0 Class Attributes 1 Object Attributes Class Attributes Attribute Access ID Rule Data Type Description 1 UINT The revision of this object Instance Attributes Attribute Access ID Rule Name Data Type Description 1 Get Status of TCP DWORD 0 Not configured IP Network 1 Valid configuration Interface 2 to 15 Reserved 2 Get Configuration DWORD Bit Value 0 False 1 True Capability 0 Supports BOOTP 1 DNS Client Able to resolve host names by query to DNS server 2 DHCP Client Able to obtain network configuration through DHCP 3 DHCP DNS Update Able to send its host name in the DHCP request 4 Configuration Settable Able to set the network configuration via TCP IP 5 to 31 Reserved TCP IP Interface Object Continued Instance Attributes Continued EtherNet IP Objects C 33 Attribute Access ID Rule Name Data Type Description 3 Set Configuration DWORD Bit Value Control 1 3 Startup configuration 0 Use configuration saved in NVS 1 Obtain configuration via BOOTP 2 Obtain configuration via DHCP 3 to 15 Reserved 4 DNS Enabled Resolves host names by query to DNS server 5 to 31 Reserved 4 Get Physical
14. Clear All Parameter Links This does not clear links to function blocks EtherNet IP Objects C 25 DPI Parameter Object Continued Instance Attributes Attribute Access ID Rule Name Data Type Description 7 Get DPI Online Read STRUCT of Full BOOL 32 Descriptor Refer to pages C 26 C 27 CONTAINER Parameter value CONTAINER Minimum value CONTAINER Maximum value CONTAINER Default value WORD Next parameter WORD Previous parameter STRING 4 Units e g Amp Hz UINT Multiplier 2 UINT Divisor UINT Base INT Offset BYTE 3 Link source of the value 0 no link BYTE Always zero 0 STRING 16 Parameter name 8 Get DPI Descriptor BOOL 32 Descriptor Refer to pages C 26 C 27 9 Get Set DPI Parameter Various Parameter value in NVS 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 D for help text for this parameter Instance 13 Get DPI Read Basic STRUCT of BOOL 32 Descriptor Refer to pages C 26 C 27 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
15. Glossary G 7 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 at http www software rockwell com rslogix RSNetWorx for EtherNet IP RSNetWorx for EtherNet IP software is a tool for configuring and monitoring EtherNet IP 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 EtherNet IP 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 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 Subnet Mask A subnet mask is an extension to the IP addressing scheme that lets you use a single network ID for multiple physical networks A bit mask identifies the part of the address that specifies the network and the part of the address that specifies the unique node on the network A 1 in the subnet mask indicates the bit is used to specify the network A 0 in the subnet mask ind
16. January 2004 P N 319629 P02 Supersedes 22COMM UMO004A EN P December 2003 Copyright 2004 Rockwell Automation Inc All rights reserved Printed in USA
17. O Error Code Extended Error Code I Timed Out Error Path Error Text Cancel Apply Help The following table identifies key settings for the data format Configuration _ Value Description Refer to Service Type Set Attribute Single Write parameter data C 27 Service Code 10 Hex Set_Attribute_Single Ci Class f Hex DSI Parameter Object C 24 Instance 39 Dec Parameter 39 Accel Time 1 C 24 Attribute 1 Hex Parameter Value C 25 Source Element ParameterWriteValue Controller tag for write data Source Length 2 bytes One 16 bit word of data is sent 1 The default setting for Service Type is Custom which enables you to enter a Service Code that is not available from the Service Type pulldown menu When you select a Service Type other than Custom from the pulldown menu an appropriate Hex value is automatically assigned to the Service Code box which grays out unavailable Using Explicit Messaging 6 9 Example Ladder Logic Rung Figure 6 8 Example Set Attribute Single Message Explicit Messaging Example Writing a single parameter Set Attribute Single command PerformParameterWrite Bie las MSG Example Source Data Type CIP Generic Message Control l ParameterWriteMessage ON gt lt ERD In this example the Set Attribute Single message writes 100 the value in the source tag named ParameterWriteValue to Parameter 39 Ac
18. or 0 if the adapter does not currently have a gateway address 45 Gateway Act 4 The least significant byte in the adapter s current gateway address or 0 if the adapter does not currently have a gateway address 46 ENRxOverruns A count of the number of receive buffer overrruns reported by the Ethernet MAC 47 EN Packets Revd A count of the number of receive packets reported by the Ethernet MAC 48 EN Rx Errors A count of the number of receive errors reported by the Ethernet MAC 49 EN Packets Sent A count of the number of transmitted packets reported by the Ethernet MAC 50 EN Tx Errors A count of the number of transmit errors reported by the Ethernet MAC Troubleshooting 8 7 Adapter Diagnostic Items in Multi Drive Mode The following diagnostic items can be accessed using DriveExplorer version 3 01 or higher No Name Description 1 Reserved 2 Drv 0 Logic Cmd Logic Command being transmitted to drive 0 by the adapter 3 Drv 0 Reference Reference being transmitted to drive 0 by the adapter 4 Reserved 5 Drv 0 Logic Sts Logic Status being received from drive 0 by the adapter 6 Drv 0 Feedback Feedback being received from drive 0 by the adapter 7 Drv 1 Logic Cmd Logic Command being transmitted to drive 1 by the adapter 8 Drv 1 Reference Reference being transmitted to drive 1 by the adapter 9 Drv 1 Lo
19. 0 1023 4C00 4FFF 19456 20479 Drive 2 0 1023 5000 53FF 20480 21503 Drive 3 0 1023 5400 57FF 21504 22527 _ Drive 4 0 1023 For example to access Parameter P39 Accel Time 1 in each of the drives the following Instances would be used Drive 0 Instance 17447 17408 39 Drive 1 Instance 18471 18432 39 Drive 2 Instance 19495 19456 39 Drive 3 Instance 20519 20480 39 Drive 4 Instance 21543 21504 39 Using Multi Drive Mode 7 21 Drive 0 Explicit Message Example The Explicit message examples in the ControlLogix example program perform a read Get_Attribute_Single and a write Set_Attribute_Single to Parameter 39 Accel Time 1 The configuration for the read is shown in Figure 7 12 and the write is shown in Figure 7 13 Figure 7 12 Parameter Read Message Configuration Message Configuration ParameterRDMessageO x xj Configuration Communication Tag Path MultiDrive_Demo Browse Message Configuration ParameterRDMessage0 x 1 Configuration Communication Tag eA Service Get Attribute Single 7 noeclement f z Type 5 erdt p a er boe E He De Hed Destination ParameterRDValue0 z pi Mence 17447 Attributet Hes NewTas GE Erro Erro O Enable O Enable Waiting O Stat Done Done Length 2 O Eror Code Extended Error Code T Timed Ou Enor Path Enor Text Cox ca eo e Figure 7 13 Parameter Write Message Configuration
20. 0 BOOL Initiates the parameter read Parameter RD Value 0 INT Read value of the parameter Parameter RD Message 0 MESSAGE Get_Attribute_Single Read Using Multi Drive Mode Tag Name Type Description Perform Parameter Write 0 BOOL Initiates the parameter value Parameter WR Value 0 INT Write value to the parameter Parameter WR Message 0 MESSAGE Set_Attribute_Single Write The same type of Tags are also used for Drive 1 through Drive 4 Main Routine The Main Routine reads the network Input Image from the scanner calls the various drive control subroutines and writes the network Output Image to the scanner See Figure 7 6 Figure 7 6 Main Routine Using Mu PowerFlex 40 EtherNet IP Multi Drive Demo Drivelnputlmage 0 and DrivelnputImage 1 Drive 0 Logic Status and Feedback DrivelnputImage 2 and DrivelnputImage 3 DrivelnputImage 4 and DrivelnputImage 5 Drivelnputlmage 6 and DrivelnputImage 7 Drive 3 Logic Status and Feedback Drivelnputlmage 8 and DrivelnputImage 9 Drive 4 Logic Status and Feedback rive 1 Logic Status and Feedback rive 2 Logic Status and Feedback lti Drive Mode ControlLogix EtherNet IP MultiDrive example program with a PowerFlex 40 on EtherNet IP 22 COMM E adapter Four PowerFlex 4 s are daisy chained to the main PowerFlex 40 via their RJ45 ports RS 485 In this mode up to FIVE PowerFlex 4 40 s can exist on ONE EtherNet IP node This rung retrieves the Logic Sta
21. 0x0F 15 C 9 DPI Diagnostic Object 0x99 153 C 30 Parameter Group Object 0x10 16 C 13 TCP IP Interface Object OxF5 245 C 32 PCCC Object 0x67 103 C 15 Ethernet Link Object OxF6 246 C 34 p TIP Refer to the EtherNet IP specification for more information about EtherNet IP objects Information about the EtherNet IP specification is available on the ODVA web site http www odva org Supported Data Types Data Type Description BYTE 8 bit unsigned integer WORD 16 bit unsigned integer DWORD 32 bit unsigned integer LWORD 64 bit unsigned integer SINT 8 bit signed integer USINT 8 bit unsigned integer INT 16 bit signed integer UINT 16 bit unsigned integer DINT 32 bit signed integer UDINT 32 bit unsigned integer BOOL 8 bit value low bit is true or false BOOL n Array of n bits STRING n Array of n characters SHORT_STRING 1 byte length indicator that many characters STRUCT Structure name only no size in addition to elements CONTAINER 32 bit parameter value sign extended if necessary TCHAR 8 or 16 bit character REAL 32 bit floating point C 2 EtherNet IP Objects Identity Object Class Code Hexadecimal Decimal 0x01 1 Instances Single Drive Mode The number of instances is fixed at three and is as shown below Instance Description 0 Class 1 Host drive 2 22 COMM E 3 22 SCM 232 or 22 HIM when present Instances Multi
22. 4 Not supported Drive 4 5 Not supported The adapter N File Description For Single Drive Mode Only N41 This N file lets you read and write control I O messages You can write control I O messages only when all of the following conditions are true e The adapter is not receiving I O from a scanner For example there is no scanner on the network the scanner is in idle program mode the scanner is faulted or the adapter is not mapped to the scanner e The value of N42 3 is set to a non zero value Write Read N41 0 Logic Command Word Logic Status Word N41 Unused Unused N41 2 Reference Feedback N42 This N file lets you read and write some values configuring the port N42 3 Time out read write Time in seconds allowed between messages to the N41 or N44 file If the adapter does not receive a message in the specified time it performs the fault action configured in its Comm Fit Action parameter N42 7 Adapter Port Number read only DPI port on the drive to which the adapter is connected N42 8 Peer Adapters read only Bit field of devices having DPI Peer capabilities EtherNet IP Objects C 19 PCCC Object Continued N Files Continued N File Description For Multi Drive Mode Only N44 This N file lets you read and write control I O messages You can write control I O messages only when all of the following conditions are true e The adapter is not receiving I O from a scanner For example there is no
23. Data Name Type Description Name Type Description DLink UINT Destination Link ID DLink UINT Destination Link ID DSta USINT Destination Station DSta USINT Destination Station number number DUser USINT Destination User DUser USINT Destination User number number SLink UINT Source Link ID SLink UINT Source Link ID SSta USINT Source Station SSta USINT Source Station number number SUser USINT Source User SUser USINT Source User number number CMD USINT Command byte CMD USINT Command byte STS USINT 0 STS USINT Status byte TNSW UINT Transport word TNSW UINT Transport word Same value as the request FNC USINT Function code not EXT_STS USINT Extended Status used for all CMD s not used for all CMD s PCCC_ ARRAY of CMD FNC specific PCCC___ ARRAY of CMD FNC specific params USINT parameters results USINT _ result data EtherNet IP Objects C 17 PCCC Object Continued The adapter supports the following PCCC command types CMD FNC Description 0x06 0x03 _ Identify host and some status Ox0F 0x67 PLC 5 typed write Ox0F 0x68 PLC 5 typed read Ox0F 0x95 Encapsulate other protocol Ox0F 0xA2 SLC 500 protected typed read with 3 address fields Ox0F 0xAA SLC 500 protected typed write with 3 address fields Ox0F 0xA1 SLC 500 protected typed read with 2 address fields Ox0F 0xA9 SLC 500 protected typed write with 2 address fields OxOF 0x00 Word range read Ox0F
24. Drive Mode The number of instances is fixed at one and is as shown below Instance Description 0 Class 1 22 COMM E Class Attributes Attribute Access ID Rule Name Data Type Description 1 Get Revision UINT 1 2 Get Max Instance UINT Total number of instances 6 Get Max ID Number UINT 7 of Class Attributes 7 Get Max ID Number UINT 100 of Instance Attributes EtherNet IP Objects C 3 Identity Object Continued Instance Attributes Attribute Acces ID s Rule Name Data Type Description 1 Get Vendor ID UINT 1 Allen Bradley 2 Get Device Type UINT 127 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 Name SHORT_ STRING Product name and rating 9 Get Configuration UINT CRC or checksum Consistency representing the configuration Value of the product 100 Get NVS Info STRUCT of UDINT First NVS instance SHORT_STRING Sub assembly name Services Service Code _ Implemented for Service Name Class Instance 0x01 Yes Yes Get_Attributes_All 0x05 No Yes Reset Ox0E Yes Yes Get_Attribute_Single EtherNet IP Objects Assembly Object Class Code Hexadecim
25. Drv 1 Logic Sts 0000 0000 0000 0000 10 Dry 1 Feedback o 11 Drv 2 Logic Cmd 0000 0000 0000 0000 12 Dry 2 Reference o 13 Drv 2 Logie Sts 0000 0000 0000 0000 14 Orv 2 Feedback o 15 Drv 3 Logic Cmd 0000 0000 0000 0000 16 Orv 3 Reference o 17 Orv 3 Logic Sts 0000 0000 0000 0000 18 Orv 3 Feedback o N Figure 9 10 Example of Port 5 22 COMM E Adapter Fault Queue Page 3 Rockwell Automation Microsoft Rockwell Automation EN Link Up Host 4 Timeout 00 00 00 768 Host 3 Timeout 00 00 00 634 Host 2 Timeout 00 00 00 500 Host 1 Timeout 00 00 00 366 Host 0 Logon 00 00 00 247 Normal Startup 00 00 00 000 No Event No Event No Event No Event No Event No Event No Event No Event No Event No Event No Event nowy Nw S n 1 2 3 4 S 21 6 8 mar neo oe r r D wo eosooscooogoo go Appendix A Specifications Appendix A presents the specifications for the adapter Topic Page Topic Page Communications A 1 Environmental A 2 Electrical A 1 Regulatory Compliance A 2 Mechanical A 1 Communications Network Protocol EtherNet IP Data Rates 10 Mbps Full Duplex 10 Mbps Half Duplex 100 Mbps Full Duplex or 100 Mbps Half Duplex Drive Protocol DSI Data Rates 19 2 kbps Electrical Consumption Drive 350 mA at 5 VDC supplied through the drive Network None Mechanical Dimensions Height 19 mm 0 75 inches Length 86 mm 3 39 inches Width 78 5 m
26. Example Program The example program provided is for the ControlLogix but other controllers can also be used This example program enables you to e View status information from the drives such as Ready Fault At Speed and Feedback e Control the drives using various Logic Command bits Stop Start etc and Reference e Perform a single parameter read and write for each drive The example uses drive Parameter 39 Accel Time for both so you can see read the change after a write is performed Adapter Settings for the Example Program e The Operating Mode Switch SW1 on the adapter is set to the Multi Drive operation position See Chapter 2 Setting Operating Mode and Web Pages Switches e The following adapter parameters are set Parameter Value Description 22 DSI I O Cfg 4 Drives 0 4 5 drives on 1 node 24 Drv 0 Adar 1 Modbus address of Drive 0 25 Drv 1 Addr 2 Modbus address of Drive 1 26 Drv 2 Addr 3 Modbus address of Drive 2 4 5 27 Drv 3 Addr Modbus address of Drive 3 28 Drv 4 Addr Modbus address of Drive 4 The settings for these parameters must match the Parameter A104 Comm Node Addr settings in the respective drives Using Multi Drive Mode 7 7 Drive Settings for the Example Program Parameter valie Drive 0 Drive 1 Drive 2 Drive 3 Drive 4 P36 Start Source 5 5 5 5 5 P38 Speed Reference 5 5
27. FAULT PF40_Demo Data 2 7 Drive_Fault JE C PF40 Demo Logic Status PF40 AT SPEED AT SPEED FF40_Demo l Datal 2 8 Drive_At_Speed Ie 5 6 Using I O Messaging Figure 5 5 Example ControlLogix Ladder Logic Program for I O Messaging Cont This rung displays the Feedback word from the PowerFlex 40 Note that it is set in Hz and not in engineering units like PowerFlex 7 Class drives For example 300 equates to 30 0 Hz the decimal point is always implied PF40 Feedback MOV 6 Move Source PF40_Demo l Data 3 500 Dest Feedback 500 Logic Command bit control rungs are provided for display purposes only The PF40_Demo O Data 0 x bits could be used directly elsewhere in the ladder program PF40 Demo Logic Command STOP a a PF40_Demo O Data 0 0 7 J PF40 Demo Logic Command START Start Command PF40_Demo O Data 0 1 8 IC PF40 Demo Logic Command CLEAR FAULTS ClearFault_Command PF40_Demo O Data 0 3 9 J E PF40 Demo Logic Command FORWARD Forward_Command PF40_Demo O Data 0 4 10 PF40 Demo Logic Command REVERSE Forward_Command PF40_Demo O Data 0 5 11 This rung provides the Reference word to the PowerFlex 40 Note that it is set in Hz and not in engineering units like PowerFlex 7 Class drives For example 300 equates to 30 0 Hz the decimal point is always implied PF40 Demo Reference MOV 12 Move Source Reference 500 Dest PF40_Demo 0O Data 1 500
28. Figure 6 4 Message Format for a Get Attribute Single Message Message Configuration ParameterReadMessage E x Configuration Communication Tag Name ParameterReadMessaqel xi Configuration Communication Tag Path Browse xi Configuration Communication Tag irig Service Get Attribute Single E Source Element M Type Source Length 0 Bytes Code IE We coo f Hes Destination ParameterReadValue w Instance 39 Attribute 1 Hex Yonica Ip O Enable Enable Waiting Start Done Done Lenath 2 Error Code Extended Error Code I Timed Out Error Path Error Text Cancel Apply Help The following table identifies key settings for the message format Configuration Refer to Service Type 1 Get Attribute Single Read parameter data C 27 Service Code e Hex Get_Attribute_Single fears Class f Hex DSI Parameter Object C 24 Instance 39 Dec Parameter 39 Accel Time 1 C 24 Attribute 1 Hex Parameter Value C 25 Destination ParameterReadValue Controller tag for response data 1 The default setting for Service Type is Custom which enables you to enter a Service Code that is not available from the Service Type pulldown menu When you select a Service Type other than Custom from the pulldown menu an appropriate Hex value is automatically assigned to the Service Code box which grays out unavailable Using Explicit Messaging 6 7 Example Ladd
29. HIMs 22 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 Ethernet 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 Glossary G 5 T 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 IP Address A unique IP address identifies each node on an EtherNet IP network An IP address consists of 32 bits that are divided into four segments of one byte each It appears as four decimal integers separated by periods XXX XXX XXX XXX Each xxx can have a decimal value from 0 to 255 For example an IP address could be 192 168 0 1 An IP address has two parts a network ID and a host ID The class of network determines the format of the address 01 pi 15 23 31 Class A 0 Network ID Host ID 01 7 15 23 31 Class B 1 0 Network ID Host ID 012 7 15 23 31 Class C 1 1 0 Network ID
30. Instances 0 1023 in Drive 4 21504 22527 _ Not supported Instances 0 1023 in the adapter Class Attributes Attribute Access ID Rule Name 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 EtherNet IP Objects C 31 DPI Diagnostic Object Continued Instance Attributes Attribute Access ID Rule Name Data Type Description 0 Get Full All Info STRUCT of BOOL 32 Descriptor Refer to pages C 26 C 27 CONTAINER 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 UINT Divisor UINT Base INT Offset DWORD Link source of the value 0 no link STRING 16 Always zero 0 Parameter name 1 Get Set Value Various Diagnostic item value 1 A CONTAINER is a 32 bit block of data that contains the data type used by a value If signed the value is sign extended Padding is used in the CONTAINER to ensure that it is always 32 bits 2 This value is used in the formulas used to convert the value between display units and internal units Refer to Formulas for Converting on page C 27 Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single
31. Link STRUCT of Object UINT Path size Padded EPATH Path 5 Get Interface STRUCT of Configuration UDINT Adapter s IP address UDINT Adapter s subnet mask UDINT Adapter s gateway address UDINT Primary name server UDINT Secondary name server STRING Default domain name 6 Get Host Name STRING Host name when using DHCP Services Implemented for Service Code _ Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 No Yes Set_Attribute_Single C 34 EtherNet IP Objects Ethernet Link Object Class Code Hexadecimal Decimal OxF6 246 Instances The adapter supports one instance of the TCP IP Interface object Number Description 0 Class Attributes 1 Object Attributes Class Attributes Attribute Access ID Rule Data Type Description 1 UINT The revision of this object Instance Attributes Attribute Access ID Rule Name Data Type Description 1 Get Interface UDINT Speed in megabits per second Mbps Speed 2 Get Interface DWORD Bit Value Flags 0 Link status 0 inactive 1 active 1 Duplex 0 half duplex 1 full duplex 2 to 31 Reserved 3 Get Physical USINT 6 MAC address XX XX XX XX XX XX Address The first octet USINT 0 is on the left EtherNet IP Objects C 35 Ethernet Link Object Continued Instance Attributes Continued Attribute Access ID Rule Name Data Type Description 4 Get Interface STRUCT
32. 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 PCCC Programmable Controller Communications Command 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 Ping A ping is a message that is sent by a DSI 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 PowerFlex Component Class Drives The Allen Bradley PowerFlex Component Class family of drives include the PowerFlex 4 and PowerFlex 40 These drives can be used for applications ranging from 0 2 kW 0 25 HP to 7 5 kW 10 HP All PowerFlex Component Class drives implement DSI allowing those that support an internal adapter to use the 22 COMM E EtherNet IP adapter The adapter can be installed in a PowerFlex 40 drive but not in the PowerFlex 4 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 Feedback is used to monitor the speed of the drive It consists of one word of output from the adapter to the network
33. O Configuration 04 3 7 Setting a Fault Action 0 0 0 0 0 0 eee eee 3 8 Setting Web Features Access 0 000005 3 10 Resetting the Adapter 000000 3 11 Viewing the Adapter Configuration 3 12 Configuring the Scanner or Bridge Example Network 0 0 0c cece eee eee ene 4 1 Adding a Bridge or Scanner to the I O Configuration 4 2 Adding the Adapter and Drive to the I O Configuration 4 4 Saving the Configuration 00000 4 7 ii Table of Contents Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Using I O Messaging About I O Messaging 0 c eee ee eee 5 1 Understanding the I O Image 0 5 2 Using Logic Command Status 00 5 2 Using Reference Feedback 00 000 5 3 Example Ladder Logic Program 0 5 3 Using Explicit Messaging About Explicit Messaging 000000000 6 1 Formatting Explicit Messages 0 000 6 2 Performing Explicit Messages 000 6 4 About the Example Explicit Messages 6 5 Example Get Attribute Single Message 6 6 Example Set Attribute Single Message 6 8 Using Multi Drive Mode Single Mode vs Multi Drive Mode 7 1 System Wiring 0 2 eee eee 7 3 Understanding the I O Image
34. PerformParameterRead3 MSG Drive 3 parameters are accessed by adding 20480 decimal 5000 hex to the desired parameter number For example to access Parameter 39 an Instance of k E Tyre CIP Generic Message Control ParameterRDMessage3 CEN lt DNS E R PerformParameterWrite3 MSG k E Type CIP Generic Message Control ParameterWRMessage3 CEN 0 ND E R gt RET Return Using Multi Drive Mode 7 19 Figure 7 11 Drive 4 Control Routine Drive 4 Control Subroutine This section takes the data from the input image area and moves it to specific tags Logic Status bits and Feedback for use elsewhere in the ladder program Drivelnputlmage 8 0 Drive4StatusReady 0 an PP ee i Drivelnputlmage 8 1 Drive4StatusActive 4 5 Drivelnputlmage 8 3 Drive4StatusForward 2 4 E S DrivelnputImage 8 7 Drive4StatusFaulted 3 4E Drivelnputlmage 8 8 Drive4StatusAtReference 4 ISE S COP 5 Copy File Source Drivelnputlmage 9 Dest Drive4Feedback Length 1 This section takes the data from the specific tags Logic Command bits and Reference and moves them to the output image area for transmission to the scanner Drive4CommandStop DriveOutputlmage 8 0 6 qJ E Drive4CommandStart DriveOutputImage 8 1 7 Drive4CommandJog DriveOutputlmage 8 2 8 JE Drive4CommandClearFaul
35. SINT 8 bits OxC3 INT 16 bits 0xC4 DINT 32 bits OxC6 USINT 8 bits OxC7 UINT 16 bits OxCA REAL 32 bits 0xD2 WORD 16 bits 6 Get Data Size UsINT 7 Get Parameter Name SHORT_ 9 String STRING 8 Get Units String SHORT_ STRING 9 Get Help String SHORT_ Null string STRING 10 Get Minimum Value 7 3 11 Get Maximum Value _ 1 3 12 Get Default Value 1 3 13 Get Scaling Multiplier UINT 3 14 Get Scaling Divisor UINT 8 15 Get Scaling Base UINT 8 16 Get Scaling Offset UINT 3 17 Get Multiplier Link UINT 3 18 Get Divisor Link UINT 3 19 Get Base Link UINT 3 20 Get _ Offset Link UINT 3 21 Get Decimal Precision USINT 3 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 CIP Common specification for a description of the link path C 12 EtherNet IP Objects Parameter Object Continued Services Implemented for Service Code Class Instance Service Name 0x01 Yes Yes Get_Attribute_All 0x05 Yes No Reset Ox0E Yes Yes Get_Attribute_Single 0x10 No Yes Set_Attribute_Single 0x4B No Yes Get_Enum_String Parameter Group Object Class Code Hexadecimal Decimal 0x10 16 Instances EtherNet IP Objects C 13 The number of instances depends
36. Status Feedback uses 2 words The additional 2 words for the inputs are for ENBT overhead Table 4 A Input Output Size Configurations Input Output Logic Command Reference Parameter 22 Parameter 1 Size Size _ Status Feedback DSII O Cfg Mode 4 2 Vv Vv Drive 0 Single 6 4 Y Yv Drives 0 1 8 6 Yv Vv Drives 0 2 T 10 J8 v v Drives 0 3 Multi Drive 12 10 Y Y Drives 0 4 TIP For instructions on configuring the I O for the adapter Parameter 22 DSI I O Cfg see Chapter 3 Configuring the Adapter 5 Click Next gt to display the next page Figure 4 9 Module Properties Dialog Box Page 2 Requested Packet Interval RPI homs 1 0 3200 0 ms I Inhibit Module I Major Fault On Controller If Connection Fails While in Run Mode Module Fault Cancel Finish gt gt Help 6 In the Requested Packet Interval RPI box set the value to 5 0 milliseconds or greater This value determines the maximum interval that a controller should use to move data to or from the adapter To conserve bandwidth use higher values for communicating with low priority devices 7 Click Finish gt gt The new node PF40_Demo in this example now appears under the scanner or bridge 1756 ENBT in this example in the I O Configuration folder If you double click the Data Types folder and then double click on the Module Defined folder you will see that module defined data types an
37. Up position Sets the adapter for Multi Drive operation mode using up to 5 UP Open 1 different drives DSI peripherals 22 HIM 22 SCM etc do not operate with the adapter in this mode 2 Set the Web Pages Switch SW2 to enable or disable the adapter web pages see Figure 2 1 and setting descriptions below By default the adapter web pages are disabled For complete details on the adapter web pages see Chapter 9 Viewing the Adapter s Web Pages SW2 Setting Description Down position Disables the adapter web pages default setting DN Closed 0 Up position Enables the adapter web pages UP Open 1 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 PowerFlex drive and then verify power has been discharged before installing or removing an adapter ATTENTION Risk of injury or death exists The PowerFlex drive 1 Remove power from the drive 2 Use static control precautions 3 Remove the drive cover 4 Connect an Ethernet cable to the EtherNet IP network See Figure 2 2 for an example of wiring to an EtherNet IP network Figure 2 2 Connecting the Ethernet Cable to the Network ControlLogix with PowerFlex 40 PowerFlex 40 Router optional EtherNet IP Bridge with 22 CO
38. Using Multi Drive Mode for more information 2 Ifa drive is enabled configure the parameters in the drive to accept the Logic Command and Reference from the adapter For example set Parameters 36 Start Source and 38 Speed Reference in a PowerFlex 40 drive to Comm Port 3 Reset the adapter See Resetting the Adapter section in this chapter 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 18 Comm FIt Action and a different response to an idle scanner using Parameter 19 Idle Fit Action ATTENTION Risk of injury or equipment damage exists Parameters 18 Comm FIt Action and 19 Idle Flt Action let you determine the action of the adapter and connected drive if communications are disrupted or the scanner is idle By default these parameters fault the drive You can set these parameters so that the drive continues to run Precautions should be taken to ensure that the settings of these parameters do not create a 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 Configuring the Adapter 3 9 To change the fault action e Set the values o
39. Zero data results in the drive receiving zero as values for Logic Command and Reference data If the drive was running and using the Reference from the adapter it will stay running but at zero Reference A Access Control parameter B 5 adapter adding to an I O configuration 4 4 applying power 2 6 commissioning 2 1 compatible products 1 3 components 1 1 definition G 1 features 1 2 grounding 2 4 illustration 1 1 installing 2 1 to 2 6 IP address 3 3 3 5 mounting 2 4 to 2 5 parameters B 1 to B 5 resetting 3 11 Single Multi Drive mode of operation 7 1 specifications A 1 switches 1 1 tools to configure 3 1 troubleshooting 8 1 to 8 10 web pages 9 1 applying power to the adapter 2 6 Assembly object C 4 attentions 1 4 baud rate see data rate bit definitions for Logic Command Status word D 1 BOOTP Bootstrap Protocol definition G 1 disabling 3 5 free server application G 1 using 3 3 BOOTP parameter B 1 Index bridge adding to an I O configuration 4 2 definition G 1 example 4 1 C cables DSI Internal Interface 2 4 EtherNet 2 3 catalog number 1 1 CIP G 1 classes of IP addresses G 5 Comm Fit Action parameter B 3 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 ControlFLASH G 1 controller definition G 1 Explicit Messages 6 4 ControlLogix exampl
40. by setting parameters For details refer to Setting the IP Address Subnet Mask and Gateway Address in this chapter To configure the adapter using BOOTP Server 1 On the label of the adapter locate and note the hardware address of the adapter 2 On a computer connected to the EtherNet IP network start the BOOTP software The BOOTP Server window appears Figure 3 1 Devices on the network issuing BOOTP requests appear in the BOOTP Request History list Figure 3 1 BOOTP Server Window eg BOOTP Server 2 1 BE Fie Tools Help m BOOTP Request History IP Address Gateway 3 00 00 BC 08 60 09 13 30 51 00 00 BC 08 60 09 Ethemet Address MAC _IP Address Subnet Mask r Status Unable to service BOOTP request from 00 00 BC 08 60 09 No entry in Relation List 3 In the BOOTP Request History list double click the hardware address Ethernet MAC address of the adapter The New Entry dialog box appears Figure 3 2 3 4 Configuring the Adapter Figure 3 2 New Entry Dialog Box Ethemet Address MAC 00 00 BC 08 60 09 IF Address 131 200 130 178 Subnet Mask 255 255 254 0 Gateway 131 200 130 1 Cea 4 Edit the following Box 7 Type IP Address A unique IP address for the adapter Subnet Mask The subnet mask for the adapter s network Gateway The IP address of the gateway device on the adapter s network 1 For definitions refer to
41. in Drive 0 16384 17407 Instances 0 1023 in the adapter Instances 0 1023 in the adapter 17408 18431 Instances 0 1023 in the adapter Instances 0 1023 in Drive 1 18432 19455 Instances 0 1023 in the slave Instances 0 1023 in Drive 2 19456 20479 Not supported Instances 0 1023 in Drive 3 20480 21503 Not supported Instances 0 1023 in Drive 4 21504 22527 _ Not supported Instances 0 1023 in the adapter Class Attributes Attribute Access ID Rule Name Data Type Description 0 Get Number of WORD Number of parameters in the device Instances 1 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 are Parameter 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
42. in the drive Instances 0 1023 in Drive 0 18432 19455 Not supported Instances 0 1023 in Drive 1 19456 20479 Not supported Instances 0 1023 in Drive 2 20480 21503 Not supported Instances 0 1023 in Drive 3 21504 22527 Not supported Instances 0 1023 in Drive 4 C 10 EtherNet IP Objects Parameter Object Continued Class Attributes Attribute Access ID Rule Name Data Type Description 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 EtherNet IP Objects C 11 Parameter Object Continued Instance Attributes Attribute Access ID Rule Name Data Type Description 1 g Parameter Value 3 2 Get Link Path Size USINT 0 No link specified n The size of Attribute 3 in bytes 3 Get Link Path 4 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 OxC2
43. 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 Drive Group n Attributes 1 n 1 Adapter Group Attributes 1 n represents the number of parameter groups in the drive Class Attributes Attribute Access Data ID Rule Name Type Description 1 Get Parameter group UINT 1 version 2 Get Max Instance UINT Total number of groups 8 Set 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 14 EtherNet IP Objects Parameter Group Object Continued Instance Attributes Attribute Access ID Rule Name Data Type Description 1 Get Group Name String SHORT_ Group name STRING 2 Get Number of Members UINT Number of parameters in in Group group 3 Get 1st Parameter Number UINT 1 in Group 4 Get 2nd Parameter UINT 1 Number in Group n Get UINT 1 1 Value varies based on group instance Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x01 Yes Yes Get_Attributes_All EtherNet IP Objects C 15 PCCC Object Class Code Hexadecimal Decimal 0x67 103
44. scanner on the network the scanner is in idle program mode the scanner is faulted or the adapter is not mapped to the scanner e The value of N42 3 is set to a non zero value Write Read N44 0 Drive 0 Logic Command Drive 0 Logic Status N44 Unused Unused N44 2 Drive 0 Reference Drive 0 Feedback N44 3 Drive 1 Logic Command Drive 1 Logic Status N44 4 Drive 1 Reference Drive 1 Feedback N44 5 Drive 2 Logic Command Drive 2 Logic Status N44 6 Drive 2 Reference Drive 2 Feedback N44 7 Drive 3 Logic Command Drive 3 Logic Status N44 8 Drive 3 Reference Drive 3 Feedback N44 9 Drive 4 Logic Command Drive 4 Logic Status N44 10 Drive 4 Reference Drive 4 Feedback C 20 EtherNet IP Objects PCCC Object Continued N Files Continued Important If your controller or HMI platform supports CIP messaging use the CIP Parameter object to get and set parameters N File Description N10 N18 These N files let you read and write parameter values in the drive and the adapter Single Drive Mode Multi Drive Mode N10 0 Number of parameters in the drive Number of parameters in Drive 0 N10 1 999 Drive parameters 1 999 Drive 0 parameters 1 999 N11 0 999 Drive parameters 1000 1999 Drive 0 parameters 1000 1999 N12 0 999 Drive parameters 2000 2999 Drive 0 parameters 2000 2999 N13 0 Number of parameters in this Number of parameters in this adapter adapter N13 1 999 Parameters 1
45. 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 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 27 8 Do NOT continually write parameter data to NVS Refer to the attention on page 6 1 C 26 EtherNet IP 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 1 Data Type Bit 2 010 BYTE 8 bit integer 011 WORD 16 bit integer 100 DWORD 32 bit integer 5 Data Type Bit 3 101 TCHAR amp 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 E
46. the Glossary 5 Click OK to apply the settings The adapter appears in the Relation List with the new settings Figure 3 3 Figure 3 3 BOOTP Server Window with an Adapter in the Relation List Rg BOOTP Server SE File Tools Help BOOTP Request History Ethemet Address MAC _IP Address _Subnet Mask _ Gateway 00 00 BC 08 60 09 131 200 130 178 255 255 254 0 131 200 130 1 13 30 59 00 00 BC 08 60 09 13 30 54 00 00 BC 08 60 09 13 30 51 00 00 BC 08 60 09 i m Relation List Gateway EE Subnet Mask 255 255 294 0 New Ethemet Addres aoe 00 00 BC 0 s MAC _IP Address 09 131 200 130 178 Enable BOOTP Disable BOOTP Force IP Renew D f Status Sent 131 200 142 93 to Ethernet address 00 00 BC 08 60 08 6 To assign this configuration to the adapter permanently click Disable BOOTP When power is cycled on the adapter it will use the configuration you assigned it and not issue new BOOTP requests TIP To enable BOOTP for an adapter that has had BOOTP disabled first select the adapter in the Relation List then click Enable BOOTP and finally reset the adapter 7 To save the Relation List select File gt Save Configuring the Adapter 3 5 Setting the IP Address Subnet Mask and Gateway Address By default the adapter is configured so that you set its IP address subnet mask and gateway address using a BOOTP server If you want to set these functions using t
47. the adapter s Home Page Figure 9 1 or Figure 9 2 Process Display link only Single mode Process Display folder only Multi Drive mode Clck this link to view the Host s Process Display pop up window Figure 9 3 showing dynamic process information updates every 3 seconds Click this folder to expand and view the links for all connected hosts Host 0 X Then click a respective host s link to view its Process Display pop up window Figure 9 3 showing dynamic process information updates every 3 seconds TCP IP configuration link Click this link to view the adapter s TCP IP Configuration web page showing information about the TCP IP configuration such as the adapter s IP address and the number of packets being sent Figure 9 4 shows an example TCP IP Configuration web page Configure e mail notification link Click this link to view the adapter s Configure E mail Notification web page Figure 9 5 for configuring the adapter to send automatic e mail messages See Figure 9 6 for an example e mail message Configure process display link Click this link to view the adapter s Configure Process Display web page Figure 9 7 for configuring the parameters whose values you want shown in the Process status field on the Home Page static values and the Process Display pop up window for the host dynamic values Browse DSI devices folder Click this folder to expand and view the Port f
48. x Configuration Communication Tag Path MutiDiveDemo o Browse Configuration Communication Tag Message Iype pega Set Attribute Single Source Element ParameteRValue0 z Source Length f2 Bytes iat fi e Class ji Hod Desnim E z Instance 17447 Attribute Hex naa oO Erro Erro O Enable O Enable Waking O Stat O Done Done Length O Error Code Extended Error Code I Timed Ou Error Path Enor Text LK ea e e 7 22 Using Multi Drive Mode The Class Code is f for the Parameter Object and the Instance Attribute is 1 to select retrieving the parameter value See Appendix C Parameter Object for more information The Instance value is 17447 to access Parameter 39 Accel Time 1 The Explicit messages for Drive 1 to Drive 4 are identical except for the Instance values Drive 1 Instance 18471 18432 39 Drive 2 Instance 19495 19456 39 Drive 3 Instance 20519 20480 39 Drive 4 Instance 21543 21504 39 Additional Information e When the PowerFlex 40 with the 22 COMM E Drive 0 is powered up all configured daisy chained drives must be present before an I O connection is allowed on EtherNet IP i e before the drives can be controlled e If the PowerFlex 40 with the 22 COMM E adapter Drive 0 is powered down communications with the four daisy chained drives Drive 1 to Drive 4 are disrupted and the drives will take their corresponding Comm Loss A
49. 00 000000 Regulatory Compliance 0 000000 Adapter Parameters About Parameter Numbers 00 00000 nanana Parameter Tist eorne eo a dba bebe boa ales Bd Se EtherNet IP Objects Identity Object cassie teh Sid ld alleles dips tin ace dates Gaeta Assembly Object sos sushia e ee eee Resister Objecto enoe a de cre aans ae leah deuacal as Ba seers Parameter Objecte hienn a he Se ie aa ae ES Parameter Group Object 0 000 000 0000 PECCO Object atda wlddden ete eet ee DPE Device Object aja ce eee ots ee Lr DPI Parameter Object 0 0 0 0 0 eee eee DPI Fault Object recua Seated Ta die aes DPI Diagnostic Object 0 2 e eee ee eee TCP IP Interface Object nen ii ies Ethernet Link Object 000000000000 Logic Command Status Words PowerFlex 4 and PowerFlex 40 Drives 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 EtherNet IP EtherNet IP Planning and Installation Manual ENET INOO1 EtherNet IP Performance and Application Guide ENET APO01 DriveExplorer http www ab com drives driveexplorer and DriveExplorer Online Help installed with the software DriveTools SP http www ab com drives d
50. 40 with the 22 COMM E adapter is powered down then communications with the daisy chained drives is disrupted and the drives will take the appropriate communications loss action set in each drive e Communications throughput to the daisy chained drives will be slower than if each drive was a separate node on EtherNet IP Single mode This is because the 22 COMM E adapter must take the EtherNet IP data for the other drives and sequentially send the respective data to each drive over RS 485 The approximate additional throughput time for Logic Command Reference to be transmitted and received by each drive is Drive versus Single Mode S PowerFlex 40 with 22 COMM E 0 ms PowerFlex 40 with 22 COMM E plus 1 drive 24 ms PowerFlex 40 with 22 COMM E plus 2 drives 48 ms PowerFlex 40 with 22 COMM E plus 3 drives 72 ms PowerFlex 40 with 22 COMM E plus 4 drives 96 ms Using Multi Drive Mode 7 3 e Since the RS 485 ports are used for daisy chaining the drives there is no connection for a peripheral device such as a HIM The AK U0 RJ45 SC1 DSI Splitter cable cannot be used to add a second connection for a peripheral device System Wiring To daisy chain the drives off the PowerFlex 40 with the 22 COMM E adapter Drive 0 the AK U0 RJ45 TB2P terminal block connector Figure 7 3 can be used for easy installation Figure 7 3 AK U0 RJ45 TB2P Terminal Block Connector The wiring diagram for using AK U0 RJ45 TB2P terminal block con
51. 5 5 5 A103 Comm Data Rate 4 4 4 4 4 A104 Comm Node Adar 1 2 3 4 5 A105 Comm Loss Action 0 0 0 0 0 A106 Comm Loss Time 5 5 5 5 5 A107 Comm Format 0 0 0 0 0 1 The settings for these parameters must match the respective parameter settings in the adapter Parameter 17 Drv 0 Addr through Parameter 21 Drv 4 Addr ControlLogix Example The following common Tags are used Tag Name Type Description MultiDrive_Demo AB 1756_E MultiDrive_Demo O AB 1756_E 1756 ENBT I O MultiDrive Demo C AB 1756_E Drive Input Image INT 10 Input Image Table Drive Output Image _ INT 10 Output Image Table The following Tags are used for Drive 0 Tag Name Type Description Drive 0 Command Stop BOOL Logic Command bit 0 STOP Drive 0 Command Start BOOL Logic Command bit 1 START Drive 0 Command Jog BOOL Logic Command bit 2 JOG Drive 0 Command Clear Faults BOOL Logic Command bit 3 CLEAR FAULTS Drive 0 Command Forward BOOL Logic Command bit 4 FORWARD Drive 0 Reference INT Speed Reference Drive 0 Status Ready BOOL Logic Status bit 0 READY Drive 0 Status Active BOOL Logic Status bit 1 ACTIVE Drive 0 Status Forward BOOL Logic Status bit 3 FORWARD Drive 0 Status Faulted BOOL Logic Status bit 7 FAULT Drive 0 Status At Reference BOOL Logic Status bit 8 AT SPEED Drive 0 Feedback INT Speed Feedback Perform Parameter Read
52. 5 fo ew Name Input s7 74 Status Offline 3 Edit the following information about the adapter Box Type Name A name to identify the adapter and drive Comm Format Data INT This setting formats the data in 16 bit words The IP address of the adapter IP Address 4 Under Connection Parameters edit the following Box Assembly Instance Size Input 1 This value is The value will vary based on your application required setting of Parameter 22 DSI I O Cfg It will contain 2 additional words for ENBT overhead Refer to Table 4 A on page 4 6 Output 2 This value is The value will vary based on your application required setting of Parameter 22 DSI I O Cfg Refer to Table 4 A on page 4 6 Configuration 6 This value is 0 This value is required required Type the number of bytes that are required for your I O in the Input Size and Output Size boxes The size will depend on the I O that you enabled in the adapter This information can be found in Parameter 22 DSI I O Cfg in the adapter Table 4 A shows common configuration Input Output sizes In our example we typed 4 in the Input Size and Output Size boxes because the Operating Mode Switch on the adapter is set to Single default and Parameter 22 DSI I O Cfg is set to Drive 0 only one drive being connected Logic Command Reference uses 2 4 6 Configuring the Scanner or Bridge words and Logic
53. ARRAY of Data to be transferred BITS 1 The access rule of Set is optional if attr access rule is Get ibute 2 Direction 1 If Direction 0 the Important Setting a Register object attribute can be done only when the Control Timeout class attribute 100 has been set to a non zero value Implemented for Service Code _ Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single EtherNet IP Objects C 9 Parameter Object Class Code Hexadecimal Decimal 0x0F 15 Instances Single Drive Mode The number of instances is as shown below Instance Description 0 Class 1 Drive Parameter 1 T n Drive Parameter n n 1 Adapter Parameter 1 T t n m Adapter Parameter m 1 n represents the number of parameters in the drive 2 m represents the number of parameters in the adapter Instances Multi Drive Mode The number of instances is as shown below Instance Description 0 Class 1 Adapter Parameter 1 t t m Adapter Parameter m 1 1 m represents the number of parameters in the adapter In addition the parameters for the other DSI devices can be accessed using the instance offset encoding shown in the table below Instances Dec 16384 17407 Single Drive Mode Instances 0 1023 in the adapter Multi Drive Mode Instances 0 1023 in the adapter 17408 18431 Instances 0 1023
54. Allen Bradley EtherNet IP Adapter 22 COMMN E FRN 1 xxx User Manual Automation Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment Safety Guidelines for the Application Installation and Maintenance of Solid State Controls Publication SGI 1 1 available from your local Rockwell Automation Sales Office or online at http Avww ab com manuals gi 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 w
55. Corrected the values in the Input Size and Output Size columns in Table 4 A 4 6 S ii Summary of Changes Preface Chapter 1 Chapter 2 Chapter 3 Chapter 4 Table of Contents About This Manual Related Documentation 000 c eee eee eee P 1 Conventions Used in this Manual P 2 Rockwell Automation Support 0004 P 2 Getting Started COMPONENTS dain ihe arar der ls Be lope eaaa ea Aa 1 1 BG atures EE EEE ned alt Seo E E eras 1 2 Compatible Products 0 00 e eee ee eee 1 3 Required Equipment 0 00000 e eee eee 1 3 Safety Precautions i kie e 0 00 c eee eee eee 1 4 Quick Start oc sce ceases a ohne ine cb a ee eda 1 5 Modes of Operation 0 0 e cee eee eee 1 6 Installing the Adapter Preparing for an Installation 2 0000 2 1 Setting Operating Mode and Web Pages Switches 2 1 Connecting the Adapter to the Network 2 3 Connecting the Adapter to the Drive 2 4 Applying Power 0 0 cece eee eee eee eee 2 6 Commissioning the Adapter 0000 2 6 Configuring the Adapter Configuration Tools 0 0 0 cee eee eee eee 3 1 Using the PowerFlex 4 Class HIM 3 2 Using BOOTP oyna tia eid oO eee fe ok 3 3 Setting the IP Address Subnet Mask and Gateway Address 3 5 Setting the Data Rate 2 2 eee eee 3 7 Setting the I
56. Cyrillic 6 ISO 8859 6 Arabic 7 ISO 8859 7 Greek 8 ISO 8859 8 Hebrew 9 ISO 8859 9 Turkish 10 ISO 8859 10 Nordic 255 ISO 10646 Unicode 15 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 Revision STRUCT of BYTE Major Firmware Release BYTE Minor Firmware Release 18 Get Serial Number DWORD Value between 0x00 and OxFFFFFFFF EtherNet IP Objects C 23 DPI Device Object Continued Instance Attributes Attribute Access ID Rule Name Data Type Description 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 Component BYTE Hardware Change Number 8 Get Component DWORD Value between 0x00 and Serial Number OxFFFFFFFF Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single C 24 EtherNet IP 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 Dec 0 16383 Single Drive Mode Instances 0 16383 in the drive Multi Drive Mode Instances 0 16383
57. Host ID The number of devices on your EtherNet IP network will vary depending on the number of bytes that are used for the network address In many cases you are given a network with a Class C address in which the first three bytes contain the network address subnet mask 255 255 255 0 This leaves 8 bits or 256 addresses on your network Because two addresses are reserved for special uses 0 is an address for the network usually used by the router and 255 is an address for broadcast messages to all network devices you have 254 addresses to use on a Class C address block To ensure that each device on the Internet has a unique address contact your network administrator or Internet Service Provider for unique fixed IP addresses You can then set the unique IP address for the adapter by using a BOOTP server or by manually configuring parameters in the adapter The adapter reads the values of these parameters only at power up 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 word of input to the adapter from the network The definitions of the bits in this word depend on the drive The Logic Status is used to monitor the PowerFlex drive for example operating state motor direction It consists of one 16 bit word of output from the adapter to the network The definitions of the bits in this word depend on the drive
58. Important Clicking the browser s Refresh button always re displays the Home Page even while viewing another adapter web page Figure 9 1 Adapter Web Home Page Example Single Mode J htt 10 91 97 59 Micrasoft Internet Explorer provided by Rockwell Automation Rockwell Automation Revision 1 002 IP Address 10 91 97 59 Ethernet Address MAC 00 00 8C 08 60 08 Serial Number 0x12345678 Status Operational 1 0 Connection Status a No connection Host Powerflex 40 1P 110V SOHP Revision 1 007 Status Stopped Commanded Girection Reverse Rotation direction Reverse Output Freq 0 0 He Process status Output Current 0 00 A DC Bus Voltage 312 7 V Viewing the Adapter s Web Pages 9 3 Figure 9 2 Adapter Web Home Page Example Multi Drive mode Rockwell Automation Microsoft Internet Explorer provided by Rockwell Automation E joj xj Fe Edt vew Favorkes Tods Heb Lis lcutemce uns Efrem windows e Back gt GA A wh Faeres Gettory De 3 w a Address heto t0 91 97 59 z 2 22 COMM E EtherNet IP Adapter peire Home Home Gil Process display Adapter 22 COMM E EtherNet IP Host 0 PowerFle Host 1 Not Avail Host 2 Not Avail IP Address 10 91 97 59 Host 3 Not Avail D Host 4 Not Avail TCP IP configuravon iB Configure mail not configure process di 1 0 Connection Status No connection Gi Browse DSI devices Host 0 PowerFlex 40 1P 110V 50HP onli
59. Input 1756 14161 16 Point 79V 132V AC Isolated Input 17564148D 8 Point 79V 132V AC Diagnostic Input 17564816 16 Point 10V 31 2V DC Input 17561816D 16 Point 10V 30 DC Diagnostic Input 11756 IB161 16 Point 10V 30 DC Isolated Input Sink Source 17564832 32 Point 10V 31 2V DC Input z Show Vendor an z M Other IM Specialty 1 0 Select All F Analog F Digtal I Communication I Motion I Controler Ceara O a m e Configuring the Scanner or Bridge 4 3 3 In the list select the EtherNet IP scanner or bridge used by your controller and then select the major revision of its firmware in the Major Revision box In this example Figure 4 3 we use a 1756 ENBT EtherNet IP Bridge Series A so the 1756 ENBT A option is selected 4 Click OK The Module Properties dialog box Figure 4 4 appears Figure 4 4 Module Properties Dialog Box Page 1 Module Properties Local 1756 ENBT A 2 1 x Type 1756 ENBT A 1756 10 100 Mbps Ethernet Bridge Twisted Pair Media Vendor Allen Bradley Parent Local Name My_EtherNet_IP Description IPAddress 131 200 130 174 E C Host Name Slot 1 Revision i fi Electronic Keying Compatible Module M Cancel T Next gt Help 5 Edit the following Box Type Name A name to identify the scanner or bridge Slot The slot of the EtherNet IP scanner or bridge in the rack Revision The minor revision of the firmware in th
60. Instances Supports Instance 1 Class Attributes Not supported Instance Attributes Not supported Services Implemented for Service Code Class Instance Service Name 0x4B No Yes Execute_PCCC 0x4C No Yes Execute_DH Message Structure for Execute_PCCC Requst Response Data Data Name _ Type Description Name Type Description Length USINT Length of Length USINT Length of requestor ID requestor ID Vendor UINT Vendor number of Vendor UINT Vendor number of requestor requestor Serial UDINT ASA serial number Serial UDINT ASA serial number Number of requestor Number of 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 16 EtherNet IP Objects PCCC Object Continued Message Structure for Execute_PCCC Continued Request Response Data Data Name Type Description Name Type Description STS USINT J0 STS USINT Status byte TNSW_ UINT Transport word TNSW UINT Transport word Same value as the request FNC USINT Function code Not EXT_STS USINT Extended status used for all CMD s Not used for all CMD s PCCC_ ARRAY of CMD FNC specific PCCC___ ARRAY of CMD FNC specific params USINT parameters results USINT _ result data Message Structure for Execute_DH Request Response Data
61. Logic Command and Reference for Drive 0 Out 32 4 Logic Status and Feedback for Drive 0 In 32 5 Logic Command and Reference for Drive 1 Out 32 6 Logic Status and Feedback for Drive 1 In 32 7 Logic Command and Reference for Drive 2 Out 32 8 Logic Status and Feedback for Drive 2 In 32 9 Logic Command and Reference for Drive 3 Out 32 10 Logic Status and Feedback for Drive 3 In 82 11 Logic Command and Reference for Drive 4 Out 32 12 Logic Status and Feedback for Drive 4 In 32 13 Logic Command for all drives mask and match register Out Varies 14 Logic Command for Drive 0 mask and match register Out 132 15 Logic Command for Drive 1 mask and match register Out 32 16 Logic Command for Drive 2 mask and match register g Out 32 17 Logic Command for Drive 3 mask and match register Out 32 18 Logic Command for Drive 4 mask and match register Out 32 19 Logic Command for Drive 0 Out 16 20 Logic Status for Drive 0 In 16 21 Reference for Drive 0 Out 16 22 Feedback for Drive 0 In 16 23 Logic Command for Drive 1 Out 16 24 Logic Status for Drive 1 In 16 25 Reference for Drive 1 Out 16 26 Feedback for Drive 1 In 16 1 The size for this Register Object instance is 32 bits per drive For example if the adapter is operating in Multi Drive mode and is configured with Drives 0 through 4 then the size is 160 bits The structure for this Register Object instance is a Mask word followed by a Command word for each d
62. MM E with 22 COMM E EtherNet IP Switch 5 Route the Ethernet cable through the bottom of the PowerFlex drive Figure 2 3 and insert the cable s plug into the mating adapter receptacle 2 4 Installing the Adapter Connecting the Adapter to the Drive 1 Remove power from the drive 2 Use static control precautions 3 Mount the adapter on the required special drive cover ordered separately see Figure 2 4 for part numbers e C Frame Use the adapter screw to secure the adapter to the cover e B Frame Disregard the screw and snap the adapter in place Important For C Frame drives tighten the adapter s lower left screw to ground the adapter see Figure 2 4 For B Frame drives install the special drive cover onto the drive using both cover fasteners to ground the adapter 4 Connect the Internal Interface cable to the DSI port on the drive and then to the mating DSI connector on the adapter Figure 2 3 DSI Ports and Internal Interface Cables EtherNet IP Adapter C0000 D oog ro m o A eee rs Oe or food poooveaea G PALI SA2 TL3 UTI WT2 WT3 gage e Ma l o BR BR O o PowerFlex 40 Drive A C Frame shown with cover removed Back of Req
63. NUM 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 9000 0 14 Decimal Place Bit 2 7 15 Decimal Place Bit 3 16 Extended Right bit is least significant bit 16 Data Type Bit 1 000 Reserved 17 Extended 001 DWORD used as an array of Boolean Data Type Bit 2 010 Reserved 18 Extended a siete Data Type Bit 2 evel Ve 101 Reserved 110 Reserved 111 Reserved EtherNet IP Objects C 27 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 Divi
64. W1 is set for Multi Drive Reset Required Yes operation Important The settings for these parameters must match the Comm Node Addr parameter settings in the respective drives Each setting must also be unique no duplicate node address 29 Web Enable Default 0 Disabled Displays the setting of the Web Pages Switch Values 0 Disabled SW2 on the adapter when the adapter was last 1 Enabled reset Type Read Only 30 Web Features Default XXXX XX1 1 Sets the access to the Web interface and Bit Values 0 Disabled Web configurable features 1 Enabled Type Read Write Reset Required No Bt 76543210 Bit Definitions Default kIx x1x x x 1 1 gt 0 E mail Configuration L gt 1 Process Display Configuration gt 2 7 Not used B 6 Adapter Parameters Notes Appendix C EtherNet IP Objects Appendix C provides information about the EtherNet IP 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 Class Code Class Code Object Hex Dec Page Object Hex Dec Page Identity Object 0x01 1 C 2 DPI Device Object 0x92 146 C 21 Assembly Object 0x04 4 C 4 DPI Parameter Object 0x93 147 C 24 Register Object 0x07 7 C 6 DPI Fault Object 0x97 151 C 28 Parameter Object
65. WORD Timer value 0 Timer not supported BOOL 16 BOOL 0 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time BOOL 2 15 Not used 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 BOOLY0 0 invalid data 1 valid data BOOL 1 0 elapsed time 1 real time BOOL 2 15 Not used Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single C 30 EtherNet IP 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 Dec 0 16383 Single Drive Mode Multi Drive Mode Instances 0 16383 in Drive 0 Instances 0 16383 in the drive 16384 17407 Instances 0 1023 in the adapter Instances 0 1023 in the adapter 17408 18431 Instances 0 1023 in the adapter Instances 0 1023 in Drive 1 18432 19455 Instances 0 1023 in the slave Instances 0 1023 in Drive 2 19456 20479 Not supported Instances 0 1023 in Drive 3 20480 21503 Not supported
66. _ CDND L CER gt RET Return Using Multi Drive Mode 7 17 Figure 7 10 Drive 3 Control Routine Drive 3 Control Subroutine This section takes the data from the input image area and moves it to specific tags Logic Status bits and Feedback for use elsewhere in the ladder program DrivelnputImage 6 0 Drive3StatusReady 0 gt DrivelnputImage 6 1 Drive3StatusActive 1 J C gt DrivelnputImage 6 3 Drive3StatusForward 2 J DrivelnputImage 6 7 Drive3StatusFaulted 3 J C DrivelnputImage 6 8 Drive3StatusAtReference 4 COP 5 Copy File Source Drivelnputlmage 7 Dest Drive3Feedback Length 1 This section takes the data from specific tags Logic Command bits and Reference and moves them to the output image area for transmission to the scanner Drive3CommandStop DriveOutputlmage 6 0 6 IE C gt Drive3CommandStart DriveOutputlmage 6 1 7 Drive3CommandJog DriveOutputlmage 6 2 8 JE gt Drive3CommandClearFaults DriveOutputlmage 6 3 9 Drive3CommandForward DriveOutputlmage 6 4 10 gt Drive3CommandForward DriveOutputlmage 6 5 11 J gt COP 12 Copy File Source Drive3Reference Dest DriveOutputImage 7 Length 1 7 18 Using Multi Drive Mode Figure 7 10 13 14 15 End Drive 3 Control Routine Continued Explicit Messaging Example 20519 20480 39 is used
67. ag Name 7 v P Tag Name Description PF40_Demo C AB ETHERNET_ E PF40 Demo AB ETHERNET_ PF40_Demo Data INT 4 E H PF40_Demo l Data 0 INT ENBT Overhead E F PF40_Demo l Data 1 INT ENBT Overhead PF40_Demail Datal2 INT PF40 Logic Status PF40_Demoil Data 3 INT PF40 Feedback E PF40_Demo 0 AB ETHERNET gt EPF Demo 0 Data INT 2 E H PF40_Demo 0 Data 0 INT PF40 Logic Command E ELPF40_Demo 0 Data 1 INT PF40 Demo Reference Program Tags In addition to the Controller tags that are automatically created you need to create the following Program tags for this example program Figure 5 4 Program Tags for Example ControlLogix Ladder Logic Program Scope MainProgram 7 Show Show All 7 Sort Tag Name gt Tag Name Description gt BOOL o Drive_Active BOOL PF40 ACTIVE Drive_At_Speed BOOL PF40 AT SPEED Drive_Fault BOOL PF40 FAULT Drive_Forward BOOL PF40 FORWARD Drive_Ready BOOL PF40 READY Drive_Reverse BOOL PF40 REVERSE Feedback INT PF40 Feedback Forward_Command BOOL PerformParameterRead BOOL PerformParameterwrite BOOL Reference INT Start_Command BOOL Stop_Command BOOL Using I O Messaging 5 5 Logic Command Status Words This example uses the Logic Comm
68. ail notification when all faults except specific faults occur click this radio button and type the fault numbers in the box Viewing the Adapter s Web Pages 9 9 2 Click the desired Adapter Faults check boxes you want to occur that will send e mail notification 3 Type the following information in their respective boxes Information Description IP address of Type in the address of the mail server that will be used to deliver the e mail messages E mail addresses to notify Type in addresses to where you want e mail messages to be sent Multiple addresses can be used but they must be separated by commas comma delimited Subject of e mail message Type in the desired subject text for the e mail message 4 Click Save changes Important It is recommended that Parameter 30 Web Features E mail Cfg Bit 0 value be set to 0 Disabled after E mail Notification has been configured Otherwise the configuration can be changed anytime the web page is accessed with a browser An example of an e mail message automatically sent by the adapter in response to selected events is shown below Figure 9 6 Example of E mail Message Sent by Adapter F 22 COMM E 10 91 37 59 on 15 2003 0 25 10 AM jdoe example com t Noce hom example drive Seq The DSI host PoverFlex 40 1P 110V SOHP at 10 91 97 59 reported fault 4 UnderVoltede This is an automated aessage from the 22 COMM E Ethe
69. al e Explicit Messaging Refer to Chapter 6 Using Explicit Messaging and e RSNetWorx for EtherNet IP_ Appendix C EtherNet IP Objects for details Parameter List Parameter No Name and Description Details 01 Mode Default 0 Single Drive Displays the Single or Multi Drive operating mode Values 0 Single Drive selected with the Operating Mode Switch SW1 1 Multiple Drive on the adapter Type Read Only 02 BOOTP Default 1 Enabled Configures the adapter to use BOOTP so that you Values 0 Disabled can set its IP address subnet mask and gateway 1 Enabled address with a BOOTP server Type Read Write Reset Required Yes B 2 Adapter Parameters Parameter No Name and Description IP Addr Cfg 1 IP Addr Cfg 2 IP Addr Cfg 3 IP Addr Cfg 4 Sets the bytes in the IP address 255 255 255 255 IP Addr Cfg 1 IP Addr Cfg 2 IP Addr Cfg 3 IP Addr Cfg 4 Important To set the IP address using these parameters Parameter 02 BOOTP must be set to Disabled Subnet Cfg 1 Subnet Cfg 2 Subnet Cfg 3 Subnet Cfg 4 Sets the bytes of the subnet mask 255 255 255 255 Subnet Cfg 1 Subnet Cfg 2 Subnet Cfg 3 Subnet Cfg 4 Important To set the subnet mask using these parameters Parameter 02 BOOTP must be set to Disabled Gateway Cfg 1 Gateway Cfg 2 Gateway Cfg 3 Gateway Cfg 4 Sets the bytes of the gateway addre
70. al Decimal 0x04 4 Instances Instance Description 1 All I O data being read from the DSI drives read only 2 All 1 O data written to the DSI drives read write Class Attributes Attribute ID Access Rule Name Data Type Description 1 Get Revision UINT 2 2 Get Max Instance UINT 2 100 Set Control UINT Control timeout in seconds Timeout Instance Attributes Attribute ID Access Rule Name Data Type Description 1 Get Number of UINT 1 Members 2 Get Member List ARRAY of STRUCT UINT Size of member data UINT Size of member path Packed Member path EPATH 3 Conditional Data Array of Bits Data to be transferred 4 Get Size UINT Size of assembly data in bits 1 For instance 1 access rule for the data attribute is Get For instance 2 it is Get Set Important Setting an Assembly object attribute can be done only when the Control Timeout class attribute 100 has been set to a non zero value Assembly Object Continued EtherNet IP Objects C 5 Services Implemented for Service Code _ Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single EtherNet IP Objects Register Object Class Code Hexadecimal Decimal 0x07 7 Instances Instance Description re A an 1 Logic Command and Reference for all drives Out Varies 0 2 Logic Status and Feedback for all drives In Varies 3
71. amples 6 5 formatting 6 2 running 6 4 F fault action configuring the adapter for 3 8 definition G 3 fault configuration configuring the adapter for 3 8 definition G 4 faults see events features 1 2 firmware release S i P 2 flash update G 4 Fit Cfg Logic parameter B 4 Fit Cfg Ref parameter B 4 full duplex see duplex G gateway G 4 gateway address setting with BOOTP 3 3 setting with parameters 3 5 Gateway Cfg 1 4 parameters B 2 grounding the adapter 2 4 H half duplex see duplex hardware address definition G 4 on label 3 3 HIM Human Interface Module accessing parameters with 3 1 definition G 4 using PowerFlex 4 Class HIM 3 2 hold last configuring the adapter for 3 8 definition G 4 host IDs G 5 1 0 about 5 1 configuring the adapter for 3 7 configuring the scanner or bridge for 4 5 definition G 5 examples 5 3 7 6 image 5 2 7 4 Identity object C 2 Idle Fit Action parameter B 4 Index 1 3 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 cable connecting to the adapter 2 4 connecting to the drive 2 4 illustration 2 4 IP Addr Cfg 1 4 parameters B 2 IP address definition classes G 5 setting with BOOTP 3 3 setting with parameters 3 5 L LEDs see status indicators Logic Command Status bit definitions D 1 defini
72. and word and Logic Status word for PowerFlex 40 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 DSI product Refer to the documentation for your product Example ControlLogix Ladder Logic Program Figure 5 5 Example ControlLogix Ladder Logic Program for I O Messaging ControlLogix to PowerFlex 40 on EtherNet IP Demo The ControlLogix system consists of a 1756 ENBT in slot 5 communicating over Ethernet with a PowerFlex 40 drive 22 COMM E EtherNet IP adapter The I O image is as follows INPUT 4 INT words OUTPUT 2 INT words PF40 Demo Data 0 ENBT Overhead PF40 Demo Data 0 PF40 Logic Command PF40 Demo Data 1 ENBT Overhead PF40 Demo Data 1 PF40 Reference PF40 Demo Data 2 PF40 Logic Status PF40 Demo 1 Data 3 PF40 Feedback Logic Status information rungs are provided for display purposes only The PF40_Demo I Data 2 x bits could be used directly elsewhere in the ladder program PF40 Demo Logic Status PF40 READY READY PF40_Demo Data 2 0 Drive_Ready JE PF40 Demo Logic Status PF40 ACTIVE ACTIVE PF40_Demo l Data 2 1 Drive_Active IE C gt IE PF40 Demo Logic Status ACTUAL PF40 DIRECTION FORWARD PF40_ Demo Data 2 2 Drive_Forward IE PF40 Demo Logic Status ACTUAL PF40 DIRECTION REVERSE PF40_Demo Data 2 2 Drive_Reverse J E PF40 Demo Logic Status PF40 FAULT
73. ateway address e Data rate e 1 0 configuration e Fault actions 6 Create a ladder logic program Chapter 4 Use a programming tool such as RSLogix to create a ladder logic program that enables you to e Control the adapter and connected drive using I O e Monitor or configure the drive using Explicit Messages Contiguring the Scanner or Bridge Chapter 5 Using I O Messagin Chapter 6 Messaging 1 6 Getting Started Modes of Operation The adapter uses four 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 oo00 dih Bottom side of adapter board Item Status Status Description Indicator PORT Green Normal Operation The adapter is properly connected and is communicating with the drive Flashing Normal Operation The adapter is in the process of Green establishing a connection to the drive This status indicator will turn solid green or red MOD Green Normal Operation The adapter 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 Normal Operation The adapter is properly connected but Green is n
74. c and data file manipulation A controller consists of a central processor input output interface and memory See also Scanner Data Rate The data rate is the speed at which data is transferred on the EtherNet IP network You can set the adapter to a data rate of 10 Mbps Full Duplex 10 Mbps Half Duplex 100 Mbps Full Duplex or 100 Mbps Half Duplex If another device on the network sets or auto negotiates the data rate you can set the adapter to automatically detect the data rate DSI Drive Serial Interface DSI is based on the ModBus RTU serial communication protocol and is used by various Allen Bradley drives and power products DSI Peripheral A device that provides an interface between DSI and a network or user Peripheral devices are also referred to as adapters and modules The serial converter and PowerFlex 4 Class HIMs 22 HIM xxx are examples of DSI peripherals DSI Product A device that uses the DSI communications interface to communicate with one or more peripheral devices For example a motor drive such as a PowerFlex 4 Class drive is a DSI product In this manual a DSI product is also referred to as drive or host DriveExplorer Software DriveExplorer software is a tool for monitoring and configuring Allen Bradley products and adapters It can be run on computers running Microsoft Windows 95 Windows 98 Windows NT version 4 0 or higher Windows 2000 and Windows CE version 2 0 or
75. cel Time 1 in the PowerFlex 40 drive Figure 6 9 Example Source Data from a Set Attribute Single Message E ParameterwriteValue 100 Decimal INT 10 0 seconds is written to the parameter 6 10 Using Explicit Messaging Notes Chapter Using Multi Drive Mode Chapter 7 provides information and a ControlLogix ladder example to explain how to use Multi Drive mode Topic Page Topic Page Single Mode vs Multi Drive Mode J 7 1 Multi Drive Ladder Logic Program 7 6 Example System Wiring 7 3 ControlLogix Example 1 7 Understanding the I O Image 7 4 Multi Drive Mode Explicit Messaging 7 20 Configuring the RS 485 Network 7 5 Additional Information 7 22 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 Single Mode vs Multi Drive Mode Single mode is a typical network installation where a single EtherNet IP node consists of a single drive with a 22 COMM E adapter Figure 7 1 Figure 7 1 Single Mode Example for Network 1 drive per node EtherNet IP PowerFlex 40 PowerFlex 40 PowerFlex 40 with 22 COMM E with 22 COMM E wit
76. ck to 1 Enabled E mail notification will always remain active regardless of whether or not its settings are protected unless e mail notification was never configured For more information about configuring adapter e mail notification or stopping e mail messages refer to Chapter 9 Configure E mail Notification Web Page Figure 3 11 Web Features Screen on Powerflex 4 Class HIM 22 HIM Access Control Bit Description Parameter 0 E mail Cfg Default 1 Enabled 1 Proc Dsp Cfg Default 1 Enabled 2 7 Not Used Xxxxxx1 E LIMITS SEL gt Bit 0 is the right most bit In Figure 3 11 it is highlighted and equals 1 Changes to this parameter take effect immediately A reset is not required Configuring the Adapter 3 11 Bit 1 of Parameter 30 Web Features protects the configuration of parameters names and values shown in the Process status fields on both the Home page Single Mode only and Process Display pop up window By default this configuration is not protected To protect the configuration set the value of Proc Dsp Cfg Bit 1 to 0 Disabled You can unprotected the configuration by changing Bit 1 back to 1 Enabled For more information about configuring the parameters for display refer to the Configure Process Display Web Page section in Chapter 9 Resetting the Adapter Changes to switch settings and some adapter parameters require that you reset t
77. cription IP Address IP address of the adapter Subnet Mask Subnet mask for the adapter s network Gateway Address Address for the gateway device on the adapter s network BOOTP Whether BOOTP is being used to configure the adapter s network information Ethernet Address Hardware address for the adapter Ethernet received packets Number of packets that the adapter has received Ethernet receive errors Number of receive errors reported by the hardware Ethernet receive overruns Number of receive buffer overruns reported by the hardware Ethernet transmitted packets Number of packets that the adapter has sent Ethernet transmit errors Number of transmit errors reported by the hardware Viewing the Adapter s Web Pages Configure E mail Notification Web Page The Configure E mail Notification web page contains selections and data fields for configuring the adapter to automatically send e mail messages to desired addresses when selected types of events occur By default this configuration is not protected After configuration the settings can be protected by setting the Parameter 30 Web Features E mail Cfg Bit 0 value to 0 Disabled To change a protected configuration it must first be unprotected by setting the E mail Cfg Bit 0 value back to 1 Enabled For more information see Chapter 3 Setting Web Features Access Figure 9 5 Example of Configure E mail Notification Web Page o xi Fle Edt vew Favo
78. ct Rockwell Automation Inc for technical assistance please review the information in Chapter 8 Troubleshooting first If you still have problems then call your local Rockwell Automation Inc representative 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 22 COMM E EtherNet IP adapter is a communication option intended for installation into a PowerFlex 40 drive It can also be used with other Allen Bradley products that support an internal DSI adapter The Multi Drive feature Chapter 7 also provides a means for PowerFlex 4 drives and other DSI Hosts to connect to EtherNet IP Topic Page Topic Page Components 1 1 Safety Precautions 1 4 Features 1 2 Quick Start 1 5 Compatible Products 1 3 Modes of Operation 1 6 Required Equipment 1 3 Components Figure 1 1 Components of the Adapter LEDs are on bottom side of adapter board at ma Item Part Description Status Four LEDs that indicate the status of the Ethernet connection Indicator
79. ctions e If any of the daisy chained drives Drivel to Drive 4 are powered down the respective Input Image Logic Status and Feedback sent to the scanner will be zeros and the NET A and PORT LEDs on the 22 COMM E adapter will flash red Status information from the scanner will not indicate there is a fault at the node and the I O connection will not be dropped Troubleshooting Chapter 8 Chapter 8 provides information for troubleshooting potential problems with the adapter Topic Page Topic Page Locating the Status Indicators 8 1 Adapter Diagnostic Items in 8 5 Single Drive Mode PORT Status Indicator 8 2 Adapter Diagnostic Items in 8 7 Multi Drive Mode MOD Status Indicator 8 3 Viewing and Clearing Events 8 8 Net A Status Indicator 8 4 Locating the Status Indicators The EtherNet IP adapter has four status indicators They can be viewed on the adapter or through the drive cover See Figure 8 1 Figure 8 1 Status Indicators location on drive may vary ooog Eo Bottom side of adapter board ltem Status Indicator Description Page o PORT DSI Connection Status 8 2 2 MOD Adapter Status 8 3 NET A EtherNet IP Connection Status 8 4 4 NET B EtherNet IP Transmit Status 8 5 8 2 Troubleshooting PORT Status Indicator Status Off Cause The adapter is not powered or properly connected to the drive Corre
80. ctive Action e Securely connect the adapter to the drive using the Internal Interface ribbon cable e Apply power to the drive Flashing Red In Single mode the adapter is not receiving communication from the drive In Multi Drive mode the adapter is not receiving communication from a drive or a drive is not an Allen Bradley drive e Verify the setting for Parameter 22 DSI I O Cfg e Verify that cables are securely connected and not damaged Replace cables if necessary e Cycle power to the drive e Use Allen Bradley PowerFlex 4 40 drives Flashing Green The adapter is establishing communications with the drive No action required This status indicator will turn solid green or flashing red Solid The adapter is properly No action required Green connected and is communicating with the drive Orange In Single mode the drive is Use an Allen Bradley PowerFlex 40 drive not an Allen Bradley drive MOD Status Indicator Status Cause Off The adapter is not powered or properly connected to the drive Troubleshooting 8 3 Corrective Action e Securely connect the adapter to the drive using the Internal Interface ribbon cable e Apply power to the drive Flashing The adapter has failed the e Cycle power to the drive Red firmware test s e f cycling power does not correct the problem the adapter parameter settings may have been corrupted Rese
81. d tags have been automatically created After you save and download the configuration these tags allow you to access the Input and Output data of the adapter via the controller s ladder logic Configuring the Scanner or Bridge 4 7 Figure 4 10 RSLogix 5000 I O Configuration Folder E 10 Configuration el 5 1756 ENET B ENet_Scanner 5 ETHERNET MODULE PF40_Demo Saving the Configuration After adding the scanner or bridge and the adapter to the I O configuration you must download the configuration to the controller You should also save the configuration to a file on your computer 1 Select Communications gt Download The Download dialog box Figure 4 11 appears Figure 4 11 Download Dialog Box x G Download to the controller s Name EtherNetlP_Demo Type 1756 L1 44 ControlLogix5550 Controller Path AB_DF1 2 1 Security lt None gt Cancel Help gt TIP If a message box reports that RSLogix is unable to go online select Communications gt Who Active to try to find your controller in the Who Active dialog box If it does not appear you need to add or configure the EtherNet IP driver in RSLinx Refer to the RSLinx online help 2 Click Download to download the configuration to the controller When the download is completed successfully RSLogix enters online mode and the I O OK box in the upper left part of the screen is green 3 Select File gt Save If this is the first time that yo
82. dress e Ethernet Address MAC e Serial Number e Status e O connection status Host X Information Information for each connected host includes Adapter In Single Mode e Revision e Status e Commanded direction e Rotation drection e Process status Adapter In Multi Drive Mode e Revision e Status Viewing the Adapter s Web Pages Process Display Pop up Windows The Process Display pop up window dynamically shows a host s information To view this window click the Process Display link in the navigation menu TIP To view Process Display pop up windows when the adapter is operated in Multi Drive mode expand the Process Display folder and click the respective Host X link Figure 9 3 Example of Process Display Pop up Window for Host 0 Rockwell Automation Microsoft Internet Explorer provide lol x Host 0 Process Display Product text PowerFlex 40 1P 110 SOHP Status At Reference Commanded direction Forward Rotation direction Forward Output Freq 10 0 Hz Process status Output Current 0 01 A DC Bus Voltage 332 3 V This page refreshes automatically every 3 seconds z E3 Done Local intranet Information Description Product text Description of host Status Status of host Commanded direction Commanded direction of host Rotation direction Rotation direction of host Process status Line 1 desired parameter of host and its dynamic value
83. e 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 4 and PowerFlex 40 Drives Logic Command Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command Description x Stop 0 Not Stop 1 Stop x Start 0 Not Start 1 Start X Jog 0 Not Jog 1 Jog X Clear Faults 0 Not Clear Faults 1 Clear Faults X x Direction 00 No Command 01 Forward Command 10 Reverse Command 11 No Command x Not used x Not used X X Accel Rate 00 No Command 01 Accel Rate 1 Command 10 Accel Rate 2 Command 11 Hold Accel Rate X X Decel Rate 00 No Command 01 Decel Rate 1 Command 10 Decel Rate 2 Command 11 Hold Decel Rate x X X Reference 000 No Command Select 001 Freq Source Select 010 Freq Source Int Freq 011 Freq Source Comm 100 Preset Freq 0 101 Preset Freq 1 110 Preset Freq 2 111 Preset Freq 3 X Not used 0 A0 Not Stop condition logic 0 must first be present before a 1 Start condition will start the drive D 2 Logic Command Status Words PowerFlex 4 and PowerFlex 40 Drives Logic Status Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Status Description x Ready 0 Not Ready 1 Read
84. e program for Explicit Messages 6 5 example program for I O 5 3 example program for Multi Drive mode 7 7 to 7 20 formatting Explicit Messages 6 2 D data rate definition G 2 setting 3 7 1 2 Index diagnostic items for Multi Drive mode 8 7 for Single mode 8 5 dimensions A 1 DPI Device object C 21 DPI Diagnostic object C 30 DPI Fault object C 28 DPI Parameter object C 24 DriveExplorer accessing parameters with 3 1 definition G 2 free lite version G 2 supported feature 1 2 drives see PowerFlex drives DriveTools SP accessing parameters with 3 1 definition G 2 supported feature 1 2 Drv 0 4 Addr parameters B 5 DSI connector on adapter 1 1 definition G 2 Internal Interface cable 2 4 peripheral G 2 products G 2 DSI I O Act parameter B 5 DSI I O Cfg parameter B 4 duplex definition G 3 selecting 3 7 E EDS Electronic Data Sheet files definition G 3 web site G 3 EEPROM see Non Volatile Storage NVS EN Rate Act parameter B 3 EN Rate Cfg parameter B 3 environmental specifications A 2 equipment required 1 3 Ethernet Link object C 34 EtherNet IP adapter see adapter cable 2 3 connector on adapter 1 1 data rates A 1 example network 4 1 network definition G 3 network switches G 7 objects C 1 specification G 3 events clearing 8 8 list of 8 9 viewing 8 8 examples Explicit Messages 6 5 I O messaging 5 3 Explicit Messages about 6 1 definition G 3 ex
85. e scanner You already set the major revision in the Select Module Type dialog box Figure 4 3 on page 4 2 IP Address The IP address of the EtherNet IP scanner or bridge Electronic Keying Compatible Module This setting for Electronic Keying ensures the physical module is consistent with the software configuration before the controller and scanner or bridge make a connection Therefore ensure that you have set the correct revision in this dialog box Refer to the online Help if the controller and scanner have problems making a connection and you want to change this setting 6 Click Finish gt gt The scanner or bridge is now configured for the EtherNet IP network It appears in the I O Configuration folder In our example a 1756 ENBT bridge appears under the I O Configuration folder Figure 4 5 Figure 4 5 RSLogix 5000 I O Configuration Folder ay f j 1 1756 ENBT 4 My_EtherNet_IP 4 4 Configuring the Scanner or Bridge Adding the Adapter and Drive to the I O Configuration To transmit data between the scanner or bridge and the adapter you must add the 22 COMM E adapter as a child device of the scanner or bridge 1 In the Control Organizer pane right click on the scanner or bridge and select New Module Figure 4 6 In our example we right click on the 1756 ENBT A bridge Figure 4 6 Right Clicking on the Scanner 3 STRING L Predefined Cy Module Defined Cut dS 1 0 Configura
86. er Logic Rung Figure 6 5 Example Get Attribute Single Message Explicit Messaging Example Reading a single parameter Get Attribute Single command PerformParameterRead MSG 13 JE Type CIP Generic L CE Message Control ParameterReadMessage CDN gt L CERS Example Destination Data In this example the Get Attribute Single message reads Parameter 39 Accel Time 1 in the PowerFlex 40 drive and returns its value to the destination tag named ParameterRead Value Figure 6 6 Example Destination Data from a Get Attribute Single Message a ParameterReadValue 100 Decimal INT The acceleration time is 10 0 seconds 6 8 Using Explicit Messaging Example Set Attribute Single Message A Set Attribute Single message writes a value for a single attribute In this example we write the value of a parameter in a PowerFlex 40 drive Example Message Format Figure 6 7 Message Format for a Set Attribute Single Message Message Configuration ParameterWriteMessage E xj Configuration Communication Tag Name ParameterwiteMessage xi Configuration Communication Taa Path PF40_Demo Browse x Configuration Communication Tag Message Type F ime Set Attribute Single w Source Element ParameteiwriteValue ype Source Length 2 a Bytes Code 10 Hex Class ff Hex De F cr Instance 39 Attribute 1 Hex Renee elp O Enable Enable Waiting Start Done Done Length 0
87. eration To use the adapter web pages the Web Pages Switch must be set to its Enable Web position Important New settings are recognized only when power is applied to the adapter or the adapter is reset If you change a setting cycle power or reset the adapter 2 2 Installing the Adapter adapter contains ESD Electrostatic Discharge sensitive parts that can be damaged if you do not follow ESD control procedures Static control precautions are required when handling the adapter If you are unfamiliar with static control procedures refer to Guarding Against Electrostatic Damage Publication 8000 4 5 2 ATTENTION Risk of equipment damage exists The EtherNet IP 1 Set the Operating Mode Switch SW1 for Single or Multi Drive operation see Figure 2 1 and setting descriptions below For complete details on Multi Drive mode operation see Chapter 7 Using Multi Drive Mode Figure 2 1 Setting Single Multi Drive Operation and Web Page Enable Switches ae OPERATING WEB PAGES MODE SWITCH SWITCH Multi Drive Operation Enable Web Position Position Single Drive Operation Disable m Position Position ae a SW1 Setting Description Down position Sets the adapter for Single drive mode default setting using a DN Closed 0 single drive connection Important In this mode connections to multiple drives must be removed since all powered and connected hosts will respond to any message sent by the adapter
88. ess Sel key once to display the Device Select menu Press Enter to display the DSI Devices menu Press Down Arrow to scroll to 22 COMM E Press Enter to select the EtherNet IP adapter The Parameters menu for the adapter will be displayed Press Enter to access the parameters Edit the adapter parameters using the same techniques that you use to edit drive parameters Key s On Example Screens Parameters Groups Linear List Changed Params SEL gt DIAG XW DSEL MEM Device Selected DSI Devices DIAG PARAM BSS MEM SELD gt DSI Devices PowerFlex 40 22 COMM E Parameters Linear List Changed Params DIAG RAGIN DSEL MEM SEL Parameter Single Drive 0 SEL gt VALUE SSM Configuring the Adapter 3 3 Using BOOTP By default the adapter is configured so that you can set its IP address subnet mask and gateway address by using a BOOTP utility You can select from a variety of BOOTP utilities These instructions use Rockwell s BOOTP Server version 2 1 a stand alone program that incorporates the functionality of standard BOOTP utilities with a graphical interface It is available from http www ab com networks Refer to the Readme file and online Help for detailed directions and information TIP If desired you can disable BOOTP and configure the IP address subnet mask and gateway address
89. et IP 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 If the EtherNet IP 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 18 Comm Fit Action and 19 Idle Flt Action let you determine the action of the adapter and connected PowerFlex drive if communications are disrupted By default these parameters fault the 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 ATTENTION Hazard 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 Hazard of injury or equipment damage ex
90. etting a Fault Action 3 8 Using BOOTP 3 3 Setting Web Features Access 3 10 Setting the IP Address Subnet 3 5 Resetting the Adapter 3 11 Mask and Gateway Address Setting the Data Rate 3 7 Viewing the Adapter Configuration 3 12 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 EtherNet IP 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 4 Class HIM page 3 2 22 HIM BOOTP Server page 3 3 DriveExplorer Software DriveExplorer Online help version 3 01 or higher installed with the software DriveExecutive Software version 3 01 or higher DriveExecutive Online help installed with the software 3 2 Configuring the Adapter Using the PowerFlex 4 Class HIM The PowerFlex 4 Class HIM Human Interface Module can be used to access parameters in the adapter see basic steps shown below It is recommended that you read through the steps for your HIM before performing the sequence For additional HIM information refer to the HIM Quick Reference card Using the HIM Step 1 Power up the drive Then plug the HIM into the drive The Parameters menu for the drive will be displayed Pr
91. ex Drive 4 PowerFlex Drive 0 PowerFlex Drive 1 Output Image Write PowerFlex Drive 2 4 PowerFlex Drive 3 oo NaJ A wonrm o ogie Status l PowerFlex Drive 0 S kogir Statis adi PowerFlex Drive 1 Input i lt Image i Logie Statu lt PowerFlex Drive 2 Read Logis Status ai PowerFlex Drive 3 8 Logic Status 9 Feedback d PowerFlex Drive 4 Message Message P Handler Bi Note If a daisy chained drive is disconnected from the RS 485 DSI network or powered down the Logic Status and Feedback words for the affected drive will be set to 0 Using Multi Drive Mode 7 5 Configuring the RS 485 Network The following parameters must be set in the daisy chained drives Parameter Value P36 Start Source 5 Comm Port P38 Speed Reference 5 Comm Port A103 Comm Data Rate 4 19 2K A104 Comm Node Addr 1 247 must be unique A107 Comm Format 0 RTU 8 N 1 Note that the RS 485 network is fixed at 19 2K baud 8 data bits no parity and 1 stop bit Important Parameters A105 Comm Loss Action and A106 Comm Loss Time in the daisy chained drives are still used in Multi Drive mode If the RS 485 cable is disconnected or broken the disconnected drive s will take the corre
92. f Parameters 18 Comm FIt Action and 19 Idle Fit Action to the desired responses Value Action Description 0 Fault 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 20 Flt Cfg Logic and 21 Fit Cfg Ref Figure 3 10 Fault Action Screens on PowerFlex 4 Class HIM 22 HIM Comm Fit Action Parameter Idle Fit Action Parameter LIMITS VS LIMITS Changes to these parameters take effect immediately A reset is not required If Multi Drive mode is used the same fault action is used by the adapter for all of the drives it controls Drive 0 Drive 4 To set the fault configuration parameters If you set Parameter 18 Comm FIt Action or 19 Idle Flt Action to the 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 Name Description Fit Cfg Logic A 16 bit value sent to the drive for Logic Command 20 21 Fit Cfg Ref A 16 bit value 0 65535 sen
93. 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 The firmware release is displayed as FRN X xxx The FRN signifies Firmware Release Number The X is the major release number The xxx is the minor update number RSNetWorx for EtherNet IP version 4 01 RSLinx version 2 40 and RSLogix5000 version 11 were used for the screen shots in this manual Different versions of the software may differ in appearance and procedures This manual provides information about the 22 COMM E EtherNet IP adapter and using it with PowerFlex 40 drives The adapter can be used with other products that support an internal DSI adapter 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 Sales and order support Product technical training Warranty support Support service agreements About This Manual P 3 Technical Product Assistance If you need to conta
94. gic Sts Logic Status being received from drive 1 by the adapter 10 Drv 1 Feedback Feedback being received from drive 1 by the adapter 11 Drv2Logic Cmd__ Logic Command being transmitted to drive 2 by the adapter 12 Drv2Reference Reference being transmitted to drive 2 by the adapter 13 Drv 2 Logic Sts Logic Status being received from drive 2 by the adapter 14 Drv 2 Feedback Feedback being received from drive 2 by the adapter 15 Drv3LogicCmd Logic Command being transmitted to drive 3 by the adapter 16 Drv3Reference Reference being transmitted to drive 3 by the adapter 17 Drv 3 Logic Sts Logic Status being received from drive 3 by the adapter 18 Drv3 Feedback Feedback being received from drive 3 by the adapter 19 Drv4LogicCmd Logic Command being transmitted to drive 4 by the adapter 20 Drv4Reference Reference being transmitted to drive 4 by the adapter 21 Drv 4 Logic Sts Logic Status being received from drive 4 by the adapter 22 Drv 4 Feedback Feedback being received from drive 4 by the adapter 23 DSl Overrun Errs The number of DSI receive overrun errors 24 DSI Framing Errs The number of DSI receive framing errors 25 DSI CRC Errs The number of DSI receive CRC errors 26 Boot Flash Count Number of boot firmware flash updates made to the adapter after shipping 27 App Flash Count Oe of application firmware flash updates made to the adapter after shipping 28 HW Addr 1 The most significant b
95. gure Process Display Web Page Single Mode 74 Rockwell Automation Microsoft Internet Explorer provided by Rockwell Automation 4 Ele Edit View Favorites Tools Help Back gt a Bsearch Favorites Media lt ES amp a ag cr Address http 10 91 97 57 v Go Links zi Allen Bradley pYAE VVAA EN E EE E YE oreo Expand OM Configure Process Display B Home E process display Host D repie configurati Parameter Line 1 1 Line 2 3 Line 3 5 Configure e mail r ilconfiaurelprscese Save changes Browse DSI device Online user manu Copyright 2003 Rockwell Automation Inc All Rights Reserved Software tools Wet V Launch my DriveEx SSU Launch my DriveEx E mail technical su 1 To set a host s parameters whose values you want shown on Lines 1 2 and 3 of the Process status fields in both the Home Page only Single mode and Process Display pop up window Figure 9 3 type the corresponding parameter number in each box Information Description Line 1 parameter Number of the parameter whose value you want on Line 1 Line 2 parameter Number of the parameter whose value you want on Line 2 Line 3 parameter Number of the parameter whose value you want on Line 3 Viewing the Adapter s Web Pages 9 11 2 Click Save changes Important It is recommended that Parameter 30 Web Features Proc Dsp Cfg Bit 1 value be set to 0 D
96. h This box contains the number of bytes of service data to be sent in the message Destination This box contains the name of the tag that will receive service response data from the adapter and drive Path The path is the route that the message will follow Tip Click Browse to find the path or type in the name of an adapter that you previously mapped Name The name for the message 6 4 Using Explicit Messaging Performing Explicit Messages There are five basic events in the Explicit Messaging process The details of each step will vary depending on the controller Refer to the documentation for your controller Figure 6 2 Explicit Message Process f5 Complete Explicit O Retreive Explicit o Set up and send Explicit Message Request Message L Message Respnse Event 1 You format the required data and set up the ladder logic program to send an Explicit Message request to the scanner or bridge module download The scanner or bridge module transmits the Explicit Message Request to the slave device over the Ethernet network The slave device transmits the Explicit Message Response back to the scanner The data is stored in the scanner buffer The controller retrieves the Explicit Message Response from the scanner s buffer upload The Explicit Message is complete Using Explicit Messaging 6 5
97. h 22 COMM E Multi Drive mode is an alternative to the typical network installation where a single EtherNet IP node can consist of one to five drives Figure 7 2 The first drive must be a PowerFlex 40 with a 22 COMM E adapter The remaining drives can be PowerFlex 4 or PowerFlex 40 drives that are daisy chained over RS 485 with the first drive Using Multi Drive Mode Figure 7 2 Multi Drive Mode Example for Network up to 5 drives per node EtherNet IP Up to 4 PowerFlex 4 s or 40 s PowerFlex 40 Ea o0000 0000 an 00000 o2 00 Cd jo0000 0000 mn 00000 00 20 22 COMM E AK U0 RJ45 TB2P Connector with Terminating Resistor RS 485 AK U0 RJ45 TB2P AK U0 RJ45 TB2P Connector with Terminating Resistor Benefits of Multi Drive mode include e Lower hardware costs Only one 22 COMM E adapter is needed for up to five drives PowerFlex 4 s can also be used for the daisy chained drives instead of PowerFlex 40 s e Reduces the network node count For example in Single mode 30 drives would consume 30 nodes In Multi Drive mode 30 drives can be connected in 6 nodes e Provides a means to put PowerFlex 4 s on EtherNet IP PowerFlex 4 s do not have an internal communications adapter slot e Controller can control monitor and read write parameters for all five drives The trade offs of Multi Drive mode include e Ifthe PowerFlex
98. he adapter s parameters instead you must first disable BOOTP and then set the appropriate parameters in the adapter To disable the BOOTP feature 1 Set the value of Parameter 02 BOOTP to Disabled Figure 3 4 Example BOOTP Screen on PowerFlex 4 Class HIM 22 HIM Value Setting Parameter 0 Disabled 1 Enabled Default VS LIMITS 2 Reset the adapter See Resetting the Adapter section in this chapter After disabling the BOOTP feature you can then configure the IP address subnet mask and gateway using the adapter s parameters To set an IP address using parameters 1 Verify that Parameter 02 BOOTP is set to Disabled This parameter must be set to Disabled in order to configure the IP address using parameters 2 Set the value of Parameters 03 IP Addr Cfg 1 through 06 IP Addr Cfg 4 to a unique IP address Figure 3 5 Example IP Address Screen on PowerFlex 4 Class HIM 22 HIM Default 0 0 0 0 255 255 255 255 Parameter IP Addr Ssi IP Addr Cfg 2 IP Addr Cfg 3 IP Addr Cfg 4 AU LIMITS 3 6 Configuring the Adapter 3 Reset the adapter See Resetting the Adapter section in this chapter The Net A status indicator will be solid green or flashing green if the IP address is correctly configured To set a subnet mask using parameters 1 Verify that Parameter 02 BOOTP is set to Disabled This parameter must be set to Disabled in order to configure t
99. he adapter before the new settings take effect You can reset the adapter by cycling power to the drive or by using the following parameter ATTENTION Risk of injury or equipment damage exists If the adapter is transmitting control I O to the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting a connected adapter e Set Parameter 17 Reset Module to Reset Module Figure 3 12 Reset Screen on PowerFlex 4 Class HIM 22 HIM Reset Module Value Description Parameter 0 Ready Default 1 Reset Module 2 Set Defaults LIMITS 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 12 Configuring the Adapter Viewing the Adapter Configuration The following parameters provide information about how the adapter is configured You can view these parameters at any time Number 01 Name Mode Description The mode in which the adapter is set Values 0 Single drive operation 2 Multi Drive operation 16 EN Rate Act The data rate used by the adapter Values 1 10M bits sec full 2 10M bits sec half 3 100M bits sec full 4
100. he subnet mask using parameters 2 Set the value of Parameters 07 Subnet Cfg 1 through 10 Subnet Cfg 4 to the desired value for the subnet mask Figure 3 6 Example Subnet Mask Screen on PowerFlex 4 Class HIM 22 HIM Default 0 0 0 0 255 255 255 255 Parameter Subnet Cfg 1 Subnet Cfg 2 Subnet Cfg 3 Subnet Cfg 4 3 Reset the adapter See Resetting the Adapter section in this chapter To set a gateway address for the adapter using parameters 1 Verify that Parameter 02 BOOTP is set to Disabled This parameter must be set to Disabled in order to configure the gateway address using parameters 2 Set the value of Parameters 11 Gateway Cfg 1 through 14 Gateway Cfg 4 to the IP address of the gateway device Figure 3 7 Example Gateway Screen on PowerFlex 4 Class HIM 22 HIM Gateway Cfg 1 Default 0 0 0 0 255 255 255 255 Parameter Gateway Cfg 1 Gateway Cfg 2 Gateway Cfg 3 Eg MTs Gateway Cfg 4 3 Reset the adapter See Resetting the Adapter section in this chapter Configuring the Adapter 3 7 Setting the Data Rate By default the adapter is set to autodetect so it automatically detects the data rate and duplex setting used on the network If you need to set a specific data rate and duplex setting the value of Parameter 15 EN Rate Cfg determines the Ethernet data rate and duplex setting that the adapter will use to communicate For definiti
101. higher operating systems DriveExplorer version 3 xx 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 95 Windows 98 Windows NT 4 0 or higher and Windows 2000 operating systems This software suite provides a family of tools that you can use to program monitor control troubleshoot and maintain Allen Bradley Glossary G 3 products DriveTools SP version 3 01 can be used with Allen Bradley drives Information about DriveTools SP can be accessed at http www ab com drives drivetools Duplex Duplex describes the mode of communication Full duplex communications let a device exchange data in both directions at the same time Half duplex communications let a device exchange data only in one direction at a time The duplex used by the adapter depends on the type of duplex that other network devices such as switches support EDS Electronic Data Sheet Files EDS files are simple text files that are used by network configuration tools such as RSNetWorx for EtherNet IP 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 EtherNet IP Ne
102. hing The adapter is properly e Place the controller in RUN mode Green connected but is not communicating with any Program the controller to recognize and devices on the network transmit I O or make a messaging connection to the adapter e Configure the adapter for the program in the controller Solid The adapter is properly No action required Green _ connected and communicating on the network Net B Status Indicator Status Cause Off The adapter is not powered or is not transmitting on the network Troubleshooting 8 5 Corrective Actions If Net A indicator is off e Securely connect the adapter to the drive using the Internal Interface ribbon cable and to the network using an Ethernet cable e Correctly connect the Ethernet cable to the Ethernet connector e Seta unique IP address using a BOOTP server or by disabling BOOTP and using adapter parameters If Net A indicator is solid red e Configure the adapter to use a unique IP address and cycle power If Net A indicator is flashing red e Check the IP address in the adapter and scanner e Ping the adapter Normal condition if the adapter is idle Flashing Green The adapter is transmitting on the network No action required Adapter Diagnostic Items in Single Drive Mode The following diagnostic items can be accessed using DriveExplorer version 3 01 or higher No Name Description 1 Re
103. hole or in part without written permission of Rockwell Automation Inc is prohibited Throughout this manual we use notes to make you aware of safety considerations 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 Important Identifies information that is especially important for successful application and understanding of the product Shock Hazard labels may be located on or inside the drive to alert h people that dangerous voltage may be present ControlFLASH DriveExplorer DriveTools DriveExecutive PLC 5 SCANport and SLC are trademarks of Rockwell Automation Inc Allen Bradley PowerFlex and ControlLogix are registered trademarks of Rockwell Automation Inc RSLinx RSLogix and RSNetWorx are trademarks of Rockwell Software Ethernet is a trademark of Digital Equipment Corporation Intel Corporation and Xerox Corporation Netscape and Netscape Navigator are registered trademarks of the Netscape Communications Corporation Windows Windows CE Windows NT and Microsoft are either registered trademarks or trademarks of Microsoft Corporation Summary of Changes The information below summarizes the changes made to this manual since its first release December 2003 of the EtherNet IP adapter FRN 1 xxx Description of Changes
104. icates that the bit is used to specify the node For example a subnet mask on a Class C address may appear as follows 11111111 11111111 11111111 11000000 255 255 255 192 This mask indicates that 26 bits are used to identify the network and 6 bits are used to identify devices on each network Instead of a single physical Class C network with 254 devices this subnet mask divides it into four networks with up to 62 devices each Switches Switches are network devices that provide virtual connections that help to control collisions and reduce traffic on the network They are able to reduce network congestion by transmitting packets to an individual port only if they are destined for the connected device In a control application in which real time data access is critical network switches may be required in place of hubs Glossary TCP Transmission Control Protocol EtherNet IP uses this protocol to transfer Explicit Messaging packets using IP TCP guarantees delivery of data through the use of retries UDP User Datagram Protocol EtherNet IP uses this protocol to transfer I O packets using IP UDP provides a simple but fast capability to send I O messaging packets between devices This protocol ensures that adapters transmit the most recent data because it does not use acknowledgements or retries Zero Data When communications are disrupted for example a cable is disconnected the adapter and drive can respond with zero data
105. isabled after configuration Otherwise the configuration can be changed anytime the web page is accessed with a browser DSI Device Information Pages DSI device information pages show a device s module information diagnostic information and fault queue Figure 9 8 shows a module information example page for the Port 0 device host Figure 9 9 and Figure 9 10 respectively show diagnostic information and fault queue example pages for the Port 5 device 22 COMM E adapter Figure 9 8 Example of Port 0 PowerFlex 40 Drive Module Information Page Rockwell Automation Powerflex 40 1P 110V SOHP Vendor ID 1 Device type 127 Product code 0x8228 Revision 1 007 Serial number Not Available Status Faulted E gt BOOS Tl Information Description Product text Text identifying the device Vendor ID 1 Allen Bradley Device type 127 Product code Code for the product name and its rating Revision Firmware revision used by the device Serial number Serial number of the device Status Operating status of the device for example faulted 9 12 Viewing the Adapter s Web Pages Figure 9 9 Example of Port 5 22 COMM E Adapter Diagnostic Information Page Rockwell Automation 1 2 Drv Logic Cmd 0000 0000 0000 0000 3 Orv Reference tt 4 Reserved J S Drv 0 Logic Sts 0000 0111 1000 0001 6 Drv 0 Feedback o Drv 1 Logic Cmd 0000 0000 0000 0000 8 Dry 1 Reference o E
106. ists 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 Getting Started Quick Start 1 5 This section is provided to help experienced users quickly start using the EtherNet IP adapter If you are unsure how to complete a step refer to the referenced chapter Step Refer to 1 Review the safety precautions for the adapter Throughout This Manual 2 __ Verify that the PowerFlex drive is properly installed Drive User Manual 3 Install the adapter Chapter 2 Verify that the PowerFlex drive is not powered Then connect Installing the the adapter to the network using an Ethernet cable and to the Adapter drive using the Internal Interface cable Use the captive screw to secure and ground the adapter to the drive 4 Apply power to the adapter Chapter 2 The adapter receives power from the drive Apply power to Installing the the drive The status indicators should be green If they flash Adapter red there is a problem Refer to Chapter 8 Troubleshooting 5 Configure the adapter for your application Chapter 3 Set the following parameters for the adapter as required by Configuring the your application Adapter e P address subnet mask and g
107. its actions You can view the event queue using DriveExplorer 3 01 software Figure 8 2 DriveExplorer Event View Clear Screen 22 COMM D x General Details Adapter Events Diagnostics a2 m eae Elapsed Time St Help Slave Detected Normal Startup No Event Clear Event No Event No Event X gt Clear Queue ooon Troubleshooting 8 9 Events Many events in the Event queue occur under normal operation If you encounter unexpected communications problems the events may help you or Allen Bradley personnel troubleshoot the problem The following events may appear in the event queue Code Event Description Adapter Events 0 No Event Text displayed in an empty event queue entry 1 Normal Startup Power is applied to the adapter 2 Manual Reset The adapter was reset from the Reset Module parameter 3 Watchdog T O Fit The software watchdog detected a failure and reset the adapter 4 App Updated The application firmware has been flash updated 5 Boot Updated The boot firmware has been flash updated 6 EEPROM Sum Fit The EEPROM checksum CRC in incorrect The functionality of the adapter will be limited Default parameter values must be loaded to clear the condition 7 9 Reserved DSI Events 10 Slave Detected The adapter detected that the slave has been connected 11 Slave Removed The adapter detected that the slave has been disconnected
108. ive 3 20480 21503 Not supported Instances 0 1023 in Drive 4 21504 22527 _ Not supported Instances 0 1023 in the adapter Class Attributes Attribute Access ID Rule Name Data Type Description 0 Get Family Code BYTE Code identifying the device 1 Get Family Text STRING 16 Text identifying the device 2 Set Language Code BYTE 0 English 1 French 2 Spanish 3 Italian 4 German 5 Japanese 6 Portuguese 7 Mandarin Chinese 8 Russian 9 Dutch 3 Get Product Series BYTE 1 A 2 B 4 Get Number of BYTE Number of components e g main control Components board I O boards in the device C 22 EtherNet IP Objects DPI Device Object Continued Class Attributes Continued Attribute Access ID Rule Name Data Type Description 5 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 device 7 Get Configuration BYTE Identification of variations Code 8 Get Configuration Text STRING 16 Text identifying a variation of a family device 9 Get Brand Code WORD 0x0001 Allen Bradley 11 Get NVS Checksum WORD Checksum of the Non Volatile Storage ina device 12 Get Class Revision WORD 2 DPI 13 Get Character Set BYTE 0 SCANport HIM Code 1 ISO 8859 1 Latin 1 2 ISO 8859 2 Latin 2 3 ISO 8859 3 Latin 3 4 ISO 8859 4 Latin 4 5 ISO 8859 5
109. m 3 09 inches Weight 85g 3 oz A 2 Specifications Environmental Temperature Operating 10 to 50 C 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 atmosphere Regulatory Compliance Certification Specification UL UL508C cUL CAN CSA C22 2 No 14 M91 CE EN50178 and EN61800 3 CTick AS NZS 2064 Group 1 Class A NOTE This is a product of category C2 according to IEC 61800 3 Ina 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 EtherNet IP adapter parameters Topic Page About Parameter Numbers B 1 Parameter List B 1 About Parameter Numbers The parameters in the adapter are numbered consecutively However depending on which configuration tool you use they may have different numbers Configuration Tool e DriveExplorer e DriveExecutive Numbering Scheme The adapter parameters begin with parameter 1 For example Parameter 01 Mode is parameter 1 as e HIM indicated by this manu
110. message for longer than the established timeout period 55 59 Reserved Adapter Specific Events 60 BOOTP Response The adapter received a response to its BOOTP request 61 E mail Failed The adapter attempted to send an e mail notice but could not deliver the message to the mail server Chapter 9 Viewing the Adapter s Web Pages Chapter 9 provides instructions on how to monitor the adapter and connected PowerFlex drive using the adapter s web interface Page Topic Accessing the Adapter s Web 9 4 Configure E mail Notification Web 9 8 Home Page Page Process Display Pop up Windows 9 6 Configure Process Display Web Page 9 10 TCP IP Configuration Web Page 9 7 DSI Device Information Pages 9 11 Future enhancements may result in adapter web pages that look different than the examples shown in this chapter Accessing the Adapter s Web Home Page After configuring the adapter you can view its web pages These pages present information about the adapter the drive to which it is connected and other DSI devices connected to the drive such as a HIM or other daisy chained drives when adapter is operated in Multi Drive mode TIP By default the adapter web pages are disabled To enable the web pages set the Web Pages Switch SW2 in Figure 2 1 to its Enable Web position and then reset the adapter The adapter can be configured to automatically send e mail messages to desired addre
111. meter 20 Flt Cfg Logic and Parameter 21 Flt Cfg Ref When a fault action parameter is set to use the fault configuration and a fault occurs the data from these parameters is sent as the Command Logic and or Reference Flash Update The process of updating firmware in the adapter The adapter can be flash updated using the X Modem protocol and a 1203 SSS Smart Self powered Serial converter version 3 xx or higher firmware the Allen Bradley software tool ControlFLASH or the built in flash capability of DriveExplorer version 4 01 or higher Gateway A gateway is a device on a network that connects an individual network to a system of networks When a node needs to communicate with a node on another network a gateway transfers the data between the two networks You need to configure the address for the gateway device in the adapter if you want the adapter to communicate with devices that are not on its network Hardware Address Each Ethernet device has a unique hardware address sometimes called a MAC address that is 48 bits The address appears as six digits separated by colons for example xx Xx XX XX Xx Xx Each digit has a value between 0 and 255 0x00 and OxFF This address is assigned in the hardware and cannot be changed It is required to identify the device if you are using a BOOTP utility HIM Human Interface Module A device that can be used to configure and control a PowerFlex 4 Class drive PowerFlex 4 Class
112. nd click the blue box inside the message Using Explicit Messaging 6 3 ControlLogix Message Requests and Responses Box Description Message Type The message type must be CIP Generic Service Type The service type indicates the service for example Get Attribute Single or Set Attribute Single that you want to perform Available services depend on the class and instance that you are using Refer to Appendix C EtherNet IP Objects Service Code The service code is the code for the requested EtherNet IP service This value changes based on the Service Type that has been selected In most cases this is a read only box If you select Custom in the Service Type box then you need to specify a service code in this box for example 4B for a Get Attributes Scattered service or 4C for a Set Attributes Scattered service Class The class is an EtherNet IP class Refer to Appendix C EtherNet IP Objects for available classes instance The instance is an instance or object of an EtherNet IP class Refer to Appendix C EtherNet IP Objects for available instances for each class Attribute The attribute is a class or instance attribute Refer to Appendix C EtherNet IP Objects for available attributes for each class or instance Source Element This box contains the name of the tag for any service data to be sent from the scanner or bridge to the adapter and drive Source Lengt
113. nd configure the EtherNet IP adapter you must supply Q A small flathead or Phillips screwdriver Q Ethernet cable refer to the EtherNet IP Media Planning and Installation Manual Publication No ENET INO01 for details Q Configuration tool such as PowerFlex 4 Class HIM 22 HIM DriveExplorer version 3 01 or higher DriveExecutive version 3 01 or higher RSNetWorx for EtherNet IP BOOTP Server version 2 1 or higher network setup only Q A PC connection to the EtherNet IP network Q Controller configuration software Examples RSLogix5 RSLogix500 or RSLogix 5000 Phillips is a registered trademark of the Phillips Screw Company gt gt o D gt gt 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 death Remove all power from the PowerFlex drive and then verify power has been removed before installing or removing an EtherNet IP 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 an EtherNet IP adapter Failure to comply may result in injury and or equipment damage ATTENTION Risk of equipment damage exists The EtherN
114. ne user manuals Revision 1 eens Lee et Status Stopped ir iveEx Launch a Bhan Host 1 PowerFlex 4 1P 110V 25HP E mail technical supp Revision Status Host 2 PowerFlex 4 1P 110V 25HP Ethernet Address MAC 00 00 8C 08 60 08 Serial Number 0x12345676 Status Operational Status Host 3 Powerflex 4 1P 110V 25HP n Status Stopped J e GE Loca intraret Title Bar on Adapter Web Pages The title bar appears on all adapter web pages including its Home Page It consists of three elements Item Description Allen Bradley logo This logo is also a link Click it to view the ab com web Home at far left Page Adapter Title middle Shows the adapter type and title Rockwell Automation logo This logo is also a link Click it to view the Rockwell at far right Automation web Home Page Navigation Menu on Adapter Web Pages The navigation menu appears on the left side of all adapter web pages including its Home Page The navigation menu consists of links and link folders which can be expanded or minimized There are some slight differences in the navigation menu when the adapter is operated in Single mode versus Multi Drive mode These differences are highlighted 9 4 Viewing the Adapter s Web Pages in the following table which shows all of the navigation menu s links and link folders Link Folder Home link Description Click this link to view
115. nectors is shown in Figure 7 4 Figure 7 4 AK U0 RJ45 TB2P Connector Wiring Diagram To PowerFlex 40 with 22 COMM D ul To To To To Drive 2 Drive 3 Drive 4 Drive 5 120 Q Watt Resistor U Uy U U AL 1209 Watt Resistor The AK U0 RJ45 TB2P comes with 5 terminal block connectors and 2 terminating resistors 7 4 Using Multi Drive Mode Understanding the I O Image The terms input and output are defined from the scanner s point of view Therefore Output I O is data that is output from the scanner and consumed by the EtherNet IP 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 Configuration of the Operating Mode Switch SW1 on the adapter and Parameter 22 DSI I O Cfg The image table always uses consecutive words starting at word 0 Figure 7 5 illustrates the Multi Drive I O image with 16 bit words Figure 7 5 Multi Drive Example of I O Image EtherNet IP DSI Controller Scanner Adapter Word and I O Logic Command Reference Logic Command Reference Logic Command Reference Logic Command Reference Logi d 9 Logic comman PowerFl
116. net Act 3 The second least significant byte in the adapter s current subnet mask or 0 if the adapter does not currently have a subnet mask 41 Subnet Act 4 The least significant byte in the adapter s current subnet mask or 0 if the adapter does not currently have a subnet mask 42 Gateway Act 1 The most significant byte in the adapter s current gateway address or 0 if the adapter does not currently have a gateway address 43 Gateway Act 2 The second most significant byte in the adapter s current gateway address or 0 if the adapter does not currently have a gateway address 44 Gateway Act 3 The second least significant byte in the adapter s current gateway address or 0 if the adapter does not currently have a gateway address 45 Gateway Act 4 The least significant byte in the adapter s current gateway address or 0 if the adapter does not currently have a gateway address 46 ENRxOverruns A count of the number of receive buffer overrruns reported by the Ethernet MAC 47 EN Packets Revd A count of the number of receive packets reported by the Ethernet MAC 48 EN Rx Errors A count of the number of receive errors reported by the Ethernet MAC 49 EN Packets Sent A count of the number of transmitted packets reported by the Ethernet MAC 50 EN Tx Errors A count of the number of transmit errors reported by the Ethernet MAC Viewing and Clearing Events The adapter maintains an event queue that reports the history of
117. not currently have an IP address 35 IP Addr Act 2 The second most significant byte in the adapter s current IP address or 0 if the adapter does not currently have an IP address 36 IP Addr Act 3 The second least significant byte in the adapter s current IP address or 0 if the adapter does not currently have an IP address 37 IP Addr Act 4 The least significant byte in the adapter s current IP address or 0 if the adapter does not currently have an IP address 38 Subnet Act 1 The most significant byte in the adapter s current subnet mask or 0 if the adapter does not currently have a subnet mask 39 Subnet Act 2 The second most significant byte in the adapter s current subnet mask or 0 if the adapter does not currently have a subnet mask 40 Subnet Act 3 The second least significant byte in the adapter s current subnet mask or 0 if the adapter does not currently have a subnet mask 41 Subnet Act 4 The least significant byte in the adapter s current subnet mask or 0 if the adapter does not currently have a subnet mask 42 Gateway Act 1 The most significant byte in the adapter s current gateway address or 0 if the adapter does not currently have a gateway address 43 Gateway Act 2 The second most significant byte in the adapter s current gateway address or 0 if the adapter does not currently have a gateway address 44 Gateway Act 3 The second least significant byte in the adapter s current gateway address
118. o the scanner Copy File Source Drivelnputlmage 3 Dest Drive1Feedback Length 1 Drive1CommandStop DriveOutputlmage 2 0 A a 5 Drive1CommandStart DriveOutput mage 2 1 Drive1CommandJog DriveOutputlmage 2 2 al CD Drive1 CommandClearFaults DriveOutputlmage 2 3 JE gt Drive1 CommandForward DriveOutputlmage 2 4 Drive1 CommandForward DriveOutput mage 2 5 COP Copy File Source Drive1Reference Dest DriveOutputlmage 3 Length 4 7 13 7 14 Using Multi Drive Mode Figure 7 8 Drive 1 Control Routine Continued Explicit Messaging Example Drive 1 parameters are accessed by adding 18432 decimal 4800 hex to the desired parameter number For example to access Parameter 39 an Instance of 18471 18432 39 is used PerformParameterRead1 MSG 13 J Type CIP Generic _ END Message Control ParameterRDMessage1 _ CDND L CERD PerformParameterWrite1 MSG 14 Type CIP Generic t CEN gt 4 Message Control ParameterWRMessage1 K CDND L CER gt RET 15 Return End Using Multi Drive Mode Figure 7 9 Drive 2 Control Routine 10 11 12 Drive 2 Control Subroutine This section takes the data from the input image area and moves it to specific tags Logic Status bits and Feedback for use elsewhere in the ladder p
119. of Counters UDINT Octets received UDINT Unicast packets received UDINT Non unicast packets received UDINT Inbound packets received but discarded UDINT Inbound packets with errors not discarded UDINT Inbound packets with unknown protocol UDINT Octets sent UDINT Unicast packets sent UDINT Non unicast packets sent UDINT Outbound packets discarded UDINT Outbound packets with errors 5 Get Media STRUCT of RX Received TX Transmitted Counters UDINT RX frames not having integral number of octets long UDINT RX frames not passing FCS check UDINT TX frames having one collision UDINT TX frames having multiple collisions UDINT Number of times of SQE test error message UDINT TX Frames delayed first attempt by busy medium UDINT Collisions detected later than 512 bit times in trans UDINT TX frames failing due to excessive collisions UDINT TX frames failing due to intern MAC sublayer TX error UDINT Times of carrier sense condition loss during trans UDINT RX frames exceeding the maximum frame size UDINT _ RX frames failing due to intern MAC sublayer RX error Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x4C No Yes Get_and_Clear C 36 EtherNet IP Objects Notes Appendix D Logic Command Status Words Appendix D provides the definitions of the Logic Command Logic Status words that are used for som
120. olders for all present DSI devices including the drive adapter and other DSI devices connected to the drive such as a HIM or other daisy chained drives when the adapter is in Multi Drive mode Port 0 X folders X total connected hosts Click a respective Port folder to expand and view its device s Module information link Module diagnostics link and Fault queue link which take you to related information pages See Figure 9 8 Figure 9 9 and Figure 9 10 for examples of these pages Online user manuals link Click this link to view Allen Bradley s web page with documentation for drives and other devices Software tools Web site Click this link to view Allen Bradley s web page with information link about software tools such as DriveExplorer and DriveExecutive Launch my Click this link to launch the DriveExplorer software already DriveExplorer software installed on your PC link Launch my Click this link to launch the DriveExecutive software already DriveExecutive installed on your PC software link E mail technical support link Click this link to view a new e mail message window to send a message to Allen Bradley s Technical Support Team Viewing the Adapter s Web Pages 9 5 Information on Adapter Home Page The adapter Home Page displays the following information for the adapter and host Item Description Adapter Information e Revision e IP Ad
121. ons of data rate and duplex refer to the Glossary 1 Set the value of Parameter 15 EN Rate Cfg to the data rate at which your network is operating Figure 3 8 Ethernet Data Rate Screen on PowerFlex 4 Class HIM 22 HIM Value Data Rate Parameter 0 _ Autodetect default 1 10M bits sec Full 2 10M bits sec Half WEE LIMITS 3 100M bits sec Full 4 100M bits sec Half 2 Reset the adapter See Resetting the Adapter section in this chapter Setting the I O Configuration The I O configuration determines the number of drives that will be represented on the network as one node by the adapter If the Mode Switch is set to the Single mode default position only one drive is represented by the adapter and Parameter 22 DSI I O Cfg has no effect If the Operating Mode Switch is set to the Multi Drive position up to five drives can be represented as one node by the adapter 1 Set the value in Parameter 22 DSI I O Cfg Figure 3 9 1 0 Configuration Screen on Powerflex 4 Class HIM 22 HIM Value Description Moe Suwito Position Single Multi Drive 0 Drive 0 Default v PA 1 Drives 0 1 s Lug Ts 2 Drives 0 2 V 3 Drives 0 3 s 4 Drives 0 4 s 3 8 Configuring the Adapter Drive 0 is the PowerFlex 40 with the 22 COMM E adapter installed Drive 1 through 4 are PowerFlex 4 and or 40 drives that multi drop to the RJ45 RS 485 port on Drive 0 Refer to Chapter 7
122. ot communicating with any devices on the network NETB Flashing Normal Operation The adapter is properly connected and Green is transmitting data packets on the network Off Normal Operation The adapter is not transmitting data packets 1 If 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 8 Troubleshooting Chapter 2 Installing the Adapter Chapter 2 provides instructions for installing the adapter in a PowerFlex 40 drive Topic Page Preparing for an Installation 2 1 Setting Operating Mode and Web Pages Switches 2 1 Connecting the Adapter to the Network 2 3 Connecting the Adapter to the Drive 2 4 Applying Power 2 6 Commissioning the Adapter 2 6 Preparing for an Installation Before installing the EtherNet IP adapter e Read the EtherNet IP Performance and Application Guide Publication ENET APO01 and the EtherNet IP Media Planning and Installation Manual Publication ENET INOO1 e Verify that you have all required equipment Refer to Chapter 1 Getting Started Important To guard against device malfunction use a grounding wrist strap when installing the EtherNet IP adapter Setting Operating Mode and Web Pages Switches Before installing the adapter you must set its Operating Mode Switch for Single or Multi Drive op
123. quick start 1 5 R Reference Feedback definition G 6 in I O image 5 2 7 4 using 5 3 Register object C 6 regulatory compliance A 1 related documentation P 1 requested packet interval 4 6 Reset Module parameter B 3 ribbon cable see Internal Interface cable RSLinx P 2 RSLogix adding devices to the I O configuration 4 2 to 4 7 definition G 7 saving the I O configuration 4 7 using RSLinx with 4 7 RSNetWorx for EtherNet IP definition G 7 web site G 7 S safety precautions 1 4 scanner adding to an I O configuration 4 2 definition G 7 Single mode setting with switch SW1 2 2 versus Multi Drive mode 7 1 specifications adapter A 1 EtherNet IP address G 5 EtherNet IP subnet mask G 7 status indicators definition G 7 locating 8 1 normal operation 1 6 troubleshooting with 8 1 Subnet Cfg 1 4 parameters B 2 subnet mask definition G 7 setting with BOOTP 3 3 setting with parameters 3 5 switches on adapter locating 1 1 setting 2 2 T TCP Transmission Control Protocol G 8 TCP IP Interface object C 32 technical support P 2 tools required 1 3 troubleshooting 8 1 to 8 10 Index 1 5 U UDP User Datagram Protocol G 8 update see flash update W web pages enabling with switch SW2 2 2 for your adapter 9 1 web site for DriveExplorer software G 2 for DriveTools SP software G 2 for EDS files G 3 for EtherNet IP G 3 for manuals P 1 wiring
124. r provides many options for configuring and using I O including configuring the size of I O by selecting the number of attached drives Single or Multi Drive mode Chapter 3 Configuring the Adapter and Chapter 4 Configuring the Scanner or Bridge discuss how to configure the adapter and scanner or bridge 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 or bridge Using I O Messaging Understanding the I O Image The terms input and output are defined from the scanner s point of view Therefore Output I O is data that is produced by the scanner and consumed by the EtherNet IP 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 Configuration of the Operating Mode Switch SW1 on the adapter and Parameter 22 DSI I O Cfg The image table always uses consecutive words starting at word 0 Figure 5 1 illustrates an example of a Single drive I O image 16 bit words Figure 5 1 Single Drive Example of I O Image EtherNet IP DSI Controller Scanner Adapter PowerFlex 40 Drive Word and I O Output z H eae PNA erence ELLIS Reference Write ie ppr pie Read eeabac e eedbacl Message Message Message PT Handler MA Buffer il Nie Handler
125. r to configure the network features on the adapter for example the IP address e Status indicators report the status of the drive communications adapter and network e T O including Logic Command Reference may be configured for your application using a parameter e Explicit Messages are supported e User defined fault actions determine how the adapter and PowerFlex drive respond to communication disruptions on the network and controllers in idle mode e Each adapter has Web pages that display information about the adapter the connected drive and other DSI devices connected to the drive The adapter can also be configured to send e mail messages to desired addresses when selected drive faults occur and or are cleared and or when the adapter takes a communication or idle fault action Getting Started 1 3 Compatible Products The EtherNet IP adapter is compatible with Allen Bradley PowerFlex Component Class drives and other products that support an internal DSI adapter At the time of publication compatible products include e PowerFlex 40 drives The Multi Drive feature Chapter 7 also provides a means for PowerFlex 4 drives and other DSI Hosts to connect to EtherNet IP Required Equipment Equipment Shipped with the Adapter When you unpack the adapter verify that the package includes Q One EtherNet IP adapter Q A 15 24 cm 6 in Internal Interface Cable Q This manual User Supplied Equipment To install a
126. rNet IP adapter at IP address 10 91 97 59 Please do not reply to this nesseqge os the adapter t process replies The DST host has logged the folloving fault trip Fault code 4 Fault text UnderVYoltage See this device s Veb page at http 10 91 97 59 p TIP To stop e mail messages do one of the following e Delete all e mail addresses from the Configure E mail Notification web page e Uncheck all of the Send an e mail message when boxes Disabling the adapter web pages by setting the Web Pages Switch SW2 in Figure 2 1 to the Disable Web position will NOT stop the adapter from sending e mail messages 9 10 Viewing the Adapter s Web Pages Configure Process Display Web Page The Configure Process Display web page enables you to set a host s parameters whose values you want shown in the Process status fields on the Home Page and the Process Display pop up window When the adapter is operated in Multi Drive mode the Home Page does not show a Process status field for a host By default this configuration is not protected After configuration the settings can be protected by setting the Parameter 30 Web Features Proc Dsp Cfg Bit 1 value to 0 Disabled To change a protected configuration it must first be unprotected by setting the Proc Dsp Cfg Bit 1 value back to 1 Enabled For more information see Chapter 3 Setting Web Features Access Figure 9 7 Example of Confi
127. re and monitor a slave device s parameters on the EtherNet IP network 6 2 Using Explicit Messaging Formatting Explicit Messages Explicit Messages for the ControlLogix Controller ControlLogix scanners and bridges accommodate both downloading Explicit Message Requests and uploading Explicit Message Responses The scanner or bridge 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 DriveMessageControl x Configuration Communication Tag Name jl Message Configuration DriveMessageControl x Configuration Communication Tag l ea ooo O Message Configuration DriveMessageControl zik Configuration Communication Tag Message Type E Service 2 Source Element Q x Type Source Length EE eee Servi 3 Service E Hen Class E He Destination O Help Instance O Atribute Hex Nee Enable Q Enable Waiting O Start Done Done Length 0 Eror Code Extended Error Code T Timed Out Error Path Error Text Cancel Any Help Refer to page 6 3 for a description of the data that is required in each box d 11 TIP To display the Message Configuration 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 a
128. res Tods Hep Lis cutemeeunks E freenems windows i Back gt gt OA A Dh Gitavertes Grey oy SH a Adress heto 1 10 91 97 59 Rockwell Automation Allen Bradley PYAS OVV Etiverivet Adapter expan Home D Process display TCP IP configuration O configure e mail not configure process d Gi Browse DSI devices online user manuals O software tools Web Launch my DriveExp 1S Launch my DriveExe Q E mail technical supp me F Send an mail message when a fault trip is dedared on the DSI host drive For any fault C Only for the following faults example 1 3 5 8 C For all faults except the following faults example 1 3 5 8 F Send an e mail message when a fault on the drive is cdeared F Send an e mai n rs ge when the 22 COMM E takes its communication fault action mai n when th 22 COMM E s its idle fault acton of mail SMTP server okie ses to notify 80 char max jdoe exampiecom ci e mail message 50 char max TO Save changes Copyright 2003 Rockwell Automation Inc All Rights Reserved IP addre E mail add CE Loca neraet To configure e mail notification 1 Click the desired Host Faults check boxes you want to occur that will send e mail notification If you only want e mail notification when specific faults occur click this radio button and type the fault numbers in the box If you only want e m
129. rive The Logic Command for each drive is set to the value of the second word of the data where there are ones in the first word of the data Logic Command Logic Command and not Mask word or Command word and Mask word EtherNet IP Objects C 7 Register Object Continued Instances Continued Instance Description ee of aT 27 Logic Command for Drive 2 Out 16 28 Logic Status for Drive 2 In 16 29 Reference for Drive 2 Out 16 30 Feedback for Drive 2 In 16 31 Logic Command for Drive 3 Out 16 32 Logic Status for Drive 3 In 16 33 Reference for Drive 3 Out 16 34 Feedback for Drive 3 In 16 35 Logic Command for Drive 4 Out 16 36 Logic Status for Drive 4 In 16 37 Reference for Drive 4 Out 16 38 Feedback for Drive 4 In 16 Class Attributes Attribute Access ID Rule Name Data Type Description 1 Get Revision UINT 1 2 Get Max Instance UINT 38 3 Get Number of Instances UINT 38 100 Set Control Timeout UINT Control timeout in seconds EtherNet IP Objects Register Object Continued Instance Attributes Attribute ID Access Rule Name Data Type Description 1 Get Bad Flag BOOL If set to 1 then attribute 4 contains invalid bad or otherwise corrupt data 0 good 1 bad 2 Get Direction BOOL Direction of data transfer 0 Input Drive to EtherNet IP 1 Output EtherNet IP to Drive 3 Get Size UINT Size of register data in bits 4 Conditional Data
130. rivetools and DriveTools SP Online Help installed with the software HIM HIM Quick Reference 22HIM QRO001 PowerFlex 4 Drive PowerFlex 4 User Manual 22A UMO01 PowerFlex 4 Quick Start 22A QS001 PowerFlex 40 Drive PowerFlex 40 User Manual 22B UMO001 PowerFlex 40 Quick Start 22B QS001 RSLinx Getting Results with RSLinx Guide LINX GRO001 Online help installed with the software RSLogix 5 RSLogix 5 Getting Results Guide LG5 GRO001 Online help installed with the software RSLogix 500 RSLogix 500 Getting Results Guide LG500 GR001 Online help installed with the software wee RSLogix 5000 RSLogix 5000 Getting Results Guide 9399 RLD300G Online help installed with the software R RSNetWorx for RSNetWorx for EtherNet IP Getting Results Guide ENET GRO001 EtherNet IP Online help installed with the software ControlLogix and ControlLogix EtherNet Bridge Module User Manual 1756 UM050 1756 ENBT or 1756 ENET B ControlLogix EtherNet Communications Module User Manual 1756 UM051 Documentation can be obtained online at http www ab com manuals About This Manual Conventions Used in this Manual The following conventions are used throughout this manual Parameter names are shown in the format Parameter xx The xx represents the parameter number The represents the parameter name For example Parameter 01 Mode Menu commands are shown in bold type face and
131. rks with a ControlLogix controller and a PowerFlex 40 drive Function of the Example Program This example program enables you to e Obtain status information from the drive e 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 Setting for the Example Program e Adapter IP address 10 91 97 74 is set using parameters e The adapter is configured for Single mode Operating Mode Switch is set to Single RSLogix 5000 Configuration Controller Tags When you add the adapter and drive to the I O configuration see Chapter 4 RSLogix 5000 automatically creates controller tags for them In this example program the following controller tags are used Using I O Messaging Figure 5 2 Controller Tags for Example ControlLogix Ladder Logic Program troller Tags EtherNetIP_Demo controller PF40_Demo C PF40_Demo AB ETHERNET PF40_Demo 0 AB ETHERNET_ You can expand the Output and Input tags to reveal the output and input configuration The Output tag for this example program requires two 16 bit words of data The Input tag for this example requires four 16 bit words of data See Figure 5 3 Figure 5 3 Input Output Image for Example ControlLogix Ladder Logic Program Controller Tags EtherNetIP_Demo controller Scope EtherNetiIP_Demofc gt Show Show Al 7 Sort T
132. rogram DrivelnputImage 4 0 Drive2StatusReady Drivelnputlmage 4 1 Drive2StatusActive DrivelnputImage 4 3 Drive2StatusForward DrivelnputImage 4 7 Drive2StatusFaulted d E CD DrivelnputImage 4 8 Drive2StatusAtReference COP Copy File Source DrivelnputImage 5 Dest Drive2Feedback Length A This section takes the data from specific tags Logic Command bits and Reference and moves them to the output image area for transmission to the scanner Drive2CommandStop DriveOutputlmage 4 0 E gt Drive2CommandStart DriveOutputlmage 4 1 JE Drive2CommandJog DriveOutputlmage 4 2 Se Drive2CommandClearFaults DriveOutputlmage 4 3 aE Drive2CommandForward DriveOutputlmage 4 4 Drive2CommandForward DriveOutputlmage 4 5 I OP Copy File Source Drive2Reference Dest DriveOutputImage 5 Length A 7 15 7 16 Using Multi Drive Mode Figure 7 9 Drive 2 Control Routine Continued 13 14 15 End Explicit Messaging Example Drive 2 parameters are accessed by adding 19456 decimal 4C00 hex to the desired parameter number For example to access Parameter 39 an Instance of 19495 19456 39 is used PerformParameterRead2 MSG J Type CIP Generic EN gt Message Control ParameterRDMessage2_ CDND L CER gt PerformParameterWrite2 MSG J Type CIP Generic EN gt Message Control ParameterWRMessage2 _
133. s DSI and the adapter Refer to Chapter 8 Troubleshooting DSI Connector A 20 pin single row shrouded male header An Internal Interface cable is connected to this connector and a connector on the drive An RJ 45 connector for the Ethernet cable The connector is CAT 5 compliant to ensure reliable data transfer on 100Base TX Ethernet connections Ethernet Connector Operating Mode Switch and Web Pages Switch Selects Single or Multi Drive mode of operation and enables or disables the adapter web pages Refer to Chapter 2 Setting Operating Mode and Web Pages Switches 1 2 Getting Started Features The EtherNet IP adapter features the following e The adapter is mounted in the PowerFlex 40 drive It receives the required power from the drive e A switch lets you select between Single or Multi Drive mode of operation In Single mode default the adapter represents a single drive on one node In Multi Drive mode the adapter represents up to 5 drives on one node e A switch lets you enable or disable default the adapter web pages e A number of configuration tools can be used to configure the adapter and connected drive The tools include an external PowerFlex 4 Class HIM 22 HIM network software such as RSNetWorx for EtherNet IP or drive configuration software such as DriveExplorer version 3 01 or higher or DriveExecutive version 3 01 or higher In addition you can use a BOOTP serve
134. s a BOOTP server The BOOTP server assigns the adapter a pre configured IP address a subnet mask and a gateway address therefore you do not have to configure these using the parameters in the adapter BOOTP can make it easier to administer an EtherNet IP network A free version of Rockwell Software s BOOTP Server can be accessed at http www ab com networks Bridge A bridge refers to a network device that can route messages from one Ethernet network to another A bridge also refers to a communications module in a ControlLogix controller that connects the controller to a network See also Scanner CIP Common Industrial Protocol CIP is the transport and application layer protocol used for messaging over EtherNet IP ControlNet and DeviceNet networks The protocol is used for implicit messaging real time I O and explicit messaging configuration data collection and diagnostics ControlFLASH ControlFLASH 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 Glossary instructions to implement specific functions such as I O control logic timing counting report generation communication arithmeti
135. see cables Z zero data configuring the adapter for 3 8 definition G 8 1 6 Index 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 BrihlstraBe 22 D 74834 Elztal Dallau Germany Tel 49 6261 9410 Fax 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 22COMM UMO004B EN P
136. served 2 Logic Cmd Logic Command being transmitted to the drive by the adapter 3 Reference Reference being transmitted to the drive by the adapter 4 Reserved 5 Logic Sts Logic Status being received from the drive by the adapter 6 Feedback Feedback being received from the drive by the adapter 7 22 Reserved 23 DSI Overrun Errs The number of DSI receive overrun errors 24 DSI Framing Errs The number of DSI receive framing errors DSI CRC Errs The number of DSI receive CRC errors 8 6 Troubleshooting No Name Description 26 Boot Flash Count Number of boot firmware flash updates made to the adapter after shipping 27 App Flash Count Number of application firmware flash updates made to the adapter after shipping 28 HW Addr 1 The most significant byte in the adapter s Ethernet MAC address 29 HW Addr 2 The second most significant byte in the adapter s Ethernet MAC address 30 HW Addr 3 The third most significant byte in the adapter s Ethernet MAC address 31 HW Addr 4 The third least significant byte in the adapter s Ethernet MAC address 32 HW Addr 5 The second least significant byte in the adapter s Ethernet MAC address 33 HW Addr 6 The least significant byte in the adapter s Ethernet MAC address 34 IP Addr Act 1 The most significant byte in the adapter s current IP address or 0 if the adapter does
137. sor x 10 Decimal Places Internal Value Display Value x Divisor x 1022 al Places Multiplier x Base Offset Common Services Implemented for Service Code Class Instance Service Name Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single Object Specific Services Service Code Service Name 0x32 Get_Attributes_Scattered 0x34 Set_Attributes_Scattered 1 The instance and attribute are ignored for these services The table below lists the parameters for the Get_Attributes_Scattered and Set_Attributes_Scattered object specific service Name Data Type Description Scattered Parameters STRUCT of Parameter Number WORD Parameter to read or write Parameter Value WORD Parameter value to read or write zero when reading Important The STRUCT may repeat up to 64 times in a single message C 28 EtherNet IP Objects DPI Fault Object Class Code Hexadecimal Decimal 0x97 151 Products such as PowerFlex drives use this object for faults Adapters use this object for events Instances The number of instances depends on the maximum number of faults or events supported in the queue The maximum number of faults events can be read in Instance 0 Attribute 2 Instances Dec 0 16383 Single Drive Mode Instances 0 16383 in the drive Multi Drive Mode Instances 0 16383 in Drive 0 16384 17407 Instances 0 1023 in the adapter
138. sponding Comm Loss Action s On the EtherNet IP side Parameters 18 Comm FIt Action and 19 Idle Flt Action in the 22 COMM E determine the action taken for ALL of the drives on the Multi Drive node The following Multi Drive parameters must be set in the 22 COMM E Parameter Value 22 DSI I O Cfg 0 Drive 0 connected 1 Drives 0 1 connected 2 Drives 0 2 connected 3 Drives 0 3 connected 4 Drives 0 4 connected 24 Drv 0 Addr Parameter A104 Comm Node Address in Drive 0 25 Drv 1 Addr Parameter A104 Comm Node Address in Drive 1 26 Drv 2 Addr Parameter A104 Comm Node Address in Drive 2 27 Drv 3 Addr Parameter A104 Comm Node Address in Drive 3 28 Drv 4 Addr Parameter A104 Comm Node Address in Drive 4 After setting the 22 COMM E parameters set the Operating Mode Switch SW1 from Single drive operation to Multi Drive operation set to ON position and reset the adapter or cycle power Refer to Chapter 2 Setting Operating Mode and Web Pages Switches Important 22 COMM E parameters can be set using a DSI peripheral HIM DriveExplorer with 22 SCM 232 etc ONLY when the Operating Mode Switch is in the Single mode position SW1 OFF Using Multi Drive Mode Multi Drive Ladder Logic Program Example The example ladder logic program demonstrates using Multi Drive mode with five drives See Figure 7 2 for a system layout diagram Function of the
139. ss 255 255 255 255 Gateway Cfg 1 Gateway Cfg 2 Gateway Cfg 3 Gateway Cfg 4 Important To set the gateway address using these parameters Parameter 02 BOOTP must be set to Disabled Details Default Default Default Default Minimum Maximum Type Reset Required Default Default Default Default Minimum Maximum Type Reset Required Default Default Default Default Minimum Maximum Type Reset Required 0 0 0 0 0 255 Read Write Yes oooo o 255 Read Write Yes oooo o 255 Read Write Yes Parameter 15 16 17 Adapter Parameters B 3 No Name and Description Details EN Rate Cfg Default 0 Autodetect Sets the network data rate at which the adapter Values 0 Autodetect communicates 1 10 Mbps Full 2 10 Mbps Half 3 100 Mbps Full 4 100 Mbps Half Type Read Write Reset Required Yes EN Rate Act Default 0 No Link Displays the network data rate currently being Values 0 No Link used by the adapter 1 10 Mbps Full 2 10 Mbps Half 3 100 Mbps Full 4 100 Mbps Half Type Read Only Reset Module Default 0 Ready No action if set to Ready Resets the adapter if Values 0 Ready set to Reset Module Restores the adapter to its 1 Reset Module factory default settings if set to Set Defaults This 2 Set Defaults parameter is a command It will be reset to O Type Read Write Ready
140. sses when selected drive faults occur and or are cleared and or when the adapter takes a communication or idle fault action For more details see the Configure E mail Notification Web Page section in this chapter Bits 0 and 1 of Parameter 30 Web Features can be used to respectively protect the configured settings for e mail notification and the Process Display web page The process display settings determine the parameters whose values you want shown in the Process status field on the Home page and the Process Display pop up window for the host When the adapter is operated in Multi Drive mode the Home Page does not show a Process status field for a host For details to protect settings refer to Chapter 3 Setting Web Features Access 9 2 Viewing the Adapter s Web Pages To view the web pages of the adapter 1 On a computer with access to the EtherNet IP network on which the adapter is installed launch a web browser such as Microsoft Internet Explorer version 5 0 or greater or Netscape Navigator version 4 6 or greater The computer can access the adapter web pages if it is connected to the same network as the adapter or if it is connected to a network with access to the adapter s network via a gateway device for example a router 2 In the Address box Explorer or Location box Navigator type the IP address of the adapter and then press ENTER The web Home Page for the adapter appears
141. status indicators can be viewed on the front of the drive after power has been applied 2 Apply power to the PowerFlex drive The adapter receives its power from the connected drive When you apply power to the product for the first time the status indicators should be green or off after an initialization If the status indicators go red there is a problem Refer to Chapter 8 Troubleshooting Commissioning the Adapter To commission the adapter you must set a unique IP address Refer to the Glossary for details about IP addresses After installing the adapter and applying power you can set the IP address by using a BOOTP server or by setting parameters By default the adapter is configured so that you must set the IP address using a BOOTP server To set the IP address using parameters you must disable the BOOTP feature Refer to Chapter 3 Configuring the Adapter for details Important New settings for some parameters for example Parameters 03 IP Addr Cfg 1 through 06 IP Addr Cfg 4 are recognized only when power is applied to the adapter or it is reset After you change parameter settings cycle power or reset the adapter Chapter 3 Configuring the Adapter Chapter 3 provides instructions and information for setting the parameters in the adapter Topic Page Topic Page Configuration Tools 3 1 Setting the I O Configuration 3 7 Using the PowerFlex 4 Class HIM 3 2 S
142. t defaults and reconfigure the adapter e f resetting defaults does not correct the problem flash the adapter with the latest firmware release Solid The adapter has failed the e Cycle power to the drive Red hardware test e Replace the adapter Flashing The adapter is operational e Place the scanner in RUN mode Green butis not transferring I O data e Program the controller to recognize and transmit I O to the adapter e Configure the adapter for the program in the controller Solid The adapter is operational No action required Green and transferring I O data 8 4 Troubleshooting Net A Status Indicator Status Off Cause The adapter and or network is not powered the adapter is not properly connected to the network or the adapter needs an IP address Corrective Actions e Securely connect the adapter to the drive using the Internal Interface ribbon cable and to the network using an Ethernet cable e Correctly connect the Ethernet cable to the Ethernet connector e Seta unique IP address using a BOOTP server or by disabling BOOTP and using adapter parameters e Apply power to the drive and network Flashing An EtherNet IP connection e Place the scanner in RUN mode Red has timed out e Check the amount of traffic on the network Solid The adapter failed the Configure the adapter to use a unique IP address Red duplicate IP address and cycle power detection test Flas
143. t to the drive as a Reference Changes to these parameters take effect immediately A reset is not required 3 10 Configuring the Adapter Setting Web Features Access By accessing the IP address set for the adapter using a web browser you can view the adapter s web pages for information about the adapter the PowerFlex drive to which it is connected and other DSI devices connected to the drive such as HIMs serial adapters or other daisy chained drives when adapter is in Multi Drive mode Additionally the adapter can be configured to automatically send e mail messages to desired addresses when selected drive faults occur and or are cleared and or when the adapter takes a communication or idle fault action For more details on the adapter s web pages refer to Chapter 9 Viewing the Adapter s Web Pages By default the adapter web pages are disabled To enable the adapter web pages e Refer to Figure 2 1 and set the Web Pages Switch SW2 to the Enable Web up position Important For a change to the switch setting to take effect the adapter must be reset see Resetting the Adapter section in this chapter Bit 0 of Parameter 30 Web Features is used to protect the configured settings for e mail notification By default settings are not protected To protect an e mail configuration set the value of E mail Cfg Bit 0 to 0 Disabled You can unprotect the configuration by changing Bit 0 ba
144. tImage 0 Dest MultiDrive_Demo O Data 0 Length 5 End Drive 0 Drive 4 Control Routines The following Drive Control routines provide status information Logic Status and Feedback control Logic Command and Reference and parameter read write for each of the respective drives Control Routine Refer to Drive 0 Figure 7 7 Drive 1 Figure 7 8 Drive 2 Figure 7 9 Drive 3 Figure 7 10 Drive 4 Figure 7 11 Using Multi Drive Mode 7 11 Figure 7 7 Drive 0 Control Routine Drive 0 Control Subroutine This section takes the data from the input area and moves it to specific tags Logic Status bits and Feedback for use elsewhere in the ladder program Drivelnputlmage 0 0 DriveOStatusReady 0 Drivelnputlmage 0 1 DriveOStatusActive 1 JE C gt Drivelnputlmage 0 3 DriveOStatusForward 2 JE 4 DrivelnputImage 0 7 DriveOStatusFaulted 3 JE C DrivelnputImage 0 8 Drive0StatusAtReference 4 COP 5 Copy File Source DrivelnputImage 1 Dest DriveOFeedback Length 1 This section takes the data from specific tags Logic Command bits and Reference and moves them to the output image area for transmission to the scanner Drive0CommandStop DriveOutputImage 0 0 6 e D C gt Drive0CommandStart DriveOutputlmage 0 1 7 DriveOCommandJog DriveOutputImage 0 2 8 JE DriveOQCommandClearFaults DriveOutputImage 0 3 9 JE gt Drive0CommandForward DriveOutpu
145. tImage 0 4 10 JE Drive0CommandForward DriveOutputImage 0 5 11 COP 12 Copy File Source DriveOReference Dest DriveOutputImage 1 Length 1 7 12 Using Multi Drive Mode Figure 7 7 Drive 0 Control Routine Continued 13 14 15 End Explicit Messaging Example Drive 0 parameters are accessed by adding 17408 decimal 4400 hex to the desired parameter number For example to access Parameter 39 an Instance of 17447 17408 39 is used PerformParameterReadO MSG J Type CIP Generic EN Message Control ParameterRDMessage0 _ CDND L CER gt PerformParameterWriteO MSG J Type CIP Generic EN Message Control ParameterWRMessage0 _ DN gt ER gt RET Return Figure 7 8 Drive 1 Control Routine 10 11 12 Drive 1 Control Subroutine Using Multi Drive Mode This section takes the data from the input image area and moves it to specific tags Logic Status bits and Feedback for use elsewhere in the ladder program DrivelnputImage 2 0 Drive1StatusReady dE gt DrivelnputImage 2 1 Drive1StatusActive DrivelnputImage 2 3 Drive1StatusForward DrivelnputImage 2 7 Drive1StatusFaulted DrivelnputImage 2 8 Drive1StatusAtReference gt COP This section takes the data from specific tags Logic Command bits and Reference and moves them to the output image area for transmission t
146. ted that another device is using its network address In this case the adapter will not participate in any network activity 8 10 Troubleshooting Code Event Description 43 EN Open An I O connection from the network to the adapter was opened 44 EN Close An I O connection from the network to the adapter was closed 45 EN Timeout An I O connection from the network to the adapter has timed out 46 EN Comm Fit The adapter has performed the Comm Fit action specified by the user 47 EN Idle Fit The adapter has performed the Idle Fit action specified by the user 48 PCCC IO Open The adapter has begun receiving PCCC Control messages the PCCC Control Timeout was previously set to a non zero value 49 PCCC IO Close The device sending PCCC Control messages to the adapter has set the PCCC Control Timeout to a value of zero 50 PCCC IO Time Fit The adapter has not received a PCCC Control message for longer than the PCCC Control Timeout 51 EN Sent Reset The adapter received a reset from the network 52 Msg Ctrl Open The adapter has begun receiving Client Server Control messages the Client Server Control Timeout was previously set to a non zero value 53 Msg Ctrl Close The device sending Client Server Control messages to the adapter has set the Client Server Control Timeout to a value of zero 54 Msg Ctrl Timeout The adapter has not received a Client Server Control
147. ter 19 Idle Fit Action is set to Send Fit Cfg and the scanner is put into Program or Test mode DSI I O Cfg Sets the configuration of the Drives that are active in the Multi Drive mode Identifies the connections that would be attempted on a reset or power cycle Default Minimum Maximum Type Reset Required Default Minimum Maximum Type Reset Required Default Values Type yp Reset Required 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111 11111111 Read Write No 0 0 65535 Read Write No 0 0 Drive 0 1 Drives 0 1 2 Drives 0 2 3 Drives 0 3 4 Drives 0 4 Read Write Yes Adapter Parameters B 5 Parameter No Name and Description Details 23 DSI I O Act Default xxx0 0000 Displays the Drives that are active in the Bit Values 0 Drive Active Multi Drive mode 1 Drive Inactive Type Read Only Bt 76543210 Bit Definitions Default x x x 0 0 0 0 0 gt 0 Drive 0 Active O ro L___ 1 Drive 1 Active gt 2 Drive 2 Active 3 Drive 3 Active 4 Drive 4 Active 5 Not Used 6 Not Used 7 Not Used 24 Drv 0 Addr Default 100 25 Drv 1 Addr Default 101 26 Drv 2 Addr Default 102 27 Drv 3 Addr Default 103 28 Drv 4 Addr Default 104 Minimum 1 Sets the corresponding node addresses of the Maximum 247 daisy chained drives when the adapter Operating Type Read Write Mode Switch S
148. the controller was switched to program mode This setting is effective only if I O that controls the drive is transmitted through the adapter A Details Values Type yp f Reset Required 0 Fault 0 Fault 1 Stop 2 Zero Data 3 Hold Last 4 Send Fit Cfg Read Write No ATTENTION Risk of injury or equipment damage exists Parameter 19 Idle Fit Action lets you determine the action of the adapter and connected drive if the scanner is idle By default this parameter faults the drive You can set this parameter so that the drive continues to run Precautions should be taken to ensure that the setting of this parameter does not create a risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations for example a disconnected drive Fit Cfg Logic Sets the Logic Command data that is sent to the drive if any of the following is true e Parameter 18 Comm Fit Action is set to Send Fit Cfg and communications are disrupted e Parameter 19 Idle Fit Action is set to Send Fit Cfg and the scanner is put into Program or Test mode The bit definitions will depend on the product to which the adapter is connected Fit Cfg Ref Sets the Reference data that is sent to the drive if any of the following is true e Parameter 18 Comm FIt Action is set to Send Fit Cfg and communications are disrupted e Parame
149. tion G 6 in I O image 5 2 7 4 using 5 2 M MAC address see hardware address manual conventions P 2 related documentation P 1 web site P 1 mechanical dimensions A 1 messages see Explicit Messages or VO MOD status indicator locating 8 1 troubleshooting with 8 3 Mode parameter B 1 modes of operation 1 6 mounting the adapter 2 4 to 2 5 Index Multi Drive mode additional information 7 22 Explicit messaging 7 20 ladder logic program example 7 6 setting with switch SW1 2 2 system wiring 7 3 using 7 1 versus Single mode 7 1 N NET A status indicator locating 8 1 troubleshooting with 8 4 NET B status indicator locating 8 1 troubleshooting with 8 5 network IDs G 5 Non Volatile Storage NVS definition G 6 in adapter 3 1 in drive 6 1 0 objects list of C 1 to C 35 using for Explicit messages 6 3 ODVA EtherNet IP specification G 3 operating status 1 6 P Parameter Group object C 13 Parameter object C 9 parameters accessing 3 1 convention P 2 editing 3 2 list of B 1 to B 5 numbers B 1 PCCC G 6 PCCC object C 15 ping G 6 PORT status indicator locating 8 1 troubleshooting with 8 2 power consumption A 1 PowerFlex drives 4 40 Logic Command Status D 1 compatible with adapter 1 3 definition G 6 HIM 3 2 installing adapter on 2 4 preparing for an installation 2 1 processor see controller programmable logic controller see controller Q
150. tion Copy WEL 1756 ENBT pase Delete New Module Cross Reference Farat Properties The Select Module Type dialog box Figure 4 7 appears Figure 4 7 Select Module Type Dialog Box Select Module Type x Type Major Revision IETHERNET MODULE 1 X Type Description 1756 ENET A 1756 ENET B 1788 ENBT A 1794 AENT A ETHERNET MODULE 1734 Ethernet Adapter Twisted Pair Media 1756 10 100 Mbps Ethernet Bridge Twisted Pair Media 1756 Ethernet Communication Interface 1756 Ethernet Bridge 1788 10 100 Mbps Ethernet Bridge Twisted Pair Media 1794 10 100 Mbps Ethernet Adapter Twisted Pair Media Generic Ethernet Module m Show Vendor an v M Other M Specialy 1 0 Select All W Analog I Digital IY Communication Motion IM Controller Clear All Cancel Hep 2 Select ETHERNET MODULE to configure a 22 COMM E Figure 4 7 and then click OK Configuring the Scanner or Bridge 4 5 The Module Properties dialog box Figure 4 8 appears Figure 4 8 Module Properties Dialog Box Page 1 EE Module Properties ENet_Scanner ETHERNET MODULE NI General Connection Module Info ETHERNET MODULE Generic Ethernet Module Allen Bradley ENet_Scanner PF40_Demo Description a Con Fomat DalasINT Te Address Host Name IP Address 10 C Host Name a Cancel Appi Help Type Vendor Parent p Connection Parameters Assembly P Instance Size o E H w out 2 nsl Configuration
151. ts DriveOutputIlmage 8 3 9 J gt Drive4CommandForward DriveOutputImage 8 4 10 Drive4CommandForward DriveOutputImage 8 5 11 COP 12 Copy File Source Drive4Reference Dest DriveOutputImage 9 Length 1 7 20 Figure 7 11 End Using Multi Drive Mode Drive 4 Control Routine Continued Explicit Messaging Example Drive 4 parameters are accessed by adding 21504 decimal 5400 hex to the desired parameter number For example to access Parameter 39 an Instance of 21543 21504 39 is used PerformParameterWrite4 MSG I Type CIP Generic En Message Control ParameterRDMessage4_ CDND I CERD PerformParameterRead4 MSG JE Type CIP Generic CEN gt Message Control ParameterWRMessage4 __ K lt CDND L lt cER gt RET Return Multi Drive Mode Explicit Messaging Parameter addressing for Explicit messaging is different in Multi Drive than with Single mode In Single mode the Instance value in the message equals the desired parameter number in the drive In Multi Drive mode an Instance table is used to account for the parameters in the adapter and up to 5 drives The parameters in the adapter and each of the drives are offset by 400 hex 1024 decimal Instance Hex Dec Device Parameter 4000 43FF 16384 17407 22 COMM E 0 1023 4400 47FF 17408 18431 _ Drive 0 0 1023 4800 4BFF 18432 19455 Drive 1
152. tus and Feedback data for all five drives from the scanner DINTs and moves it to specific INT tags for use elsewhere in the ladder program The input image is as follows Drive 0 control subroutine Copy File Dest Length OP Source MultiDrive_Demo l Data 0 DrivelnputImage 0 10 7 9 Drive 1 control subroutine JSR Jump To Subroutine Routine Name DriveOd JSR Drive 2 control subroutine Jump To Subroutine Routine Name Drive1 Drive 3 control subroutine JSR Jump To Subroutine Routine Name Drive2 JSR Drive 4 control subroutine Jump To Subroutine Routine Name Drive3 JSR Jump To Subroutine Routine Name Drive4 7 10 Using Multi Drive Mode Figure 7 6 Main Routine Continued This rung writes the output image to the scanner The output image is as follows DriveOutputlmage 0 and DriveOutputIlmage 1 Drive 0 Logic Command and Reference DriveOutputlmage 2 and DriveOutputIlmage 3 Drive 1 Logic Command and Reference DriveOutputImage 4 and DriveOutputImage 5 Drive 2 Logic Command and Reference DriveOutputImage 6 and DriveOutputImage 7 Drive 3 Logic Command and Reference DriveOutputImage 8 and DriveOutputImage 9 Drive 4 Logic Command and Reference Note the length of the COP instruction is 5 because the Destination address is a DINT COP 6 Copy File Source DriveOutpu
153. twork Ethernet IP Industrial Protocol is an open producer consumer communication network based on the Ethernet standard IEEE 802 3 TCP IP UDP IP and CIP Designed for industrial communications both T O and explicit messages can be transmitted over the network Each device is assigned a unique IP address and transmits data on the network The number of devices that an EtherNet IP network can support depends on the class of IP address For example a network with a Class C IP address can have 254 nodes General information about EtherNet IP and the EtherNet IP specification are maintained by the Open DeviceNet Vendor s Association ODVA ODVA is online at http www odva org Explicit Messaging Explicit Messages are used to transfer data that does not require continuous updates They are typically used to 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 scanner is switched out of run mode The former uses a communications fault action and the latter uses an idle fault action Glossary 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 Para
154. u saved the project the Save As dialog box appears Navigate to a folder type a file name and click Save to save the configuration to a file on your computer 4 8 Configuring the Scanner or Bridge Notes A Chapter 5 Using I O Messaging Chapter 5 provides information and examples that explain how to use a ControlLogix controller to send I O Messaging to control configure and monitor a PowerFlex 40 drive Topic Page Topic Page About I O Messaging 5 1 Using Reference Feedback 5 3 Understanding the I O Image 5 2 Example Ladder Logic Program 5 3 Using Logic Command Status 5 2 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 Important At the time of publication only ControlLogix controllers can make an EtherNet IP network I O connection as described in this chapter PLC 5 s and SLC s cannot However these controllers can perform control using explicit messaging to the CIP Register object and PCCC N41 and N42 files About I O Messaging On EtherNet IP I O messaging is used to transfer the data which controls the PowerFlex drive and sets its Reference The EtherNet IP adapte
155. uired Special Drive Cover ordered separately Part Number 22B CCB for B Frame Part Number 22B CCC for C Frame Item Description DSI Connector 15 24 cm 6 in Internal Interface cable Ethernet cable Installing the Adapter 2 5 Figure 2 4 Mounting and Grounding the Adapter RLI SL2 TL3 UTI WT2 WTS Sees eeee ReRe Glo PowerFlex 40 Drive C Frame shown with cover removed Adapter Mounted on Back of Required Special Drive Cover C Frame cover shown Part Number 22B CCB for B Frame Part Number 22B CCC for C Frame ah Ground for C Frame drives NOTE For B Frame drives the lower left adapter screw does not ground the adapter To ground the adapter install the special drive cover onto the drive using both cover fasteners Installing the Adapter Applying Power ATTENTION Risk of equipment damage injury or death exists Unpredictable operation may 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 1 Install the required special cover on the drive The
156. y x Active 0 Not Active 1 Active X Command 0 Reverse Direction 1 Forward X Actual 0 Reverse Direction 1 Forward X Accel 0 Not Accelerating 1 Accelerating X Decel 0 Not Decelerating 1 Decelerating X Alarm 0 No Alarm 1 Alarm X Fault 0 No Fault 1 Fault X At Speed 0 Not At Reference 1 At Reference X Main Freq 0 Not Controlled By Comm 1 Controlled By Comm X Operation 0 Not Controlled By Comm Command 1 Controlled By Comm X Parameters 0 Not Locked 1 Locked X Digital Input 1 Status X Digital Input 2 Status X Digital Inout 3 Status if X Digital Input 4 Status if 1 This status is available for only PowerFlex 40 drives with firmware version 2 x or higher 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 EtherNet IP An adapter reads data on the network and transmits it to the connected device It also reads data in the device and transmits it to the network The 22 COMM E EtherNet IP adapter connects PowerFlex Component Class drives to an EtherNet IP network Adapters are sometimes also called cards embedded communication options gateways modules and peripherals 99 66 BOOTP Bootstrap Protocol BOOTP lets the adapter configure itself dynamically at boot time if the network ha
157. yte in the adapter s Ethernet MAC address 29 HW Addr 2 The second most significant byte in the adapter s Ethernet MAC address 30 HW Addr 3 The third most significant byte in the adapter s Ethernet MAC address 31 HW Addr 4 The third least significant byte in the adapter s Ethernet MAC address 32 _ HW Addr 5 The second least significant byte in the adapter s Ethernet MAC address 33 HW Addr 6 The least significant byte in the adapter s Ethernet MAC address 34 IP Addr Act 1 The most significant byte in the adapter s current IP address or 0 if the adapter does not currently have an IP address 35 IP Addr Act 2 The second most significant byte in the adapter s current IP address or 0 if the adapter does not currently have an IP address 36 IP Addr Act 3 The second least significant byte in the adapter s current IP address or 0 if the adapter does not currently have an IP address 8 8 Troubleshooting No Name Description 37 IP Addr Act 4 The least significant byte in the adapter s current IP address or 0 if the adapter does not currently have an IP address 38 Subnet Act 1 The most significant byte in the adapter s current subnet mask or 0 if the adapter does not currently have a subnet mask 39 Subnet Act 2 The second most significant byte in the adapter s current subnet mask or 0 if the adapter does not currently have a subnet mask 40 Sub
Download Pdf Manuals
Related Search
Related Contents
電子辞書活用アンケート(1) Samsung Galaxy S6 manual de utilizador Tripp Lite CS16AC mobile device charger L`éducation à la sécurité routière est présente de la maternelle au Samsung AC018HBMDKD/TC Manual de Usuario - Deatronic srl Toshiba Satellite C55D-A5163 Copyright © All rights reserved.
Failed to retrieve file