EtherNet/IP Adapter 22-COMM-E FRN 1.
Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment. “Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls” (Publication SGI-1.1 available from your local Rockwell Automation Sales Office or online at http://www.ab.com/ manuals/gi) describes some important differences between solid state equipment and hard-wired electromechanical devices.
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 Corrected the values in the Input Size and Output Size columns in Table 4.A.
S-ii Summary of Changes
Table of Contents Preface About This Manual Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1 Conventions Used in this Manual . . . . . . . . . . . . . . . . . . . . . P-2 Rockwell Automation Support. . . . . . . . . . . . . . . . . . . . . . . . P-2 Chapter 1 Getting Started Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii Table of Contents Chapter 5 Using I/O Messaging About I/O Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Understanding the I/O Image. . . . . . . . . . . . . . . . . . . . . . . . . Using Logic Command/Status . . . . . . . . . . . . . . . . . . . . . . . . Using Reference/Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . Example Ladder Logic Program . . . . . . . . . . . . . . . . . . . . . . Chapter 6 Using Explicit Messaging About Explicit Messaging . . . . . .
Table of Contents Appendix A Specifications Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Regulatory Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iv Table of Contents
Preface About This Manual Topic Related Documentation Conventions Used in this Manual Rockwell Automation Support Page P-1 P-2 P-2 Related Documentation For: EtherNet/IP Refer to: EtherNet/IP Planning and Installation Manual EtherNet/IP Performance and Application Guide DriveExplorer™ http://www.ab.com/drives/driveexplorer, and DriveExplorer Online Help (installed with the software) DriveTools™ SP http://www.ab.
P-2 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 follow the format Menu > Command. For example, if you read “Select File > Open,” you should click the File menu and then click the Open command.
About This Manual P-3 Technical Product Assistance If you need to contact Rockwell Automation, Inc. for technical assistance, please review the information in Chapter 8, Troubleshooting first. If you still have problems, then call your local Rockwell Automation, Inc. representative. 8 6 $OOHQ %UDGOH\ 'ULYHV 7HFKQLFDO 6XSSRUW ( PDLO VXSSRUW#GULYHV UD URFNZHOO FRP 7HO )D[ 2QOLQH ZZZ DE FRP VXSSRUW DEGULYHV 8.
P-4 Notes: About This Manual
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.
1-2 Getting Started Features The EtherNet/IP adapter features the following: • The adapter is mounted in the PowerFlex 40 drive. It receives the required power from the drive. • 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. • A switch lets you enable or disable (default) the adapter web pages.
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: • 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.
1-4 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.
Getting Started 1-5 Quick Start 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 1 Review the safety precautions for the adapter. 2 3 4 5 6 Refer to . . . Throughout This Manual Verify that the PowerFlex drive is properly installed. Drive User Manual Install the adapter. Chapter 2, Verify that the PowerFlex drive is not powered.
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) ➊ ➋ ➌ ➍ ➊ ➋ ➌ ➍ Bottom side of adapter board Item Status Indicator ➊ PORT Status (1) Description Green Flashing Green ➋ ➌ ➍ (1) MOD Green NET A Flashing Green Green NET B Flashing Green Flashing Green Off Normal Operation.
Chapter 2 Installing the Adapter Chapter 2 provides instructions for installing the adapter in a PowerFlex 40 drive.
2-2 Installing the Adapter ! ATTENTION: Risk of equipment damage exists. The EtherNet/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. 1. Set the Operating Mode Switch (SW1) for Single or Multi-Drive operation (see Figure 2.
Installing the Adapter 2-3 Connecting the Adapter to the Network ! ATTENTION: Risk of injury or death exists. The PowerFlex drive 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. 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-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). • C Frame: Use the adapter screw to secure the adapter to the cover. • 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).
Installing the Adapter 2-5 Figure 2.4 Mounting and Grounding the Adapter 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 PowerFlex 40 Drive (C Frame shown with cover removed) 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.
2-6 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 status indicators can be viewed on the front of the drive after power has been applied. 2.
Chapter 3 Configuring the Adapter Chapter 3 provides instructions and information for setting the parameters in the adapter.
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.
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.
3-4 Configuring the Adapter Figure 3.2 New Entry Dialog Box 4. Edit the following: Box (1) IP Address Subnet Mask Gateway (1) Type A unique IP address for the adapter The subnet mask for the adapter’s network The IP address of the gateway device on the adapter’s network For definitions, refer to 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 6.
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 the 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.
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 the subnet mask using parameters. 2.
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 definitions of data rate and duplex, refer to the Glossary. 1.
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, Using Multi-Drive Mode for more information. 2. If a 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.
Configuring the Adapter 3-9 To change the fault action • Set the values of Parameters 18 - [Comm Flt Action] and 19 - [Idle Flt Action] to the desired responses: Value 0 1 2 3 4 Action Fault Stop Zero Data Description The drive is faulted and stopped. (Default) The drive is stopped, but not faulted. The drive is sent 0 for output data after a communications disruption. This does not command a stop. Hold Last The drive continues in its present state after a communications disruption.
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 daisychained drives (when adapter is in Multi-Drive mode).
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).
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.
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 Page 4-1 Topic Page Adding the Adapter and Drive to the 4-4 I/O Configuration Saving the Configuration 4-7 Adding a Bridge or Scanner to the 4-2 I/O Configuration Example Network After the adapter is configured, the connected drive and adapter will be a single node on the network.
4-2 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 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.
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 5.
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 The Select Module Type dialog box (Figure 4.7) appears. Figure 4.
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 3. Edit the following information about the adapter: Box Name Comm. Format IP Address Type A name to identify the adapter and drive. Data - INT. This setting formats the data in 16-bit words. The IP address of the adapter. 4.
4-6 Configuring the Scanner or Bridge words and Logic Status/Feedback uses 2 words. The additional 2 words for the inputs are for ENBT overhead. Table 4.
Configuring the Scanner or Bridge 4-7 Figure 4.10 RSLogix 5000 - I/O Configuration Folder 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 > Download. The Download dialog box (Figure 4.11) appears. Figure 4.
4-8 Notes: Configuring the Scanner or Bridge
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 About I/O Messaging Understanding the I/O Image Using Logic Command/Status ! Page 5-1 5-2 5-2 Topic Using Reference/Feedback Example Ladder Logic Program Page 5-3 5-3 ATTENTION: Risk of injury or equipment damage exists.
5-2 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: • Configuration of the Operating Mode Switch (SW1) on the adapter and (Parameter 22 - [DSI I/O Cfg]).
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 16-bit (1) Valid Values (1) 0.0 to 240.0 Hz (PowerFlex 4) or 0.0 to 400.0 Hz (PowerFlex 40) In I/O Image Word 1 Example Figure 5.1 The Reference for a PowerFlex 4 or 40 is set in Hz.
5-4 Using I/O Messaging Figure 5.2 Controller Tags for Example ControlLogix Ladder Logic Program 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.
Using I/O Messaging 5-5 Logic Command/Status Words This example uses the Logic Command 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-6 Using I/O Messaging Figure 5.5 Example ControlLogix Ladder Logic Program for I/O Messaging (Cont.
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.
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.
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.
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 ➊ ➎ Complete Explicit Message ➍ Retreive Explicit Message Respnse Set up and send Explicit Message Request ➋ ➌ Event 1.
Using Explicit Messaging 6-5 About the Example Explicit Messages These examples show how to format and execute the following types of Explicit Messages using a ControlLogix controller: • Get Attribute Single • 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.
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 Figure 6.4 Message Format for a Get Attribute Single Message The following table identifies key settings for the message format: Configuration Service Type (1) Service Code (1) Class Instance Attribute Destination (1) Value Get Attribute Single e (Hex.) f (Hex.) 39 (Dec.) 1 (Hex.
Using Explicit Messaging 6-7 Example Ladder Logic Rung Figure 6.
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 The following table identifies key settings for the data format: Configuration Service Type (1) Service Code (1) Class Instance Attribute Source Element Source Length (1) Value Set Attribute Single 10 (Hex.
Using Explicit Messaging 6-9 Example Ladder Logic Rung Figure 6.8 Example Set Attribute Single Message ([SOLFLW 0HVVDJLQJ ([DPSOH :ULWLQJ D VLQJOH SDUDPHWHU 6HW $WWULEXWH 6LQJOH FRPPDQG 3HUIRUP3DUDPHWHU:ULWH 7\SH &,3 *HQHULF 0HVVDJH &RQWURO 06* 3DUDPHWHU:ULWH0HVVDJH (1 '1 (5 Example Source Data In this example, the Set Attribute Single message writes 100, the value in the source tag named ParameterWriteValue, to Parameter 39 - [Accel Time 1] in the PowerFlex 40 drive. Figure 6.
6-10 Notes: Using Explicit Messaging
Chapter 7 Using Multi-Drive Mode Chapter 7 provides information and a ControlLogix ladder example to explain how to use Multi-Drive mode. Topic Page Single Mode vs. Multi-Drive Mode 7-1 System Wiring Understanding the I/O Image Configuring the RS-485 Network ! 7-3 7-4 7-5 Topic Multi-Drive Ladder Logic Program Example ControlLogix Example Multi-Drive Mode Explicit Messaging Additional Information Page 7-6 7-7 7-20 7-22 ATTENTION: Risk of injury or equipment damage exists.
7-2 Using Multi-Drive Mode Figure 7.2 Multi-Drive Mode Example for Network EtherNet/IP up to 5 drives per node Up to 4 PowerFlex 4's or 40's PowerFlex 40 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: • 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.
Using Multi-Drive Mode 7-3 • 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.
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: • Configuration of the Operating Mode Switch (SW1) on the adapter and Parameter 22 - [DSI I/O Cfg].
Using Multi-Drive Mode 7-5 Configuring the RS-485 Network The following parameters must be set in the daisy-chained drives: Parameter P36 - [Start Source] P38 - [Speed Reference] A103 - [Comm Data Rate] A104 - [Comm Node Addr] A107 - [Comm Format] Value 5 (Comm Port) 5 (Comm Port) 4 (“19.2K”) 1-247 (must be unique) 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.
7-6 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 Example Program The example program provided is for the ControlLogix, but other controllers can also be used. This example program enables you to: • View status information from the drives such as Ready, Fault, At Speed, and Feedback.
Using Multi-Drive Mode 7-7 Drive Settings for the Example Program Parameter P36 - [Start Source] P38 - [Speed Reference] A103 - [Comm Data Rate] A104 - [Comm Node Addr](1) A105 - [Comm Loss Action] A106 - [Comm Loss Time] A107 - [Comm Format] (1) Value Drive 0 Drive 1 Drive 2 Drive 3 Drive 4 5 5 5 5 5 5 5 5 5 5 4 4 4 4 4 1 2 3 4 5 0 0 0 0 0 5 5 5 5 5 0 0 0 0 0 The settings for these parameters must match the respective parameter settings in the adapter (Parameter 17 - [Drv 0 Addr] through Parameter 21 -
7-8 Using Multi-Drive Mode Tag Name Perform Parameter Write 0 Parameter WR Value 0 Parameter WR Message 0 Type BOOL INT MESSAGE Description Initiates the parameter value Write value to the parameter 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.
Using Multi-Drive Mode 7-9 Figure 7.
7-10 Using Multi-Drive Mode Figure 7.
Using Multi-Drive Mode Figure 7.
7-12 Using Multi-Drive Mode Figure 7.
Using Multi-Drive Mode Figure 7.
7-14 Using Multi-Drive Mode Figure 7.
Using Multi-Drive Mode Figure 7.
7-16 Using Multi-Drive Mode Figure 7.
Using Multi-Drive Mode Figure 7.
7-18 Using Multi-Drive Mode Figure 7.
Using Multi-Drive Mode Figure 7.
7-20 Using Multi-Drive Mode Figure 7.
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 Figure 7.
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].
Chapter 8 Troubleshooting Chapter 8 provides information for troubleshooting potential problems with the adapter. Topic Locating the Status Indicators Page 8-1 PORT Status Indicator 8-2 MOD Status Indicator Net A Status Indicator 8-3 8-4 Topic Adapter Diagnostic Items in Single Drive Mode Adapter Diagnostic Items in Multi-Drive Mode Viewing and Clearing Events Page 8-5 8-7 8-8 Locating the Status Indicators The EtherNet/IP adapter has four status indicators.
8-2 Troubleshooting PORT Status Indicator Status Off Cause Corrective Action The adapter is not powered or • Securely connect the adapter to the drive properly connected to the using the Internal Interface (ribbon) cable. drive. • Apply power to the drive. Flashing In Single mode, the adapter is • Verify the setting for Parameter 22 - [DSI I/O Red not receiving communication Cfg]. from the drive. • Verify that cables are securely connected and not damaged.
Troubleshooting 8-3 MOD Status Indicator Status Off Cause Corrective Action The adapter is not powered or • Securely connect the adapter to the drive properly connected to the using the Internal Interface (ribbon) cable. drive. • Apply power to the drive. Flashing The adapter has failed the • Cycle power to the drive. Red firmware test. • If cycling power does not correct the problem, the adapter parameter settings may have been corrupted. Reset defaults and reconfigure the adapter.
8-4 Troubleshooting Net A Status Indicator Status Off Cause Corrective Actions The adapter and/or • Securely connect the adapter to the drive network is not powered, using the Internal Interface (ribbon) cable and the adapter is not properly to the network using an Ethernet cable. connected to the network, • Correctly connect the Ethernet cable to the or the adapter needs an IP Ethernet connector. address. • Set a unique IP address using a BOOTP server or by disabling BOOTP and using adapter parameters.
Troubleshooting 8-5 Net B Status Indicator Status Off Cause The adapter is not powered, or is not transmitting on the network. Corrective Actions If Net A indicator is off: • Securely connect the adapter to the drive using the Internal Interface (ribbon) cable and to the network using an Ethernet cable. • Correctly connect the Ethernet cable to the Ethernet connector. • Set a unique IP address using a BOOTP server or by disabling BOOTP and using adapter parameters.
8-6 Troubleshooting No.
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.
8-8 Troubleshooting No. 37 Name IP Addr Act 4 38 Subnet Act 1 39 Subnet Act 2 40 Subnet Act 3 41 Subnet Act 4 42 Gateway Act 1 43 Gateway Act 2 44 Gateway Act 3 45 Gateway Act 4 46 EN Rx Overruns 47 48 49 EN Packets Rcvd EN Rx Errors EN Packets Sent 50 EN Tx Errors Description The least significant byte in the adapter’s current IP address, or 0 if the adapter does not currently have an IP address.
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.
8-10 Troubleshooting Code 43 44 45 Event EN Open EN Close EN Timeout Description An I/O connection from the network to the adapter was opened. An I/O connection from the network to the adapter was closed. An I/O connection from the network to the adapter has timed out. 46 EN Comm Flt The adapter has performed the “Comm Flt” action specified by the user. 47 EN Idle Flt The adapter has performed the “Idle Flt” action specified by the user.
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.
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).
Viewing the Adapter’s Web Pages 9-3 Figure 9.2 Adapter Web Home Page Example (Multi-Drive mode) 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 (at far left) This logo is also a link. Click it to view the ab.com web Home Page. Adapter Title (middle) Shows the adapter type and title. Rockwell Automation logo This logo is also a link.
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 Description Home link Click this link to view the adapter’s Home Page (Figure 9.1 or Figure 9.2). Process Display link (only Single 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).
Viewing the Adapter’s Web Pages Information on Adapter Home Page The adapter Home Page displays the following information for the adapter and host: Item Adapter Information Host “X” Information Description • Revision • IP Address • Ethernet Address (MAC) • Serial Number • Status • I/O connection status Information for each connected host includes: Adapter In Single Mode • Revision • Status • Commanded direction • Rotation drection • Process status Adapter In Multi-Drive Mode • Revision • Status 9-5
9-6 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.
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 Information IP Address Subnet Mask Gateway Address BOOTP Description IP address of the adapter. Subnet mask for the adapter’s network. Address for the gateway device on the adapter’s network. Whether BOOTP is being used to configure the adapter’s network information.
9-8 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).
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 “IP address of …" “E-mail addresses to notify …" “Subject of e-mail message …" Description Type in the address of the mail server that will be used to deliver the e-mail messages. Type in addresses to where you want e-mail messages to be sent.
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.
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” (Disabled) 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).
9-12 Viewing the Adapter’s Web Pages Figure 9.9 Example of Port 5 (22-COMM-E Adapter) Diagnostic Information Page Figure 9.
Appendix A Specifications Appendix A presents the specifications for the adapter. Topic Communications Electrical Mechanical Page A-1 A-1 A-1 Topic Environmental Regulatory Compliance Page A-2 A-2 Communications Network Protocol Data Rates Drive Protocol Data Rates EtherNet/IP 10 Mbps Full Duplex, 10 Mbps Half Duplex, 100 Mbps Full Duplex, or 100 Mbps Half Duplex DSI 19.
A-2 Specifications Environmental Temperature Operating Storage Relative Humidity Atmosphere -10 to 50°C (14 to 149°F) -40 to 85°C (-40 to 185°F) 5 to 95% non-condensing 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.
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 • DriveExplorer • DriveExecutive • HIM • Explicit Messaging • RSNetWorx for EtherNet/IP Numbering Scheme The adapter parameters begin with parameter 1.
B-2 Adapter Parameters Parameter No. Name and Description 03 [IP Addr Cfg 1] 04 [IP Addr Cfg 2] 05 [IP Addr Cfg 3] 06 [IP Addr Cfg 4] Sets the bytes in the IP address. 255 . 255 . 255 .
Adapter Parameters Parameter No. Name and Description 15 [EN Rate Cfg] Sets the network data rate at which the adapter communicates. 16 [EN Rate Act] Displays the network data rate currently being used by the adapter. 17 [Reset Module] No action if set to “Ready.” Resets the adapter if set to “Reset Module.” Restores the adapter to its factory default settings if set to “Set Defaults.” This parameter is a command. It will be reset to “0 = Ready” after the command has been performed.
B-4 Adapter Parameters Parameter No. Name and Description 19 [Idle Flt Action] Sets the action that the adapter and drive will take if the adapter detects that the scanner is idle because the controller was switched to program mode. This setting is effective only if I/O that controls the drive is transmitted through the adapter.
Adapter Parameters Parameter No. Name and Description 23 [DSI I/O Act] Displays the Drives that are active in the Multi-Drive mode.
B-6 Notes: Adapter Parameters
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. Object Identity Object Assembly Object Register Object Parameter Object Parameter Group Object PCCC Object Class Code Hex. Dec.
C-2 EtherNet/IP Objects Identity Object Class Code Hexadecimal 0x01 Decimal 1 Instances (Single-Drive Mode) The number of instances is fixed at three and is as shown below: Instance 0 1 2 3 Description Class Host drive 22-COMM-E 22-SCM-232 or 22-HIM-* (when present) Instances (Multi-Drive Mode) The number of instances is fixed at one and is as shown below: Instance 0 1 Description Class 22-COMM-E Class Attributes Attribute ID 1 2 6 Access Rule Get Get Get 7 Get Name Revision Max Instance Max ID
EtherNet/IP Objects C-3 Identity Object (Continued) Instance Attributes Attribute ID 1 2 3 Acces s Rule Get Get Get 4 Get 5 Get 6 7 Get Get 9 Get 100 Get Name Vendor ID Device Type Product Code Data Type UINT UINT UINT Revision: Major Minor Status STRUCT of: USINT USINT WORD Description 1 = Allen-Bradley 127 Number identifying product name and rating Serial Number UDINT Product Name SHORT_ STRING Configuration UINT Consistency Value NVS Info STRUCT of: UDINT SHORT_STRING Value varies Val
C-4 EtherNet/IP Objects Assembly Object Class Code Hexadecimal 0x04 Decimal 4 Instances Instance 1 2 Description All I/O data being read from the DSI drives (read-only) All I/O data written to the DSI drives (read/write) Class Attributes Attribute ID 1 2 100 Access Rule Get Get Set Name Revision Max Instance Control Timeout Data Type UINT UINT UINT Description 2 2 Control timeout in seconds Name Number of Members Member List Data Type UINT Description 1 Instance Attributes Attribute ID Access
EtherNet/IP Objects Assembly Object (Continued) Services Service Code 0x0E 0x10 Implemented for: Class Instance Yes Yes Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single C-5
C-6 EtherNet/IP Objects Register Object Class Code Hexadecimal 0x07 Decimal 7 Instances Instance Description 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Logic Command and Reference for all drives Logic Status and Feedback for all drives Logic Command and Reference for Drive 0 Logic Status and Feedback for Drive 0 Logic Command and Reference for Drive 1 Logic Status and Feedback for Drive 1 Logic Command and Reference for Drive 2 Logic Status and Feedback for Drive 2 Logic Comma
EtherNet/IP Objects C-7 Register Object (Continued) Instances (Continued) Input/ Output Out In Out In Out In Out In Out In Out In Instance Description 27 28 29 30 31 32 33 34 35 36 37 38 Logic Command for Drive 2 Logic Status for Drive 2 Reference for Drive 2 Feedback for Drive 2 Logic Command for Drive 3 Logic Status for Drive 3 Reference for Drive 3 Feedback for Drive 3 Logic Command for Drive 4 Logic Status for Drive 4 Reference for Drive 4 Feedback for Drive 4 Size (in bits) 16 16 16 16 16 16 16 16
C-8 EtherNet/IP Objects Register Object (Continued) Instance Attributes Attribute ID Access Rule 1 Get Name Bad Flag 2 Get Direction 3 4 Get Size Conditional (1) Data (1) Data Type Description BOOL If set to 1, then attribute 4 contains invalid, bad or otherwise corrupt data.
EtherNet/IP Objects C-9 Parameter Object Class Code Hexadecimal 0x0F Decimal 15 Instances (Single-Drive Mode) The number of instances is as shown below: Instance 0 1 R n n+1 R n+m (1) (2) Description Class Drive Parameter 1 R Drive Parameter n (1) Adapter Parameter 1 R Adapter Parameter m (2) n represents the number of parameters in the drive. m represents the number of parameters in the adapter.
C-10 EtherNet/IP Objects Parameter Object (Continued) Class Attributes Attribute ID 1 2 8 Access Rule Get Get Get 9 Get 10 Get Name Revision Max Instance Parameter Class Descriptor Data Type UINT UINT WORD Configuration Assembly Instance Native Language UINT USINT Description 1 Number of parameters 0 = False, 1 = True Bit 0 = Supports parameter instances Bit 1 = Supports full attributes Bit 2 = Must do NVS save command Bit 3 = Parameters are stored in NVS 0 0 = English 1 = French 2 = Spanish 3
EtherNet/IP Objects C-11 Parameter Object (Continued) Instance Attributes Attribute Access ID Rule Name (1) 1 Parameter Value 2 Get Link Path Size Data Type Description (2) (3) USINT 0 = No link specified n = The size of Attribute 3 in bytes 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 0xC2 = SINT (8-bits) 0xC3 = INT (16-bits) 0xC4 = DINT (32-bits) 0xC6 = USINT (8-bits) 0xC7 = UIN
C-12 EtherNet/IP Objects Parameter Object (Continued) Services Service Code 0x01 0x05 0x0E 0x10 0x4B Implemented for: Class Yes Yes Yes No No Instance Yes No Yes Yes Yes Service Name Get_Attribute_All Reset Get_Attribute_Single Set_Attribute_Single Get_Enum_String
EtherNet/IP Objects C-13 Parameter Group Object Class Code Hexadecimal 0x10 Decimal 16 Instances The number of instances depends on the number of groups in the device. A group of adapter parameters is appended to the list of groups in the device. The total number of groups can be read in Instance 0, Attribute 2.
EtherNet/IP Objects Parameter Group Object (Continued) Instance Attributes Attribute ID 1 Access Rule Name Get Group Name String 2 Get 3 Get 4 Get n Get (1) Data Type Description SHORT_ Group name STRING Number of Members UINT Number of parameters in in Group group. (1) 1st Parameter Number UINT in Group (1) 2nd Parameter UINT Number in Group (1) UINT … C-14 Value varies based on group instance.
EtherNet/IP Objects C-15 PCCC Object Class Code Hexadecimal 0x67 Decimal 103 Instances Supports Instance 1. Class Attributes Not supported. Instance Attributes Not supported.
C-16 EtherNet/IP Objects PCCC Object (Continued) Message Structure for Execute_PCCC (Continued) Request Response Name STS TNSW Data Type USINT UINT FNC USINT Description 0 Transport word Function code. Not used for all CMD’s. PCCC_ ARRAY of CMD/FNC specific params USINT parameters Name STS TNSW Data Type USINT UINT Description Status byte Transport word. Same value as the request. EXT_STS USINT Extended status. Not used for all CMD’s.
EtherNet/IP Objects C-17 PCCC Object (Continued) The adapter supports the following PCCC command types: CMD 0x06 0x0F 0x0F 0x0F 0x0F 0x0F 0x0F 0x0F 0x0F 0x0F FNC 0x03 0x67 0x68 0x95 0xA2 0xAA 0xA1 0xA9 0x00 0x01 Description Identify host and some status PLC-5 typed write PLC-5 typed read Encapsulate other protocol SLC 500 protected typed read with 3 address fields SLC 500 protected typed write with 3 address fields SLC 500 protected typed read with 2 address fields SLC 500 protected typed write with 2
C-18 EtherNet/IP Objects PCCC Object (Continued) N-Files (Continued) DPI Port Assignments DPI Port No. 0 1 2 3 4 5 Single-Drive Mode The drive The adapter The slave Not supported Not supported Not supported N-File Description Multi-Drive Mode Drive 0 Drive 1 Drive 2 Drive 3 Drive 4 The adapter For Single-Drive Mode Only N41 This N-file lets you read and write control I/O messages.
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: • 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.
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 N10 – N18 Description These N-files let you read and write parameter values in the drive and the adapter.
EtherNet/IP Objects C-21 DPI Device Object Class Code Hexadecimal 0x92 Decimal 146 Instances The number of instances depends on the number of components in the device. The total number of components can be read in Instance 0, Class Attribute 4. Instances (Dec.
C-22 EtherNet/IP Objects DPI Device Object (Continued) Class Attributes (Continued) Attribute Access ID Rule Name 5 Set User Definable Text 6 Get Status Text 7 Get Configuration Code 8 Get Configuration Text Data Type STRING[16] STRING[12] BYTE STRING[16] 9 11 Get Get Brand Code NVS Checksum WORD WORD 12 13 Get Get Class Revision Character Set Code WORD BYTE 15 Get Languages Supported 16 17 18 Get Get Get STRUCT of: BYTE BYTE[n] Date of STRUCT of: Manufacture WORD BYTE BYTE Product Revi
EtherNet/IP Objects DPI Device Object (Continued) Instance Attributes Attribute Access ID Rule Name 3 Get Component Name 4 Get Component Firmware Revision 5 Get Component Hardware Change Number 8 Get Component Serial Number Data Type STRING[32] Description Name of the component STRUCT of: BYTE BYTE BYTE Major Revision Minor Revision DWORD Value between 0x00 and 0xFFFFFFFF Services Service Code 0x0E 0x10 Implemented for: Class Instance Yes Yes Yes Yes Service Name Get_Attribute_Single Set_Attribute
C-24 EtherNet/IP Objects DPI Parameter Object Class Code Hexadecimal 0x93 Decimal 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.
EtherNet/IP Objects C-25 DPI Parameter Object (Continued) Instance Attributes Attribute Access ID Rule Name Data Type 7 Get DPI Online Read STRUCT of: Full BOOL[32] CONTAINER(1) CONTAINER CONTAINER CONTAINER WORD WORD STRING[4] UINT UINT UINT INT BYTE[3] BYTE STRING[16] 8 Get DPI Descriptor BOOL[32] 9 Get/Set DPI Parameter Various Value 10 Get/Set DPI RAM Various Parameter Value 11 Get/Set DPI Link BYTE[3] 12 Get 13 Get 14 Get 15 Get 16 Get (1) (2) (3) Help Object Instance DPI Read Basic DPI P
C-26 EtherNet/IP Objects DPI Parameter Object (Continued) Descriptor Attributes Bit 0 Name Data Type (Bit 1) 1 Data Type (Bit 2) 2 Data Type (Bit 3) 3 Sign Type 4 Hidden 5 Not a Link Sink 6 Not Recallable 7 ENUM 8 Writable 9 Not Writable When Enabled Instance 10 11 12 13 14 15 16 17 18 Reserved Decimal Place (Bit 0) Decimal Place (Bit 1) Decimal Place (Bit 2) Decimal Place (Bit 3) Extended Data Type (Bit 1) Extended Data Type (Bit 2) Extended Data Type (Bit 2) Description Right bit i
EtherNet/IP Objects C-27 DPI Parameter Object (Continued) Descriptor Attributes (Continued) Bit 19 20 21 22 23 24 25 26 Name Parameter Exists Not Used Formula Links Access Level (Bit 1) Access Level (Bit 2) Access Level (Bit 3) Writable ENUM Not a Link Source 27 28 29 30 31 Enhanced Bit ENUM Enhanced ENUM Not Used Not Used Not Used Description Reserved Reserved Reserved Reserved Reserved Reserved Reserved 0 = Parameter can be a source for a link 1 = Parameter cannot be a source for a link Reserved Res
C-28 EtherNet/IP Objects DPI Fault Object Class Code Hexadecimal 0x97 Decimal 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.
EtherNet/IP Objects C-29 DPI Fault Object (Continued) Instance Attributes Attribute ID 0 1 Access Rule Name Get Full/All Information Get Basic Information Data Type STRUCT of: WORD STRUCT of: BYTE BYTE STRING[16] STRUCT of: LWORD BOOL[16] WORD CONTAINER[n] STRUCT of: WORD STRUCT of: BYTE BYTE STRUCT of: LWORD BOOL[16] Description Fault code Fault source DPI port DPI Device Object Fault text Fault time stamp Timer value (0 = Timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0
C-30 EtherNet/IP Objects DPI Diagnostic Object Class Code Hexadecimal 0x99 Decimal 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.
EtherNet/IP Objects C-31 DPI Diagnostic Object (Continued) Instance Attributes Attribute Access ID Rule Name 0 Get Full/All Info 1 Get/Set Value Data Type STRUCT of: BOOL[32] CONTAINER (1) CONTAINER CONTAINER CONTAINER WORD WORD STRING[4] UINT UINT UINT INT DWORD STRING[16] Various Description Descriptor (Refer to pages C-26 – C-27) Value Minimum value Maximum value Default value Pad Word Pad Word Units (e.g.
C-32 EtherNet/IP Objects TCP/IP Interface Object Class Code Hexadecimal 0xF5 Decimal 245 Instances The adapter supports one instance of the TCP/IP Interface object.
EtherNet/IP Objects C-33 TCP/IP Interface Object (Continued) Instance Attributes (Continued) Attribute Access ID Rule Name Data Type 3 Set Configuration DWORD Control 4 5 6 Get Get Get Physical Link STRUCT of: Object UINT Padded EPATH Interface STRUCT of Configuration UDINT UDINT UDINT UDINT UDINT STRING Host Name STRING Description Bit | (Value) 1 – 3 = Startup configuration (0 = Use configuration saved in NVS) (1 = Obtain configuration via BOOTP) (2 = Obtain configuration via DHCP) (3 to 15 = R
C-34 EtherNet/IP Objects Ethernet Link Object Class Code Hexadecimal 0xF6 Decimal 246 Instances The adapter supports one instance of the TCP/IP Interface object.
EtherNet/IP Objects C-35 Ethernet Link Object (Continued) Instance Attributes (Continued) Attribute Access ID Rule 4 Get 5 Get Name Data Type Interface STRUCT of: Counters UDINT UDINT UDINT UDINT UDINT UDINT UDINT UDINT UDINT UDINT UDINT Media STRUCT of: Counters UDINT UDINT UDINT UDINT UDINT UDINT UDINT UDINT UDINT UDINT UDINT UDINT Description Octets received Unicast packets received Non-unicast packets received Inbound packets received but discarded Inbound packets with errors (not discarded) Inbou
C-36 Notes: EtherNet/IP Objects
Appendix D Logic Command/Status Words Appendix D provides the definitions of the Logic Command/Logic Status words that are used for some products that can be connected to the 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.
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 x Ready x x x x x x x x x x x x x x x (1) Active Command Direction Actual Direction Accel Decel Alarm Fault At Speed Main Freq Operation Command Parameters Description 0 = Not Ready 1 = Ready 0 = Not Active 1 = Active 0 = Reverse 1 = Forward 0 = Reverse 1 = Forward 0 = Not Accelerating 1 = Accelerating 0 = Not Decelerating 1 = Decelerating 0 = No Alarm 1 = Alarm 0
Glossary A 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.
G-2 Glossary instructions to implement specific functions such as I/O control, logic, timing, counting, report generation, communication, arithmetic, and data file manipulation. A controller consists of a central processor, input/ output interface, and memory. See also Scanner. D 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.
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.
G-4 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 (Parameter 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.
Glossary I G-5 I/O Data I/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.
G-6 Glossary L 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.
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.
G-8 Glossary T 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. U 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.
Index 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 Asse
I-2 Index diagnostic items for Multi-Drive mode, 8-7 for Single mode, 8-5 environmental specifications, A-2 dimensions, A-1 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 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 fe
Index 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 I-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 H half duplex, see duplex hardware
I-4 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 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 adap
Index 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
I-6 Index
Publication 22COMM-UM004B-EN-P – January, 2004 Supersedes 22COMM-UM004A-EN-P - December, 2003 P/N 319629-P02 Copyright © 2004 Rockwell Automation, Inc. All rights reserved. Printed in USA.