Successful application of this module requires a reasonable working knowledge of the Rockwell Automation PLC
hardware, the MVI71-DNPSNET Module and the application in which the combination is to be used. For this reason,
it is important that those responsible for implementation satisfy themselves that the combination will meet the needs
of the application without exposing personnel or equipment to unsafe or inappropriate working conditions.
This manual is provided to assist the user. Every attempt has been made to ensure that the information provided is
accurate and a true reflection of the product's installation requirements. In order to ensure a complete understanding
of the operation of the product, the user should read all applicable Rockwell Automation documentation on the
operation of the Rockwell Automation hardware.
Under no conditions will ProSoft Technology be responsible or liable for indirect or consequential damages resulting
from the use or application of the product.
Reproduction of the contents of this manual, in whole or in part, without written permission from ProSoft Technology
is prohibited.
Information in this manual is subject to change without notice and does not represent a commitment on the part of
ProSoft Technology Improvements and/or changes in this manual or the product may be made at any time. These
changes will be made periodically to correct technical inaccuracies or typographical errors.
Warning: This module is not hot-swappable! Always remove power from the rack before inserting or removing this
module, or damage may result to the module, the processor, or other connected devices.
Power, Input, and Output (I/O) wiring must be in accordance with Class 1, Division 2 wiring
methods, Article 501-4 (b) of the National Electrical Code, NFPA 70 for installation in the U.S.,
or as specified in Section 18-1J2 of the Canadian Electrical Code for installations in Canada,
and in accordance with the authority having jurisdiction.
A Warning - Explosion Hazard - Substitution of components may impair suitability for Class 1, Division 2.
B Warning - Explosion Hazard - When in hazardous locations, turn off power before replacing or wiring modules.
C Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is
known to be non-hazardous.
Battery Life Advisory
All modules in the MVI series use a rechargeable Lithium Vanadium Pentoxide battery to backup the 512K SRAM
memory, real-time clock, and CMOS. The battery should last for the life of the module.
The module must be powered for approximately twenty hours before it becomes fully charged. After it is fully charged,
the battery provides backup power for the CMOS setup and configuration data, the real-time clock, and the 512K
SRAM memory for approximately 21 days.
Before you remove a module from its power source, ensure that the battery within the module is fully charged. A fully
charged battery will hold the BIOS settings (after being removed from its power source) for a limited number of days.
When the battery is fully discharged, the module will revert to the default BIOS settings.
Note: The battery is not user replaceable.
ProSoft® Product Documentation
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 CD and are
available at no charge from our web site: http://www.prosoft-technology.com
Printed documentation is available for purchase. Contact ProSoft Technology for pricing and availability.
Asia Pacific: +603.7724.2080
Europe, Middle East, Africa: +33.5.34.36.87.20
Latin America: +1.281.298.9109
North America: +1.661.716.5100
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 the product, documentation or support, please write or call us.
This Section introduces the customer to the
module. Included are: package contents,
system requirements, hardware installation, and
basic configuration.
This section describes how to verify
communications with the network. Diagnostic
and Troubleshooting procedures.
These sections contain general references
associated with this product, Specifications, and
the Functional Overview.
This section contains Support, Service and
Warranty information.
Index of chapters.
ProSoft Technology, Inc. Page 7 of 100
September 22, 2008
Install the Module in the Rack ...............................................................12
Connect your PC to the Processor........................................................ 13
Download the Sample Program to the Processor.................................. 14
Connect your PC to the Module ............................................................17
Installing the MVI71-DNPSNET module requires a reasonable working
knowledge of the Rockwell Automation hardware, the MVI71-DNPSNET Module
and the application in which they will be used.
Caution: It is important that those responsible for implementati on can complete the
application without exposing personnel, or equipment, to unsafe or inappropriate working
conditions. Safety, quality and experience ar e key factors in a successful installation.
1.1 System Requirements
The MVI71-DNPSNET module requires the following minimum hardware and
software components:
Rockwell Automation PLC processor, with compatible power supply and one
free slot in the rack, for the MVI71-DNPSNET module. The module requires
800mA of available power.
The PLC Processor must provide for at least 64 words of BTR/BTW area,
o Microsoft Windows XP
o Microsoft Windows 2000
o Microsoft Windows NT v4.0 with Service Pack 3 or greater
o Microsoft Windows ME
o Microsoft Windows 98
64 Mbytes of RAM minimum, 256 Mbytes of RAM recommended
ProSoft Technology, Inc. Page 9 of 100
September 22, 2008
Note: 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. Do not jumper the Setup pins together unless you are directed to do so by ProSoft
Technical Support.
ProSoft Technology, Inc. Page 11 of 100
September 22, 2008
If you have not already installed and configured your PLC processor and power
supply, please do so before installing the MVI71-DNPSNET 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 pla n to
connect to verify that suitable safety procedures ar e in place before installing or servicing the
device.
After you have checked the placement of the jumpers, insert MVI71-DNPSNET
into the PLC™ chassis. Use the same technique recommended by Rockwell
Automation to remove and install PLC modules.
Warning: This module is not hot-swappable! Always remove power from the rack before
inserting or removing this module, or damage may result to the module, the processor, or other
connected devices.
1 Turn power OFF.
2 Align the module with the top and bottom guides, and slide it into the rack
until the module is firmly against the backplane connector.
3 With a firm but steady push, snap the module into place.
4 Check that the holding clips on the top and bottom of the module are securely
in the locking holes of the rack.
5 Make a note of the slot location. You will need to 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 PLC
rack.
6 Turn power ON.
Note: If you insert the module improperly, the system may stop working, or may behave
unpredictably.
1.5 Connect your PC to the Processor
1 Connect the right-angle connector end of the cable to your controller at the
communications port.
ProSoft Technology, Inc. Page 13 of 100
September 22, 2008
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 driv er 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
Note: If the auto-configuration procedure fails, verify that the cables are connected correct ly
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 yo ur RSLinx documentation for further troubleshooting
steps.
1.7 Connect your PC to the Module
With the module securely mounted, connect your PC to the Configuration/Debug
port using an RJ45-DB-9 Serial Adapter Cable and a Null Modem Cable.
1 Attach both cables as shown.
2 Insert the RJ45 cable connector into the Configuration/Debug port of the
module.
3 Attach the other end to the serial port on your PC or laptop.
ProSoft Technology, Inc. Page 17 of 100
September 22, 2008
Installing and Configuring the Module ...................................................19
IP Address.............................................................................................22
Uploading and Downloading the Configuration File............................... 23
In order for the MVI71-DNPSNET module to function, a minimum amount of
configuration data must be transferred to the module. A text file named
DNPSNET.CFG is shipped with the module. This file can serve as a starting
point to develop a user application. Edit the file to configure the module for the
application.
A terminal server program is used to upload and download the configuration file
to the module. An additional file, WATTCP.CFG, must be configured for the
specific network on which the module resides.
2.1 Installing and Configuring the Module
This chapter describes how to install and configure the module to work with your
application. The configuration process consists of the following steps.
1 Modify the module's configuration files to meet the needs of your application,
and copy the updated configuration to the module. Example configuration
files are provided on the CD-ROM. Refer to the Modifying the Example
Configuration File section, later in this chapter, for more information on the
configuration files.
2 Modify the example ladder logic to meet the needs of your application, and
copy the ladder logic to the processor. Example ladder logic files are provided
on the CD-ROM.
Note: If you are installing this module in an existin g application, you can copy the necessary
elements from the example ladder logic into your application.
The rest of this chapter describes these steps in more detail.
Before installing and configuring the module, design the application. Determine
the number points for each data type. Review the Application Design section to
aid in application design.
It is now time to edit the DNPSNET.CFG file to set up the module for the specific
application. Refer to the Configuration File section of this document. Download
this configuration to the module along with the associated ladder logic.
ProSoft Technology, Inc. Page 19 of 100
September 22, 2008
The next step in installing and configuring the module is to define whether the
block transfer or side-connect interface will be utilized. If the block transfer
interface is to be used you should be ready to connect the module to the DNP
Ethernet network if the ladder logic is defined correctly. If the side-connect
interface is to be used, you must obtain the side-connect kit, which is sold
separately.
If the side-connect interface is utilized, make sure the file SC_DATA.TXT on the
Compact Flash Disk contains the correct first file number. You can run the
setdnpsc.exe program to set the file number to be used with your application.
Install the module in the rack and turn on the power. Connect the terminal server
to the module's debug/configuration port and exit the program by pressing the
Esc key followed by the 'X' key. This will cause the program to exit and remain at
the operating system prompt. Run the setdnpsc.exe program with a command
line argument of the file number to use for the first file. For example, to select
N10: as the first file, enter the following:
SETDNPSC 10
The program will build the SC_DATA.TXT on the Compact Flash Disk (C: drive in
the root directory).
Next, define the data files to be used with the application. If the block transfer
interface is used, define the data files to hold the user data (read and write data).
Enter the ladder logic to handle the blocks transferred between the module and
the PLC. Download the program to the PLC and test the program with the
module.
If the side-connect interface is used, no ladder logic is required for data transfer.
The user data files to interface with the module must reside in contiguous order
in the processor. The first file to be used by the interface is the status/control file.
This is file number set in the SC_DATA.TXT file using the SETDNPSC.EXE
program. The following table lists the files used by the side-connect interface:
File Number Example Size Description
Cfg File N10 100 Control/Status File
Cfg File+1 N11 to 1000 Data transferred from the module to the processor
Other files for read data
Cfg File+1+n N12 to 1000 Data transferred from the processor to the module
Cfg File+1+n+m Other files for write data
n is the number of read data files minus one. Each file contains up to 1000
words.
m is the number of write data files minus one. Each file contains up to 1000
words.
More than one read and/or write file may exist in an application. This is required
when more than 1000 words of data are required. Two examples are given for
the files used with different data set sizes:
2.1.1 Example of 240 words of read and write data (cfg file=10)
Data Files Description
N11:0 to 239 Read data
N12:0 to 239 Write data
Example of 2300 read and 3500 write data registers (cfg file=10)
Data Files Description
N11:0 to 999 Read data words 0 to 999
N12:0 to 999 Read data words 1000 to 1999
N13:0 to 299 Read data words 2000 to 2299
N14:0 to 999 Write data words 0 to 999
N15:0 to 999 Write data words 1000 to 1999
N16:0 to 999 Write data words 2000 to 2999
N17:0 to 499 Write data words 3000 to 3499
Even if the files are not required for an application, they still are reserved and
should only be used for that purpose. The read and write data contained in the
last set of files possess the data transferred between the module and the
processor. The read data file (Cfg File + 1) will contain data transferred from the
module to the processor and should be associated with control data types. The
write data file (Cfg File + 1 + n) will contain data passed to the module from the
processor and should be associated with monitor data types.
Special care must be taken when defining the files for the side-connect interface.
Because the module directly interacts with the PLC processor and its memory,
any errors in the configuration may cause the processor to fault and it may even
lose its configuration and program. After defining the files and populating them
with the correct data, download the program to the processor, and place the
processor in run mode. If everything is configured correctly, the module should
start its normal operation.
The module is now and ready to be used with your application. Insert the module
in the rack (with the power turned off) and attach the serial communication cable.
Download the new application to the controller and place the processor in run
mode. Download the new DNPSNET.CFGfile to the module using a terminal
emulation program. If all the configuration parameters are set correctly and the
module is attached to a network, the module's Application LED (APP LED)
should remain off and the backplane activity LED (BP ACT) should blink very
rapidly. Refer to the Diagnostics andTrouble Shooting section if you
encounter errors. Attach a computer or terminal to Port 0 on the module and look
at the status of the module using the Configuration/Debug Menu in the module.
ProSoft Technology, Inc. Page 21 of 100
September 22, 2008
In addition to the DNPSNET.CFG, the MVI71-DNPSNET module requires a
second configuration file that identifies its Ethernet configuration. Without this
configuration file, the module will not communicate properly on the network.
This file contains the Ethernet address information to be used by the module and
may be transferred to and from the module from the Network command
available on the debug port of the module. Please consult your network
administrator for the correct settings for your network before placing this or any
other Ethernet TCP/IP device upon your network.
Important: If the field "my_ip" does not exist, or if the wattcp.cfg file is corrupted or does not exist,
the module will not function.
To set the Module's IP Address
1 Locate the sample configuration files for your module on the ProSoft
Solutions CD.
2 Copy the configuration files and ladder to a location on your PC's hard drive.
We recommend C:\temp.
3 After you move the files, right-click on each of the files, choose Properties,
and clear the READ ONLY check box.
4 Start Notepad.exe, or any other editor that can save plain text files.
5 Open the file WATTCP.CFG. The following example shows the contents of a
typical WATTCP.CFG file.
# ProSoft Technology
# Default private class 3 address
my_ip=192.168.0.100
# Default class 3 network mask
netmask=255.255.255.0
# The gateway I wish to use
gateway=192.168.0.1,192.168.0.0,255.255.255.0
6 Edit the file, using the IP addresses supplied by your network administrator.
Important: The module does not support DHCP (Dynamic Host Configuration Protocol) for
obtaining an IP address from a server. This module must have its own static IP address that does
not duplicate the IP address of any other device on the Ethernet netw ork.
7 Save the file as WATTCP.CFG. You must now transfer the file to the module.
Refer to Transferring WATTCP.CFG to the module (page 26, page 42) for the
correct procedure.
2.3 Uploading and Downloading the Configuration File
ProSoft modules are shipped with a pre-loaded configuration file. In order to edit
this file, you must transfer the file from the module to your PC. After editing, you
must transfer the file back to the module.
This section describes these procedures.
Important: The illustrations of configuration/debug menus in this section are intended as a general
guide, and may not exactly match the configuration/debug menus in your own module. For specific
information about the configuration/debug menus in your module, refer to The Configuration/Debug
Menu (page 33).
2.3.1 Required Hardware
You can connect directly from your computer's serial port to the serial port on the
module to view configuration information, perform maintenance, and send
(upload) or receive (download) configuration files.
ProSoft Technology recommends the following minimum hardware to connect
your computer to the module:
80486 based processor (Pentium preferred)
1 megabyte of memory
At least one UART hardware-based serial communications port available.
USB-based virtual UART systems (USB to serial port adapters) often do not
function reliably, especially during binary file transfers, such as when
uploading/downloading configuration files or module firmware upgrades.
A null modem serial cable.
2.3.2 Required Software
In order to send and receive data over the serial port (COM port) on your
computer to the module, you must use a communication program (terminal
emulator).
A simple communication program called HyperTerminal is pre-installed with
recent versions of Microsoft Windows operating systems. If you are connecting
from a machine running DOS, you must obtain and install a compatible
communication program. The following table lists communication programs that
have been tested by ProSoft Technology.
DOS ProComm, as well as several other terminal emulation programs
Windows 3.1 Terminal
Windows 95/98 HyperTerminal
Windows NT/2000/XP HyperTerminal
The module uses the Zmodem file transfer protocol to send (upload) and receive
(download) configuration files from your module. If you use a communication
program that is not on the list above, please be sure that it supports Zmodem file
transfers.
ProSoft Technology, Inc. Page 23 of 100
September 22, 2008
4 Press [S] (Send Module Configuration), and then press [Y] to confirm the
transfer.
The file transfer will then begin automatically, using the protocol and location
you specified in Step 3.
When the configuration file has been transferred to your PC, the dialog box
will indicate that the transfer is complete.
The configuration file is now on your PC at the location you specified.
5 You can now open and edit the file in a text editor such as Notepad. When
you have finished editing the file, save it and close Notepad.
ProSoft Technology, Inc. Page 25 of 100
September 22, 2008
4 From the Transfer menu in HyperTerminal, select Send File.
The Send File dialog appears.
5 Use the Browse button to locate the configuration file your computer.
Note: This procedure assumes that you are uploading a newly edited configuration file from your
PC to the module. However, configuration files ar e also available on the ProSoft CD as well as the
ProSoft Technology web site.
6 Select Zmodem as the protocol.
ProSoft Technology, Inc. Page 27 of 100
September 22, 2008
Module Data .......................................................................................... 29
Ladder logic is required for application of the MVI71-DNPSNET module. Tasks
that must be handled by the ladder logic are module data transfer, special block
handling and status data receipt. Additionally, a power-up handler may be
needed to handle the initialization of the module's data and to clear any
processor fault conditions.
The sample ladder logic, on the ProSoft Solutions CD-ROM, is extensively
commented, to provide information on the purpose and function of each rung. For
most applications, the sample ladder will work without modification.
3.1 Module Data
All data related to the MVI71-DNPSNET module is stored in a user defined data
file. It is the responsibility of the ladder logic programmer to construct all the data
files required by the program and to write the ladder logic required to interface to
these files.
3.1.1 Status Data
When the side-connect interface is employed in the application, the status data is
automatically transferred from the module to the first file used by the interface.
The data is placed at an offset of 0 in the file and has the following format:
Word Variable Name Description
0 Scan Counter
1 to 2 Product Name (ASCII)
3 to 4 Revision (ASCII)
5 to 6
7 to 8
9 Read Block Count
10 Write Block Count
11 Parse Block Count
Operating System
Revision (ASCII)
Production Run Number
(ASCII)
Program scan counter incremented each time the program
loop is executed.
These two words contain the product name of the module in
ASCII format.
These two words contain the product revision level of the
firmware in ASCII format.
These two words contain the module's internal operating
system revision level in ASCII format.
These two words contain the production 'batch' number for
the particular chip in the module in ASCII format.
Total number of blocks transferred from the module to the
processor.
Total number of blocks transferred from the processor to the
module.
Total number of blocks parsed by the module that were
received from the processor.
ProSoft Technology, Inc. Page 29 of 100
September 22, 2008
Number of BTW requests that resulted in an incorrect BTW
identification code.
This value represents the total number of message frames
that have matched this slaves address on this port. This
count includes message frames which the slave may or may
not be able to parse and respond.
This value represents the number of good (non-error)
responses that the slave has sent to the master on this port.
The presumption is that if the slave is responding, the
message was good. Note: This is a frame count.
This value represents the total number of message frames
received by the slave, regardless of the slave address.
This value counts the number of times a sync error occurs.
The error occurs when extra bytes are received before the
start bytes (0x05 and 0x64) are received.
This value counts the number of times the overrun error
occurs. This error occurs when the mainline Data Link Layer
routine cannot read the data received on the communication
port before it is overwritten.
This value counts the number of times an invalid length byte
is received. If the length of the message does not match the
length value in the message, this error occurs.
This value counts the number of times a bad CRC value is
received in a message.
This value counts the number of times the application layer
receives a message fragment buffer which is too small.
This value counts the number of times the sequence
numbers of multi-frame request fragments do not increment
correctly.
This value counts the number of times the source addresses
contained in a multi-frame request fragments do not match.
This value contains the total number of binary input events
which have occurred.
This value represents the number of binary input events
which are waiting to be sent to the master.
This value contains the total number of analog input events
which have occurred.
This value represents the number of analog input events
which are waiting to be sent to the master.
This value counts the number of times a bad function code
for a selected object/variation is received by the slave
device.
This value counts the number of times a request for an
unsupported object is received by the slave device.
Page 30 of 100 ProSoft Technology, Inc.
September 22, 2008
Loading...
+ 70 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.