Mvi69 DNP User Manual
Mvi69 DNP User Manual
Mvi69 DNP User Manual
11/3/2008
USER MANUAL
Please Read This Notice
Successful application of this module requires a reasonable working knowledge of the Rockwell Automation
CompactLogix or MicroLogix hardware, the MVI69-DNP 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.
Contents
1 Start Here 9
1.1 System Requirements ............................................................................................... 9
1.2 Package Contents ................................................................................................... 10
1.3 Setting Jumpers ...................................................................................................... 11
1.4 Install the Module in the Rack ................................................................................. 12
1.5 Connect your PC to the Processor.......................................................................... 15
1.6 Download the Sample Program to the Processor................................................... 16
1.7 Connect your PC to the Module .............................................................................. 19
3 Ladder Logic 41
3.1 Module Data Objects............................................................................................... 41
3.2 Special Objects ....................................................................................................... 45
3.3 Adding the Module to an Existing CompactLogix Project ....................................... 47
3.4 Adding the Module to an Existing MicroLogix Project............................................. 50
5 Reference 69
5.1 Product Specifications............................................................................................. 69
5.2 Functional Overview................................................................................................ 72
5.3 Cable Connections .................................................................................................. 89
5.4 Error Status Table ................................................................................................... 95
5.5 Internal Indication Word ........................................................................................103
5.6 DNP V3.00 Device Profile Document....................................................................104
Index 127
Introduction → Start Here (page 9) This Section introduces the customer to the
(Must Do) module. Included are: package contents,
system requirements, hardware installation, and
basic configuration.
Support, Service, and → Support, Service This section contains Support, Service and
Warranty and Warranty (page Warranty information.
Index 119) Index of chapters.
1 Start Here
In This Chapter
System Requirements ............................................................................. 9
Package Contents ................................................................................. 10
Setting Jumpers .................................................................................... 11
Install the Module in the Rack ............................................................... 12
Connect your PC to the Processor ........................................................ 15
Download the Sample Program to the Processor.................................. 16
Connect your PC to the Module ............................................................ 19
Caution: It is important that those responsible for implementation can complete the
application without exposing personnel, or equipment, to unsafe or inappropriate working
conditions. Safety, quality and experience are key factors in a successful installation.
Pentium® II 450 MHz minimum. Pentium III 733 MHz (or better)
recommended
Supported operating systems:
o Microsoft Windows XP Professional with Service Pack 1 or 2
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)
CD-ROM drive
HyperTerminal or other terminal emulator program capable of file transfers
using Ymodem protocol.
Important: Before beginning the installation, please verify that all of the following items are
present.
Qty. Part Name Part Number Part Description
1 MVI69-DNP MVI69-DNP DNP 3.0 Master/Slave Communication Module
Module
1 Cable Cable #15, RS232 For RS232 Connection to the CFG Port
Null Modem
3 Cable Cable #14, RJ45 to For DB9 Connection to Module's Port
DB9 Male Adapter
cable
2 Adapter 1454-9F Two Adapters, DB9 Female to Screw Terminal. For
RS422 or RS485 Connections to Port 1 and 2 of the
Module
1 ProSoft Contains sample programs, utilities and
Solutions CD documentation for the MVI69-DNP module.
If any of these components are missing, please contact ProSoft Technology
Support for replacement parts.
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.
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 Align the module using the upper and lower tongue-and-groove slots with the
adjacent module and slide forward in the direction of the arrow.
2 Move the module back along the tongue-and-groove slots until the bus
connectors on the MVI69 module and the adjacent module line up with each
other.
3 Push the module's bus lever back slightly to clear the positioning tab and
move it firmly to the left until it clicks. Ensure that it is locked firmly in place.
5 Press the DIN rail mounting area of the controller against the DIN rail. The
latches will momentarily open and lock into place.
2 Connect the straight connector end of the cable to the serial port on your
computer.
Important: For most applications, the sample program will work without modification.
Note: The key switch on the front of the CompactLogix processor must be in the REM position.
1 If you are not already online to the processor, open the Communications
menu, and then choose Download. RSLogix will establish communication
with the processor.
2 When communication is established, RSLogix will open a confirmation dialog
box. Click the Download button to transfer the sample program to the
processor.
3 RSLogix will compile the program and transfer it to the processor. This
process may take a few minutes.
4 When the download is complete, RSLogix will open another confirmation
dialog box. 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.
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.
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 Allen-Bradley DF1 Communications Device 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.
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.
In This Chapter
Configuration File .................................................................................. 21
MVI69-DNP Communication Module Configuration .............................. 23
Slave List............................................................................................... 29
Command List ....................................................................................... 29
Uploading and Downloading the Configuration File............................... 34
The Parameter must be followed by a [:] (colon) character. The text following the
[:] is a Value.
The module ignores "comment" text following the [#] character. Use comments to
document your configuration settings.
You can get a sample configuration file for the module in the following places:
Copy (page 34) the DNP.CFG from the module's flash memory to your PC
Copy the DNP.CFG from the ProSoft Solutions CD-ROM supplied with the
module
Download the DNP.CFG from the ProSoft Technology web site at
http://www.prosoft-technology.com
ProSoft Technology, Inc. Page 21 of 129
November 3, 2008
MVI69-DNP ♦ CompactLogix or MicroLogix Platform Configuring the MVI69-DNP Module
DNP 3.0 Master/Slave Communication Module
5 In the Open dialog box, select "All Files" in the Files of Type: dropdown list.
Tip: Sample configuration files are stored under the LadderLogic folder on the ProSoft Solutions
CD-ROM.
6 Navigate to the folder containing the configuration file, and then select the file
to edit.
7 Click Open to open the file.
8 When you have finished editing, save the file and close Notepad.
Important: Changes to the configuration file will not take effect until you download the file to the
module, and then reboot the module.
[Section]/Item Description
[DNP Slave Binary Inputs] DNP database binary input override values
# This area is to override the class assignment for binary input database points. Enter list of points between the
# START and END labels.
#
# Point# Class
START
END
[Section]/Item Description
[DNP Slave Analog Inputs] DNP database analog input override values
START
# This area is to override the class and deadband assignment for analog input database points.
# Enter list of points between the START and END labels.
#
# Point# Class Deadband
START
END
[Section]/Item Description
[DNP Slave Float Inputs] DNP database floating-point input override values
# This area is to override the class and deadband assignment for float input database points.
# Enter list of points between the START and END labels.
#
# Point# Class Deadband
[Section]/Item Description
START
END
[Section]/Item Description
[DNP Master Slave List] Definition of the IED units to be interfaced with the
DNP master port if utilized
# This section stores information about each slave to be used by the master port.
# There must be an entry in this table for each node to be used in the command list.
# Two of the parameters in this list are coded values:
# Conf Mode ==> 0=Never, 1=Sometimes and 2=Always (select 0).
# Flags is bit coded as follows:
# Bit 0 (decimal 1) ==> Enable the slave
# Bit 1 (decimal 2) ==> Use Unsolicited messaging with this slave
# Bit 2 (decimal 4) ==> Use delay measurement with this slave
# Bit 3 (decimal 8) ==> Auto time synchronization enabled
#
# Node DL Conf Conf Conf App Rsp
# Address Mode Timeout Retry Timeout Flags
START
END
[Section]/Item Description
[DNP Master Commands] Definition of the commands to be issued to the IED
units by the DNP master port.
# This section contains the list of commands to process on the master port.
# Node addresses present in the command list must have an entry in the
# [DNP Slave List]. Commands with nodes not present in the list will not be
# executed.
# 1 2 3 4 5 6 7 8 9 10
#Flags/ Node Data Data Cmd Device Point DNP DB IED DB Poll
#Enable Address Object Variation Func Address Count Address Address Interval
START
END
Cold Restart Warm Restart Enable Unsol. Msg Disable Unsol. Msg
0 Port/Flags Port/Flags Port/Flags Port/Flags
1 Slave Address Slave Address Slave Address Slave Address
2 0 0 0 0
3
4 13 14 20 21
5
6 1 1 1 1
7
8
9
* Value assumed
[ ] Automatically implemented Word Offset Definitions
0 Port/Flags
1 Slave Address
2 Object
3 Variation
4 Function
5 Address in Slave
6 Point Count
7 DNP DB Address
8 IED DB Address
9 Poll Interval
Commands are issued based on the following criteria:
Commands Issued Each Scan Enabled
Poll Interval = 0
BO & AO have Exception Bit = 0
Commands Issued at Poll Time Enabled
Poll Interval > 0
BO and AO have Exception Bit = 0
Commands Issued on Data Change (BO and Enabled
AO) BO and AO have Exception Bit = 1
Commands Issued by PLC
2.4.2 Object
This parameter specifies the DNP object type in the command. Valid objects for
the module are 1, 2, 12, 20, 21, 30, 32, 41, 50, 60 and 80. A value of 0 is
permitted in this field for a set of special commands.
2.4.3 Variation
This parameter is specific to the object type selected.
2.4.4 Function
This parameter specifies the DNP function for the command list object. The
object type determines the value of the functions permitted. For example, the
only function permitted for binary input data points is the read function (Function
Code 1). For counter and output objects, more functions are available.
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 53).
3 Press [Y]. The screen now indicates that the module is ready to send.
4 From the Transfer menu in HyperTerminal, select Receive File. This action
opens the Receive File dialog box.
5 Use the Browse button to choose a folder on your computer to save the file,
and then click Receive.
Note: ProSoft Technology suggests that you download the configuration file pre-loaded on
your module. However, configuration files are also available on the ProSoft CD as well as the
ProSoft Technology web site at http://www.prosoft-technology.com.
When the configuration file has been transferred to your PC, the dialog box
will indicate that the transfer is complete.
6 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.
Important: You must name this file DNP.CFG before you transfer it to the module. The module will
not recognize configuration files with any other name or extension.
3 Press [Y]. The screen now indicates that the PC is ready to send.
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 are also available on the ProSoft CD as well as the
ProSoft Technology web site.
When the upload is complete, the screen indicates that the module has
reloaded program values and displays information about the module.
8 Your module now contains the new configuration. Press [?] to see the
module's main menu.
3 Ladder Logic
In This Chapter
Module Data Objects ............................................................................. 41
Special Objects ..................................................................................... 45
Adding the Module to an Existing CompactLogix Project ...................... 47
Adding the Module to an Existing MicroLogix Project............................ 50
Ladder logic is required for application of the MVI69-DNP 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.
Important: The following steps describe how to install and configure the MVI69-DNP module with
RSLogix 5000 version 15 or older. If you are using RSLogix 5000 version 16, please refer to
Sample Add-On Instruction Import Procedure.
Important: The MVI69-DNP module has a power supply distance rating of 2 (L43 and L45
installations on first 2 slots of 1769 bus)
If you are installing and configuring the module with a CompactLogix processor,
follow these steps. If you are using a MicroLogix processor, refer to the next
section.
1 Add the MVI69-DNP module to the project. Right-click the mouse button on
the I/O Configuration option in the Controller Organization window to display
a pop-up menu. Select the New Module option from the I/O Configuration
menu.
2 Select the 1769-Module (Generic 1769 Module) from the list and click OK.
3 Enter the Name, Description and Slot options for your application, using the
values in the illustration above. You must select the Comm Format as Data -
INT in the dialog box, otherwise the module will not communicate over the
backplane of the CompactLogix rack.
Click OK to continue.
4 Select the Request Packet Interval value for scanning the I/O on the module.
This value represents the minimum frequency the module will handle
scheduled events. This value should not be set to less than 1 millisecond.
Values between 1 and 10 milliseconds should work with most applications.
5 Save the module. Click OK to dismiss the dialog box. The Controller
Organization window now displays the module's presence. The following
illustration shows the Controller Organization window:
Note: The RSLogix software must be in "offline" mode to add the module to a project.
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 existing application, you can copy the necessary
elements from the example ladder logic into your application.
3 On the I/O Configuration dialog box, select "Other - Requires I/O Card Type
ID" at the bottom of the list in the right pane, and then double-click to open
the Module dialog box.
4 Enter the values shown in the following illustration to define the module
correctly for the MicroLogix processor, and then click OK to save your
configuration.
The input words and output words parameter will depend on the Block
Transfer Size parameter you specify in the configuration file. Use the values
from the following table.
Block Transfer Size Input Words Output Words
60 62 61
120 122 121
240 242 241
5 Click Next to continue.
6 After completing the module setup, the I/O configuration dialog box will
display the module's presence.
The last step is to add the ladder logic. If you are using the example ladder logic,
adjust the ladder to fit your application. Refer to the example Ladder Logic
section in this manual.
Download the new application to the controller and place the processor in run
mode. If you encounter errors, refer to Diagnostics and Troubleshooting (page
53) for information on how to connect to the module's Config/Debug port to use
its troubleshooting features.
In This Chapter
Reading Status Data from the Module .................................................. 53
LED Status Indicators............................................................................ 66
Navigation
All of the sub-menus for this module contain commands to redisplay the menu or
return to the previous menu. You can always return from a sub-menu to the next
higher menu by pressing [M] on your keyboard.
The organization of the menu structure is represented in simplified form in the
following illustration:
The remainder of this section shows you the menus available for this module,
and briefly discusses the commands available to you.
Keystrokes
The keyboard commands on these menus are almost always non-case sensitive.
You can enter most commands in lower case or capital letters.
The menus use a few special characters ([?], [-], [+], [@]) that must be entered
exactly as shown. Some of these characters will require you to use the [Shift],
[Ctrl] or [Alt] keys to enter them correctly. For example, on US English
keyboards, enter the [?] command as [Shift][/].
Also, take care to distinguish capital letter [I] from lower case letter [l] (L) and
number [1]; likewise for capital letter [O] and number [0]. Although these
characters look nearly the same on the screen, they perform different actions on
the module.
Caution: Some of the commands available to you from this menu are designed for advanced
debugging and system testing only, and can cause the module to stop communicating with the
processor or with other devices, resulting in potential data loss or other failures. Only use these
commands if you are specifically directed to do so by ProSoft Technology Technical Support staff.
Some of these command keys are not listed on the menu, but are active nevertheless. Please be
careful when pressing keys so that you do not accidentally execute an unwanted command.
Caution: Some of the commands available to you from this menu are designed for advanced
debugging and system testing only, and can cause the module to stop communicating with the
processor or with other devices, resulting in potential data loss or other failures. Only use these
commands if you are specifically directed to do so by ProSoft Technology Technical Support staff.
Some of these command keys are not listed on the menu, but are active nevertheless. Please be
careful when pressing keys so that you do not accidentally execute an unwanted command.
Press [R] from the Main Menu to warm boot (restart) the module. This command
will cause the program to exit and reload, refreshing configuration parameters
that must be set on program initialization. Only use this command if you must
force the module to re-boot.
Tip: Repeat this command at one-second intervals to determine the frequency of program
execution.
Tip: Repeat this command at one-second intervals to determine the number of blocks transferred
each second.
The following illustration shows the output for the Analog data set (menu key [1])
Use the number keys 1 to 6 to select the display of the data type you wish to
view. For example, if the '1' key is pressed, the following is displayed:
This screen displays the current page of 100 registers in the database.
4.2.2 Troubleshooting
Use the following troubleshooting steps if you encounter problems when the
module is powered up. If these steps do not resolve your problem, please contact
ProSoft Technology Technical Support.
Processor Errors
Problem Description Steps to take
Processor Fault Verify that the module is plugged into the slot that has been configured for
the module.
Verify that the slot in the rack configuration has been set up correctly in the
ladder logic.
Processor I/O LED This indicates a problem with backplane communications. Verify that all
flashes modules in the rack are configured in the ladder logic.
Module has a power supply distance rating of 2 on Compact Logix. The
module must be within 2 slots of the power supply on Compact Logix, or that
the MicroLogix backplane can supply the 800ma required for the module.
Module Errors
Problem Description Steps to take
BP ACT LED remains This indicates that backplane transfer operations are failing. Connect to the
off or blinks slowly module's Configuration/Debug port to check this.
To establish backplane communications, verify the following items:
The processor is in Run mode.
The backplane driver is loaded in the module.
The module is configured for read and write block data transfer.
The ladder logic handles all read and write block situations.
The module is configured in the processor.
OK LED remains red The program has halted or a critical error has occurred. Connect to the
Configuration/Debug port to see if the module is running. If the program has
halted, turn off power to the rack, remove the card from the rack and re-
insert the card in the rack, and then restore power to the rack.
5 Reference
In This Chapter
Product Specifications ........................................................................... 69
Functional Overview.............................................................................. 72
Cable Connections ................................................................................ 89
Error Status Table ................................................................................. 95
Internal Indication Word....................................................................... 103
DNP V3.00 Device Profile Document .................................................. 104
DNP Subset Definition - Slave............................................................. 105
DNP Subset Definition - Master........................................................... 112
Module Power Up
On power up the module begins performing the following logical functions:
1 Initialize hardware components.
o Initialize CompactLogix or MicroLogix backplane driver.
o Test and Clear all RAM.
o Initialize the serial communication ports.
o Initialize the TCP/IP stack and Ethernet interface.
2 Read module configuration from DNP.CFG file on Compact Flash disk or
Flash RAM (depending on hardware configuration).
3 Initialize the Module Register Space.
4 Enable Client and/or Server driver on selected ports, as configured.
When this initialization procedure is complete, the module will begin
communicating with other nodes on the network, depending on the configuration.
All data transferred between the module and the processor over the backplane is
through the input and output images. Ladder logic must be written in the
CompactLogix processor to interface the block data with user data files. All data
used by the module is stored in its internal database. The following illustration
shows the layout of the database:
Note: Block identification codes -1 and -2 are dummy blocks. The PLC should ignore any blocks
with these numbers as data does not represent any valid information in the module. The DNP
application will ignore any write blocks with these numbers.
Read Block
These blocks of data transfer information from the module to the CompactLogix
processor. The structure of the input image used to transfer this data is shown
below:
Offset Description
0 Read Block ID
1 Write Block ID
2 to 61 Read Data
The Read Block ID is an index value used to determine the location of where the
data will be placed in the CompactLogix processor controller tag array of module
read data. Each transfer can move up to 60 words (block offsets 0 to 61) of data.
The Write Block ID associated with the block requests data from the
CompactLogix processor. Under normal, program operation, the module
sequentially sends read blocks and requests write blocks. For example, if three
read and two write blocks are used with the application, the sequence will be as
follows:
R1W1 R2W2 R3W1 R1W2 R2W1 R3W2 R1W1
This sequence will continue until interrupted by other write block numbers sent by
the controller or by a command request from a node on the DNP network or
operator control through the module's Configuration/Debug port.
The following example shows a typical backplane communication application.
Write Block
These blocks of data transfer information from the CompactLogix or MicroLogix
processor to the module. The structure of the output image used to transfer this
data is shown below:
Offset Description
0 Write Block ID
1 to 60 Write Data
61 Spare
The Write Block ID is an index value used to determine the location in the
module's database where the data will be placed as defined in the table
presented in the previous section. Each transfer can move up to 60 words (block
offsets 1 to 60) of data.
The following fields are used for each 10-word record in the command list:
Word Offset Definitions Description
0 Port/Flags This field is currently ignored as all 9901 blocks
are sent immediately out the master port.
1 Slave Address This is the IED node address for the slave to
consider on the network.
2 Object Object type always 12
3 Variation Variation always 1
4 Function Function codes 3, 5 and 6 supported. Function
code 4 is automatically sent after a successful
function 3.
5 Address in Slave Point in IED to consider with the CROB.
6 Control Code This is a standard DNP protocol control code byte
(see description below).
7 Pulse Count This parameter specifies the number of pulses to
generate for pulse output control. This parameter
has a range of 0 to 255 as the value is a byte
parameter in the CROB. If a value of zero is
entered, the operation will not execute.
8 Pulse On Time This parameter specifies the on-time interval for
pulse control.
9 Pulse Off Time This parameter specifies the off-time interval for
pulse control.
The control code in the command is a bit coded byte value with the following
definition:
Bits Definitions Description
0 to 3 Code These bits determine the control operation to be
performed by the command: 0=No operation,
1=Pulse on, 2=Pulse off, 3=Latch on and 4=Latch
off. All other values are undefined in the DNP
protocol.
4 Queue 0=Normal (execute once), 1=Requeue (place at
end of queue after operation).
5 Clear This parameter clears the queue. If the value is
set to zero, the queue is not affected. If the value
is set to 1, the queue will be cleared.
6 to 7 Trip/Close These two bits select the trip or close relay. For
close relay control, set the bits to 01. For trip
relay control, set the bits to 10. A value of 00 for
the bits is used for single point control of normal
digital output points.
The module responds to a valid request with a block 9949 containing the
requested slave information. The following example shows the format of the
block:
Block Format for Read
Word Offset in Block Data Field(s) Description
0 Block ID This field contains the value of 9949 identifying
the block type to the PLC.
1 Block ID This is the next block requested by the module.
2 Slave Count This field contains the number of slave records
contained in the block that must be processed by
the PLC. This field will have a value of 1 to 7.
3 Slave Start Index This field contains the index in the slave array for
the first record in the file. This field will have a
value of 0 to MaxSlaves-1.
4 to 11 Slave Data #1 This is the slave data for the first slave in the
block. The slave index for the data is the Slave
Start Index given in word 3.
12 to 19 Slave Data #2 This is the slave data for the second slave in the
block.
20 to 27 Slave Data #3 This is the slave data for the third slave in the
block.
28 to 35 Slave Data #4 This is the slave data for the third slave in the
block.
36 to 43 Slave Data #5 This is the slave data for the third slave in the
block.
44 to 51 Slave Data #6 This is the slave data for the third slave in the
block.
52 to 59 Slave Data #7 This is the slave data for the third slave in the
block.
60 to 61 Spare Not Used
The module responds to a valid request with a block containing the requested
error information. The format of the block is shown in the following example:
Block Format for Read
Word Offset in Block Data Field(s) Description
0 Block ID This field contains the value of 9950 identifying
the block type to the PLC.
1 Block ID This is the next block requested by the module.
2 Number of Commands This field contains the number of commands
reported contained in the block that must be processed
by the PLC. This field will have a value of 1 to
58.
3 Start Index of First This field contains the index in the command list
Command for the first value in the file. This field will have a
value of 0 to MaxCommands-1.
4 to 61 Command List Errors Each word of this area contains the last error
value recorded for the command. The command
index of the first value (offset 4) is specified in
word 3 of the block. The number of valid
command errors in the block is set in word 2 of
the block. Refer to the command error list to
interpret the error codes reported.
Warm Boot
This block is sent from the CompactLogix or MicroLogix processor to the module
(output image) when the module is required to perform a warm-boot (software
reset) operation. This block is commonly sent to the module any time
configuration data modifications are made in the controller tags data area. This
will force the module to read the new configuration information and to restart. The
structure of the control block is shown below:
Offset Description Length
0 9998 1
1 to 63 Spare 63
Cold Boot
This block is sent from the CompactLogix processor to the module (output
image) when the module is required to perform the cold boot (hardware reset)
operation. This block is sent to the module when a hardware problem is detected
by the ladder logic that requires a hardware reset. The structure of the control
block is shown in the following table.
Offset Description Length
0 9999 1
1 to 63 Spare 63
Slave Driver
The Slave Driver mode allows the MVI69-DNP module to respond to data read
and write commands issued by a Master on the DNP network. The following flow
chart and associated table describe the flow of data into and out of the module.
Step Description
1 The slave port driver receives the configuration information from the configuration file.
This information configures the serial port and define the slave node characteristics.
Additionally, the configuration information contains data that can be used to offset data in
the database to addresses requested in messages received from master units.
2 A host device (DNP Master Unit) issues a read or write command to the module's node
address. The port driver qualifies the message before accepting it into the module.
3 After the module accepts the command, the data is immediately transferred to or from
the internal database in the module. If the command is a read command, the data is read
out of the database and a response message is built. If the command is a write
command, the data is written directly into the database and a response message is built.
4 After the data processing has been completed in Step 3, the response is issued to the
originating master node.
5 Counters are available in the Status Block that permit the ladder logic program to
determine the level of activity of the Slave Driver.
Review the Installing and Configuring the Module section for a complete list of
parameters that must be defined for a slave port. The response messages from
the slave driver include an IIN (internal indication word) defined in the Reference
chapter - Internal Indication Word.
The slave driver supports Object 110 (octet string data). Four points are pre-
assigned values as shown in the following table.
OCTET STRING POINT LIST
Point # Description
0 Module Name as assigned in configuration file.
1 Product Name
2 Version Information in format:
wwww xxxx yyyy zzzz
Where wwww is product code, xxxx is the revision, yyyy is the operating
system number and zzzz is the run number.
3 Manufacturer name for module.
Step Description
1 The Master driver obtains configuration data from the configuration file. The configuration
data obtained includes the Master Slave and Command Lists. These values are used by
the Master driver to determine the type of commands to be issued to other nodes on the
DNP network.
2 After configuration, the Master driver begins transmitting read and/or write commands to
the other nodes on the network. If writing data to another node, the data for the write
command is obtained from the module's internal database to build the command.
3 Presuming successful processing by the node specified in the command, a response
message is received into the Master driver for processing.
4 Data received from the node on the network is passed into the module's internal
database, assuming a read command.
5 Status data is returned to the CompactLogix processor for each command in the Master
Command List.
Refer to the Installing and Configuring the Module section for a complete
description of the parameters required to define the virtual DNP Master port.
Note: When using RS-232 with radio modem applications, some radios or modems require
hardware handshaking (control and monitoring of modem signal lines). Enable this in the
configuration of the module by setting the UseCTS parameter to 1.
3 Notice how the DF1 driver is opened, and the driver is looking for a processor
on node 1. If the network is being browsed, then you will not be able to stop
this driver. To stop the driver your RSWho screen should look like this:
4 When you have verified that the driver is not being browsed, go to
Communications>Configure Drivers
You may see something like this:
If you see the status as running, you will not be able to use this com port for
anything other than communication to the processor. To stop the driver press
the "Stop" on the side of the window:
5 After you have stopped the driver you will see the following:
6 Upon seeing this, you may now use that com port to connect to the debug
port of the module.
Note: You may need to shut down and restart your PC before it will allow you to stop the driver
(usually only on Windows NT machines). If you have followed all of the above steps, and it will not
stop the driver, then make sure you do not have RSLogix open. If RSLogix is not open, and you
still cannot stop the driver, then reboot your PC.
5.3.2 RS-232
When the RS-232 interface is selected, the use of hardware handshaking
(control and monitoring of modem signal lines) is user definable. If no hardware
handshaking will be used, the cable to connect to the port is as shown below:
The "Use CTS Line" parameter for the port configuration should be set to 'Y' for
most modem applications.
Note: If the port is configured with the "Use CTS Line" set to 'Y', then a jumper is required between
the RTS and the CTS line on the module connection.
5.3.3 RS-422
5.3.4 RS-485
The RS-485 interface requires a single two or three wire cable. The Common
connection is optional and dependent on the RS-485 network. The cable required
for this interface is shown below:
Note: Terminating resistors are generally not required on the RS-485 network, unless you are
experiencing communication problems that can be attributed to signal echoes or reflections. In this
case, install a 120 ohm terminating resistor on the RS-485 line.
Queue : Never
Clear Queue : Never
Reports Binary Input Change Events when no specific Reports time-tagged Binary Input Change Events when no
variation requested: specific variation requested:
Only time-tagged Binary Input Change with Time
Sends Unsolicited Responses: Sends Static Data in Unsolicited Responses:
This is configurable at module start-up. If the number of Never
events for the Binary or Analog Input Events is greater
than 0, unsolicited responses are supported. Use the
Enable/Disable Unsolicited function code from the DNP
master for control.
Default Counter Object/Variation: Counters Roll Over at:
Object : 20 32 Bits
Variation :5
Sends Multi-Fragment Responses: Yes
In This Chapter
How to Contact Us: Technical Support................................................ 119
Return Material Authorization (RMA) Policies and Conditions............. 120
LIMITED WARRANTY......................................................................... 122
Asia Pacific
+603.7724.2080, support.asia@prosoft-technology.com
(mailto:support.asia@prosoft-technology.com)
Languages spoken include: Chinese, English
b) This Warranty does not cover the failure of the Product to perform
specified functions, or any other non-conformance, defects, losses or
damages caused by or attributable to any of the following: (i) shipping; (ii)
improper installation or other failure of Customer to adhere to ProSoft's
specifications or instructions; (iii) unauthorized repair or maintenance; (iv)
attachments, equipment, options, parts, software, or user-created
programming (including, but not limited to, programs developed with any
IEC 61131-3, "C" or any variant of "C" programming languages) not
furnished by ProSoft; (v) use of the Product for purposes other than those
for which it was designed; (vi) any other abuse, misapplication, neglect or
misuse by the Customer; (vii) accident, improper testing or causes
external to the Product such as, but not limited to, exposure to extremes
of temperature or humidity, power failure or power surges; or (viii)
disasters such as fire, flood, earthquake, wind and lightning.
c) The information in this Agreement is subject to change without notice.
ProSoft shall not be liable for technical or editorial errors or omissions
made herein; nor for incidental or consequential damages resulting from
the furnishing, performance or use of this material. The user guide
included with your original product purchase from ProSoft contains
information protected by copyright. No part of the guide may be duplicated
or reproduced in any form without prior written consent from ProSoft.
** Some areas do not allow time limitations on an implied warranty, or allow the exclusion or
limitation of incidental or consequential damages. In such areas, the above limitations may not
apply. This Warranty gives you specific legal rights, and you may also have other rights which vary
from place to place.
B E
Backplane Data Transfer • 73 Editing the Configuration File • 22
Battery Life Advisory • 2 Error Status Table • 95
Block 9901 - Event Command • 77
Block 9902 - Command Control Block • 79 F
Block 9903 - Event Message Block • 79 First Byte • 103
Block 9949 - Read Slave Communication Error Table • Function • 33
80 Functional Overview • 7, 72
Block 9950 - Read Command Error List • 81 Functional Specifications • 70
Block 9958 - Processor Binary Input Event • 82
Block 9959 - Processor Analog Input Event • 83 G
Block 9970 - Set Processor Time Using Module Time •
84 General Command Errors • 101
Block 9971 - Set Module's Time Using the Processor's General Concepts • 72
Time • 85 General Specifications • 69
Block Format for Read • 78, 79, 81, 82, 83, 84, 85 Guide to the MVI69-DNP User Manual • 7
Block Format for Write • 77, 79, 80, 81, 82, 83, 84, 85
H
C Hardware Specifications • 70
Cable Connections • 89 How to Contact Us
Clearing a Fault Condition • 67 Technical Support • 119, 120
Clearing the Error List • 57
Cold Boot • 86
I
Command Control Blocks • 77 IED DB Address • 33
Command Error Codes • 101 Install the Module in the Rack • 12
Command List • 29 Intellectual Property Indemnity • 123
Configuration File • 21 Internal Indication Word • 103
Configuring RSLinx • 17
Configuring the MVI69-DNP Module • 21 K
Connect your PC to the Module • 19
Keystrokes • 54
Connect your PC to the Processor • 15
Controlling Law and Severability • 125 L
D Ladder Logic • 41
LED Status Indicators • 7, 66
Data Flow between MVI69-DNP Module and
Limitation of Remedies ** • 124
CompactLogix Processor • 87
LIMITED WARRANTY • 121, 122
DB9 to RJ45 Adaptor (Cable 14) • 94
Diagnostics and Troubleshooting • 7, 51, 53 M
Disabling the RSLinx Driver for the Com Port on the
PC • 55, 90 Main Logic Loop • 72
Disclaimer of all Other Warranties • 124 Main Menu • 56
Disclaimer Regarding High Risk Activities • 123 Master Command Error List Menu • 65
W
Warm Boot • 86
Warm Booting the Module • 57
What Is Covered By This Warranty • 122, 124
What Is Not Covered By This Warranty • 122
Write Block • 77
Y
Your Feedback Please • 2