Sunteți pe pagina 1din 160

ControlNet Communications Module

M/N RECOMM-CNET

Instruction Manual D2-3497

The information in this manual is subject to change without notice. Throughout this manual, the following notes are used to alert you to safety considerations:
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss.

Important: Identifies information that is critical for successful application and understanding of the product.
ATTENTION: The drive may contain high voltages that can cause injury or death. Remove all power from the drive, and then verify power has been removed before installing or removing a ControlNet module. Failure to observe these precautions could result in severe bodily injury or loss of life. ATTENTION: Only qualified electrical personnel familiar with drive and power products and the associated machinery should plan or implement the installation, start up, configuration, and subsequent maintenance of the product using a ControlNet module. Read and understand this manual in its entirety before proceeding. Failure to observe these precautions could result bodily injury and/or damage to equipment. ATTENTION: DPI host products must not be directly connected together via RECBL-xxx cables. Unpredictable behavior due to timing and other internal procedures can result if two or more devices are connected in this manner. Failure to observe this precaution could result bodily injury and/or damage to equipment. ATTENTION: If the ControlNet module is transmitting control I/O to the drive, the drive may fault when you reset the module. Determine how your drive will respond before resetting an module. Failure to observe this precaution could result bodily injury and/or damage to equipment. ATTENTION: Comm Flt Action (10) and Idle Flt Action (11) let you determine the action of the module and connected 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 hazard of injury or equipment damage. Failure to observe this precaution could result bodily injury and/or damage to equipment. ATTENTION: 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. Failure to observe this precaution could result bodily injury and/or damage to equipment.

This product has been self-tested by the manufacturer and found to comply with ControlNet International Conformance Test Software Version 12. Windows, Windows NT, and Microsoft are trademarks of Microsoft Corporation. ControlNet is a trademark of ControlNet International, Trademarks not belonging to RockwellLtd. Automation are Reliance, SP600, VS Utilities, DPI, RSLogix, ControlLogix, and SLC are property of their respective companies. trademarks of Rockwell Automation.

2001 Rockwell Automation. All rights reserved.

CONTENTS
Chapter 1 Introduction 1.1 ControlNet Module Features.......................................... 1-1 1.2 Related Documentation ................................................. 1-2 1.3 Conventions Used in This Manual ................................. 1-2 1.4 Getting Assistance from Reliance Electric..................... 1-2 Getting Started 2.1 ControlNet Module Components ................................... 2-1 2.2 Required Equipment ...................................................... 2-2 2.3 Installation Checklist ...................................................... 2-3 Installing the ControlNet Module 3.1 Preparing for an Installation........................................... 3-1 3.2 Commissioning the Module ........................................... 3-1 3.3 Connecting the Module to the Drive .............................. 3-2 3.4 Connecting the Module to the Network.......................... 3-5 3.5 Applying Power.............................................................. 3-6 Configuring the ControlNet Module 4.1 Configuration Tools........................................................ 4-1 4.2 Using the LCD OIM to Configure the Module ................ 4-2 4.3 Setting the Node Address.............................................. 4-2 4.4 Setting the I/O Configuration ......................................... 4-3 4.5 Selecting Master-Slave.................................................. 4-4 4.6 Selecting Reference Adjust ........................................... 4-5 4.7 Setting a Fault Action..................................................... 4-5 4.7.1 Changing the Fault Action ................................... 4-6 4.7.2 Setting the Fault Configuration Parameters ........ 4-7 4.7.3 Resetting the Module........................................... 4-7 4.8 Viewing the Module Configuration ................................. 4-8 RSNetWorx Configuration for PLC-5C Applications 5.1 Configuring a ControlNet Network: An Example............ 5-1 5.1.1 Installing and Registering EDS Files in RSNetWorx ......................................................... 5-2 5.1.2 Configuring a Network with RSNetWorx.............. 5-7 5.1.3 Verifying Network Properties ............................. 5-18

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Contents

Chapter 6

PLC-5C Applications 6.1 About I/O Messaging ..................................................... 6-1 6.2 Understanding the I/O Image......................................... 6-2 6.3 Using Logic Command/Status ....................................... 6-4 6.4 Using Reference/Feedback ........................................... 6-5 6.5 Using Datalinks .............................................................. 6-5 6.5.1 Rules for Using Datalinks .................................... 6-5 6.5.2 32-Bit Parameters using 16-Bit Datalinks ............ 6-6 6.6 Function of the Sample Program ................................... 6-7 6.7 Main Program (PLC-5C) ................................................ 6-8 6.8 About Explicit Messaging............................................. 6-12 6.8.1 Performing Explicit Messages ........................... 6-12 6.8.2 Explicit Messaging Examples ............................ 6-13 ControlLogix Applications 7.1 Configuring a ControlLogix CNB Scanner ..................... 7-2 7.2 Function of the Sample Program ................................. 7-15 7.3 RSLogix 5000 Ladder Logic Program.......................... 7-17 7.4 About Explicit Messaging............................................. 7-19 7.4.1 Performing Explicit Messages ........................... 7-19 7.4.2 Explicit Messaging Examples ............................ 7-20 Troubleshooting the ControlNet Module and Network 8.1 Understanding the Status Indicators.............................. 8-1 8.1.1 DRIVE Status Indicator........................................ 8-2 8.1.2 MS Status Indicator ............................................. 8-3 8.1.3 NET A and B Together ........................................ 8-4 8.1.4 NET A and B Independently ................................ 8-5 8.2 Module Diagnostic Items................................................ 8-6 8.3 Viewing and Clearing Events ......................................... 8-8

Chapter 7

Chapter 8

Appendix A Technical Specifications ...................................................... A-1 Appendix B ControlNet Module Parameters ............................................ B-1 Appendix C ControlNet Objects ............................................................... C-1 Appendix D Logic Command/Status Words............................................. D-1 Glossary Index ..................................................................................Glossary-1 ....................................................................................... Index-1

II

ControlNet Communications Module

List of Figures
Figure 2.1 Components of the ControlNet Module .................................. 2-1 Figure 3.1 Setting the Modules Node Address ....................................... 3-2 Figure 3.2 DPI Ports and Internal Interface Cables ................................. 3-3 Figure 3.3 Mounting the Module .............................................................. 3-4 Figure 3.4 Typical ControlNet Network Wiring......................................... 3-5 Figure 4.1 Accessing the ControlNet Parameters using the LCD OIM .... 4-2 Figure 4.2 ControlNet Node Address Screen on an LCD OIM ................ 4-2 Figure 4.3 I/O Configuration Screen on an LCD OIM .............................. 4-3 Figure 4.4 Master-Slave Input Screen on an LCD OIM ........................... 4-4 Figure 4.5 Master-Slave Input Screen on an LCD OIM ........................... 4-4 Figure 4.6 Fault Action Screens on an LCD OIM..................................... 4-6 Figure 4.7 Reset Screen on an LCD OIM ................................................ 4-8 Figure 5.1 Sample ControlNet Network ................................................... 5-1 Figure 5.2 Rockwell Software EDS Wizard.............................................. 5-2 Figure 5.3 EDS Wizard Option Screen .................................................... 5-3 Figure 5.4 EDS Wizard Designation Screen............................................ 5-3 Figure 5.5 EDS Files Installation Test Results Screen ............................ 5-4 Figure 5.6 EDS Wizard Change Graphic Image Screen.......................... 5-5 Figure 5.7 EDS Wizard Final Task Summary Screen.............................. 5-6 Figure 5.8 EDS Wizard Completion Screen............................................. 5-6 Figure 5.9 RSNetWorx for ControlNet DPI to ControlNet Folder Example.................................................................................. 5-7 Figure 5.10 RSNetWorx for ControlNet Screen ....................................... 5-8 Figure 5.11 Sample Browse for Network Dialog Box............................... 5-9 Figure 5.12 Sample Network Displayed in RSNetWorx........................... 5-9 Figure 5.13 Sample ControlNet Configuration Screen........................... 5-10 Figure 5.14 Sample ControlNet Configuration Box................................ 5-11 Figure 5.15 Example of Product Line after Drive Connection is Selected ............................................................................. 5-11 Figure 5.16 Online / Offline Mismatch Dialog Box ................................. 5-12 Figure 5.17 Save Data Screen.............................................................. 5-12 Figure 5.18 Scanlist Configuration Screen ........................................... 5-13 Figure 5.19 Integer Files for ControlNet Communications Screen ........ 5-14 Figure 5.20 Communicaiton Properties ................................................. 5-15 Figure 5.21 Connection Properties: Electronic Keying Settings ............ 5-16 Figure 5.22 Connection Properties: Details Settings ............................. 5-16 Figure 5.23 ScanList Configuration: Mapped Nodes ............................. 5-17 Figure 5.24 Save Configuration Dialog Box........................................... 5-17 Figure 5.25 Save As File Box ................................................................ 5-18 Figure 5.26 ControlNet Dialog Box ........................................................ 5-19 Figure 5.27 ControlNet: Media Configuration Tab ................................. 5-19 Figure 5.28 ControlNet: General Tab..................................................... 5-20

Contents

III

Figure 6.1 Sample I/O Image with All I/O Enabled................................... 6-3 Figure 6.2 Sample I/O Image with Only Logic/Reference and Datalink B Enabled ................................................................. 6-4 Figure 6.3 I/O Messaging......................................................................... 6-8 Figure 6.4 I/O Messaging (Continued) ..................................................... 6-9 Figure 6.5 I/O Messaging (Continued) ................................................... 6-10 Figure 6.6 I/O Messaging (Continued) ................................................... 6-11 Figure 6.7 Explicit Message Process ..................................................... 6-12 Figure 6.8 Explicit Messaging ................................................................ 6-13 Figure 6.9 CIO Get Attributes Scattered Screen.................................... 6-14 Figure 6.10 CIO Set Attributes Scattered Screen .................................. 6-15 Figure 6.11 CIO Get Attribute Single Screen ......................................... 6-17 Figure 6.12 CIO Set Attribute Single Screen ......................................... 6-18 Figure 7.1 RSLogix 5000: I/O Configuration Selection ............................ 7-2 Figure 7.2 RSLogix 5000: New Module Selection.................................... 7-3 Figure 7.3 Select Module Type: 1756-CNB/B Selection .......................... 7-3 Figure 7.4 Module Properties: Name Selection ....................................... 7-4 Figure 7.5 Module Properties: Controller-to-Module Behavior Screen .... 7-4 Figure 7.6 Module Properties: Indentification/Status Screen ................... 7-5 Figure 7.7 Module Properties: Informational Screen................................ 7-5 Figure 7.8 RSLogix 5000: I/O Configuration Folder ................................. 7-6 Figure 7.9 RSLogix 5000: New Module Selection Screen ....................... 7-7 Figure 7.10 Select Module Type: Generic ControlNet Module Screen .... 7-8 Figure 7.11 Module Properties: ControlNet Module Parameters ............. 7-9 Figure 7.12 Module Properties: RPI Selection ......................................... 7-9 Figure 7.13 Module Properties: My ControlNet...................................... 7-10 Figure 7.14 RSLogix: Configure Additional Nodes Screen .................... 7-10 Figure 7.15 RSLogix 5000: Module-Defined Screen.............................. 7-11 Figure 7.16 Download to the Controller Dialong Box ............................. 7-11 Figure 7.17 RSLogix: Attention Symbol ................................................. 7-12 Figure 7.18 RSNetWorx for ControlNet Screen ..................................... 7-13 Figure 7.19 RSLogix 5000: Example Without Attention Symbol ............ 7-14 Figure 7.20 RSLogix 5000: Connection Tree Without Attention Symbol 7-15 Figure 7.21 I/O Messaging..................................................................... 7-17 Figure 7.22 I/O Messaging (Continued) ................................................. 7-18 Figure 7.23 Explicit Message Process ................................................... 7-19 Figure 7.24 Explicit Messaging .............................................................. 7-20 Figure 7.25 Get_Attributes_Scattered Message Screen........................ 7-21 Figure 7.26 Set_Attributes_Scattered Message Screen ........................ 7-22 Figure 7.27 Set_Attribute_Single Message Screen ............................... 7-24 Figure 7.28 Get_Attributes_Single Message Screen ............................. 7-25 Figure 8.1 Status Indicators (Location on Drive May Vary)...................... 8-1 Figure 8.2 VIewing and Clearing Events Using an LCD OIM................... 8-8

IV

ControlNet Communications Module

List of Tables
Table 2.1 Equipment Shipped with the ControlNet Module ................... 2-2 Table 2.2 Required User-Supplied Equipment ...................................... 2-2 Table 4.1 Configuration Tools................................................................ 4-1 Table 4.2 Selections for Drive Response to Communication Fault........ 4-6 Table 4.3 Fault Configuration Parameters ............................................. 4-7 Table 4.4 Module Configuration Status Parameters .............................. 4-8 Table 5.1 Input/Output Table ............................................................... 5-14 Table 6.1 Parameter Settings for the Sample Program ......................... 6-7 Table 7.1 Parameter Settings for the Sample Program ....................... 7-16 Table 8.1 DRIVE Status Indicator: State Definitions.............................. 8-2 Table 8.2 MS Status Indicator: State Definitions ................................... 8-3 Table 8.3 NET A and B Together: State Definitions .............................. 8-4 Table 8.4 NET A and B Independently: State Definitions ...................... 8-5 Table 8.5 Module Diagnostic Items........................................................ 8-6 Table 8.6 Event Codes and Descriptions............................................... 8-8

Contents

VI

ControlNet Communications Module

CHAPTER 1
Introduction
The ControlNet module (RECOMM-CNET) is an embedded communication option for DPI AC drives, such as the SP600 drive. The module is mounted in the drive and receives its required power from the drive and from the network. The module can be used with other products that implement DPI, a peripheral communication interface. Refer to the documentation for your product for specific information about how it works with the module. This manual is intended for qualified electrical personnel familiar with installing, programming, and maintaining AC drives and networks.

1.1

ControlNet Module Features


The ControlNet module features the following:

A number of configuration tools that can be used to configure the module and connected drive. The tools include the LCD Operator Interface Module (OIM) on the drive and drive-configuration software such as VS Utilities (version 1.01 or later). Status indicators that report the status of the drive communications, module, and network. They are visible both when the cover is opened and when it is closed. I/O, including Logic Command/Reference and up to four pairs of Datalinks, that may be configured for your application using a parameter. Support of explicit messages. User-defined fault actions that determine how the module and the drive respond to communication disruptions on the network and controllers in idle mode.

Introduction

1-1

1.2

Related Documentation
Refer to the following related publications as necessary for more information. All of the publications are available from http://www.theautomationbookstore.com.

D2-3485 D2-3488 9399-WAB32GR 9399-RL53GR 9399-RL50GR 9399-RLD300GR 9357-CNETL3

SP600 AC Drive User Manual VS Utilities Getting Results Manual Online help installed with the software Getting Results with RSLinx Online help installed with the software RSLogix 5 Getting Results Guide Online help installed with the software RSLogix 500 Getting Results Guide Online help installed with the software RSLogix 5000 Getting Results Guide Online help installed with the software RSNetWorx for ControlNet Getting Results Guide Online help installed with the software.

1.3

Conventions Used in This Manual


The following convention is used throughout this manual:

Parameters are referenced as follows: Parameter Name (Parameter Number) For example: DPI Port (1)

1.4

Getting Assistance from Reliance Electric


If you have any questions or problems with the products described in this instruction manual, contact your local Reliance Electric sales office. For technical assistance, call 1-800-726-8112.

1-2

ControlNet Communications Module

CHAPTER 2
Getting Started
This chapter provides:

A description of the ControlNet module components A list of parts shipped with the module A list of user-supplied parts required for installing the module An installation checklist

2.1

ControlNet Module Components


Four LEDs that indicate the status of the ControlNet channel(s), DPI, and the module. Refer to chapter 8 for more information. A 20-pin, single-row shrouded male header. An Internal Interface cable is connected to this connector and a connector on the drive. Channel A BNC connection for the ControlNet cable. Channel B BNC is an optional connection for the redundnat ControlNet cable.

Status Indicators

DPI Connector

Channel A BNC Receptacle Channel B BNC Receptacle

ControlNet Node Switches for setting the node address. Address Switches
Figure 2.1 Components of the ControlNet Module

Getting Started

2-1

2.2

Required Equipment
Table 2.1 lists the equipment shipped with the ControlNet module. When you unpack the module, verify that the package includes all of these items.
Table 2.1 Equipment Shipped with the ControlNet Module

Item Description One RECOMM-CNET ControlNet module A 2.54 cm (1 in) and a 15.24 cm (6 in) Internal Interface cable (only one cable is needed to connect the module to the drive) One grounding wrist strap ControlNet Module User Manual (D2-3497) Table 2.2 lists user-supplied equipment also required to install and configure the ControlNet module.
Table 2.2 Required User-Supplied Equipment

Item Description A small flathead or Phillips screwdriver Configuration tool, such as:

LCD OIM VS Utilities (version 1.01 or later) with RECOMM-232 Serial Converter

RSNetWorx for ControlNet (version 3.00.00 or later) Controller configuration software (for example, RSLogix 5, RSLogix 500, or RSLogix 5000) A PC connection to the ControlNet network, such as:

1784-PCC 1770-KFC 1784-KTCX

2-2

ControlNet Communications Module

2.3

Installation Checklist
This section is designed to help experienced users start using the ControlNet module. If you are unsure about how to complete a step, refer to the referenced chapter.

Step 1 2

Action Review the safety precautions for the module. Verify that the drive is properly installed.

Refer to Throughout this manual SP600 AC Drive User Manual Chapter 3, Installing the ControlNet Module

Install the module. Verify that the drive is not powered. Then, connect the module to the network using a ControlNet cable and to the drive using the Internal Interface cable. Use the captive screws to secure and ground the module to the drive. Apply power to the module. The module receives power from the drive. Apply power to the drive. The status indicators should be green. If they flash red, there is a problem. Refer to chapter 8, Troubleshooting the ControlNet Module and the Network. Configure the module for your application. Set the parameters for the following features as required by your application:

Chapter 3, Installing the ControlNet Module

I/O configuration. Fault actions.

Chapter 4, Configuring the ControlNet Module

Apply power to the ControlNet master and other devices on the network. Verify that the master and network are installed and functioning in accordance with ControlNet standards, and then apply power to them. Configure the scanner to communicate with the module. Use a network tool for ControlNet to configure the master on the network. Chapter 5, RSNetWorx Configuration for PLC-5C Applications

Getting Started

2-3

Step 8

Action Create a ladder logic program. Use a programming tool to create a ladder logic program that enables you to do the following:

Refer to Chapter 6, PLC-5C Applications

Control the module and connected drive. Monitor or configure the drive using Explicit Messages.

2-4

ControlNet Communications Module

CHAPTER 3
Installing the ControlNet Module
Chapter 3 provides instructions for installing the module on an SP600 drive.

3.1

Preparing for an Installation


Before installing the ControlNet module, verify that you have all requirement equipment. Refer to chapter 2, Getting Started, for a list of equipment.

3.2

Commissioning the Module


To commission the module, you must set a unique node address on the network. (Refer to the Glossary for details about node addresses.) Important: New settings are recognized only when power is applied to the module or it is reset. If you change a setting, cycle power or reset the module. ATTENTION: The ControlNet module 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 module. Failure to observe these precautions could result in damage to equipment. To guard against device malfunction, you must wear a grounding wrist strap when installing the ControlNet module.

!
Important:

Step 1.

Set the ControlNet modules node address by rotating the node address switches to the desired value for each digit as shown in figure 3.1. Each node on the ControlNet network must have a unique address.

Important:

Installing the ControlNet Module

3-1

Important:

The node address must be set before power is applied because the module uses the node address it detects when it first receives power. To change a node address, you must set the new value and then remove and reapply power to or reset the module.

2 1 0 9 8

3 4 5 6 7
1 0 9

3 4 5 6

Tens Digit

Ones Digit

Setting 0 to 99

Description Node address used by the module if switches are enabled. The default switch setting is 02. Important: If the address switch is set to 00, the module will use the setting of CN Addr Cfg (03) for the node address. Refer to chapter 4, Configuring the ControlNet Module, for more information.
Figure 3.1 Setting the Modules Node Address

3.3

Connecting the Module to the Drive


Step 1. Step 2. Step 3. Remove power from the drive. Use static control precautions. Connect the Internal Interface cable to the DPI port on the drive and then to the DPI connector on the module. See figure 3.2.

3-2

ControlNet Communications Module

ControlNet Module

SP600 Drive 1-20 HP @ 460 V

SP600 Drive 25-40 HP @ 460 V

DPI Connector 15.24 cm (6 in) Internal Interface cable 2.54 cm (1 in) Internal Interface cable
Figure 3.2 DPI Ports and Internal Interface Cables

Step 4.

For 1-20 HP SP600 drives, fold the Internal Interface cable behind the module and mount the module on the drive using the four captive screws. See figure 3.3. For 25-40 HP SP600 drives, mount the module on the drive using the four captive screws to secure and ground it to the drive.

Installing the ControlNet Module

3-3

Important:

All screws must be tightened since the module is grounded through a screw.

Drive
Module Adapter Internal Interface Cable Folded Behind the Module and in Front of the Drive

SP600 1-20 HP Drive

SP600 Drive 25-40 HP @ 460 V


Figure 3.3 Mounting the Module

3-4

ControlNet Communications Module

3.4

Connecting the Module to the Network

!
Step 1. Step 2. Step 3. Step 4.

ATTENTION: The SP600 drive may contain high voltages that can cause injury or death. Remove power from the drive, and then verify power has been discharged before installing or removing a module. Failure to observe this precaution could result in severe bodily injury or loss of life. Remove power from the drive. Use static control precautions. Route the ControlNet cable through the bottom of the SP600 drive. (See figure 3.3.) Connect the ControlNet cable to the module. A 1786-TPS (straight tap) is recommended.

See figure 3.4 for typical ControlNet network wiring.

Scanner

SP600 Drive

SP600 Drive

Figure 3.4 Typical ControlNet Network Wiring

Installing the ControlNet Module

3-5

3.5

Applying Power

!
Step 1.

ATTENTION: Unpredictable operation may occur if parameter settings and switch settings are not compatible with your application. Verify that settings are compatible with your application before applying power to the drive. Failure to observe these precations could result in severe bodily injury of loss of life. Close the door or reinstall the cover on the drive. The status indicators can be viewed on the front of the drive after power has been applied. Apply power to the drive. The module 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 are red, refer to chapter 8. Apply power to the master device and other devices on the network.

Step 2.

Step 3.

3-6

ControlNet Communications Module

CHAPTER 4
Configuring the ControlNet Module
Chapter 4 provides instructions and information for setting the parameters in the module. For a complete list of parameters, refer to Appendix B, ControlNet Module Parameters. For definitions of terms in this chapter, refer to the Glossary.

4.1

Configuration Tools
The ControlNet module stores parameters and other information in its own non-volatile memory. Therefore, you must access the module to view and edit its parameters. Table 4.1 lists the tools that can be used to access the module parameters.
Table 4.1 Configuration Tools

Tool VS Utilities Software LCD OIM

Refer to: VS Utilities online help Section 4.2

Configuring the ControlNet Module

4-1

4.2

Using the LCD OIM to Configure the Module


Use the procedure in figure 4.1 to access the parameters on the ControlNet module using the LCD OIM. If you are unfamiliar with the operation of the LCD OIM, refer to the SP600 AC Drive User Manual (D2-3485) for more information.

>>

Stopped

Auto

>>

Stopped

Auto 0

>>

Stopped

Auto

P0: SP600 Main Menu

P0: SP600 Device: Port SP600 RECOMM-CNET

P5: RECOMM-CNET Main Menu

Device Select Monitor Lang

Parameters

Use to highlight Device Select icon

Use to select RECOMM-CNET.

Edit the ControlNet parameters using the same techniques as for drive parameters.

Figure 4.1 Accessing the ControlNet Parameters using the LCD OIM

4.3

Setting the Node Address


If the node address switches are set to 00, the value of CN Addr Cfg (3) determines the node address. Step 1. Set the value of CN Addr Cfg (3) to a unique node address.

Port 5 Device RECOMM-CNET Parameter #: 3 CN Addr Cfg 02 0 <> 99

Default = 02

Figure 4.2 ControlNet Node Address Screen on an LCD OIM

Step 2.

Reset the module. Refer to section 4.7.3, Resetting the Module.

4-2

ControlNet Communications Module

4.4

Setting the I/O Configuration


The I/O configuration determines the type of data sent to the drive. This is a two-part process: enabling/disabling the data transmitted betweeen the module and the drive, and identifying the data transmitted between the module and the scanner. Step 1. Enable or disable the data transmitted between the module and the drive by setting the bits in DPI I/O Config (13). A 1 enables the I/O. A 0 disables the I/O.

Port 5 Device RECOMM-CNET Parameter #: 13 DPI I/O Config xxxxxxxxxxx0000 1 Cmd/Ref b00

Bit 0 1 2 3 4 5 - 15

Description Logic Command/Reference (Default) Datalink A Datalink B Datalink C Datalink D Not Used

Figure 4.3 I/O Configuration Screen on an LCD OIM

Bit 0 is the right-most bit. In figure 4.3, it is highlighted and equals 1. Step 2. If Logic Command/Reference is enabled (default), configure the parameters in the drive to accept the Logic Command and Reference from the module. For example, set Speed Ref A Sel (90) in an SP600 drive to Network so that the drive uses the Reference from the module. Also, verify that Logic Source Sel (89) is configured to receive the desired logic from the module. If you enabled one or more Datalinks (optional), configure parameters in the drive to determine the source and destination of data in the Datalink(s). Also, ensure that the ControlNet module is the only module using the enabled Datalink(s). Reset the module. Refer to section 4.7.3, Resetting the Module.

Step 3.

Step 4.

The module is ready to receive I/O from the master (i.e., scanner). You must now configure the scanner to recognize and transmit I/O to the module. Refer to chapter 5, RSNetWorx Configuration for PLC-5C Applications, for more information.

Configuring the ControlNet Module

4-3

4.5

Selecting Master-Slave
A hierarchy determines the type of device with which the module exchanges data. In a Master-Slave hierarchy, a module exchanges data with a scanner. To set a Master-Slave hierarchy Step 1. Step 2. Enable the desired I/O in DPI I/O Config (13). Refer to figure 4.3. Set the bits in the M-S Input (25). This parameter determines the data transmitted from the scanner to the drive. A 1 enables the I/O. A 0 disables the I/O.

Port 5 Device RECOMM-CNET Parameter #: 25 M-S Input x xx x xx xx xx x0 000 1 Cmd/Ref b00

Bit 0 1 2 3 4 5 - 15

Description Logic Command/Reference (Default) Datalink A Input Datalink B Input Datalink C Input Datalink D Input Not Used

Figure 4.4 Master-Slave Input Screen on an LCD OIM

Bit 0 is the right-most bit. In figure 4.4, it is highlighted and equals 1. Step 3. Set the bits in the M-S Output (26). This parameter determines the data transmitted from the drive to the scanner. A 1 enables the I/O. A 0 disables the I/O.

Port 5 Device RECOMM-CNET Parameter #: 26 M-S Output xxxxxxxxxxx0000 1 Status/Fdbk b00

Bit 0 1 2 3 4 5 - 15

Description Status/Feedback (Default) Datalink A Output Datalink B Output Datalink C Output Datalink D Output Not Used

Figure 4.5 Master-Slave Input Screen on an LCD OIM

Bit 0 is the right-most bit. In figure 4.5, it is highlighted and equals 1. Step 4. Reset the module. Refer section 4.7.3 for this procedure.

4-4

ControlNet Communications Module

The module is ready to receive I/O from the master (i.e., scanner). You must now configure the scanner to recognize and transmit I/O to the module. Refer to chapter 5, RSNetWorx Configuration for PLC-5C Applications.

4.6

Selecting Reference Adjust


Reference Adjust is the percent scaling factor for the Reference from the Network and can be set from 0-200%. This allows the drives Reference to either match the network Reference (=100%), scale below the network Reference (<100%), or scale above the network Reference (>100%).

4.7

Setting a Fault Action


By default, when communications are disrupted (for example, a cable is disconnected) or the master 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 Comm Flt Action (10) and a different response to an idle scanner using Idle Flt Action (11). ATTENTION: Comm Flt Action (10) and Idle Flt Action (11) let you determine the action of the module and connected Host product if the controller is idle (for example, in program mode). These parameters can be used to fault the Host product (default) or perform another function such as allow the Host to continue to run. Some ControlNet scanners may operate differently when a controller is idle, which could limit the Idle Fault Actions operating states. The Idle Flt Action should be verified when commissioning the drive on the network by testing the operation with the controller in idle.

Configuring the ControlNet Module

4-5

4.7.1 Changing the Fault Action


Set the values of Comm Flt Action (10) and Idle Flt Action (11) to the desired responses as shown in table 4.2. See figure 4.6 for sample LCD OIM Fault Action screens.
Table 4.2 Selections for Drive Response to Communication Fault

Value 0 1 2

Action Fault (default) 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. The drive continues in its present state. The drive is sent the data that you set in the fault configuration parameters, Flt Cfg Logic (15) through Flt Cfg D2 In (24).

3 4

Hold Last Send Flt Cfg

Port 5 Device RECOMM-CNET Parameter #: 10 Comm Flt Action 0 Fault

Port 5 Device RECOMM-CNET Parameter #: 11 Idle Flt Action 0 Fault

Figure 4.6 Fault Action Screens on an LCD OIM

Changes to these parameters take effect immediately. A reset is not required.

4-6

ControlNet Communications Module

4.7.2 Setting the Fault Configuration Parameters


If you set Comm Flt Action (10) or Idle Flt Action (11) to Send Flt Cfg, the values in the parameters shown in table 4.3 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.
Table 4.3 Fault Configuration Parameters

Parameter Number 15 16 17 - 24

Name Flt Cfg Logic Flt Cfg Ref Flt Cfg x1 In Flt Cfg x2 In

Description A 16-bit value sent to the drive for Logic Command. A 32-bit value (0 to 4294967295) sent to the drive as a Reference or Datalink. Important: If the drive uses a 16-bit Reference or 16-bit Datalinks, the most significant word of the value must be set to zero (0) or a fault will occur.

Changes to these parameters take effect immediately. A reset is not required.

4.7.3 Resetting the Module


Changes to switch settings or some module parameters require that you reset the module before the new settings take effect. You can reset the module by cycling power to the drive or by using Reset Module (9). ATTENTION: If the module is transmitting control I/O to the drive, the drive may fault when you reset the module. Determine how your drive will respond before resetting a connected module. Failure to observe this precaution could result in bodily injury or damage to equipment.

Configuring the ControlNet Module

4-7

Set Reset Module (9) to Reset Module. See figure 4.7.

Port 5 Device RECOMM-CNET Parameter #: 9 Reset Module 1 Reset Module

Value 0 1 2

Description Ready (Default) Reset Module Set Defaults

Figure 4.7 Reset Screen on an LCD OIM

When you enter 1 (Reset Module), the module will be immediately reset. When you enter 2 (Set Defaults), the module will set all module parameters to their factory-default settings. The value of this parameter will be restored to 0 (Ready) after the module is reset or resetting the defaults. The module should be reset after performing a Set Defaults.

4.8

Viewing the Module Configuration


The parameters in table 4.4 provide information about how the module is configured. You can view these parameters at any time.
Table 4.4 Module Configuration Status Parameters

No.
01

Name and Description


DPI Port Port to which the module is connected. This will usually be port 5. Default: Minimum: Maximum: Type: Default: DPI Data Rate Data rate used by the drive. This data rate is set in Values the drive and the module detects it. Type: Default: CN Addr Act The actual network node address. Minimum: Maximum: Type: Default: CN Rate Act The actual network data rate. Values: Type: Default: Ref/Fdbk Size Size of the Reference/Feedback. The drive Values: determines the size of the Reference/Feedback. Type: Datalink Size Default: Size of each Datalink word. The drive determines Values: the size of Datalinks. Type:

Details
5 0 7 Read Only 0 = 125 K 0 = 125 K 1 = 500 K Read Only 2 1 99 Read Only 0 = 5 Mbps 0 = 5 Mbps Read Only 0 = 16-bit 0 = 16-bit 1 = 32-bit Read Only 0 = 16-bit 0 = 16-bit 1 = 32-bit Read Only

02

04

06 07

08

4-8

ControlNet Communications Module

Table 4.4 Module Configuration Status Parameters

No.
14

Name and Description


Default: DPI I/O Active I/O that the module is actively transmitting. The Bit Values: value of this parameter will usually be equal to the value of parameter 13 - DPI I/O Config. Type: Bit Definitions 7 6 5 4 3 2 1 0 Bit 0 = Cmd/Ref Default x x x 0 0 0 0 1 1 = Datalink A 2 = Datalink B 3 = Datalink C 4 = Datalink D 5 = Not Used 6 = Not Used 7 = Not Used Default: M-S Input Configures the I/O Data to be transferred from the Bit Values: network to the drive. Type: Reset Required: Bit Definitions Bit 7 6 5 4 3 2 1 0 0 = Cmd/Ref Default x x x 0 0 0 0 1 1 = Datalink A 2 = Datalink B 3 = Datalink C 4 = Datalink D 5 = Not Used 6 = Not Used 7 = Not Used M-S Output Default: Configures the I/O Data to be transferred from the Bit Values: drive to the network. Type: Reset Required: Bit Definitions 7 6 5 4 3 2 1 0 Bit 0 = Cmd/Ref Default x x x 0 0 0 0 1 1 = Datalink A 2 = Datalink B 3 = Datalink C 4 = Datalink D 5 = Not Used 6 = Not Used 7 = Not Used Default: Ref Adjust Percent scale factor for the Reference from the Minimum: Network. Maximum: Type: Reset Required:

Details
xxx0 0001 0 = I/O disabled 1 = I/O enabled Read Only

25

xxx0 0001 0 = I/O disabled 1 = I/O enabled Read/Write Yes

26

xxx0 0001 0 = I/O disabled 1 = I/O enabled Read/Write Yes

27

100.00 0.00 200.00 Read/Write No

Configuring the ControlNet Module

4-9

4-10

ControlNet Communications Module

CHAPTER 5
RSNetWorx Configuration for PLC-5C Applications
This chapter provides information for using RSNetWorx for ControlNet to configure a PLC-5C controller to communicate with the RECOMM-CNET ControlNet module. RSNetWorx for ControlNet is a 32-bit Windows application for configuring ControlNet networks. After installing and configuring the module, RSNetWorx is used to configure the controller to recognize and communicate with the module. Before configuring the controller, your PC must be:

Connected to the ControlNet network using a 1784-PCC, 1770-KFC, or similar device. Running RSNetWorx with RSLinx communications.

5.1

Configuring a ControlNet Network: An Example


In this example, we will be configuring two SP600 drives to be Node 2 and Node 3 on a ControlNet network. This chapter describes the steps to configure a simple network as shown in figure 5.1.

Scanner

SP600 Drive Node 2

SP600 Drive Node 3

Figure 5.1 Sample ControlNet Network

RSNetWorx Configuration for PLC-5C Applications

5-1

5.1.1 Installing and Registering EDS Files in RSNetWorx


This section needs to be performed only if new EDS (Electronic Data Sheet) files need to be added to RSNetWorx. The latest EDS files can be obtained at: http://www.reliance.com/prodserv/standriv/networks. In the Tools menu, select EDS Wizard and click Next (figure 5.2).

Figure 5.2 Rockwell Software EDS Wizard

Step 1.

The EDS Wizard can be used to install (register) new EDS files to the RSNetWorx database, remove (unregister) EDS files from the RSNetWorx database, and change the graphic icon used to represent the device. Select Register an EDS file(s) and click Next (figure 5.3).

5-2

ControlNet Communications Module

Figure 5.3 EDS Wizard Option Screen

Step 2.

The EDS Wizard allows for registering single or multiple EDS files. Click Browse and locate where your EDS files are located. In our example (figure 5.4), multiple EDS files are registered from a directory on the hard drive.

Figure 5.4 EDS Wizard Designation Screen

RSNetWorx Configuration for PLC-5C Applications

5-3

Step 3.

The EDS Wizard will install and test the EDS files. A green check mark next to each file indicates success. Click Next to continue (figure 5.5).

Figure 5.5 EDS Files Installation Test Results Screen

5-4

ControlNet Communications Module

Step 4.

The graphic images for each EDS file are displayed and can be changed if desired. Click Next to continue (figure 5.6).

SP600

Figure 5.6 EDS Wizard Change Graphic Image Screen

RSNetWorx Configuration for PLC-5C Applications

5-5

Step 5.

Click Next to register the EDS files (figure 5.7).

You would like to register the following device: SP600

Figure 5.7 EDS Wizard Final Task Summary Screen

Step 6.

The EDS files have been installed and registered. Click Finish to return to the main RSNetWorx screen (figure 5.8).

Figure 5.8 EDS Wizard Completion Screen

5-6

ControlNet Communications Module

Step 7.

Click on the DPI to ControlNet folder in the Hardware window to view the EDS files that have been installed to the RSNetWorx database (figure 5.9).

SP600

Figure 5.9 RSNetWorx for ControlNet DPI to ControlNet Folder Example

5.1.2 Configuring a Network with RSNetWorx


The main screen for RSNetWorx consists of several windows:

The Network Usage View displays current and pending values associated with the ControlNet network configuration. A Hardware View displays a list of all network hardware currently available to RSNetWorx software. The Favorites View displays a list of hardware that is frequently used when working with the current RSNetWorx configuration. The Graph View shows a pictorial representation of all the hardware used in the current RSNetWorx configuration. The Message View displays a log of messages which are listed from top to bottom, newest to oldest. This view may contain informational, warning, and/or error messages.

RSNetWorx Configuration for PLC-5C Applications

5-7

The various views can be displayed or closed by using the View menu. In figure 5.10, the Network Usage, Hardware and Graphic views are displayed while the Message and Favorites views are closed. Step 1. Click the on-line icon to browse the network.

Figure 5.10 RSNetWorx for ControlNet Screen

Step 2.

Select the ControlNet network access method and click OK. In this example, RSNetWorx will use the 1784-PCC to access the ControlNet network (figure 5.11).

5-8

ControlNet Communications Module

Figure 5.11 Sample Browse for Network Dialog Box

RSNetWorx starts browsing the ControlNet network for nodes and builds the graphic representation of the network (figure 5.12).

Figure 5.12 Sample Network Displayed in RSNetWorx

RSNetWorx Configuration for PLC-5C Applications

5-9

Step 3.

When the network browse is complete, a graphical view of the network is displayed. In this example (figure 5.13), the ControlNet network consists of a PLC-5C/40C controller, two SP600 drives, and a PC using a 1784-PCC. The symbol indicates the device shown on the network does not exist in the configuration file, but it was found on the network. Double-click on the PLC-5C/40C icon.

SP600

SP600

Figure 5.13 Sample ControlNet Configuration Screen

Step 4.

The ControlNet configuration box displays information about each node (figure 5.14). Click OK.

5-10

ControlNet Communications Module

Figure 5.14 Sample ControlNet Configuration Box

Step 5.

The ControlNet module must be configured on the ControlNet network so the controller can communicate with it. Click the Edits Enabled check-box (figure 5.15).

SP600

SP600

Figure 5.15 Example of Product Line after Drive Connection is Selected

RSNetWorx Configuration for PLC-5C Applications

5-11

Step 6.

If the On-line / Off-line Mismatch dialog box appears, click OK to use the on-line data (figure 5.16). If prompted to save, save the data (figure 5.17).

Figure 5.16 Online / Offline Mismatch Dialog Box

RECOMM-CNET Example.XC

Figure 5.17 Save Data Screen

Important: During the save process, RSNetWorx will execute the browse function. Allow RSNetWorx to complete the browse (1-99 nodes), even if you already see the entire network. Canceling the browse early may cause an improper scheduling of I/O. Step 7. Right-click on the controllers icon (PLC-5C) and select SCANlist Configuration. The Scanlist Configuration screen (figure 5.18), is used to configure the controller to communicate with the nodes.

5-12

ControlNet Communications Module

..

SP600 SP600

Figure 5.18 Scanlist Configuration Screen

Step 8.

Enter the Integer files to be used for ControlNet communications (figure 5.19). In this example, N9 is the Data Input File, N10 is the Data Output File, N11 is the Status File, and N13 is the Configuration File. Doubleclick the Node 2 row (SP600 drive).

RSNetWorx Configuration for PLC-5C Applications

5-13

SP600 SP600

Figure 5.19 Integer Files for ControlNet Communications Screen

Step 9.

Enter the input and output size for the node on the network. The number of words selected depends on the I/O to be communicated with the node. In this example, the Node 2 SP600 is set for all I/O enabled which equates to 10 words of I/O (table 5.1).
Table 5.1 Input/Output Table

Words 0-1 2-3 4-5 6-7 8-9

Input to PLC-5C Logic Command / Reference Datalinks A1 & A2 Out Datalinks B1 & B2 Out Datalinks C1 & C2 Out Datalinks D1 & D2 Out

Output to PLC-5C Logic Status / Feedback Datalinks A1 & A2 In Datalinks B1 & B2 In Datalinks C1 & C2 In Datalinks D1 & D2 In

Important: The size of the Reference (Ref/Fdbk Size (7)) and Datalinks (Datalink Size (8)) will affect the size you configure for the network I/O. For example, 32-bit Datalinks requires twice as many words as 16-bit Datalinks. Depending on your application, the configured I/O size may vary.

5-14

ControlNet Communications Module

Note the values in the Input Address and Output Address fields. These are needed to develop a ladder program. Step 10. Enter the desired Requested Packet Interval (RPI) and note the value (figure 5.20). Ensure that this value is equal to or greater than the value that will be set later for Network Update Time (NUT). The Actual Packet Interval (API) may vary from the Requested Packet Interval.

SP600

Figure 5.20 Communicaiton Properties

Step 11. Click the Electronic Keying tab. Electronic Keying is used to determine the criteria used for the scanner to establish a connection to a node. Select the settings according to your application needs (figure 5.21).

RSNetWorx Configuration for PLC-5C Applications

5-15

Figure 5.21 Connection Properties: Electronic Keying Settings

Step 12. Click the Details (figure 5.22) tab. The availability of choosing connection options are determined by the EDS file for the node. Click OK.

Figure 5.22 Connection Properties: Details Settings

5-16

ControlNet Communications Module

Step 13. Repeat steps 9-12 for additional nodes. When complete, all of the nodes should be mapped (figure 5.23).

SP600 SP600

Figure 5.23 ScanList Configuration: Mapped Nodes

Step 14. Click File / Save to save the project (figure 5.24). If prompted to optimize and re-write schedule for all connections, click OK.

Figure 5.24 Save Configuration Dialog Box

RSNetWorx Configuration for PLC-5C Applications

5-17

Step 15. Enter a file name and click Save. The project is now saved for future use.

RECOMM-CNET Example.XC

Figure 5.25 Save As File Box

5.1.3 Verifying Network Properties


In the Network menu, select Properties to display the ControlNet dialog box (figure 5.26). Verify:

The number in the Max Scheduled Address field is higher than or equal to the highest node number that will perform I/O messaging. The number in the Max Unscheduled Address field is higher than or equal to the highest node number on the network. The correct type of media redundancy is selected in the Media Redundancy field.

Important: The value in the Network Update Time (ms) field is 5 ms or greater. Do not set lower than 5 ms. The NUT must be set equal or lower than the RPI times set for the devices on the network.

5-18

ControlNet Communications Module

Figure 5.26 ControlNet Dialog Box

Step 16. If a special media configuration is required (e.g., repeater), select the Media Configuration tab (figure 5.27) and make the appropriate changes. Refer to the RSNetWorx on-line help for more information.

Figure 5.27 ControlNet: Media Configuration Tab

RSNetWorx Configuration for PLC-5C Applications

5-19

Step 17. If desired, select the General tab and enter a name and description for the network (figure 5.28). Click OK.

RECOMM-CNET ControlNet demonstration program using two SP600 demo units.

Figure 5.28 ControlNet: General Tab

Step 18. In the Network menu, select Save the properties and download them to the PLC. The module(s) are now mapped on the network and the controller will communicate with it.

5-20

ControlNet Communications Module

CHAPTER 6
PLC-5C Applications
Chapter 6 provides information and examples that explain how to use I/O Messaging and Explicit Messaging to control, configure, and monitor an SP600 drive using a PLC-5C. ATTENTION: The examples in this publication are intended solely for purposes of example. There are many variables and requirements with any application. Rockwell Automation does not assume responsibility or liability (to include intellectual property liability) for actual use of the examples shown in this publication. Failure to observe this precaution could result in bodily injury or damage to equipment.

6.1

About I/O Messaging


I/O messaging is used to transfer the data which controls the SP600 drive and sets its Reference. I/O can also be used to transfer data to and from Datalinks in SP600 drives. The ControlNet module provides options for configuring and using I/O, including the following:

The size of I/O can be configured by enabling or disabling the Logic Command/Reference and Datalinks.

Chapter 4, Configuring the ControlNet Module, and Chapter 5, RSNetWorx Configuration for PLC-5C Applications, discuss how to configure the module and scanner on the network for these options. The Glossary defines the different options. This chapter discusses how to use I/O after you have configured the module and scanner.

PLC-5C Applications

6-1

6.2

Understanding the I/O Image


The terms input and output are defined from the scanners point of view. Therefore, output I/O is data that is output from the scanner and consumed by the ControlNet module. Input I/O is status data that is produced by the module and consumed as input by the scanner. The I/O image table will vary based on the following:

Size (either 16-bit or 32-bit) of the Reference/Feedback (Ref/Fdbk Size (07)) words and Datalink words used by the drive. Size (either 16-bit or 32-bit) of the Datalink words (Datalink Size (08)). If all I/O is not enabled, the image table is truncated. The image table always uses consecutive words starting at word 0.

Figure 6.1 illustrates an example of an I/O image with 16-bit words.The configuration is shown to illustrate utilizing 10 words of inputs and 10 words of outputs. Depending on your application needs, this may vary.

6-2

ControlNet Communications Module

Controller

ControlNet Scanner Output Image (Write)

DPI Module Word and I/O


0 Logic Command

SP600 Drive
Logic Command

1 Reference 2 Datalink In A1 3 Datalink In A2 4 Datalink In B1 5 Datalink In B2 6 Datalink In C1 7 Datalink In C2 8 Datalink In D1 9 Datalink In D2 Message Buffer 0 Logic Status 1 Feedback 2 Datalink Out A1 3 Datalink Out A2 4 Datalink Out B1 5 Datalink Out B2 6 Datalink Out C1 7 Datalink Out C2 8 Datalink Out D1 9 Datalink Out D2 Message Buffer

Reference Data In A1 Data In A2 Data In B1 Data In B2 Data In C1 Data In C2 Data In D1 Data In D2 Message Handler Logic Status Feedback Data Out A1 Data Out A2 Data Out B1 Data Out B2 Data Out C1 Data Out C2 Data Out D1 Data Out D2 Message Handler

Message Handler Input Image (Read)

Message Handler

Figure 6.1 Sample I/O Image with All I/O Enabled

An image that uses 32-bit words for Reference and Datalinks A and D would change the I/O image in figure 6.1 as follows:
Word 0 1 2-3 4-7 I/O Logic Command/Status Pad Word Reference/Feedback Datalink A1/A2 Word 8 - 11 12 - 15 16 - 19 I/O Datalink B1/B2 Datalink C1/C2 Datalink D1/D2

PLC-5C Applications

6-3

Figure 6.2 illustrates an example of an I/O image that does not use all of the I/O data. Only the Logic Command/Reference and Datalink B are enabled. In this example, the Reference is a 32-bit word, and Datalinks are 16-bit words.

Controller

ControlNet Scanner Output Image (Write)

DPI Module Word and I/O


0 Logic Command 1 Pad Word 2 Reference (LSW) 3 Reference (MSW)

SP600 Drive
Logic Command

4 Datalink In B1 5 Datalink In B2

Reference Data In A1 Data In A2 Data In B1 Data In B2 Data In C1 Data In C2 Data In D1 Data In D2 Logic Status Feedback Data Out A1 Data Out A2 Data Out B1 Data Out B2 Data Out C1 Data Out C2 Data Out D1 Data Out D2

Input Image (Read)

0 Logic Status
1 Pad Word 2 Feedback (LSW) 3 Feedback (MSW)

4 Datalink Out B1 5 Datalink Out B2

LSW = Least Signicant Word (Bits 15 - 0) MSW = Most Significant Word (Bits 31 - 16) Figure 6.2 Sample I/O Image with Only Logic/Reference and Datalink B Enabled

6.3

Using Logic Command/Status


When enabled, the Logic Command/Status word is always word 0 in the I/O image. The Logic Command is a 16-bit word of control produced by the scanner and consumed by the module. The Logic Status is a 16-bit word of status produced by the module 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.

6-4

ControlNet Communications Module

6.4

Using Reference/Feedback
The Reference (16 bits or 32 bits) is produced by the controller and consumed by the module. The Feedback (16 bits or 32 bits) is produced by the module and consumed by the controller. The size of the Reference/Feedback is determined by the drive and displayed in Ref/Fdbk Size (07) in the module. Size 16-bit 32-bit Valid Values -32768 to 32767 -2147483648 to 2147483647 In I/O Image Example Word 1 Figure 6.1 Word 2 and Word 3 Figure 6.2

6.5

Using Datalinks
A Datalink is a mechanism used by SP600 drives to transfer data to and from the controller. Datalinks allow a parameter value to be changed without using an Explicit Message. When enabled, each Datalink consumes either two 16-bit or 32-bit words in both the input and output image depending on its size. The size of Datalinks (16-bit words or 32-bit words) is determined by the drive and displayed in Datalink Size (08) in the module.

6.5.1 Rules for Using Datalinks Each set of Datalink parameters in an SP600 drive can be used
by only one module. If more than one module is connected to a single drive, multiple modules must not try to use the same Datalink.

Parameter settings in the drive determine the data passed through the Datalink mechanism. Refer to the documentation for your drive. When you use a Datalink to change a value, the value is not written to the Non-Volatile Storage (NVS). The value is stored in volatile memory and lost when the drive loses power.

PLC-5C Applications

6-5

6.5.2 32-Bit Parameters using 16-Bit Datalinks


To read (and/or write) a 32-bit parameter using 16-bit Datalinks, typically both Datalinks (x1 and x2) are set to the 32-bit parameter. For example, to read Elapsed MWh (9) in an SP600 drive, both Datalink A1 and A2 are set to 9. Datalink A1 will contain the least significant word (LSW) and Datalink A2 the most significant word (MSW). In this example, the parameter 9 value of 5.8 MWh is read as a 58 in Datalink A1. Most/Least Significant Word LSW MSW Data (decimal) 58 0

Datalink A1 A2

Parameter 9 9

Regardless of the Datalink combination, x1 will always contain the LSW and x2 will always contain the MSW. In the following examples Power Up Marker (242) contains a value of 88.4541 hours. Most/Least Significant Word LSW - Not Used Most/Least Significant Word - Not Used MSW Most/Least Significant Word MSW LSW Data (decimal) 32573 0 Data (decimal) 0 13 Data (decimal) 13 32573

Datalink A1 A2

Parameter 242 0

Datalink A1 A2

Parameter 0 242

Datalink A2 B1

Parameter 242 242

32-bit data is stored in binary as follows: MSW LSW Example: Power Up Marker (242) = 88.4541 hours MSW = 13decimal = 1101binary = 219 + 218 + 216 = 851968 LSW = 32573 851968 + 32573 = 884541 231 through 216 215 through 20

6-6

ControlNet Communications Module

6.6

Function of the Sample Program


The program performs the following actions:

Obtains Logic Status information from the drive. Uses the Logic Command to control the drive (for example, start, stop). Sends a Reference to the drive and receives Feedback from the drive. Sends/Receives Datalink data to/from the drive.

Module Settings for the Sample Program Nodes 2 and 3. See Chapter 5, RSNetWorx Configuration for PLC-5C Applications.

Parameter Settings for the Sample Program


Table 6.1 Parameter Settings for the Sample Program Device Parameter 90 300 301 302 SP600 Drive 303 310 311 312 313 13 25 RECOMM-CNET 26 M-S Output xxx1 1111 Name Speed Ref A Sel Data In A1 Data In A2 Data In B1 Data In B2 Data Out A1 Data Out A2 Data Out B1 Data Out B2 DPI I/O Cfg M-S Input Value 22 140 142 100 155 140 142 100 155 xxx1 1111 xxx1 1111 Description Network (RECOMM-CNET) Points to 140 (Accel Time 1) Points to 142 (Decel Time 1) Points to 100 (Jog Speed) Points to 155 (Stop Mode A) Points to 140 (Accel Time 1) Points to 142 (Decel Time 1) Points to 100 (Jog Speed) Points to 155 (Stop Mode A) Enables Cmd/Ref, Datalinks A-D Configures the I/O Data to be transferred from the network to the drive. Configures the I/O Data to be transferred from the drive to the network.

Logic Command/Status Words These examples use the Logic Command word and Logic Status word for SP600 drives. Refer to Appendix D, Logic Command/ Status Words to view these. The definition of the bits in these words may vary if you are using a different DPI product. Refer to the documentation for your drive.

PLC-5C Applications

6-7

6.7

Main Program (PLC-5C)


There is an operator station wired into the local rack as follows: I:000/0 Start (Normally Open Pushbutton) I:000/1 Stop (Normally Closed Pushbutton) I:000/2 Clear Faults (Normally Open Pushbutton) I:000/3 Forward / Reverse Selector Switch I:001 Operator Speed Reference O:000/0 Drive Ready O:000/1 Drive Active O:000/2 Drive Faulted O:001 Operator Speed Feedback

The20-COMM-C RECOMM-CNET on the SP600 drive The on the PowerFlex 70 driveisismapped mappedas asfollows: follows:
N9:0 Logic Status N9:1 Feedback N9:2 Datalink A1 Out N9:3 Datalink A2 Out N9:4 Datalink B1 Out N9:5 Datalink B2 Out N9:6 Datalink C1 Out N9:7 Datalink C2 Out N9:8 Datalink D1 Out N9:9 Datalink D2 Out Operator Start Pushbutton I:000 0000 N10:0 N10:1 N10:2 N10:3 N10:4 N10:5 N10:6 N10:7 N10:8 N10:9 Logic Command Reference Datalink A1 In Datalink A2 In Datalink B1 In Datalink B2 In Datalink C1 In Datalink C2 In Datalink D1 In Datalink D2 In Drive Logic Command START N10:0

Operator Stop Pushbutton I:000


0001

Drive Logic Command STOP N10:0 0

Figure 6.3 I/O Messaging

6-8

ControlNet Communications Module

Operator Clear Faults Pushbutton I:000

Drive Logic Command CLEAR FAULTS N10:0 3


Drive Logic Command FORWARD N10:0 4

002
2
Operator Fwd / Rev Selector Switch I:000

003
3
Operator Fwd / Rev Selector Switch I:000
004

Drive Logic Command REVERSE N10:0 5


Operator Drive Ready Status Display O:000 0

3
Drive READY Status Bit N9:0

005
0
Drive ACTIVE Status Bit N9:0
006

Operator Drive Active Status Display O:000 1

Figure 6.4 I/O Messaging (Continued)

PLC-5C Applications

6-9

Drive FAULTED Status Bit N9:0

Operator Drive Faulted Status Display O:000 2

007
7
This rung moves the Speed Reference from the operator station to the drive. MOV Move Source I:001 0< Dest N10:1 0<
The rung moves the Speed Feedback from the drive to the operator station. MOV Move Source N9:1 0< Dest O:001 0<
This rung moves Datalink data (N7) to the drive, where it is moved into parameters. Drive Datalink A1 In COP Copy File Source #N7:0 Dest #N10:2 Length 8

008

009

010

Figure 6.5 I/O Messaging (Continued)

6-10

ControlNet Communications Module

011

This rung moves Datalink data from the drive to file N7. COP Copy File Source Dest Length
This rung executes the messaging logic. JSR Jump To Subroutine Prog File Number

#N9:2 #N7:10 8

012

U:3

013

END

Figure 6.6 I/O Messaging (Continued)

PLC-5C Applications

6-11

6.8

About Explicit Messaging


Explicit Messaging is used to transfer data that does not require continuous updates. With Explicit Messaging, you can configure and monitor a slave devices parameters on the ControlNet network.

6.8.1 Performing Explicit Messages


Important: There are five basic events in the Explicit Messaging process defined below. The details of each step will vary depending on the controller. Refer to the documentation for your controller.

Set up and send Parameter Message

Complete Parameter Message

Retrieve Parameter Message Response

Format the required data and set up the ladder logic program to send an Explicit Message request to the scanner module (download). The scanner module transmits the Explicit Message Request to the slave device over the ControlNet network. The slave device transmits the Explicit Message Response back to the master. The controller retrieves the Explicit Message Response. The Explicit Message is complete.
Figure 6.7 Explicit Message Process

Important: The scanner module may be integrated with the controller (e.g., PLC-5C).

6-12

ControlNet Communications Module

The ControlNet I/O Transfer (CIO) instruction is used to send Explicit Messages. For PLC-5C controllers before Series F Revision C, the available services you should use are Get Attribute Single, Get Attribute All, Set Attribute Single, or Set Attribute All. Series F Revision C (or later) allow for more complex messages using a new Generic Bi-Directional communication command.

6.8.2 Explicit Messaging Examples


This rung sends a message to the drive over ControlNet and receives the response from the drive. The message to be sent is built in data file N13 while the response data is placed in data file N14. User Logic Message Initiate N7:2 CIO EN ControlNet I/O Transfer DN 0 Control CT12:0 ER Setup Screen

000

001

END

Figure 6.8 Explicit Messaging

A Get Attributes Scattered message allows for reading multiple parameters that may or may not be in sequential order (figure 6.9).

A Service Code of 4B indicates the Get_Attributes_Scattered service (see page C-20, Object Specific Services).). A Class Number of 93 indicates accessing the DPI Parameter Object (see page C-16, DPI Parameter Object). An Instance Number of 0 accesses the Class Attributes (see page C-16, Instances). N13:0-11 contains the request message and N14:0-11 contains the response message (see page C-20, Format for Get_Attributes_Scattered Service).

PLC-5C Applications

6-13

Figure 6.9 CIO Get Attributes Scattered Screen

Get Attributes Scattered Example request and response Data: Request Data N13:0 N13:1 N13:2 N13:3 N13:4 N13:5 N13:6 N13:7 N13:8 N13:9 N13:10 N13:11 12 0 0 11 0 0 10 0 0 9 0 0 Parameter Number = 12 (Pad Word) (Pad Word) Parameter Number = 11 (Pad Word) (Pad Word) Parameter Number = 10 (Pad Word) (Pad Word) Parameter Number = 9 (Pad Word) (Pad Word)

6-14

ControlNet Communications Module

Response Data N14:0 N14:1 N14:2 N14:3 N14:4 N14:5 N14:6 N14:7 N14:8 N14:9 N14:10 N14:11 12 3333 0 11 0 0 10 148 9 23 Parameter Number = 12 Value = 333.3VDC (Pad Word) Parameter Number = 11 Value = 0.0Hz (Pad Word) Parameter Number = 10 Value = 14.8Hrs Parameter Number = 9 Value = 2.3MWh

A Set Attributes Scattered message is used to write multiple parameters that may or may not be in sequential order (figure 6.10).

A Service Code of 4C indicates the Set_Attributes_Scattered service (see page C-19, Object Specific Services).

Figure 6.10 CIO Set Attributes Scattered Screen

PLC-5C Applications

6-15

Set Attributes Scattered Example request and response Data: Request Data N13:0 N13:1 N13:2 N13:3 N13:4 N13:5 N13:6 N13:7 N13:8 N13:9 N13:10 N13:11 Response Data N14:0 N14:1 N14:2 N14:3 N14:4 N14:5 N14:6 N14:7 N14:8 N14:9 N14:10 N14:11 45 0 0 44 0 0 43 0 0 42 0 0 Parameter Number = 45 (Pad Word) (Pad Word) Parameter Number = 44 (Pad Word) (Pad Word) Parameter Number = 43 (Pad Word) (Pad Word) Parameter Number = 42 (Pad Word) (Pad Word) 45 50 0 44 1740 0 43 600 0 42 16 0 Parameter Number = 45 Value = 0.50HP (Pad Word) Parameter Number = 44 Value = 1740RPM (Pad Word) Parameter Number = 43 Value = 60.0Hz (Pad Word) Parameter Number = 42 Value = 1.6Amps (Pad Word)

A Get Attribute Single message is used to read a single parameter (figure 6.11).

A Service Code of E indicates the Get_Attribute_Single service (see page C-20, Common Services). An Instance Number of 1 indicates Drive Parameter 1 will be accessed (see page C-16, Instances). An Attribute Number of 9 indicates the Parameter Value Attribute will be accessed (see page C-17, Instance Attributes).

6-16

ControlNet Communications Module

Figure 6.11 CIO Get Attribute Single Screen

Get Attribute Single example response (reading SP600 Parameter 1 in figure 6.11): Response Data N14:0 0 Value = 0.0Hz

A Set_Attribute_Single message is used to write a single parameter (figure 6.12).

A Service Code of 10 indicates the Set_Attribute_Single service (see page C-20, Common Services). An Instance Number of 41 indicates Drive Parameter 41 will be accessed (see page C-16, Instances). An Attribute Number of 9 indicates the Parameter Value Attribute will be written (see page C-17, Instance Attributes).

PLC-5C Applications

6-17

Figure 6.12 CIO Set Attribute Single Screen

Set Attribute Single example request (writing SP600 parameter 41 in figure 6.12): Request Data N13:0 2300 Value = 230.0 VAC

6-18

ControlNet Communications Module

CHAPTER 7
ControlLogix Applications
Chapter 7 provides information and examples that explain how to use I/O Messaging and Explicit Messaging to control, configure, and monitor an SP600 drive using a ControlNet scanner module. ATTENTION: The examples in this publication are intended solely for purpose of example. There are many variables and requirements with any application. Rockwell Automation does not assume responsibility or liability (to include intellectual property liability) for actual use of the examples shown in this publication. Failure to observe this precaution could result in bodily injury or damage to equipment. ATTENTION: If Explicit Messages are programmed to write parameter data to Non-Volatile Storage (NVS) frequently, the NVS will quickly exceed its life cycle and cause the drive to malfunction. Do not create a program that frequently uses Explicit Messages to write parameter data to NVS. Datalinks do not write to NVS and should be used for frequently changed parameters. Failure to observe this precaution could result in damage to, or destruction of, the equipment. Refer to chapter 6 for further information on I/O Image layout and using Logic Command/Status, Reference/Feedback and Datalinks.

ControlLogix Applications

7-1

7.1

Configuring a ControlLogix CNB Scanner


Configuring a ControlLogix CNB scanner, and the network, is mainly done using RSLogix 5000 software (figure 7.1). RSNetWorx is still required, but only at the end of the configuration process. Start the RSLogix 5000 software to begin the configuration process.

RSLogix 5000 - Example_RECOMM-CNET[1756-L1]

_RECOMM-CNET

Figure 7.1 RSLogix 5000: I/O Configuration Selection

Step 1.

Right-click on the I/O Configuration folder and select New Module (figure 7.2).

7-2

ControlNet Communications Module

RSLogix 5000 - Example_RECOMM-CNET[1756/L1]

_RECOMM-CNET

Figure 7.2 RSLogix 5000: New Module Selection

Step 2.

Select the ControlNet module used by the controller. In this example (figure 7.3), a 1756-CNB Series B ControlNet Bridge is selected. Click OK.

Figure 7.3 Select Module Type: 1756-CNB/B Selection

ControlLogix Applications

7-3

Step 3.

Enter a Name, Slot number, and Revision number (figure 7.4). Click Next>.

Figure 7.4 Module Properties: Name Selection

Step 4.

This step is used to define controller-to-module behavior (figure 7.5). Inhibit Module inhibits/un-inhibits the connection to the module. The Major Fault check-box selects if a failure on the connection of this module causes a major fault on the controller if the connection for the module fails. Click Next>.

Figure 7.5 Module Properties: Controller-to-Module Behavior Screen

7-4

ControlNet Communications Module

Step 5.

This window (figure 7.6) is displayed for informational purposes only. Click Next>.

Figure 7.6 Module Properties: Indentification/Status Screen

Step 6.

This window (figure 7.7) is displayed for informational purposes only. Click Finish>>.

Figure 7.7 Module Properties: Informational Screen

ControlLogix Applications

7-5

Step 7.

The 1756-CNB/B now appears in the I/O Configuration folder (figure 7.8).

RSLogix 5000 - Example_RECOMM-CNET[1756-L1]

_RECOMM-CNET

Figure 7.8 RSLogix 5000: I/O Configuration Folder

7-6

ControlNet Communications Module

Step 8.

Right-click on the 1756-CNB and select New Module (figure 7.9).

RSLogix 5000 - Example_RECOMM-CNET[1756-L1]

_RECOMM-CNET

Figure 7.9 RSLogix 5000: New Module Selection Screen

ControlLogix Applications

7-7

Step 9.

To configure a RECOMM-CNET ControlNet module, select the CONTROLNET-MODULE type (figure 7.10). Click OK.

Figure 7.10 Select Module Type: Generic ControlNet Module Screen

Step 10. Enter the Name, Description and Node number (figure 7.11). The Comm Format selects the communication format for the module and must be set to Data-INT. Input Instance is the input connection point for the primary connection. Output Instance is the output connection point for the primary connection. Configuration Instance is the size of the configuration assembly. The values entered will vary based on your application needs and the size (16- or 32-bit) of the Reference/Feedback and Datalinks in the drive. For example: SP600 (16-Bit Ref/Fdbk and Datalinks) Node configured for: Logic Command / Reference and Logic Status / Feedback only plus Datalink A plus Datalink B plus Datalink C plus Datalink D Input Size 4 6 8 10 12 Output Size 2 4 6 8 10

7-8

ControlNet Communications Module

SP600_02

Figure 7.11 Module Properties: ControlNet Module Parameters

Step 11. The Requested Packet Interval (RPI) schedules the connection to move data to or from the module at least this often or the connection will fail with the RPI Not Valid error. Set this value to 5 ms or greater, and click Next> (figure 7.12). Important: The RPI time must be set greater than or equal to the Network Update Time (NUT).

Figure 7.12 Module Properties: RPI Selection

ControlLogix Applications

7-9

Step 12. This window (figure 7.13) is for informational purposes only. Click Finish>>.

Figure 7.13 Module Properties: My ControlNet

Step 13. The configured node (SP600_02 in this example) now appears under the 1756-CNB module in the I/O Configuration folder.

RSLogix 5000 - Example_RECOMM-CNET [1756-L1]

Controller Example_RECOMM-CNET

SP600_02

Figure 7.14 RSLogix: Configure Additional Nodes Screen

Step 14. Repeat the previous steps for each additional node you need to configure.

7-10

ControlNet Communications Module

Step 15. In the Data Types folder, click on the Module-Defined sub-folder. When you create a module, module-defined data types and tags are automatically created. These tags allow you to access the Input and Output Data of the module via the controllers ladder logic.

RSLogix 5000 - Example_RECOMM-CNET [1756-L1]

Controller Example_RECOMM-CNET

RE: RE: RE:

SP600_02

Figure 7.15 RSLogix 5000: Module-Defined Screen

Step 16. Select Communications / Download to download the configuration to the controller (figure 7.16). RSLogix automatically enters on-line mode when complete.

Example_RECOMM-CNET

Figure 7.16 Download to the Controller Dialong Box

ControlLogix Applications

7-11

Step 17. An Attention symbol is located next to the Node 2 (SP600_02) icon in figure 7.17, which indicates the ControlNet scanner needs to be configured.

RSLogix 5000 - Example_RECOMM-CNET [1756-L1]

Controller Example - RECOMM-CNET

RE: RE: RE:

SP600_02

Figure 7.17 RSLogix: Attention Symbol

Step 18. Start RSNetWorx and perform the following: a. Click the On-line icon and browse the network.

b. Select Edits Enabled and view the messages in the Message View for completion (figure 7.18). The icon should disappear from the nodes in the Graphical View. c. Select File / Save and save the project (figure 7.19). d. Close RSNetworx. This schedules the I/O that was configured in RLSLogix 5000.

7-12

ControlNet Communications Module

SP600

Figure 7.18 RSNetWorx for ControlNet Screen

ControlLogix Applications

7-13

SP600

Figure 7.19 RSLogix 5000: Example Without Attention Symbol

7-14

ControlNet Communications Module

Step 19. The Attention symbol on the RSLogix 5000 connection tree will disappear if the network has been configured properly (figure 7.20). You are now ready to develop your ladder logic program.

RSLogix 5000 - Example_RECOMM-CNET [1756-L1]

Controller Example_RECOMM-CNET

RE: RE: RE:

SP600

Figure 7.20 RSLogix 5000: Connection Tree Without Attention Symbol

7.2

Function of the Sample Program


The program performs the following actions:

Obtains Logic Status information from the drive. Uses the Logic Command to control the drive (for example, start, stop). Sends a Reference to the drive and receives Feedback from the drive. Sends/Receives Datalink data to/from the drive.

Module Settings For Use With the Example Nodes 2 and 3.

ControlLogix Applications

7-15

Parameter Settings for the Sample Program


Table 7.1 Parameter Settings for the Sample Program Device Parameter 90 300 301 302 SP600 Drive 303 310 311 312 313 13 25 RECOMM-CNET 26 M-S Output xxx1 1111 Name Speed Ref A Sel Data In A1 Data In A2 Data In B1 Data In B2 Data Out A1 Data Out A2 Data Out B1 Data Out B2 DPI I/O Cfg M-S Input Value 22 140 142 100 155 140 142 100 155 xxx1 1111 xxx1 1111 Description Network (RECOMM-CNET) Points to 140 (Accel Time 1) Points to 142 (Decel Time 1) Points to 100 (Jog Speed) Points to 155 (Stop Mode A) Points to 140 (Accel Time 1) Points to 142 (Decel Time 1) Points to 100 (Jog Speed) Points to 155 (Stop Mode A) Enables Cmd/Ref, Datalinks A-D Configures the I/O Data to be transferred from the network to the drive. Configures the I/O Data to be transferred from the drive to the network.

Logic Command/Status Words These examples use the Logic Command word and Logic Status word for SP600 drives. Refer to Appendix D, Logic Command/ Status Words to view these. The definition of the bits in these words may vary if you are using a different DPI product. Refer to the documentation for your drive.

7-16

ControlNet Communications Module

7.3

RSLogix 5000 Ladder Logic Program


This rung determines whether the drive is running, and sets the DriveStatusRunning tag appropriately. DriveInputImage.Data[2].1 <SP600 <PowerFlex70_02:I.Data[2].1> DriveStatusRunning

This rung determines whether the drive is faulted, and sets the DriveStatusFaulted tag appropriately. DriveInputImage.Data[2].7 <SP600_ <PowerFlex70_02:I.Data[2].7>

DriveStatusFaulted

This rung moves the drive's frequency feedback to the DriveFeedback tag. COP Copy File Source DriveInputImage.Data[3] <SP600_ <PowerFlex70_02:I.Data[3]> Dest DriveFeedback Length 1

When the DriveCommandStart tag is true, this rung sends a start command to the drive. DriveCommandStart DriveOutputImage.Data[0].1 <SP600_ <PowerFlex70_02:O.Data[0].1>

When the DriveCommandNotStop tag is false, this rung sends a stop command to the drive. This rung uses an XIO input instruction because Stop pushbuttons are usually normally closed so that the equipment stops if a wire breaks. DriveCommandNotStop / DriveOutputImage.Data[0].0 <SP600_ <PowerFlex70_02:O.Data[0].0>

When the DriveCommandJog tag is true, this rung sends a jog command to the drive. DriveCommandJog DriveOutputImage.Data[0].2 <SP600_ <PowerFlex70_02:O.Data[0].2>

When the DriveCommandClearFault tag is true, this rung sends a clear fault command to the drive. DriveCommandClearFault DriveOutputImage.Data[0].3 <SP600_ <PowerFlex70_02:O.Data[0].3>

Figure 7.21 I/O Messaging

ControlLogix Applications

7-17

This rung moves data from the DriveReference tag to the drive where it is used as a frequency reference.
7

COP Copy File Source DriveReference Dest DriveOutputImage.Data[1] <SP600_ <PowerFlex70_02:O.Data[1]> Length 1

This rung moves Datalink data from the drive.


8

COP Copy File Source DriveInputImage.Data[4] <SP600_ <PowerFlex70_02:I.Data[4]> Dest ParameterDataFromDrive[0] Length

This rung moves Datalink data to the drive.


9

COP Copy File Source ParameterDataToDrive[0] Dest DriveOutputImage.Data[2] <SP600_ <PowerFlex70_02:O.Data[2]> Length

(End)

Figure 7.22 I/O Messaging (Continued)

7-18

ControlNet Communications Module

7.4

About Explicit Messaging


Explicit Messaging is used to transfer data that does not require continuous updates. With Explicit Messaging, you can configure and monitor a slave devices parameters on the ControlNet network.

7.4.1 Performing Explicit Messages


Important: There are five basic events in the Explicit Messaging process defined below. The details of each step will vary depending on the controller. Refer to the documentation for your controller.

Set up and send Parameter Message

Complete Parameter Message

Retrieve Parameter Message Response

Format the required data and set up the ladder logic program to send an Explicit Message request to the scanner module (download). The scanner module transmits the Explicit Message Request to the slave device over the ControlNet network. The slave device transmits the Explicit Message Response back to the master. The controller retrieves the Explicit Message Response. The Explicit Message is complete.
Figure 7.23 Explicit Message Process

Important: The scanner module may be integrated with the controller (e.g., PLC-5C).

ControlLogix Applications

7-19

7.4.2 Explicit Messaging Examples


This message toto the SP600 drive at ControlNet Address 2.address The data isdata obtained Thisrung rungsends sendsaaCIP CIP message the PowerFlex 70 drive at ControlNet 2.sent The sent is obtained

from the MessageSendData tag. The data received is stored in the MessageReplyData tag. This MSG instruction can be configured to send any CIP message.
0

EnableDriveMessage Type - CIP Generic Message Control

MSG DriveMessageControl ... EN DN ER

(End)

Figure 7.24 Explicit Messaging

A Get_Attributes_Scattered message allows for reading multiple parameters that may or may not be in sequential order (figure 7.25).

A Service Code of 4B indicates the Get_Attributes_Scattered service (see page C-20, Object Specific Services). A Class Number of 93 indicates accessing the DPI Parameter Object (see page C-16, DPI Parameter Object). An Instance Number of 0 is the Class Attributes for the drive (see page C-16, Instances). The Source identifies the service data with the request message to send. The Destination contains the response message to the request.

7-20

ControlNet Communications Module

Figure 7.25 Get_Attributes_Scattered Message Screen

Get Attributes Scattered sample request and response data: (Source) Request Data 0 1 2 3 4 5 6 7 8 9 10 11 12 0 0 11 0 0 10 0 0 9 0 0 Parameter Number = 12 (Pad Word) (Pad Word) Parameter Number = 11 (Pad Word) (Pad Word) Parameter Number = 10 (Pad Word) (Pad Word) Parameter Number = 9 (Pad Word) (Pad Word)

ControlLogix Applications

7-21

(Destination) Response Data 0 1 2 3 4 5 6 7 8 9 10 11 12 3333 0 11 0 0 10 148 9 23 Parameter Number = 12 Value = 333.3VDC (Pad Word) Parameter Number = 11 Value = 0.0Hz (Pad Word) Parameter Number = 10 Value = 14.8Hrs Parameter Number = 9 Value = 2.3MWh

A Set _Attributes_Scattered message is used to write multiple parameters that may or may not be in sequential order (figure 7.26). A Service Code of 4C indicates the Set_Attributes_Scattered service (see page C-20, Object Specific Services).

Figure 7.26 Set_Attributes_Scattered Message Screen

7-22

ControlNet Communications Module

Set_Attributes_Scattered sample request and response data: (Source) Request Data N13:0 N13:1 N13:2 N13:3 N13:4 N13:5 N13:6 N13:7 N13:8 N13:9 N13:10 N13:11 45 50 0 44 1740 0 43 600 0 42 16 0 Parameter Number = 45 Value = 0.50HP (Pad Word) Parameter Number = 44 Value = 1740RPM (Pad Word) Parameter Number = 43 Value = 60.0Hz (Pad Word) Parameter Number = 42 Value = 1.6Amps (Pad Word)

(Destination) Response Data N14:0 N14:1 N14:2 N14:3 N14:4 N14:5 N14:6 N14:7 N14:8 N14:9 N14:10 N14:11 45 0 0 44 0 0 43 0 0 42 0 0 Parameter Number = 45 (Pad Word) (Pad Word) Parameter Number = 44 (Pad Word) (Pad Word) Parameter Number = 43 (Pad Word) (Pad Word) Parameter Number = 42 (Pad Word) (Pad Word)

A Set_Attribute_Single message is used to write a single parameter (figure 7.27).

A Service Code of 10 indicates the Set_Attribute_Single service (see page C-8, Services). A Class Name of F indicates the Parameter Object (see page C-6, Parameter Object). An Instance of 45 indicates the Drive Parameter 45 Attributes (see page C-6, Instances). An Attribute of 1 indicates the Parameter Value (see page C-7, Instance Attributes).

ControlLogix Applications

7-23

Figure 7.27 Set_Attribute_Single Message Screen

Set_Attribute_Single example (writing SP600 Parameter 45 in figure 7.27 ): Send Data 0 50 Value = 0.50HP

A Get_Attribute_Single message is used to read a single parameter (figure 7.28).

A Service Code of E indicates the Get_Attribute_Single service (see page C-8, Services). A Class Name of F indicates the Parameter Object (see page C-6, Parameter Object). An Instance of 45 indicates the Drive Parameter 45 Attributes (see page C-6, Instances). An Attribute of 1 indicates the Parameter Value (see page C-7, Instance Attributes).

7-24

ControlNet Communications Module

Figure 7.28 Get_Attributes_Single Message Screen

Get Attributes Single example (reading S600 Parameter 45 in figure 7.28): Reply Data 0 50 Value = 0.50HP

ControlLogix Applications

7-25

ControlLogix Applications

7-26

CHAPTER 8
Troubleshooting the ControlNet Module and Network
Chapter 8 contains information for troubleshooting the ControlNet module and the network.

8.1

Understanding the Status Indicators


The ControlNet module has four status indicators. They can be viewed on the module or through the drive cover. (See figure 8.1.)

Status Number Indicator DRIVE MS NET A NET B

Description DPI Connection Status Module Status ControlNet A Status ControlNet B Status

Refer to... Section 8.1.1 Section 8.1.2 Sections 8.1.3 and 8.1.4 Sections 8.1.3 and 8.1.4

Figure 8.1 Status Indicators (Location on Drive May Vary)

Troubleshooting the ControlNet Module and Network

8-1

8.1.1 DRIVE Status Indicator


Table 8.1 DRIVE Status Indicator: State Definitions

Status Cause Off The module is not powered or is not connected properly to the drive.

Corrective Action Securely connect the module to the drive using the ribbon cable.

Apply power to the drive. Flashing The module is not Verify that cables are Red receiving a ping securely connected. message from the Cycle power to the drive. drive. The drive has refused Important: Cycle power to the Solid Red an I/O connection from product after making any of the the module. following corrections:
Another DPI peripheral is using the same DPI port as the module.

Verify that all DPI cables are securely connected and not damaged. Replace cables if necessary. Verify that the DPI Host supports Datalinks. Configure the module and DPI Host to use a Datalink that is not already being used by another peripheral. Connect the module to a product that supports Reliance Electric DPI communications (for example, SP600 drives). No action. Normal behavior if no DPI I/O is enabled. No action.

Orange

The module is connected to a product that does not support Reliance Electric DPI communications. Flashing The module is Green establishing an I/O connection to the drive. Solid The module is properly Green connected and is communicating with the drive.

8-2

ControlNet Communications Module

8.1.2 MS Status Indicator


Table 8.2 MS Status Indicator: State Definitions

Status Off

Cause The module is not powered.

Corrective Action Securely connect the module to the SP600 drive using the ribbon cable. Apply power to the drive and network. Cycle power to the drive. Parameter settings may have been changed. Clear faults in the module. If cycling power does not correct the problem, the parameter settings may have been corrupted. Reset defaults and reconfigure the module. If resetting defaults does not correct the problem, flash the module with the latest firmware release. Cycle power to the drive. Replace the module. Place the scanner in RUN mode. Program the controller to recognize and transmit I/O to the module. Configure the module for the program in the controller. Normal behavior if no DPI I/O is enabled. No action.

Flashing The module has Red failed the firmware test.

Solid Red

The module has failed the hardware test. Flashing The module is Green operational but is not transferring I/O data.

Solid Green

The module is operational and transferring I/O data.

Troubleshooting the ControlNet Module and Network

8-3

8.1.3 NET A and B Together


Table 8.3 NET A and B Together: State Definitions

Status Both LEDs are off Both LEDs are steady red

Cause A reset occurred or there is no power. A link interface failed.

Corrective Actions Apply power to the module. Check media for broken cables, loose connectors, missing terminators, etc. Power cycle or reset the module. If the problem persists, contact Rockwell Automation support. No action required. The module will exit this mode when the self-test is completed. Verify that all node addresses are unique. Check the modules configuration. Check media for broken cables, loose connectors, missing terminators, etc. Power cycle or reset the module.

LEDs are alternating red/green LEDs are alternating red/off

The module is in self-test mode. There is a bad configuration.

8-4

ControlNet Communications Module

8.1.4 NET A and B Independently


Table 8.4 NET A and B Independently: State Definitions

Status One channel LED is steady off One channel LED is flashing red/green One channel LED is flashing red/off One channel LED is flashing green/off One channel LED is steady green

Cause That channel is disabled or not supported. There is an invalid link configuration for that channel.

Corrective Actions Program the network for redundant media, if required.

Power cycle or reset the module. Reset the controller. If the problem persists, contact Rockwell Automation support. Check media for broken calbes, loose connectors, missing terminators, etc.

The channel is not receiving network activity.

A temporary channel error has occurred, or the channel is in listenonly mode. Normal operation for that channel.

Verify the controller is present on the network and working.

No action required.

Troubleshooting the ControlNet Module and Network

8-5

8.2

Module Diagnostic Items


Table 8.5 lists diagnostic items that can be accessed using VS Utilities software or the LCD OIM.
Table 8.5 Module Diagnostic Items

No. Event 1 Common Logic Cmd 2 Prod Logic Cmd 3 4 5 6 7

10

11

12

13

14

15 16

Description The current value of the Common Logic Command being transmitted to the host. The current value of the Product-Specific Logic Command being transmitted to the host. Reference The current value of the Product-Specific Reference being transmitted to the host. Common Logic Sts The current value of the Common Logic Status being received from the host. Prod Logic Sts The current value of the Product-Specific Status being received from the host. Feedback The current value of the Product-Specific Feedback being received from the host. Datalink A1 In The current value of Datalink A1 being transmitted to the host. (Value of 0 if datalink is not used). Datalink A2 In The current value of Datalink A2 being transmitted to the host. (Value of 0 if datalink is not used). Datalink B1 In The current value of Datalink B1 being transmitted to the host. (Value of 0 if Datalink is not used). Datalink B2 In The current value of Datalink B2 being transmitted to the host. (Value of 0 if Datalink is not used). Datalink C1 In The current value of Datalink C1 being transmitted to the host. (Value of 0 if Datalink not used). Datalink C2 In The current value of Datalink C2 being transmitted to the host. (Value of 0 if Datalink is not used). Datalink D1 In The current value of Datalink D1 being transmitted to the host. (Value of 0 if Datalink is not used). Datalink D2 In The current value of Datalink D2 being transmitted to the host. (Value of 0 if Datalink is not used). Datalink A1 Out The current value of Datalink A1 being received from the host. Datalink A2 Out The current value of Datalink A2 being received from the host.

8-6

ControlNet Communications Module

Table 8.5 Module Diagnostic Items (Continued)

No. Event 17 Datalink B1 Out 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Description The current value of Datalink B1 being received from the host. Datalink B2 Out The current value of Datalink B2 being received from the host. Datalink C1 Out The current value of Datalink C1 being received from the host. Datalink C2 Out The current value of Datalink C2 being received from the host. Datalink D1 Out The current value of Datalink D1 being received from the host. Datalink D2 Out The current value of Datalink D2 being received from the host. DPI Rx Errors The current value of the DPI Receive error counter. DPI Rx Err Max The maximum value (since reset) of the DPI Receive error counter. DPI Tx Errors The current value of the DPI Transmit error counter. DPI Tx Err Max The maximum value (since reset) of the DPI Transmit error counter. Node Address SW The current value set on the Node Address Switches. Boot Flash Count The number of times the Boot flash segment has been updated in the field. App Flash Count The number of tmes the Application flash segment has been updated in the field. M-S Input Size The size of data transferred from the network to the drive. M-S Output Size The size of data transferred from the drive to the network.

Troubleshooting the ControlNet Module and Network

8-7

8.3

Viewing and Clearing Events


The module maintains an event queue that reports the history of its actions. You can view the event queue using an LCD OIM or VS Utilities software.

To View and Clear Events Using an LCD OIM


Use the procedure shown in figure 8.2 to access the event queue using the LCD OIM. Note that you must have the RECOMM-CNET module as the selected device to access the event queue.

>>

Stopped

Auto

P0: RECOMM-CNET Main Menu Diagnostics: View Event Queue Device Version OIM Version Diagnostics
EvtQ# 1 : E# xxxxx Online @ 500kbps

Clrqu

Monitor

Lang

Highlight item

Press F2 key to clear event queue

Highlight Diagnostics icon

Figure 8.2 VIewing and Clearing Events Using an LCD OIM

Events
Many events in the event queue occur under normal operation. If you encounter unexpected communications problems, the events may help you or Reliance Electric personnel troubleshoot the problem. Table 8.6 lists events that may appear in the event queue.
Table 8.6 Event Codes and Descriptions

Code Event 1 No Event 2 DPI Bus Off Flt

3 4 5 6 7 8

Ping Time Flt Port ID Flt Port Change Flt Host Sent Reset EEPROM Sum Flt Online @ 125kbps

Description Empty event queue entry. A bus-off condition was detected on DPI. This event may be caused by loose or broken cables or by noise. A ping message was not received on DPI within the specified time. The module is not connected to a correct port on a DPI product. The DPI port changed. The DPI product issued this because it was reset. The EEPROM in the module is corrupt. The module and DPI product are communicating at 125 kbps.
ControlNet Communications Module

8-8

Table 8.6 Event Codes and Descriptions

Code Event 9 Online @ 500kbps 10 11 12 13 14 15 Bad Host Flt Dup. Port Flt Type 0 Login Type 0 Time Flt DL Login DL Reject Flt

16 17 18 19 20 21

DL Time Flt Reserved Control Disabled Control Enabled Message Timeout Flt Cfg Error

22 23 24 25 26 27 28 29 30

App CRC Flt App Updated CN Comm Flt CN Sent Reset CN Close Fit CN Idle Flt CN Open Net Timeout Flt PCCC IO Close

Description The module and DPI product are communicating at 500 kbps. The module was connected to an incompatible product. Another peripheral with the same port number is already in use. The module has logged in for type 0 control. The module has not received a type 0 status message within the specified time. The module has logged into a datalink. The host rejected an attempt to log in to a datalink because the datalink is not supported or is used by another peripheral. The module has not received a datalink message within the specified time. Not used. The module has sent a Soft Control Disable command to the DPI product. The module has sent a Soft Control Enable command to the DPI product. A Client-Server message sent by the peripheral was not completed. Flt Cfg for the Reference or Data links is set to a value greater than 65535 and the drive is set for 16-bit. Start-up sequence detected corrupt application firmware. Start-up sequence detected new application firmware in candidate area. The module detected a fault condition on the ControlNet network. The peripheral received a reset from the network. An I/O connection from the network to the peripheral was closed. The peripheral is receiving idle packets from the network. An I/O connection to the peripheral from the network has been opened. An I/O connection from the network to the peripheral has timed out. The device sending PCCC Control messages to the peripheral has sent the PCCC Control Timeout to a value of zero.

Troubleshooting the ControlNet Module and Network

8-9

Table 8.6 Event Codes and Descriptions

Code Event 31 PCCC IO Open

32

PCCC IO Time Flt

33 34

Watchdog T/O Flt EEPROM Init

35 36 37

DPI Fault Clear Normal Startup Manual Reset

Description The peripheral has begun receiving PCCC Control messages (the PCCC Control Timeout was previously set to a non-zero value). The peripheral has not received a PCCC Control Message for longer than the PCCC Control Timeout. The software watchdog detects a failure. Start-up sequence detected a blank EEPROM map revision. Intended to happen in factory test. The user cleared a fault in the Host. Peripheral completes a normal start up. The user reset the module.

Troubleshooting the ControlNet Module and Network

8-10

APPENDIX A
Technical Specifications
Communications
Network Protocol Data Rates Drive Protocol Data Rates ControlNet 5M baud DPI 125 Kbps or 500 Kbps

Electrical
Consumption Drive Network 275 mA at 5 VDC supplied through the drive

Mechanical
Dimensions Height Length Width Weight 16 mm (0.624 in) 103 mm (4 in) 80 mm (3.125 in) 85 g (3 oz)

Environmental
Temperature Operating Storage Relative Humidity -10 to +50C (14 to 149F) -40 to +85C (-40 to 185F) 5 to 95% non-condensing

Regulatory Compliance
UL CE 508C and CUL EN61800-3

Technical Specifications

A-1

A-2

ControlNet Communications Module

APPENDIX B
ControlNet Module Parameters
The following information is provided for each ControlNet module parameter along with its description: Parameter Number: Parameter Name: Range: Default: Type: Reset Required: Unique number assigned to each parameter. Unique name assigned to each parameter. Predefined parameter limits or selections. Factory default setting. Read Only or Read/Write Module must be reset before parameter value is recognized.

About Parameter Numbers


The parameters in the ControlNet module are numbered sequentially. However, depending on the configuration tool used, they may have different numbers. Configuration Tool VS Utilities OIM Numbering Schemes The module parameters begin with parameter 1. For example, parameter 01 (DPI Port) is parameter 1 as indicated by the manual. The module parameters are appended to the list of drive parameters. For example, with a drive with 300 parameters, parameter 01 (DPI Port) is parameter 301.

Explicit Messaging

ControlNet Module Parameters

B-1

DPI Port
Range: Default: Type: 0 to 7 5 Read Only

Reset Required: N/A Port to which the module is connected. This will usually be port 5.

DPI Data Rate


Range: Default: Type: 0 = 125 Kbps 1 = 500 Kbps 0 = 125 Kbps Read Only

Reset Required: N/A Data rate used by the drive. This data rate is set in the drive and the module detects it.

CN Addr Cfg
Range: Default: Type: 1 to 99 2 Read/Write

Reset Required: Yes Configures the network if the Node Address Switches are set to 00. Updates CN Addr Act (4) after reset.

CN Addr Actual
Range: Default: Type: 1 to 99 2 Read Only

Reset Required: N/A The actual network node address.

B-2

ControlNet Communications Module

CN Rate Cfg
Range: Default: Type: 0 = 5 Mbps 0 = 5 Mbps Read/Write

Reset Required: Yes Configures the Network Data Rate. Updates CN Rate Act (6) after a reset.

CN Rate Act
Range: Default: Type: 0 = 5 Mbps 0 = 5 Mbps Read Only

Reset Required: N/A The actual Network Data Rate.

Ref/Fdbk Size
Range: Default: Type: 0 = 16-bit 1 = 32-bit 0 = 16-bit Read Only

Reset Required: N/A The size of the Reference/Feedback. The drive determines the size of the Reference/Feedback.

Datalink Size
Range: Default: Type: 0 = 16-bit 1 = 32-bit 0 = 16-bit Read Only

Reset Required: N/A The size of each Datalink word. The drive determines the size of Datalinks.

ControlNet Module Parameters

B-3

Reset Module
Range: 0 = Ready (No action) 1 = Reset Module 2 = Set Defaults (Restores module to factory-default settings) 0 = Ready Read/Write

Default: Type:

Reset Required: No No action if set to Ready. Resets the module if set to Reset Module. Restores the module to 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. ATTENTION: If the module is transmitting I/O that controls the drive, the drive may fault when you reset the module. Determine how your drive will respond before resetting a connected module. Failure to observe this precaution could result in bodily injury or damage to equipment.

!
10
Range:

Comm Flt Action


0 = Fault 1 = Stop 2 = Zero Data 3 = Hold Last 4 = Send Flt Cfg 0 = Fault Read/Write

Default: Type:

Reset Required: No Sets the action that the module takes if the module detects a network failure. This setting is effective only if I/O that controls the drive is transmitted though the module. ATTENTION: Comm Flt Action (10) lets you determine the action the module 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. Take precautions to ensure that the setting of this parameter does not create a hazard of injury or equipment damage. Failure to observe this precaution could result in bodily injury or damage to equipment.

B-4

ControlNet Communications Module

11

Idle Flt Action


Range: 0 = Fault 1 = Stop 2 = Zero Data 3 = Hold Last 4 = Send Flt Cfg 0 = Fault Read/Write

Default: Type:

Reset Required: No Sets the action that the module takes if the module detects that the PLC is set to program mode. This setting is effective only if the I/O that controls the drive is transmitted through the module. ATTENTION: Idle Flt Action (11) lets you determine the action of the module and connected Host product if the controller is idle (e.g., in program mode). This parameter can be used to fault the Host product (default) or to perform another function such as allow the Host to continue to run. Ensure that the setting of this parameter does not create a hazard of injury or equipment damage. Failure to observe this precaution could result in bodily injury or damage to equipment.

12

CN Active Cfg
Range: Default: Type: 0 = Switches 1 = EEPROM 0 = Switches Read Only

Reset Required: N/A Indicates either the Node Address Switches or CN Addr Cfg (03) in the module are controlling the node address.

ControlNet Module Parameters

B-5

13

DPI I/O Cfg


Range: Default: Type: See figure B.1. xxx0 0001 Read/Write

Reset Required: Yes Configures the I/O that is transferred through the module.

No t No Used t No Used tU Da sed ta Da link D t Da alink tali C Da nk B ta Cm link A d/R ef


x x x 0 0 0 0 1 7 6 5 4 3 2 1 0

1 = I/O Enabled 0 = I/O Disabled x =Not Used

Figure B.1 DPI I/O Config (13)

14

DPI I/O Active


Range: Default: Type: See figure B.2. xxx0 0001 Read Only

Reset Required: N/A I/O that the module is actively transmitting. The value of this parameter will usually be equal to the value of DPI I/O Cfg (13).

No t No Used t No Used tU Da sed ta Da link D t Da alink ta C Da link B ta Cm link A d/R ef


x x x 0 0 0 0 1 7 6 5 4 3 2 1 0

1 = I/O Enabled 0 = I/O Disabled x =Not Used

Figure B.2 DPI I/O Active (14)

B-6

ControlNet Communications Module

15

Flt Cfg Logic


Range: Default: Type: 0000 0000 0000 0000 to 1111 1111 1111 1111 0000 0000 0000 0000 Read/Write

Reset Required: No Sets the Logic Command data that is sent to the drive if the following is true: Comm Flt Action (10) is set to Send Flt Cfg and communications are disrupted. Idle Flt Action (11) is set to Send Flt Cfg and the scanner is put into Program or Test mode. The bit definitions will depend on the product to which the module is connected.

16

Flt Cfg Ref


Range: Default: Type: 0 to 4294967295 0 Read/Write

Reset Required: No Sets the Reference data that is sent to the drive if any of the following is true: Comm Flt Action (10) is set to Send Flt Cfg and communications are disrupted. Idle Flt Action (11) is set to Send Flt Cfg and the scanner is put into Program mode. Important: If the drive uses a 16-bit Reference, the most significant word of this value must be set to zero (0) or a fault will occur.

ControlNet Module Parameters

B-7

17 18 19 20 21 22 23 24

Flt Cfg A1 Flt Cfg A2 Flt Cfg B1 Flt Cfg B2 Flt Cfg C1 Flt Cfg C2 Flt Cfg D1 Flt Cfg D2
Range: Default: Type: 0 to 4294967295 0 Read/Write

Reset Required: No Sets the data that is sent to the Datalink in the drive if any of the following is true: Comm Flt Action (10) is set to Send Flt Cfg and the scanner is put into Program mode. Idle Flt Action (11) is set to Send Flt Cfg and communications are disrupted.

25

M-S Input
Range: Default: Type: See figure B.3. xxx0 0001 Read/Write

Reset Required: Yes Configures the I/O that is transferred from the network to the drive.

No t No Used t No Used tU Da sed ta Da link D t Da alink tali C Da nk B ta Cm link A d/R ef


x x x 0 0 0 0 1 7 6 5 4 3 2 1 0

1 = I/O Enabled 0 = I/O Disabled x =Not Used

Figure B.3 M-S Input (25)

B-8

ControlNet Communications Module

26

M-S Output
Range: Default: Type: See figure B.4. xxx0 0001 Read/Write

Reset Required: Yes Configures the I/O Data to be transferred from the drive to the network.

No t No Used t No Used tU Da sed ta Da link D t Da alink tali C Da nk B ta Cm link A d/R ef


x x x 0 0 0 0 1 7 6 5 4 3 2 1 0

1 = I/O Enabled 0 = I/O Disabled x =Not Used

Figure B.4 M-S Output (26)

27

Ref Adjust
Range: Default: Type: 0.00 to 200.00 100.00 Read/Write

Reset Required: No The percent scale factor for the Reference from the Network.

B-9

ControlNet Communications Module

ControlNet Module Parameters

B-10

APPENDIX C
ControlNet Objects
Appendix C presents information about the ControlNet objects that can be accessed using Explicit Messages. For information on the format of Explicit Messages and example ladder logic programs, refer to Chapter 7, ControlLogix Applications. Class Code Object Identity Object Register Object Parameter Object Parameter Group Object PCCC Object DPI Device Object DPI Parameter Object DPI Fault Object DPI Alarm Object DPI Time Object Hex. 0x01 0x07 0x0F 0x10 0x67 0x92 0x93 0x97 0x98 0x9B Dec. 1 7 15 16 103 146 147 151 152 155 Refer to Section C.1 C.2 C.3 C.4 C.5 C.6 C.7 C.8 C.9 C.10

Refer to the ControlNet specification for more information about ControlNet objects. Information about the ControlNet specification is available on the ControlNet web site (http://www.controlnet.org).

ControlNet Objects

C-1

C.1 Identity Object


Class Code
Hexadecimal 0x01 Decimal 1

Instances
The number of instances depends on the number of components in the device connected to the module. This number of components can be read in Instance 0, Attribute 2. Instance 0 1 2 -7 Class Entire device DPI Peripherals on ports 1 - 6 Description

Class Attributes
Attribute Access ID Rule 2 Get

Name Max Instance

Data Type UINT

Description Total number of instances

Instance Attributes
Attribute Access ID Rule 1 2 3 Get Get Get

Name Vendor ID Device Type Product Code

Data Type UINT UINT UINT

Description 5 = Reliance Electric 120 Number identifying product name and rating Value varies Value varies Bit 0 = Owned Bit 2 = Configured Bit 10 = Recoverable fault Bit 11 = Unrecoverable fault Unique 32-bit number

Get

Revision: Major Minor Status

STRUCT of USINT USINT WORD

Get

Get

Serial Number

UDINT

C-2

ControlNet Communications Module

Attribute Access ID Rule 7 Get

Name Product Name

Data Type SHORT_ STRING

Description Product name and rating

Services
Service Code 0x05 0x0E Implemented for: Class Instance Service Name Yes Yes Reset Yes Yes Get_Attribute_Single

ControlNet Objects

C-3

C.2 Register Object


Class Code
Hexadecimal 0x07 Decimal 7

Instances
Instance 1 2 3 4 5 6 7 8 9 10 11 12 13 14
1

Description All I/O data being read from the DPI device (read-only) All I/O data written to the DPI device (read/write) Logic Status and Feedback data (read-only) Logic Command and Reference data (read/write) Datalink A (input data from device to scanner) (read only) Datalink A (output data from scanner to device) (read/write) Datalink B (input data from device to scanner) (read only) Datalink B (output data from scanner to device) (read/write) Datalink C (input data from device to scanner) (read only) Datalink C (output data from scanner to device) (read/write) Datalink D (input data from device to scanner) (read only) Datalink D (output data from scanner to device) (read/write) Logic Status and Feedback Data (read-only) Mask1 (read/write)

The mask command word is set to the value of the first word of the data where there are ones in the second word of the data. Command = (word 1 and not word 2) or (word 1 and word 2). This only controls specified bits in the Logic Command data to the DPI product and does not change the Reference value.

Class Attributes
Attribute Access ID Rule 100 Set

Name

Data Type

Description Control timeout in seconds

Control Timeout UINT

C-4

ControlNet Communications Module

Instance Attributes
Attribute ID 1 Access Rule Get Data Type BOOL

Name Bad Flag

Description If set to 1, then attribute 4 may contain invalid, bad or otherwise corrupt data. 0 = good 1 = bad Direction of data transfer 0 = Producer Register 1 = Consumer Register Size of register data in bits Data to be transferred

Get

Direction

BOOL

3 4
1

Get

Size

UINT ARRAY of BITS

Conditional Data
1

The access rule of Set is optional if attribute 2, Direction = 1. If Direction = 0, the access rule is Get.

Important:

Setting a register object attribute can only be accomplished through a connection with a non-zero control timeout attribute.

Services
Service Code 0x0E 0x10 Implemented for: Class Yes No Instance Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single

ControlNet Objects

C-5

C.3 Parameter Object


Class Code
Hexadecimal 0x0F Decimal 15

Instances
The number of instances depends on the number of parameters in the DPI drive. The module parameters are appended to the list of drive parameters. The total number of parameters can be read in Instance 0, Attribute 2. Instance 0 1 n n+1 n + 43 Class Attributes Drive Parameter 1 Attributes Last Drive Parameter Attributes Module Parameter 1 Attributes Last Module Parameter Attributes Description

Class Attributes
Attribute Access ID Rule 1 2 8 Get Get Get Data Type UINT UINT WORD 1 Number of parameters Bits that describe parameters.

Name Revision Max Instance Parameter Class Descriptor Configuration Assembly Instance

Description

Get

UINT

C-6

ControlNet Communications Module

Attribute Access ID Rule 10 Set

Name Native Language

Data Type USINT

Description 0 = English 1 = French 2 = Spanish 3 = Italian 4 = German 5 = Japanese 6 = Portuguese 7 = Mandarin Chinese 8 = Russian 9=

Instance Attributes
Attribute Access ID Rule 1 2 3 4
1

Name Parameter Value


2

Data Type
3

Description

Get Get Get

Link Path Size USINT Link Path Descriptor WORD

0 = No link specified n = Link specified


4

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 1 = WORD (16-bit) 2 = UINT (16-bit) 3 = INT (16-bit) 4 = BOOL 5 = SINT 6 = DINT 7 = LINT 8 = USINT
3 3

Get

Data Type

USINT

6 7 8 9

Get Get Get Get

Data Size Parameter Name String Units String Help String

USINT SHORT_ STRING SHORT_ STRING SHORT_ STRING

ControlNet Objects

C-7

Attribute Access ID Rule 10 11 12 13 14 15 16 17 18 19 20 21


1 2

Name Minimum Value Maximum Value Default Value Scaling Multiplier


1

Data Type
3

Description

Get Get Get Get Get Get Get Get Get Get Get Get

3 3

UINT

Scaling Divisor UINT Scaling Base UINT

3 3 3 3 3 3 3 3

Scaling Offset UINT Multiplier Link Divisor Link Base Link Offset Link Decimal Precision UINT UINT UINT UINT USINT

Access rule is defined in bit 4 of instance attribute 4. 0 = Get/Set, 1 = Get. Specified in descriptor, data type, and data size. 3 Value varies based on parameter instance. 4 Refer to the ControlNet specification for a description of the connection path.

Services
Service Code 0x01 0x05 0x0E 0x10 0x4B Implemented for: Class No Yes Yes Yes No Instance Yes No Yes Yes Yes Service Name Get_Attribute_All Reset Get_Attribute_Single Set_Attribute_Single Get_Enum_String

C-8

ControlNet Communications Module

C.4 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 module 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 0 1 n n+1 Class Attributes Drive Group 1 Attributes Last Drive Group Attributes Module Group Attributes Description

Class Attributes
Attribute Access ID Rule 1 Get Data Type UINT 1

Name Parameter group version Max Instance Native Language

Description

2 8

Get Get

UINT USINT

Total number of groups 0 = English 1 = French 2 = Spanish (Mexican) 3 = Italian 4 = German 5 = Japanese 6 = Portuguese 7 = Mandarin Chinese 8 = Russian 9=

ControlNet Objects

C-9

Instance Attributes
Attribute Access ID Rule 1 2 Get Get Data Type SHORT_ STRING UINT

Name Group Name String Number of Members in Group

Description Group name Number of parameters in group.

3 4 n
1

Get Get Get

1st Parameter UINT Number in Group 2nd Parameter UINT Number in Group UINT

Value varies based on group instance.

Services
Implemented for: Service Code 0x0E 0x01 Class Yes Yes Instance Yes No Service Name Get_Attribute_Single Set_Attribute_Single

C-10

ControlNet Communications Module

C.5 PCCC Object


Class Code
Hexadecimal 0x67 Decimal 103

Instances
Not supported.

Class Attributes
Not supported.

Instance Attributes
Not supported.

Services
Service Code 0x4B Implemented for: Class No Instance Yes Service Name Execute_PCCC

ControlNet Objects

C-11

Message Structure for Execute_PCCC


Request Name Length Vendor Serial Number Other Data Type USINT UINT UDINT Description Length of requestor ID Vendor number of requestor ASA serial number of requestor Name Length Vendor Serial Number Response Data Type USINT UINT UDINT Description Length of requestor ID Vendor number of requestor ASA serial number of requestor Identifier of user, task, etc., on the requestor Command byte Status byte Transport word. Same value as the request. Extended status. Not used for all CMDs.

Product Specific USINT USINT UINT USINT

Identifier of user, Other task, etc,. on the requestor Command byte 0 Transport word Function code. Not used for all CMDs. CMD STS TNSW

Product Specific USINT USINT UINT

CMD STS TNSW FNC

EXT_STS USINT

PCCC_ params

ARRAY of CMD/FNC USINT specific parameters

PCCC_ results

ARRAY of CMD/FNC specific USINT result data

C-12

ControlNet Communications Module

C.6 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, Attribute 4. Number 0 1 2 16384 16385 Drive Component 1 Drive Component 2 Class Attributes (Module) Module Component 1 Description Class Attributes (Drive)

Class Attributes
Attribute ID 0 Access Rule Get

Name Family Code

Data Type BYTE

Description 0x00 = Communications Module 0x30 = SP600 0x38 = 0x40 = 0xFF = OIM Text identifying the device. 0 = English 1 = French 2 = Spanish 3 = Italian 4 = German 5 = Japanese 6 = Portuguese 7 = Mandarin Chinese 8 = Russian 9=

1 2

Get Get/Set

Family Text Language Code

STRING[16] BYTE

ControlNet Objects

C-13

Attribute ID 3

Access Rule Get

Name Product Series

Data Type BYTE 1=A 2=B

Description

Get

Number of Components User Definable Text Status Text Configuration Code Configuration Text Brand Code NVS Checksum Class Revision Character Set Code

BYTE

Number of components (e.g., main control board, I/O boards) in the device. Text identifying the device with a user-supplied name. Text describing the status of the drive. Identification of variations. Text identifying a variation of a family device. 0x0002 = Reliance Checksum of the nonvolatile storage in a device. 2 = DPI 1 = ISO 8859-1 (Latin 1) 2 = ISO 8859-2 (Latin 2) 3 = ISO 8859-3 (Latin 3) 4 = ISO 8859-4 (Latin 4) 5 = ISO 8859-5 (Cyrillic) 6 = ISO 8859-6 (Arabic) 7 = ISO 8859-7 (Greek) 8 = ISO 8859-8 (Hebrew) 9 = ISO 8859-9 (Turkish) 10 = ISO 8859-10 (Nordic) 255 = ISO 10646 (Unicode) Number of Languages Language Codes (See Class Attribute 2) Year Month Day Major Firmware Release Minor Firmware Release Value between 0x00 and 0xFFFFFFFF

5 6 7 8 9 11 12 13

Get/Set Get Get Get Get Get Get Get

STRING[16] STRING[12] BYTE STRING[16] WORD WORD WORD BYTE

15

Get

Languages Supported

STRUCT of BYTE BYTE[n] STRUCT of WORD BYTE BYTE STRUCT of BYTE BYTE DWORD

16

Get

Date of Manufacture

17

Get

Product Revision

18

Get

Serial Number

C-14

ControlNet Communications Module

Attribute ID 19

Access Rule Get/Set

Name Language Selected

Data Type BYTE

Description 0 = Default (OIM will prompt at start up) 1 = Language was selected (no prompt) GUID (Globally Unique Identifier) identifying customer firmware flashed into the device. Code identifying the customized device. Revision of the customized device. Text identifying the customized device.

20

Get/Set

CustomerGenerated Firmware Customization Code

STRING[36]

128 129 130

Get Get Get

WORD

Customization WORD Revision Number Customization Device Text STRING[32]

Instance Attributes
Attribute Access ID Rule 3 4 Get Get

Name Component Name Component Firmware Revision Component Hardware Change Number

Data Type STRING[32] STRUCT of BYTE BYTE BYTE

Description Name of the component

Major Revision Minor Revision

Get

Get

Component DWORD Serial Number

Value between 0x00 and 0xFFFFFFFF

Services
Implemented for: Service Code 0x0E 0x10 Class Yes Yes Instance Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single

ControlNet Objects

C-15

C.7 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. Number 0 1 2 16384 16385 Description Class Attributes (Drive) Drive Parameter 1 Attributes Drive Parameter 2 Attributes Class Attributes (Module) Module Parameter 1 Attributes

Class Attributes
Attribute Access ID Rule 0 1 2 Get Get/Set Set Data Type WORD WORD BYTE

Name Number of Instances Write Protect Password NVS Command Write

Description Number of parameters in the device 0 = Password disabled n = Password 0 = No operation 1 = Store values in active memory to NVS 2 = Load values in NVS to active memory 3 = Load default values to active memory Checksum of all parameter values in a user set in NVS

Get

NVS Parameter Value Checksum NVS Link Value Checksum

WORD

Get

WORD

Checksum of parameter links in a user set in NVS

C-16

ControlNet Communications Module

Attribute Access ID Rule 5 Get

Name First Accessible Parameter

Data Type WORD

Description First parameter available if parameters are protected by passwords. A 0 indicates all parameters are protected. 2 = DPI The first parameter that has been written with a value outside of its range. A 0 indicates no errors. 0 = No operation 1 = Clear all parameter links (This does not clear links to function blocks.)

7 8

Get Get

Class Revision WORD First Parameter WORD Processing Error Link Command BYTE

Set

Instance Attributes
Attribute Access ID Rule 7 Get

Name DPI Online Read Ful

Data Type STRUCT of BOOL[32] CONTAINER1 CONTAINER CONTAINER CONTAINER WORD WORD STRING[4] UINT UINT UINT INT BYTE[3] BYTE STRING[16]

Description Descriptor (refer to pages C-21 to C-22) Parameter value Minimum value Maximum value Default value Next parameter Previous parameter Units (e.g., amp, Hz) Multiplier2 Divisor2 Base2 Offset2 Link (source of the value) (0 = no link) Always zero (0) Parameter name Descriptor (refer to pages C-22 to C-23) Parameter value in NVS3

8 9

Get Get/Set

DPI Descriptor DPI Parameter Value DPI RAM Parameter Value

BOOL[32] Various

10

Get/Set

Various

Parameter value in temporary memory

ControlNet Objects

C-17

Attribute Access ID Rule 11 Get/Set

Name DPI Link

Data Type BYTE[3]

Description Link (parameter or function block that is the source of the value) (0 = no link) ID for help text for this parameter Descriptor (Refer to pages C22 to C-23) Parameter value Minimum value Maximum value Default value Parameter name Units (e.g., Amp, Hz) Parameter name

12 13

Get Get

Help Object Instance DPI Read Basic

WORD STRUCT of BOOL[32] CONTAINER CONTAINER CONTAINER CONTAINER STRING[16] STRING[4]

14

Get

DPI Parameter Name DPI Parameter Alias Parameter Processing Error

STRING[16]

15

Get

STRING[16]

Customer-supplied parameter name 0 = No error 1 = Value is less than the minimum 2 = Value is greater than the maximum

16

Get

BYTE

A CONTAINER is a 32-bit block of data that contains the data type used by a parameter value. If signed, the value is sign extended. Padding is used in the CONTAINER to ensure that it is always 32-bits. 2 This value is used in the formulas used to convert the parameter value between display units and internal units. Refer to Formulas for Converting on page C-20. 3 Do NOT continually write parameter data to NVS. Refer to the attention on page 7-1.

C-18

ControlNet Communications Module

Descriptor Attributes
Bit 0 1 2 Name Data Type (Bit 1) Data Type (Bit 2) Data Type (Bit 3) Description Right bit is least significant bit (0). 000 = BYTE used as an array of Boolean 001 = WORD used as an array of Boolean 010 = BYTE (8-bit integer) 011 = WORD (16-bit integer) 100 = DWORD (32-bit integer) 101 = TCHAR (8-bit (not unicode) or 16-bits (unicode)) 110 = REAL (32-bit floating point value) 111 = Use bits 16, 17, 18 0 = Unsigned 1 = Signed 0 = Visible 1 = Hidden 0 = Parameter can sink a link 1 = Parameter cannot sink a link 0 = Recallable from NVS 1 = Not Recallable from NVS 0 = No ENUM text 1 = ENUM text 0 = Read only 1 = Read/write 0 = Writable when enabled (e.g., drive running) 1 = Not writable when enabled 0 = Parameter value is not a Reference to another parameter 1 = Parameter value refers to another parameter Must be zero Number of digits to the right of the decimal point. 0000 = 0 1111 = 15

3 4 5 6 7 8 9

Sign Type Hidden Not a Link Sink Not Recallable ENUM Writable Not Writable When Enabled

10 Instance

11 Reserved 12 Decimal Place (Bit 0) 13 Decimal Place (Bit 1) 14 Decimal Place (Bit 2) 15 Decimal Place (Bit 3) 16 Extended Data Type (Bit 1) 17 Extended Data Type (Bit 2) 18 Extended Data Type (Bit 2)

Right bit is least significant bit (16). 000 = Reserved 001 = DWORD used as an array of Boolean 010 = Reserved 011 = Reserved 100 = Reserved 101 = Reserved 110 = Reserved 111 = Reserved Reserved

19 Parameter Exists

ControlNet Objects

C-19

Bit 20 21 22 23 24 25 26 27 28 29 30 31

Name Not Used Formula Links Access Level (Bit 1) Access Level (BIt 2) Access Level (Bit 3) Writable ENUM Not a Link Source Enhanced Bit ENUM Enhanced ENUM Not Used Not Used Not Used Reserved Reserved Reserved Reserved Reserved Reserved

Description

0 = Parameter can be a source for a link 1 = Parameter cannot be a source for a link Reserved Reserved Reserved Reserved Reserved

Formulas for Converting


Display Value = ((Internal Value + Offset) x Multiplier x Base) / Divisor x 10 Decimal Places
Internal Value = ((Display Value x Divisor x 10 Decimal Place) / (Multiplier x Base)) - Offset

Common Services
Service Code 0x0E 0x10 Implemented for: Class Yes Yes Instance Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single

Object Specific Services


Service Code 0x4B 0x4C Implemented for: Class Yes Yes Instance Yes Yes Service Name Get_Attributes_Scattered Set_Attributes_Scattered

C-20

ControlNet Communications Module

Format for Get_Attributes_Scattered Service


The structure shown below can get up to 22 parameters in a single message. In the Response Message, a parameter number with the high bit set indicates that the associated parameter value field actually contains an error code. Request Word 0 Parameter Number Response Word 0 Parameter Number 1 Parameter Value LSW 2 Parameter Value MSW 3 Parameter Number 4 Parameter Value LSW 5 Parameter Value MSW 6 Parameter Number 7 Parameter Value LSW 8 Parameter Value MSW 9 Parameter Number 10 Parameter Value LSW 11 Parameter Value MSW 12 Parameter Number 13 Parameter Value LSW 14 Parameter Value MSW 15 Parameter Number 16 Parameter Value LSW 17 Parameter Value MSW 18 Parameter Number 19 Parameter Value LSW 20 Parameter Value MSW 21 Parameter Number 22 Parameter Value LSW 23 Parameter Value MSW ... 63 Parameter Number 64 Pad Word 65 Pad Word

1 Pad Word 2 Pad Word 3 Parameter Number 4 Pad Word 5 Pad Word 6 Parameter Number 7 Pad Word 8 Pad Word 9 Parameter Number 10 Pad Word 11 Pad Word 12 Parameter Number 13 Pad Word 14 Pad Word 15 Parameter Number 16 Pad Word 17 Pad Word 18 Parameter Number 19 Pad Word 20 Pad Word 21 Parameter Number 22 Pad Word 23 Pad Word ... 63 Parameter Number 64 Pad Word 65 Pad Word

ControlNet Objects

C-21

The PLC data in this example is for a Get_Attributes_Scattered of SP600 parameters; Output Freq (1), Output Current (3), and Ouptut Voltage (6) from a device at node address 1.

Request Data for Get_Attributes_Scattered


Word 0 1 2 3 4 5 6 7 8 Value (hex) 001 0000 0000 0003 0000 0000 0006 0000 0000 Pad Word Pad Word Parameter Number 3 Pad Word Pad Word Parameter Number 6 Pad Word Pad Word Description Parameter Number 1

Response Data for Get_Attributes_Scattered


Value (hex) 0001 0258 0000 0003 0001 0000 0006 0864 0000 Parameter Number 6 Value = 2148 (864 hex) = 214.8V AC Parameter Number 3 Value = 1 (1 hex) = 0.1A

Word 0 1 2 3 4 5 6 7 8

Description Parameter Number 1 Value = 600 (258 hex) = 60.0 Hz

C-22

ControlNet Communications Module

Format for Set_Attributes_Scattered Service


The structure shown below can get up to 22 parameters in a single message. In the Response Message, a parameter number with the high bit set indicates that the associated pad word field contains an error code. Request Word 0 Parameter Number Word 0 1 Parameter Value LSW 2 Parameter Value MSW 3 Parameter Number 4 Parameter Value LSW 5 Parameter Value MSW 6 Parameter Number 7 Parameter Value LSW 8 Parameter Value MSW 9 Parameter Number 10 Parameter Value LSW 11 Parameter Value MSW 12 Parameter Number 13 Parameter Value LSW 14 Parameter Value MSW 15 Parameter Number 16 Parameter Value LSW 17 Parameter Value MSW 18 Parameter Number 19 Parameter Value LSW 20 Parameter Value MSW 21 Parameter Number 22 Parameter Value LSW 23 Parameter Value MSW ... 63 Parameter Number 64 Parameter Value LSW 65 Parameter Value MSW Response Parameter Number 1 Pad Word or Error Code 2 Pad Word 3 Parameter Number 4 Pad Word or Error Code 5 Pad Word 6 Parameter Number 7 Pad Word or Error Code 8 Pad Word 9 Parameter Number 10 Pad Word or Error Code 11 Pad Word 12 Parameter Number 13 Pad Word or Error Code 14 Pad Word 15 Parameter Number 16 Pad Word or Error Code 17 Pad Word 18 Parameter Number 19 Pad Word or Error Code 20 Pad Word 21 Parameter Number 22 Pad Word or Error Code 23 Pad Word .... 63 Parameter Number 64 Pad Word 65 Pad Word

ControlNet Objects

C-23

The PLC data in this example is for a Set_Attributes_Scattered of SP600 parameters; Accel Time 1 (140), Decel Time 1 (142), and Jog Speed (100) to a device at node address 1.

Request Data for Set_Attributes_Scattered


Value (hex) 008C 0032 0000 008E 0032 0000 0064 0064 0000 Parameter Number 100 (64 hex) Value = 100 (64 hex) = 10.0 Hz Parameter Number 142 (8E hex) Value = 50 (32 hex) = 5.0 seconds

Word 0 1 2 3 4 5 6 7 8

Description Parameter Number 140 (8C Hex) Value = 50 (32 hex) = 5.0 seconds

Response Data for Set_Attributes_Scattered


Value (hex) 008C 0000 0000 008E 0000 0000 0064 0000 0000 Parameter Number 100 (64 hex) Parameter Number 142 (8E hex)

Word 0 1 2 3 4 5 6 7 8

Description Parameter Number 140 (8C hex)

C-24

ControlNet Communications Module

C.8 DPI Fault Object


Class Code
Hexadecimal 0x97 Decimal 151

Products such as SP600 drives use this object for faults. Modules 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. Number 0 1 2 16384 16385 Class Attributes (Drive) Most Recent Drive Fault/Event Second Most Recent Drive Fault/Event Class Attributes (Module) Most Recent Module Fault/Event Description

Class Attributes
Attribute Access ID Rule 1 2 Get Get

Name Class Revision Number of Instances Fault Command Write

Data Type WORD WORD

Description Revision of object Maximum number of faults/ events that the device can record in its queue 0 = No Operation 1 = Clear Fault/Event 2 = Clear Fault/Event Queue 3 = Reset Device Fault that tripped the device. For modules, this value is always 1 when faulted. Reserved

Set

BYTE

Get

Fault Trip Instance Read Fault Data List

WORD

Get

STRUCT of BYTE BYTE WORD[n]

ControlNet Objects

C-25

Attribute Access ID Rule 6 Get

Name Number of Recorded Faults Fault Parameter Reference

Data Type WORD

Description Number of faults/events in the queue. A 0 indicates the fault queue is empty. Reserved

Get

WORD

Instance Attributes
Attribute Access ID Rule 0 Get

Name Full/All Information

Data Type STRUCT of WORD STRUCT of BYTE BYTE STRING[16] 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 = elapsed time, 1 = real time) BOOL[2 - 15]: Not used Reserved Reserved Fault code Fault source DPI port DPI Device Object Fault time stamp Timer value (0 = Timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapsed time, 1 = real time) BOOL[2 - 15]: Not used

WORD CONTAINER[n] 1 Get Basic Information STRUCT of WORD STRUCT of BYTE BYTE STRUCT of LWORD BOOL[16]

C-26

ControlNet Communications Module

Services
Implemented for: Service Code 0x0E 0x10 Class Yes Yes Instance Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single

ControlNet Objects

C-27

C.9 DPI Alarm Object


Class Code
Hexadecimal 0x98 Decimal 152

Products such as SP600 drives use this object for alarms or warnings. Modules do not support this object.

Instances
The number of instances depends on the maximum number of alarms supported by the queue. The maximum number of alarms can be read in Instance 0, Attribute 2. Number 0 1 2 Class Attributes Most Recent Alarm Second Most Recent Alarm Description

Class Attributes
Attribute Access ID Rule 1 2 Get Get

Name Number of Instances Alarm Command Write Fault Data List

Data Type WORD

Description Revision of object Maximum number of alarms that the device can record in its queue 0 = No Operation 1 = Clear Alarm 2 = Clear Alarm Queue 3 = Reset Device Reserved

Class Revision WORD

Set

BYTE

Get

STRUCT of BYTE BYTE WORD[n] WORD

Get

Number of Recorded Alarms

Number of alarms in the queue. A 0 indicates the alarm queue is empty.

C-28

ControlNet Communications Module

Instance Attributes
Attribute Acces ID s Rule 0 Get

Name Full/All Information

Data Type STRUCT of WORD STRUCT of BYTE BYTE STRING[16] STRUCT of LWORD BOOL[16]

Description Alarm code Alarm source DPI port DPI Device Object Alarm text Alarm time stamp Timer value (0 = Timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapsed time, 1 = real time) BOOL[2 - 15] Reserved Reserved Reserved Alarm code Alarm source DPI port DPI Device Object Alarm time stamp Timer value (0 = Timer not supported) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapsed time, 1 = real time) BOOL[2 - 15] Reserved

WORD CONTAINER[n] 1 Get Basic Information STRUCT of WORD STRUCT of BYTE BYTE STRUCT of LWORD BOOL[16]

Services
Implemented for: Service Code 0x0E 0x10 Class Yes Yes Instance Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single

ControlNet Objects

C-29

C.10 DPI Time Object


Class Code
Hexadecimal 0x9B Decimal 155

Instances
The number of instances depends on the number of timers in the device. Instance 1 is always reserved for a real time clock although a device may not support it. The total number of timers can be read in Instance 0, Attribute 2. Number 0 1 2 3 Class Attributes Real Time Clock (Predefined) (Not always supported) Timer 1 Timer 2 Description

Class Attributes
Attribute Access ID Rule 1 2 Get Get Data Type WORD WORD

Name Class Revision Number of Instances First Device Specific Timer Time Command Write

Description Revision of object Number of timers in the object, excluding the real time clock that is predefined Instance of the first timer that is not predefined 0 = No operation 1 = Clear all timers (Does not clear the real time clock or read only timers)

3 4

Get Set

WORD BYTE

C-30

ControlNet Communications Module

Instance Attributes
Attribute Access ID Rule 0 Get

Name Read Full

Data Type STRUCT of STRING[16] LWORD or STRUCT BOOL[16]

Description Name of the timer Elapsed time in milliseconds unless timer is a real time clock (See attribute 2) See Attribute 3 Name of the timer Elapsed time in milliseconds unless the timer is a real time clock. Real Time Clock Data: Milliseconds (0 999) Seconds (0 59) Minutes (0 59) Hours (0 23) Days (1 31) Months (1 = January, 12 = December) Years (since 1972) BOOL[0]: (0 = invalid data, 1 = valid data) BOOL[1]: (0 = elapsed time, 1 = real time) BOOL[2 - 15]: Not used

1 2

Get Get/Set

Timer Text

STRING[16]

Timer Value LWORD -ORSTRUCT of WORD BYTE BYTE BYTE BYTE BYTE BYTE

Get

Timer Descriptor

BOOL[16]

Services
Service Code 0x0E 0x10 Implemented for: Class Yes Yes Instance Yes Yes Service Name Get_Attribute_Single Set_Attribute_Single

ControlNet Objects

C-31

C-32

ControlNet Communications Module

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 ControlNet module. If you do not see the Logic Command/Logic Status for the product that you are using, refer to your products documentation.

D.1 SP600 Drives


Logic Command Word
Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command x Stop x x x x x Start 1 Jog Clear Faults Direction Description 0 = Not Stop 1 = Stop 0 = Not Start 1 = Start 0 = Not Jog 1 = Jog 0 = Not Clear Faults 1 = Clear Faults 00 = No Command 01 = Forward Command 10 = Reverse Command 11 = Hold Direction Control

x x x x

Local Control 0 = No Local Control 1 = Local Control MOP Increment Accel Rate 0 = Not Increment 1 = Increment 00 = No Command 01 = Accel Rate 1 Command 10 = Accel Rate 2 Command 11 = Hold Accel Rate 00 = No Command 01 = Decel Rate 1 Command 10 = Decel Rate 2 Command 11 = Hold Decel Rate

Decel Rate

Logic Command/Status Words

D-1

Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command x x x Reference Select Description 000 = No Command 001 = Ref. 1 (Ref A Select) 010 = Reserved 011 = Ref. 3 (Preset 3) 100 = Ref. 4 (Preset 4) 101 = Ref. 5 (Preset 5) 110 = Ref. 6 (Preset 6) 111 = Ref. 7 (Preset 7) 0 = Not Decrement 1 = Decrement

x
1

MOP Decrement

A 0 = Not Stop condition (logic 0) must first be present before a 1 = Start condition will start the drive.

Logic Status Word


Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Status 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 = No Fault 1 = Fault 0 = Not At Reference 1 = At Reference 000 = Port 0 (TB) 001 = Port 1 010 = Port 2 011 = Port 3 100 = Port 4 101 = Port 5 110 = Port 6 111 = No Local x Ready x x x x x x x x x x x Active Command Direction Actual Direction Accel Decel Alarm Fault At Speed Local Control

D-2

ControlNet Communications Module

Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x x x x Status Reference Description 0000 = Ref A Auto 0001 = Reserved 0010 = Preset 2 Auto 0011 = Preset 3 Auto 0100 = Preset 4 Auto 0101 = Preset 5 Auto 0110 = Preset 6 Auto 0111 = Preset 7 Auto 1000 = Term Blk Manual 1001 = DPI 1 Manual 1010 = DPI 2 Manual 1011 = DPI 3 Manual 1100 = DPI 4 Manual 1101 = DPI 5 Manual 1110 = DPI 6 Manual 1111 = Jog Ref

Logic Command/Status Words

D-3

D-4

ControlNet Communications Module

GLOSSARY
CAN (Controller Area Network) - A serial bus protocol on which DPI is based. ControlNet - An open producer/consumer communication network, with features such as redundant media and deterministic I/O timing, designed for high-performance or time-critical requirements. controller - Also called programmable logic controller. A solid-state control system that has a user-programmable memory for storage of instructions to implement specific functions such as I/O control, logic, timing, counting, report generation, communication, arithmetic, and data file manipulation. A controller consists of a central processor, input/output interface, and memory. See also scanner. data rate - The data rate is the speed at which data is transferred on the ControlNet network (fixed at 5 Mbps). Datalink - A type of pointer used by some SP600 drives to transfer data to and from the controller. Datalinks allow specified parameter value(s) to be accessed or changed without using explicit messages. When enabled, each Datalink consumes either four bytes or eight bytes in both the input and output image table of the controller. The drive determines the size of Datalinks. DPI (Drive Peripheral Interface) - A peripheral communication interface used by various Reliance Electric drives and power products. DPI peripheral - A device that provides an interface between DPI and a network or user. Peripheral devices are also referred to as modules and adapters. The ControlNet module and SP600 OIM are examples of DPI peripherals. DPI product - A device that uses the DPI communications interface to communicate with one or more peripheral devices. For example, a motor drive such as a SP600 drive is a DPI product. In this manual, a DPI product is also referred to as product or host. Electronic Data Sheet (EDS) files - Simple text files that are used by network configuration tools such as RSNetWorx for ControlNet to describe products so that you can easily commission them on a network. EDS files describe a product device type, revision, and configurable parameters.

Glossary

Glossary-1

Explicit Messaging - Used to transfer data that does not require continuous updates. It is typically used to configure or monitor a devices parameters on the network. fault action - Determines how the module and connected product 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. fault configuration - When communications are disrupted (for example, a cable is disconnected), the module and SP600 drive can respond with a user-defined fault configuration. The user sets the data that is sent to the drive in the fault configuration parameters (parameters 15 (Flt Cfg Logic) through 24 (Flt Cfg D2 In). When a fault action parameter is set to use the fault configuration and a fault occurs, the data from these parameters is sent as the Command Logic, Reference, and/or Datalink(s). flash update - The process of updating firmware in the module. The module can be flash updated using the X-Modem protocol and a RECOMM-232 serial converter. hold last - When communications are disrupted (for example, a cable is disconnected), the module and SP600 drive can respond by holding last. Hold last results in the drive receiving the last data received via the ControlNet connection before the disruption. If the drive was running and using the reference from the module, it will continue to run at the same reference. I/O connection - 1-to-n-based I/O messaging link in which I/O data is produced or consumed by a device without any interpretation. 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 scanners point of view. Output is transmitted by the scanner and consumed by the module. Input is transmitted by the module and consumed by the scanner. Logic Command/Logic Status - The Logic Command is used to control the SP600 drive (e.g., start, stop, direction). It consists of one 16-bit word of input to the module from the network. The definitions of the bits in this word depend on the drive. The Logic Status is used to monitor the SP600 drive (for example, operating state, motor direction). It consists of one 16-bit word of output from the module to the network. The definitions of the bits in this word depend on the drive. master - see scanner

Glossary-2

ControlNet Communications Module

module - Devices such as drives, controllers, and computers usually require an module to provide a communication interface between them and a network such as ControlNet. An module 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 RECOMM-CNET ControlNet module is a module that connects SP600 drives to a ControlNet network. Modules are sometimes also called adapters, cards, embedded communication options, gateways, and peripherals. node addressing - The legal range or ControlNet addresses is 1-99. The ControlNet module includes two rotary switches to allow the ControlNet address to be set. The ControlNet module reads the vlaues of the switches only at power up. non-volatile storage (NVS) - NVS is the permanent memory of a device. Devices such as the module 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. operator interface module (OIM) - A device that can be used to configure and control a SP600 drive. PCCC (Programmable Controller Communications Command) The protocol used by some controllers to communicate with devices on a network. Some software products (for example, VS Utilities) also use PCCC to communicate. ping - A message that is sent by a DPI product to its peripheral devices. They use the ping to gather data about the product, including whether it can receive messages and whether they can log in for control. reference/feedback - The reference is used to send a reference (for example, speed, frequency, torque) to the product. It consists of one word of input to the module from the network. The size of the word (either a 16-bit word or 32-bit word) is determined by the drive. Feedback is used to monitor the speed of a product. It consists of one word of output from the module to the network. The size of the word (either a 16-bit word or 32-bit word) is determined by the drive. RSNetWorx for ControlNet - A software tool for configuring and monitoring ControlNet networks and connected devices. It is a 32bit Windows application that runs on Windows 95, Windows 98, and Windows NT. Information about RSNetWorx for ControlNet software can be found at http://www.software.rockwell.com/rsnetworx. scanner - A separate module (of a multi-module controller) or a built-in component (of a single-module controller) that provides communication with modules connected to a network. See also controller.
Glossary

Glossary-3

status indicators - LEDs that are used to report the status of the module, network, and drive. They are on the module and can be viewed on the front cover of the drive when the drive is powered. VS Utilities software - A software tool for monitoring and configuring Reliance Electric products and modules. It can be run on computers running Microsoft Windows 95, Windows 98, Windows NT (version 4.0 or greater), Windows Me, Windows 2000, or Windows XP operating systems. VS Utilities can be used to configure the ControlNet module and SP600 drives. zero data - When communications are disrupted (for example, a cable is disconnected), the module and drive can respond with zero data. Zero data results in the drive receiving zero as values for command data. If the drive was running and using the reference from the module, it will stay running but at zero reference.

Glossary-4

ControlNet Communications Module

INDEX
A
assistance, technical, 1-2

E
EDS files, 5-2 equipment required for installation, 2-2 events codes and descriptions, 8-8 viewing and clearing, 8-8 examples datalinks, 6-7 Explicit Messaging, 7-20 Explicit Messaging, 6-12, 7-19

C
CN Active Cfg (12), B-5 CN Addr Actual (4), B-2 CN Addr Cfg (3), B-2 CN Rate Act (6), B-3 CN Rate Cfg (5), B-3 Comm Flt Action (10), B-4 communications specifications, A-1 configuring the module, 4-1 to 4-9 connecting the module to the drive, 3-2 connecting the module to the network, 3-5 connector ControlNet, 2-1 DPI, 2-1 ControlLogix applications, 7-1 to 7-25 ControlLogix CNB scanner, configuring, 7-2 ControlNet connector, 2-1 ControlNet network configuration example, 5-1 ControlNet objects, C-1 to C-31

F
fault action changing, 4-6 setting, 4-5 fault configuration parameters, setting, 4-7 Flt Cfg A1 (17), B-8 Flt Cfg A2 (18), B-8 Flt Cfg B1 (19), B-8 Flt Cfg B2 (20), B-8 Flt Cfg C1 (21), B-8 Flt Cfg C2 (22), B-8 Flt Cfg D1 (23), B-8 Flt Cfg D2 (24), B-8 Flt Cfg Logic (15), B-7 Flt Cfg Ref (16), B-7

D
Datalink Size (8), B-3 Datalinks, 6-5 dimensions, module, A-1 DPI alarm object, C-28 DPI connector, 2-1 DPI Data Rate (2), B-2 DPI device object, C-13 DPI fault object, C-25 DPI I/O Active (12), B-6 DPI I/O Config (13), B-6 DPI parameter object, C-16 DPI Port (1), B-2 DPI time object, C-30 DRIVE status indicator, 8-2

I
I/O configuration, 4-3 I/O image, 6-2 I/O messaging, 6-1 identity object, C-2 Idle Flt Action (10), B-5 installation checklist, 2-3 installing the module, 3-1 to 3-6

L
LCD OIM see OIM Logic Command/Status, 6-4 Logic Command/Status words, D-1 to D-3

Index

Index-1

M
Master-Slave hierarchy configuring a module for, 4-4 mechanical specifications, A-1 module components, 2-1 configuration, viewing, 4-8 configuring, 4-1 to 4-9 diagnostic items, 8-6 dimensions, A-1 features, 1-1 installing, 3-1 to 3-6 parameters, B-1 to B-9 resetting, 4-7 specifications, A-1 troubleshooting, 8-1 to 8-10 M-S Input (25), B-8 M-S Output (26), B-9 MS status indicator, 8-3

P
parameter descriptions, B-1 to B-9 parameter group object, C-9 parameter object, C-6 PCCC object, C-11 P-DP Addr Cfg (3), B-2 PLC-5C applications, 6-1 to 6-18 PLC-5C main program, 6-8 power consumption, A-1 protocol, A-1 publications, related, 1-2

R
Ref Adjust (27), B-9 Ref/Fdbk Size (7), B-3 Reference Adjust, selecting, 4-5 Reference/Feedback, 6-5 register object, C-4 regulatory compliance, A-1 Reliance Electric, getting assistance from, 1-2 Reset Module (9), B-4 resetting the module, 4-7 RSLogix 5000 ladder logic program, 7-17 to 7-18 RSNetWorx configuration, 5-1 to 5-20 RSNetWorx, configuring a network using, 5-7

N
NET A and B status indicators, 8-4 NET A or NET B status indicators, 8-5 network, troubleshooting, 8-1 to 8-10 node address setting with parameter, 4-2 setting with switches, 3-1

O
object DPI alarm, C-28 DPI device, C-13 DPI fault, C-25 DPI parameter, C-16 DPI time, C-30 identity, C-2 parameter, C-6 parameter group, C-9 PCCC, C-11 register, C-4 OIM (Operator Interface Module) configuring the module with, 4-2

S
specifications, A-1 status indicators, 8-1

T
troubleshooting, 8-1 to 8-10

V
VS Utilities, documentation for, 1-2

Index-2

ControlNet Communications Module

U.S. 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 D2-3497 - December 2001

Copyright 2001 Rockwell Automation, Inc. All Rights Reserved. Printed in USA.

S-ar putea să vă placă și