ProSoft Technology MVI56E-DNPNET User Manual

MVI56E-DNPNET
DNPNET Ethernet Client/Server Communication Module
February 13, 2015
USER MANUAL
Your Feedback Please
We always want you to feel that you made the right decision to use our products. If you have suggestions, comments, compliments or complaints about our products, documentation, or support, please write or call us.
ProSoft Technology
5201 Truxtun Ave., 3rd Floor Bakersfield, CA 93309 +1 (661) 716-5100 +1 (661) 716-5101 (Fax) www.prosoft-technology.com support@prosoft-technology.com
© 2015 ProSoft Technology, Inc. All Rights Reserved.
MVI56E-DNPNET User Manual
February 13, 2015
ProSoft Technology ®, is a registered Copyright of ProSoft Technology, Inc. All other brand or product names are or may be trademarks of, and are used to identify products and services of, their respective owners.
In an effort to conserve paper, ProSoft Technology no longer includes printed manuals with our product shipments. User Manuals, Datasheets, Sample Ladder Files, and Configuration Files are provided on the enclosed DVD and are available at no charge from our web site: http://www.prosoft-technology.com
Content Disclaimer
This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for specific user applications. It is the duty of any such user or integrator to perform the appropriate and complete risk analysis, evaluation and testing of the products with respect to the relevant specific application or use thereof. Neither ProSoft Technology nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information contained herein. Information in this document including illustrations, specifications and dimensions may contain technical inaccuracies or typographical errors. ProSoft Technology makes no warranty or representation as to its accuracy and assumes no liability for and reserves the right to correct such inaccuracies or errors at any time without notice. If you have any suggestions for improvements or amendments or have found errors in this publication, please notify us.
No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without express written permission of ProSoft Technology. All pertinent state, regional, and local safety regulations must be observed when installing and using this product. For reasons of safety and to help ensure compliance with documented system data, only the manufacturer should perform repairs to components. When devices are used for applications with technical safety requirements, the relevant instructions must be followed. Failure to use ProSoft Technology software or approved software with our hardware products may result in injury, harm, or improper operating results. Failure to observe this information can result in injury or equipment damage.
© 2015 ProSoft Technology, Inc. All Rights Reserved.
Printed documentation is available for purchase. Contact ProSoft Technology for pricing and availability.
North America: +1 (661) 716-5100 Asia Pacific: +603.7724.2080 Europe, Middle East, Africa: +33 (0) 5.3436.87.20 Latin America: +1.281.298.9109
Agency
RoHS
ATEX
CSA
CE
CSA CB Safety
cULus
GOST-R
Important Safety Information
North America Warnings
A Warning - Explosion Hazard - Substitution of components may impair suitability for Class I, Division 2. B Warning - Explosion Hazard - When in Hazardous Locations, turn off power before replacing or rewiring
modules.
C Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is
known to be nonhazardous.
D Suitable for use in Class I, Division 2 Groups A, B, C, and D, Hazardous Locations or Non-Hazardous Locations.
/IECEx
ATEX
Power, Input, and Output (I/O) wiring must be in accordance with the authority having jurisdiction
A Warning - Explosion Hazard - When in hazardous locations, turn off power before replacing or wiring modules.
Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is
B
known to be non-hazardous.
C These products are intended to be mounted in an ATEX/IECEx Certified, tool-secured, IP54 enclosure. The devices
shall provide external means to prevent the rated voltage being exceeded by transient disturbances of more than 40%. This device must be used only with ATEX certified backplanes.
D Before operating the
Agency Approvals and Certifications
Warnings and Conditions of Safe Usage:
reset switch, be sure the area is known to be non-hazardous.
<Ex> II 3 G
A IIC T4 Gc
Ex n 0°C <= Ta <= 60°C
-25°C <= Ta <= 70°C (XT models only) II – Equipment intended for above ground use (not for use in mines). 3 – Category 3 equipment, investigated for normal operation only. G – Equipment protected against explosive gasses. <cULus> E183151 Class I, DIV 2, groups A,B,C,D T5 for all models 0°C to +60°C
-25°C to +70°C (XT models only)
Battery Life Advisory
Note: Modules manufactured after April 1st, 2011 do not contain a battery. For modules manufactured before that date the following applies:
The module uses a rechargeable Lithium Vanadium Pentoxide battery to back up the real-time clock and CMOS settings. The battery itself should last for the life of the module. However, if left in an unpowered state for 14 to 21 days, the battery may become fully discharged and require recharging by being placed in a powered-up ControlLogix chassis. The time required to fully recharge the battery may be as long as 24 hours.
Once it is fully charged, the battery provides backup power for the CMOS setup and the real-time clock for approximately 21 days. Before you remove a module from its power source, ensure that the battery within the module is fully charged (the BATT LED on the front of the module goes OFF when the battery is fully charged). If the battery is allowed to become fully discharged, the module will revert to the default BIOS and clock settings.
Note: The battery is not user-replaceable or serviceable.
MVI56E-DNPNET ControlLogix Platform Contents DNPNET Ethernet Client/Server Communication Module User Manual
Contents
Your Feedback Please ........................................................................................................................ 2
Content Disclaimer .............................................................................................................................. 2
Important Safety Information - MVI56E-DNPNET .............................................................................. 3
Battery Life Advisory ........................................................................................................................... 4
1 Start Here 9
1.1 System Requirements ............................................................................................... 9
1.2 Deployment Checklist .............................................................................................. 10
1.3 Package Contents ................................................................................................... 10
1.4 Setting Jumpers ...................................................................................................... 11
1.5 Installing the Module in the Rack ............................................................................ 12
1.6 Creating a New RSLogix 5000 Project .................................................................... 13
1.6.1 Before You Import the Add-On Instruction .............................................................. 14
1.6.2 Creating the Module ................................................................................................ 14
1.6.3 Importing the Add-On Instruction ............................................................................ 17
1.6.4 Adding Multiple Modules (Optional) ........................................................................ 20
1.7 Connecting Your PC to the ControlLogix Processor ............................................... 25
1.8 Downloading the Sample Program to the Processor .............................................. 25
1.8.1 Configuring the RSLinx Driver for the PC COM Port .............................................. 26
2 MVI56E-DNPNET Configuration 29
2.1 Assigning a Permanent IP Address ........................................................................ 29
2.2 DNPNET Module User-Defined Data Types ........................................................... 29
2.3 DNPNET Controller Tags Definitions ...................................................................... 30
2.3.1 DNPNET Controller Tag Overview .......................................................................... 30
2.3.2 DNPNET.CONFIG.DNP_Module_Name ................................................................ 31
2.3.3 DNPNET.CONFIG.DNP3_Server ........................................................................... 31
2.3.4 DNPNET.CONFIG.DNP3_WhiteList[x] ................................................................... 34
2.3.5 DNPNET.CONFIG.DNP3_Client ............................................................................. 35
2.3.6 DNPNET.CONFIG.DNP_Server_Override ............................................................. 36
2.3.7 DNPNET.CONFIG.DNP_Server_List[x] .................................................................. 39
2.3.8 DNPNET.CONFIG.DNP_Client_Commands[x] ...................................................... 41
2.3.9 DNPNET.CONFIG.IP_Settings[x] ........................................................................... 43
3 Diagnostics and Troubleshooting 45
3.1 Ethernet LED Indicators .......................................................................................... 45
3.1.1 Scrolling LED Status Indicators ............................................................................... 45
3.1.2 Non-Scrolling LED Status Indicators ....................................................................... 46
3.2 Clearing a Fault Condition ....................................................................................... 47
3.3 Troubleshooting ....................................................................................................... 47
3.4 Setting Up ProSoft Configuration Builder ................................................................ 48
3.4.1 Installing ProSoft Configuration Builder .................................................................. 48
3.4.2 Setting Up the Project ............................................................................................. 49
3.5 Connecting Your PC to the Module ......................................................................... 51
3.5.1 Using CIPconnect® to Connect to the Module ........................................................ 51
3.5.2 Using RSWho to Connect to the Module ................................................................ 60
ProSoft Technology, Inc. Page 5 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
3.5.3 Connecting Your PC to the Module's Ethernet Port ............................................... 62
3.6 Using the Diagnostics Menu in ProSoft Configuration Builder ............................... 62
3.6.1 The Diagnostics Menu ............................................................................................ 65
3.6.2 Monitoring General Information .............................................................................. 65
3.6.3 Monitoring Backplane Information .......................................................................... 66
3.6.4 DNP3 Ethernet Point Count Module Information .................................................... 67
3.6.5 Monitoring MVI56E-DNPNET Information .............................................................. 67
3.6.6 Monitoring MVI56E-DNPNET Client Information .................................................... 68
3.6.7 Monitoring MVI56E-DNPNET Class Assignments Information ............................. 68
3.6.8 Monitoring MVI56E-DNPNET Deadband Assignments Information...................... 69
3.6.9 Monitoring DNP3 Ethernet Data Values ................................................................. 69
3.7 Communication Error Codes .................................................................................. 70
3.7.1 General Command Errors ....................................................................................... 70
3.7.2 Slave Port Communication Errors .......................................................................... 71
3.7.3 System Configuration Errors ................................................................................... 71
3.7.4 Port Configuration Errors ........................................................................................ 72
3.7.5 Application Layer Errors ......................................................................................... 73
3.8 Connect to the Module’s Web Page ....................................................................... 74
4 Reference 77
4.1 Product Specifications ............................................................................................ 77
4.1.1 General Specifications ............................................................................................ 77
4.1.2 Functional Specifications ........................................................................................ 78
4.1.3 Hardware Specifications ......................................................................................... 79
4.2 Functional Overview ............................................................................................... 80
4.2.1 MVI56E-DNPNET Backplane Data Exchange ....................................................... 80
4.2.2 Function Blocks....................................................................................................... 85
4.2.3 Module Function Blocks .......................................................................................... 86
4.2.4 Special Function Blocks .......................................................................................... 89
4.3 MVI56E-DNPNET Database Overview ................................................................ 105
4.3.1 Normal Data Transfer ........................................................................................... 106
4.3.2 DNPNETModuleDef Object .................................................................................. 112
4.3.3 DNPNETCONFIG Object ...................................................................................... 112
4.3.4 DNPNETCONTROL Object .................................................................................. 112
4.3.5 DNPNETDATA Object .......................................................................................... 113
4.3.6 DNPNETSTATUS Object ..................................................................................... 114
4.3.7 DNPNETUTIL Object ............................................................................................ 114
4.4 MVI56E-DNPNET User Defined Data Types ....................................................... 114
4.4.1 DNPNET.CONFIG controller tags ........................................................................ 115
4.4.2 DNPNET.DATA. controller tags ............................................................................ 116
4.4.3 DNPNET.STATUS. controller tags ....................................................................... 118
4.4.4 DNPNET.CONTROL. controller tags .................................................................... 118
4.4.5 DNPNET.UTIL. controller tags .............................................................................. 119
4.5 Cable Connections ............................................................................................... 120
4.5.1 Ethernet Cable Specifications ............................................................................... 120
4.5.2 Ethernet Cable Configuration ............................................................................... 120
4.5.3 Ethernet Performance ........................................................................................... 120
5 Support, Service & Warranty 137
5.1 Contacting Technical Support ............................................................................... 137
5.2 Warranty Information ............................................................................................ 138
Page 6 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents DNPNET Ethernet Client/Server Communication Module User Manual
Index 139
ProSoft Technology, Inc. Page 7 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
Page 8 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents
In This Chapter
System Requirements............................................................................. 9
Deployment Checklist ............................................................................10
Package Contents .................................................................................10
Setting Jumpers .....................................................................................11
Installing the Module in the Rack ...........................................................12
Creating a New RSLogix 5000 Project...................................................13
Connecting Your PC to the ControlLogix Processor ..............................25
Downloading the Sample Program to the Processor .............................25
DNPNET Ethernet Client/Server Communication Module User Manual
1 Start Here
To get the most benefit from this User Manual, you should have the following skills:
Rockwell Automation® RSLogix™ software: launch the program, configure ladder
logic, and transfer the ladder logic to the processor
Microsoft Windows: install and launch programs, execute menu commands, navigate
dialog boxes, and enter data
Hardware installation and wiring: install the module, and safely connect DNP3
Ethernet and ControlLogix devices to a power source and to the MVI56E-DNPNET module’s application port(s)
1.1 System Requirements
The MVI56E-DNPNET module requires the following minimum hardware and software components:
Rockwell Automation ControlLogix® processor (firmware version 10 or higher) with
compatible limited voltage power supply and one free slot in the rack for the MVI56E­DNPNET module. The module requires 800mA of available 5 VDC and 3 mA of available 24 VDC power.
Rockwell Automation RSLogix 5000 programming software
o Version 16 or higher required for Add-On Instruction
Rockwell Automation RSLinx® communication software version 2.51 or higher  ProSoft Configuration Builder (PCB) (included)
ProSoft Technology, Inc. Page 9 of 140 February 13, 2015
ProSoft Discovery Service (PDS) (included in PCB) Pentium® II 450 MHz minimum. Pentium III 733 MHz (or better) recommended  Supported operating systems:
o Microsoft Windows o Microsoft Windows XP Professional with Service Pack 1 or 2
®
Vista
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
o Microsoft Windows 7 Professional (32-or 64-bit) o Microsoft Windows 2000 Professional with Service Pack 1, 2, or 3 o Microsoft Windows Server 2003
128 Mbytes of RAM minimum, 256 Mbytes of RAM recommended 100 Mbytes of free hard disk space (or more based on application requirements) 256-color VGA graphics adapter, 800 x 600 minimum resolution (True Color 1024 768
recommended)
DVD drive
Note: The Hardware and Operating System requirements in this list are the minimum recommended to install and run software provided by ProSoft Technology®. Other third party applications may have different minimum requirements. Refer to the documentation for any third party applications for system requirements. Note: You can install the module in a local or remote rack. For remote rack installation, the module requires EtherNet/IP or ControlNet communication with the processor.
1.2 Deployment Checklist
Before you begin configuring the module, consider the following questions. Your answers will help you determine the scope of your project, and the configuration requirements for a successful deployment.
1 ____________ Are you creating a new application or integrating the module into an
existing application? Most applications use the Sample Add-On Instruction without any edits.
2 ____________ Which slot number in the chassis will the MVI56E-DNPNET module
occupy?
3 ____________ Are RSLogix 5000 and RSLinx installed?
RSLogix and RSLinx are required to communicate to the ControlLogix processor (1756­L1, L55, L61 & L63).
4 ____________ How many words of data do you need to transfer in your application
(from ControlLogix to Module / to ControlLogix from Module)? The MVI56E-DNPNET module can transfer a specified maximum of data points
depending on the data point type.
5 ____________ As a DNP3 Ethernet Client, what Server Device Addresses and Data
Addresses are needed to exchange data with on the network? You must know the Server Device Address number of each Server device to poll, as well
as the address of the data to read from or write to each Server device.
1.3 Package Contents
The following components are included with your MVI56E-DNPNET module, and are all required for installation and configuration.
Page 10 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents
Qty.
Part Name
Part Number
Part Description
1
MVI56E-DNPNET Module
MVI56E-DNPNET
DNPNET Ethernet Client/Server Communication Module
1
Ethernet Cable
RL-CBL025
Ethernet Straight-Through Cable
1
ProSoft Solutions DVD
DVD-001
Contains the ProSoft Configuration Builder (PCB) software.
Files can also be found at http://www.prosoft-technology.com
DNPNET Ethernet Client/Server Communication Module User Manual
Important: Before beginning the installation, please verify that all of the following items are present.
If any of these components are missing, please contact ProSoft Technology Technical Support for replacement parts. If the DVD is not present, please visit http://www.prosoft-technology.com for the latest files.
1.4 Setting Jumpers
The Setup Jumper acts as "write protection" for the module’s flash memory. In "write protected" mode, the Setup pins are not connected, and the module’s firmware cannot be
overwritten. The module is shipped with the Setup jumper OFF. Do not jumper the Setup pins together unless you are directed to do so by ProSoft Technical Support (or to update the module firmware).
The following illustration shows the MVI56E-DNPNET jumper configuration with the Setup Jumper OFF.
ProSoft Technology, Inc. Page 11 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
Note: If you are installing the module in a remote rack, you may prefer to leave the Setup pins jumpered. That way, you can update the module’s firmware without requiring physical access to the module.
1.5 Installing the Module in the Rack
Make sure your ControlLogix processor and power supply are installed and configured, before installing the MVI56E-DNPNET module. Refer to your Rockwell Automation product documentation for installation instructions.
Warning: You must follow all safety instructions when installing this or any other electronic devices. Failure to follow safety procedures could result in damage to hardware or data, or even serious injury or death to personnel. Refer to the documentation for each device you plan to connect to verify that suitable safety procedures are in place before installing or servicing the device.
After you have checked the placement of the jumpers, insert the MVI56E-DNPNET into the ControlLogix chassis. Use the same technique recommended by Rockwell Automation to remove and install ControlLogix modules.
You can install or remove ControlLogix system components while chassis power is applied and the system is operating. However, please note the following warning.
Warning: When you insert or remove the module while backplane power is on, an electrical arc can occur. An
electrical arc can cause personal injury or property damage by sending an erroneous signal to the system’s
actuators. This can cause unintended machine motion or loss of process control. Electrical arcs may also cause an explosion when they happen in a hazardous environment. Verify that power is removed or the area is non­hazardous before proceeding. Repeated electrical arcing causes excessive wear to contacts on both the module and its mating connector. Worn contacts may create electrical resistance that can affect module operation.
1 Align the module with the top and bottom guides, and then slide it into the rack until the
module is firmly against the backplane connector.
Page 12 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents DNPNET Ethernet Client/Server Communication Module User Manual
2 With a firm, steady push, snap the module into place. 3 Check that the holding clips on the top and bottom of the module are securely in the
locking holes of the rack.
4 Make a note of the slot location. You must identify the slot in which the module is
installed in order for the sample program to work correctly. Slot numbers are identified on the green circuit board (backplane) of the ControlLogix rack.
5 Turn power ON.
Note: If you insert the module improperly, the system may stop working or may behave unpredictably.
1.6 Creating a New RSLogix 5000 Project
1 Open the FILE menu, and then choose NEW.
2 Select your ControlLogix controller model. 3 Select REVISION 20. You can select an earlier revision number if necessary, but there
may be some small differences in the appearance of dialog boxes from the ones shown in this Guide.
4 Enter a name for your controller, such as My_Controller. 5 Select your ControlLogix chassis type.
ProSoft Technology, Inc. Page 13 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform
File Name
Description
MVI56(E)DNPNET_AddOn_Rung_v1_0.L5X
L5X file containing Add-On Instruction, user defined data types, controller tags and ladder logic required to configure the MVI56E-DNPNET module
User Manual DNPNET Ethernet Client/Server Communication Module
6 Select SLOT 0 for the controller.
1.6.1 Before You Import the Add-On Instruction
One Add-On Instruction is provided for the MVI56E-DNPNET module. It is required for setting up the module.
Copy the files from the ProSoft Solutions DVD, or download them from
www.prosoft-technology.com. Save them to a convenient location in your PC, such as
Desktop or My Documents.
1.6.2 Creating the Module
1 Add the MVI56E-DNPNET module to the project.
In the CONTROLLER ORGANIZATION window, select I/O CONFIGURATION and click the right mouse button to open a shortcut menu. On the shortcut menu, choose NEW MODULE...
Page 14 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents
Parameter
Value
NAME
DNPNET
DESCRIPTION
Enter a description for the module. Example: DNPNET Ethernet Client/Server Communication Module
COMM FORMAT
Select DATA-INT
DNPNET Ethernet Client/Server Communication Module User Manual
This action opens the SELECT MODULE dialog box. Enter generic in the text box and select the GENERIC 1756 MODULE. If you're using a controller revision of 16 or less, expand OTHER in the SELECT MODULE dialog box, and then select the GENERIC 1756
MODULE.
2 Click CREATE. This action opens the NEW MODULE dialog box.
3 In the NEW MODULE dialog box, enter the following values.
ProSoft Technology, Inc. Page 15 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform
Parameter
Value
SLOT
Enter the slot number in the rack where the MVI56E-DNPNET module is located
INPUT ASSEMBLY INSTANCE
1
INPUT SIZE
250
OUTPUT ASSEMBLY INSTANCE
2
OUTPUT SIZE
248
CONFIGURATION ASSEMBLY INSTANCE
4
CONFIGURATION SIZE
0
User Manual DNPNET Ethernet Client/Server Communication Module
Important: You must select the COMM FORMAT as DATA - INT in the dialog box, otherwise the module will not communicate over the backplane of the ControlLogix rack.
4 Click OK to continue. 5 Edit the Module Properties.
Select the REQUESTED PACKET INTERVAl value for scanning the I/O on the module. This
value represents the minimum frequency at which the module will handle scheduled events. This value should not be set to less than 1 millisecond. The default value is 5 milliseconds. Values between 1 and 10 milliseconds should work with most applications.
Page 16 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents DNPNET Ethernet Client/Server Communication Module User Manual
6 Click OK to save the module and close the dialog box. Notice that the module now
appears in the CONTROLLER ORGANIZATION window.
1.6.3 Importing the Add-On Instruction
1 In the CONTROLLER ORGANIZATION window, expand the TASKS folder and subfolders until
you reach the MAINPROGRAM folder.
2 In the MAINPROGRAM folder, double-click to open the MAINROUTINE ladder. 3 Select an empty rung in the routine, and then click the right mouse button to open a
shortcut menu. On the shortcut menu, choose IMPORT RUNGS
ProSoft Technology, Inc. Page 17 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
4 Navigate to the location on your PC where you saved the Add-On Instruction (for
example, My Documents or Desktop). Select the MVI56(E)DNPNET_ADDON_RUNG_V2.8.L5X file.
This action opens the IMPORT CONFIGURATION dialog box. Click TAGS under MAINROUTINE to show the controller tags that will be created. Note that if you are using a controller revision number of 16 or less, the IMPORT CONFIGURATION dialog box does not show the IMPORT CONTENT tree.
Page 18 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents DNPNET Ethernet Client/Server Communication Module User Manual
5 If you are using the module in a different slot (or remote rack), edit the connection input
and output variables that define the path to the module. Edit the text in the FINAL NAME column (NAME column for controller revision 16 or less). For example, if your module is
located in slot 3, change Local:1:I in the above picture to Local:3:I. Do the same for Local:1:O. If your module is located in Slot 1 of the local rack, this step is not required.
6 Click OK to confirm the import. RSLogix 5000 indicates that the import is in progress:
When the import is completed, the new rung with the Add-On Instruction will be visible as shown in the following illustration.
The procedure also imports new User Defined Data Types, Controller Tags, and the Add-On instruction for your project.
7 Save the application and then download the sample ladder logic into the processor.
ProSoft Technology, Inc. Page 19 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
1.6.4 Adding Multiple Modules (Optional)
Important: If your application requires more than one MVI56E-DNPNET module in the same project, follow the steps below.
1 In the I/O CONFIGURATION folder, click the right mouse button to open a shortcut menu,
and then choose NEW MODULE.
Page 20 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents
Parameter
Value
NAME
Enter a module identification string. Example: DNPNET_2.
DESCRIPTION
Enter a description for the module. Example: DNPNET Ethernet Client/Server Communication Module.
COMM FORMAT
Select DATA-INT.
SLOT
Enter the slot number in the rack where the MVI56E-DNPNET module is located.
INPUT ASSEMBLY INSTANCE
1
INPUT SIZE
250
OUTPUT ASSEMBLY INSTANCE
2
OUTPUT SIZE
248
CONFIGURATION ASSEMBLY INSTANCE
4
CONFIGURATION SIZE
0
DNPNET Ethernet Client/Server Communication Module User Manual
2 Select 1756-MODULE. If you're using a controller revision of 16 or less, expand OTHER
in the SELECT MODULE dialog box, and then select the 1756-MODULE.
3 Fill the module properties as follows:
4 Click OK to confirm. The new module is now visible:
5 Expand the TASKS folder, and then expand the MAINTASK folder. 6 In the MAINPROGRAM folder, double-click to open the MAINROUTINE ladder.
ProSoft Technology, Inc. Page 21 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
7 Select an empty rung in the routine, and then click the right mouse button to open a
shortcut menu. On the shortcut menu, choose IMPORT RUNGS
Page 22 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents DNPNET Ethernet Client/Server Communication Module User Manual
8 Select the MVI56(E)DNPNET_ADDON_RUNG_V1_0.L5X file, and then click IMPORT.
9 This action opens the IMPORT CONFIGURATION window. Click TAGS under MAINROUTINE
to show the tags that will be imported.
10 Associate the I/O connection variables to the correct module in the corresponding slot
number. The default values are Local:1:I and Local:1:O and must be edited if the card is placed in a slot location other than slot 1 (Local:1:x means the card is located in slot 1).
Since the second card is placed in slot 2, edit the FINAL NAME to Local:2:I and Local:2:O.
ProSoft Technology, Inc. Page 23 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
11 Also, append ‘2’ at the end of the default tags DNPNET, AOI56DNPNET,
READETHERNETMSG, and WRITEETHERNETMSG to avoid conflict with existing tags as
shown below..
12 Click OK to confirm.
The setup procedure is now complete. Save the project and download the application to your ControlLogix processor.
Page 24 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents DNPNET Ethernet Client/Server Communication Module User Manual
1.7 Connecting Your PC to the ControlLogix Processor
There are several ways to establish communication between your PC and the ControlLogix processor. The following steps show how to establish communication through the serial interface. It is not mandatory that you use the processor's serial interface. You may access the processor through whatever network interface is available on your system. Refer to your Rockwell Automation documentation for information on other connection methods.
1 Connect the right-angle connector end of the cable to your controller at the
communications port.
2 Connect the straight connector end of the cable to the serial port on your computer.
1.8 Downloading the Sample Program to the Processor
Note: The key switch on the front of the ControlLogix processor must be in the REM or PROG position.
ProSoft Technology, Inc. Page 25 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
1 If you are not already online with the processor, open the Communications menu, and
then choose DOWNLOAD. RSLogix 5000 will establish communication with the processor.
You do not have to download through the processor's serial port, as shown here. You may download through any available network connection.
2 When communication is established, RSLogix 5000 will open a confirmation dialog box.
Click the DOWNLOAD button to transfer the sample program to the processor.
3 RSLogix 5000 will compile the program and transfer it to the processor. This process
may take a few minutes.
4 When the download is complete, RSLogix 5000 will open another confirmation dialog
box. If the key switch is in the REM position, click OK to switch the processor from PROGRAM mode to RUN mode.
Note: If you receive an error message during these steps, refer to your RSLogix documentation to interpret and correct the error.
1.8.1 Configuring the RSLinx Driver for the PC COM Port
If RSLogix is unable to establish communication with the processor, follow these steps.
1 Open RSLinx. 2 Open the COMMUNICATIONS menu, and choose CONFIGURE DRIVERS.
Page 26 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents DNPNET Ethernet Client/Server Communication Module User Manual
This action opens the Configure Drivers dialog box.
Note: If the list of configured drivers is blank, you must first choose and configure a driver from the Available Driver Types list. The recommended driver type to choose for serial communication with the processor is RS-232 DF1 Devices.
3 Click to select the driver, and then click CONFIGURE. This action opens the Configure
RS-232 DF1 Devices dialog box.
4 Click the AUTO-CONFIGURE button. RSLinx will attempt to configure your serial port to
work with the selected driver.
5 When you see the message Auto Configuration Successful, click the OK button to
dismiss the dialog box.
ProSoft Technology, Inc. Page 27 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform User Manual DNPNET Ethernet Client/Server Communication Module
Note: If the auto-configuration procedure fails, verify that the cables are connected correctly between the processor and the serial port on your computer, and then try again. If you are still unable to auto-configure the port, refer to your RSLinx documentation for further troubleshooting steps.
Page 28 of 140 ProSoft Technology, Inc. February 13, 2015
MVI56E-DNPNET ControlLogix Platform Contents
In This Chapter
Assigning a Permanent IP Address .......................................................29
DNPNET Module User-Defined Data Types ..........................................29
DNPNET Controller Tags Definitions .....................................................30
DNPNET Ethernet Client/Server Communication Module User Manual
2 MVI56E-DNPNET Configuration
The DNP3 Ethernet configuration resides in the DNPNET controller tags. This section covers the tag structure and descriptions of the DNPNET Client and Server parameters.
2.1 Assigning a Permanent IP Address
The module’s IP address, subnet mask, and gateway parameters are configured in the
DNPNET.CONFIG.IP_Settings controller tags only.
Any changes to the DNPNET.CONFIG.IP_Settings.IP, Netmask, or Gateway tags require the trigger of the DNPNET.CONFIG.IP_Settings.Write tag. This sends the parameters to the module.
The user can also read the current IP settings from the module by triggering the DNPNET.CONFIG.IP_Settings.Read tag. They will populate in the DNPNET.CONFIG.IP_Settings.IP, Netmask, and Gateway tags.
2.2 DNPNET Module User-Defined Data Types
The sample ladder logic relies heavily on the use of User-Defined Data Types (UDTs) to help group and structure the wide variety and volume of data and control features the module offers. Lower-order UDT structures are often embedded in higher-order structures to help further organize data into more easily understood data collections.
ProSoft Technology, Inc. Page 29 of 140 February 13, 2015
Contents MVI56E-DNPNET ControlLogix Platform
Name
Description
DNPNET.CONFIG
Configuration information
DNPNET.DATA
DNPNET input and output data transferred between the processor and the module
DNPNET.STATUS
Status information
DNPNET.CONTROL
Governs the data movement between the PLC rack and the module
DNPNET.UTIL
Generic tags used for internal ladder processing (DO NOT MODIFY)
User Manual DNPNET Ethernet Client/Server Communication Module
All data and control parameters related to the MVI56E-DNPNET are contained in User-
defined Data Types (UDTs). The DNPNETMODULEDEF UDT is the primary, top level data
structure in which all other lower-order data types are grouped and organized. All groups branch down from this UDT.
To utilize all the features and functions of the module, an instance of each data type is required. This is accomplished by declaring controller tag variables using these data types in the Controller Tags Edit Tags dialog box.
Some UDTs hold process or status data (Module Data Objects). This data can be monitored
and manipulated by the application-specific ladder logic program. Other UDTs are used to store and organize the parameters needed for special functions and control features
(Special Data Objects). These data types will be discussed in more detail in succeeding
topics.
2.3 DNPNET Controller Tags Definitions
2.3.1 DNPNET Controller Tag Overview
Page 30 of 140 ProSoft Technology, Inc. February 13, 2015
Loading...
+ 110 hidden pages