Solid state equipment has operational characteristics differing from those of
electromechanical equipment. Safety Guidelines for the Application,
Installation and Maintenance of Solid State Controls (publication SGI-1.1
available from your local Rockwell Automation sales office or online at
http://literature.rockwellautomation.com) describes some important
differences between solid state equipment and hard-wired electromechanical
devices. Because of this difference, and also because of the wide variety of
uses for solid state equipment, all persons responsible for applying this
equipment must satisfy themselves that each intended application of this
equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for
indirect or consequential damages resulting from the use or application of
this equipment.
The examples and diagrams in this manual are included solely for illustrative
purposes. Because of the many variables and requirements associated with
any particular installation, Rockwell Automation, Inc. cannot assume
responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to
use of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without
written permission of Rockwell Automation, Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware
of safety considerations.
WARNING
IMPORTANT
ATTENTION
SHOCK HAZARD
BURN HAZARD
Identifies information about practices or circumstances that can cause
an explosion in a hazardous environment, which may lead to personal
injury or death, property damage, or economic loss.
Identifies information that is critical for successful application and
understanding of the product.
Identifies information about practices or circumstances that can lead
to personal injury or death, property damage, or economic loss.
Attentions help you identify a hazard, avoid a hazard, and recognize
the consequence
Labels may be on or inside the equipment, for example, a drive or
motor, to alert people that dangerous voltage may be present.
Labels may be on or inside the equipment, for example, a drive or
motor, to alert people that surfaces may reach dangerous
temperatures.
Summary of Changes
The information below summarizes the changes to this manual since
the last revision.
Revision bars in the margin identify updated information. The
following changes are included in this version of the document.
ChangePage
Added note that programming over a DeviceNet network is
available only with RSLogix 5/500-based controllers.
21
Added note that remote access to a DeviceNet network is
available only with RSLogix 5/500-based controllers.
This user manual introduces the DeviceNet Interface (DNI) and
explains the procedures you need to install, configure, and
commission the interface.
Use this manual if you are responsible for designing, installing,
programming, or troubleshooting control systems that use
Allen-Bradley controllers on a DeviceNet network.
You should have a basic understanding of Allen-Bradley
programmable controllers and DeviceNet technology. You should
understand programmable controllers and be able to interpret the
ladder logic instructions required to control your application. If you
do not, contact your local Allen-Bradley representative for information
on available training courses before using this product.
Text that isIdentifies
BoldEmphasis, not used within programming text
ItalicSoftware variables and configurable catalog numbers
courier
Example programming code, shown in a monospace font so
you can identify each character and space
7Publication 1761-UM005B-EN-P - October 2006
8 Preface
Additional Resources
ResourceDescription
MicroMentor, publication 1761-RM001Information on understanding and applying micro
In-depth information on grounding and wiring
Allen-Bradley programmable controllers
A glossary of industrial automation terms and
abbreviations
Overview
Chapter
1
Introduction
The DeviceNet interface is a standalone, DIN-rail or panel mounted,
intelligent DeviceNet-to-DF1 protocol-conversion device that lets
existing DF1 devices communicate on a DeviceNet network. The DF1
device exchanges I/O data with a Master device and originates and
receives DF1 encapsulated DeviceNet messages across a DeviceNet
network.
The DNI provides a single DeviceNet connection point and a single
RS-232 connection. The DeviceNet port is isolated from the DNI
digital logic and RS-232 port.
The primary functions of the DNI are:
• Collect or receive input data from the DF1 device connected on
its RS-232 port and forward that data to a connected master on
DeviceNet network.
• Monitor output data received from the DeviceNet master and
write that data to the DF1 device.
• Allow DF1 devices to send and receive messages across the
DeviceNet network.
Operating Modes
Device Compatibility
9Publication 1761-UM005B-EN-P - October 2006
The DNI can be used in either or both of the following modes.
• Peer-to-peer
• DeviceNet slave
The DNI can be used to interconnect the following devices.
• MicroLogix controllers
• DF1 Full Duplex compliant products, for example: PLC-5
programmable controllers, operator interface devices, and SLC
5/03™ and higher processors
10 Overview
Publication 1761-UM005B-EN-P - October 2006
Chapter
2
Quick Start
This chapter can help you to get started using the 1761-NET-DNI
DeviceNet Interface (DNI). We base the procedures here on the
assumption that you have an understanding of MicroLogix products.
You should understand electronic process control and be able to
interpret the ladder logic instructions required to generate the
electronic signals that control your application.
Because this is a start-up guide for experienced users, this chapter
does not contain detailed explanations about the procedures listed. It
does, however, reference other chapters in this book where you can
get more information.
Configure Peer-to-peer
Messaging
If you have any questions or are unfamiliar with the terms used or
concepts presented in the procedural steps, always read the
referenced chapters and other recommended documentation before
trying to apply the information.
Follow these steps to communicate with other controllers connected
to DNIs on a DeviceNet network.
1. Unpack and mount the DNI.
2. Connect the DNI to the DeviceNet network.
When power is first applied to the DNI, it resides at node 63 on
the network. The DNI out-of-box configuration is defaulted to
Autobaud; it synchronizes to the DeviceNet network baud rate.
3. Connect a DF1 device to the DNI.
The DF1 connection automatically enters the Autobaud mode; it
synchronizes to the attached DF1 device.
4. Connect to the DNI with your network configuration tool
(software such as the DNI Configuration Utility, RSNetWorx, or
DeviceNet Manager) and set the DNI to the desired node
number. This is called commissioning the DNI.
See Commissioning the DNI on page 58 for more details.
11Publication 1761-UM005B-EN-P - October 2006
12 Quick Start
IMPORTANT
If your network consists entirely of DNIs (no master is present),
you must disable Autobaud on at least one DNI. It is
recommended that all DNIs be manually set to a specific baud
rate. This is to prevent multiple DNIs from hunting for a baud
rate at power-up.
5. To exchange data with other controllers over a DeviceNet
network, configure a message instruction inside each controller’s
program.
See Programming Over the DeviceNet Network on page 21 for
more information.
6. To send data to a specific controller on the network, enter the
destination DNI’s DeviceNet node address into the destination
parameter of a message instruction. Think of each
DNI/Controller pair as one unit.
EXAMPLE
To send a message from controller A (plugged into DNI number
5) to controller B (plugged into DNI number 10), controller A
must have a message instruction with a destination node
address of 10.
See the application example MicroLogix as I/O on the
DeviceNet Network on page 69 for an example ladder program.
Publication 1761-UM005B-EN-P - October 2006
Configuring Master/Slave
Quick Start 13
I/O
IMPORTANT
Follow these steps to configure a DNI connected to a MicroLogix 1000
controller as a slave device to a DeviceNet master.
1. Unpack and mount the DNI.
2. Connect the DNI to the DeviceNet Network.
When power is first applied to the DNI, it resides at node 63 on
the network. The DNI out-of-box configuration is defaulted to
Autobaud; it synchronizes to the DeviceNet network baud rate.
3. Connect to the DNI with your network configuration tool
(software such as DeviceNet Manager or RSNetWorx) and set the
DNI to the desired node number. This is called node
commissioning.
4. Double-click on the DNI icon to open the DNI’s EDS.
You must have the DNI’s EDS (electronic data sheet) file and
bitmap file (or icon) loaded into your configuration software.
See DNI Software Files on page 53 and Setting Up Network
Configuration Software on page 55 for more information.
5. For DNI Series A: set DNI Mode (parameter 17) to Standby mode
(0).
For DNI Series B: set I/O Scan Enable (parameter 12) to disable
(0) (default).
6. Click Save to Device.
Publication 1761-UM005B-EN-P - October 2006
14 Quick Start
To configure a MicroLogix 1000 controller as a slave device to a
DeviceNet master, set the parameters as shown in the following table.
MicroLogix 1000 Controller Parameter Settings
Parameter NumberDescriptionRangeDefault ValueFor this Example,
Series ASeries B
41Input SizeSeries A: 1…16
Series B: 1…32
Not Applicable2Input Split Point1…321 word2 words
53Input TypeBit or Integer FileInteger FileInteger File
64Input Data File3…25477
75Input Word Offset0…254090
86Output SizeSeries A: 1…16
Series B: 1…32
98Output TypeBit or Integer FileInteger FileInteger File
109Output Data File3…25477
1110Output Word Offset0…254195
1411DF1 Device0…3:
0: Other
1: PLC
2: SLC/ Other
MicroLogix
3: MicroLogix 1000
312DNI Series A:
Data Enable
DNI Series B:
I/O Scan Enable
(Polling Enable)
1213DF1 HeartbeatSeries A: 2…10
1314Data Scan Delay
(Polling Delay)
215Message Timeout0…2500 ms0 ms0 ms
Not Applicable16DF1 Substitute Address0…6464 = Disabled64 = Disabled
In this configuration, the DNI provides two words (32 bits) of data.
The data is scanned (read), starting at address N7:90 of the attached
MicroLogix 1000 controller, at 100 msec intervals.
Data received (DeviceNet master output) is written to the MicroLogix
1000 controller whenever new (changed) data is detected by the DNI.
Two words of data will be written to Integer file 7, starting at word 95.
IMPORTANT
You must have the following rung programmed into the
MicroLogix 1000 controller:
N7:95
7
N7:90
7
At this point, the DNI is configured to be a slave on DeviceNet, but it
is not part of (owned by) a DeviceNet master/scanner.
To configure your DeviceNet scanner, refer to its manual. For the
1747-SDN, refer to the SLC 500 DeviceNet Scanner user manual,
publication 1747-UM655. For the 1771-SDN, refer to the PLC-5
DeviceNet Scanner user manual, publication 1771-UM118.
Publication 1761-UM005B-EN-P - October 2006
16 Quick Start
Publication 1761-UM005B-EN-P - October 2006
Operation
Chapter
3
Modes of Use
DeviceNet I/O
The DeviceNet Interface has three primary features.
• DeviceNet I/O
• Explicit Messaging
• Programming over DeviceNet network
IMPORTANT
The DNI is capable of being owned by a master on DeviceNet. This
functionality on DeviceNet is part of the I/O class of services, and
allows a master device to exclusively manage (own) another device’s
(a different node number) data and resources. This type of
relationship is functionally the same as a PLC with remote I/O. A PLC
uses the remote I/O chassis as distributed inputs and outputs. The
master/slave relationship on DeviceNet is exactly the same, except it
is being done over DeviceNet.
All input and output comments are referenced from
the perspective of the DeviceNet Master.
The amount of data available between devices that implement I/O
master/slave services is determined by the design of each device, and
is not a function of DeviceNet.
The DNI on DeviceNet is capable of handling 32 I/O words of data
with a DeviceNet I/O master for DNI Series A (64 for DNI Series B).
This is broken up into two data images: the input image and the
output image.
17Publication 1761-UM005B-EN-P - October 2006
18 Operation
Input Image
The input image is a configurable array of 16-bit data words. The
image is configurable from 1…16 data words for DNI Series A (1…32
data words for DNI Series B). The actual data that resides in the input
image is delivered to the DeviceNet master by one of three
mechanisms.
• Polled: Where the DeviceNet Master sends a poll request with
output data and the DNI responds with its current input data.
• COS (Change of State): Where the DNI detects that data has
changed within the input image and automatically sends the
data to the DeviceNet Master.
• Cyclic: The DNI continuously sends the input image data to the
master at a user/scanner-defined time interval, regardless of
whether the data has changed.
Network Configuration
Software
Output Image
The output image is a configurable array of 16-bit data words. The
image is configurable from 1…16 data words for DNI Series A (1…32
data words for DNI Series B). The actual data that resides in the
output image is delivered to the DNI from the master by one of two
mechanisms:
• Polled: Where the DeviceNet Master sends a poll request with
output data and the DNI responds with its current input data.
• COS (Change Of State): Where the DeviceNet Master detects that
data has changed within its output image and automatically
sends the data to the DNI.
• Cyclic: The DNI continuously receives the output image data
from the master at a user/scanner-defined time interval,
regardless of whether the data has changed.
All DNI I/O parameters are configured with software such as the DNI
Configuration Utility, RSNetWorx, or DeviceNet Manager and stored as
part of the network configuration.
Publication 1761-UM005B-EN-P - October 2006
Configuration software is covered in Setup, Programming, and
Troubleshooting on page 53.
Individual settings of the DNI are covered in DNI Configuration
Parameters and Programming Notes on page 27.
Operation 19
Messaging Services
The capabilities of each individual device determine what level of
messaging is supported. The types of messaging supported are:
• Explicit Assembly Messaging (DNI initiates, DNI Series B Only)
See Explicit Messaging (DNI Series B Only) on page 77 for more
information.
I/O Assembly Messaging
Two conditions must be met to access the I/O assemblies.
• Data Enable (DNI Series A) or I/O Scan Enable (DNI Series B)
must be enabled.
• The DF1 Device must be servicing the Heartbeat.
See DF1 Heartbeat on page 43 for information on using the
Heartbeat.
The following sections describe additional conditions based on the
DNI Series.
DNI Series A
DNI Series A supports explicit messaging to the master I/O assemblies
over DeviceNet at a minimal level. If the DNI is not owned by a
DeviceNet master, the DNI responds to explicit messaging gets and
accepts explicit messaging sets to the master I/O assembly. If the DNI
is owned by a DeviceNet master, it responds to gets, but cannot
accept sets. In either case, the data size must be 16 words, even if the
I/O size is smaller.
See page 65 to address DNI Series A assemblies.
DNI Series B
DNI Series B provides the above described functionality, except the
data size is equal to the configured I/O size. Additionally, DNI Series
B can respond to explicit messages over DeviceNet to its explicit I/O
assemblies whether it is owned by a DeviceNet master or not.
See page 66 to address DNI Series B assemblies.
DNI Series B can also perform get/set services with its new DeviceNet
messaging capability.
See page 77 for Explicit Messaging (DNI Series B Only).
Allen-Bradley controllers with RS-232 ports communicate via PCCC
messaging. The DNI encapsulates the PCCC messages to allow PCCC
messaging to operate over DeviceNet. This is an open,
non-proprietary protocol that can be implemented by anyone who
needs to exchange information with an Allen-Bradley controller.
The DNI is capable of receiving the DF1 protocol, and sending or
receiving it over DeviceNet. This enables any existing Allen-Bradley
device that is capable of DF1 communications to an Allen-Bradley
controller to use the DNI to communicate over DeviceNet.
For DNI Series A, the only stipulation is that the device has to be
capable of entering a destination node address (For DNI Series B, this
stipulation has been removed with the addition of the DF1 Substitute
Address parameter.). The DNI uses the DF1 destination node address
that is embedded in the DF1 packet to determine where on DeviceNet
it needs to send the information.
This DF1-to-DeviceNet capability lets you configure a peer-to-peer
network. By programming standard ladder logic message instructions,
with the destination address the same as the destination DNI (when
not using DNI Series B address substitution), the message is routed
across DeviceNet by the DNI. The following diagram illustrates the
types of messaging.
Messaging Overview
Running RSLogix 500
and/or DeviceNet
Manager
:
IBM Compatible
SLC
Rack
Node 3
KFD
1747-SDN
5/0x
Master/Slave I/O
Peer-to-Peer Messaging
DeviceNet Network
DNI Module
Node 1
Publication 1761-UM005B-EN-P - October 2006
Node 2
Also see Explicit Messaging (DNI Series B only) on page 80 for DNI
Series B.
Operation 21
Programming Over the
DeviceNet Network
IMPORTANT
Programming over a DeviceNet network via the DNI
is available only with RSLogix 5/500-based
controllers such as PLC-5, SLC, and MicroLogix.
Local Access to a DeviceNet Network
PCCC/DF1 messaging allows programming devices to connect to a
DeviceNet network, and upload/download/monitor and even edit
programs if the controller attached to the destination DNI supports
that functionality. Rockwell Software RSLogix 500/RSLinx (version 2
and higher) users can connect directly to the DeviceNet network using
a KFD, PCD, or PCI interface.
DeviceNet
KFD
PC
Upload/Download
Monitoring
DNI Configuration
Cable
MicroLogix
Controller
You can also use a DNI connected to the computer’s RS-232 port to
upload/download to other controllers connected to DNIs on a
DeviceNet network.
RS-232 Port DeviceNet Connection
RS-232
DF1
PC
Upload/Download
Monitoring
DNI Configuration
DeviceNet
Cable
DNI Module
MicroLogix
Controller
Publication 1761-UM005B-EN-P - October 2006
22 Operation
Remote Access to DeviceNet (Modems)
IMPORTANT
Remote access to a DeviceNet network via the DNI is
available only with RSLogix 5/500-based controllers
such as PLC-5, SLC, and MicroLogix.
If users need to dial into a DeviceNet network and have access to
controllers connected to DNIs, they can plug a DNI into a modem.
Now users can dial into the modem and have access to all
DNI/controllers from a remote site.
Remote Access to DeviceNet
DNI Module
PC
Modem
DeviceNet
Cable
MicroLogix
Controller
Publication 1761-UM005B-EN-P - October 2006
Installation and Wiring
Chapter
4
European Communities (EC)
Directive Compliance
This product has the CE mark and is approved for installation within
the European Union and EEA regions. It has been designed and tested
to meet the following additional directives.
EMC Directive
This product is tested to meet the Council Directive 89/336/EC
Electromagnetic Compatibility (EMC) by applying the following
standards, in whole or in part, documented in a technical construction
file:
• EN 50081-2 EMC — Generic Emission Standard, Part 2 —
Industrial Environment
• EN 50082-2 EMC — Generic Immunity Standard, Part 2 —
Industrial Environment
This product is intended for use in an industrial environment.
Low Voltage Directive
This product is tested to meet Council Directive 73/23/EEC Low
Voltage, by applying the safety requirements of EN 61131-2
Programmable Controllers, Part 2 - Equipment Requirements and
Tests. For specific information required by EN 61131-2, see the
appropriate sections in this publication, as well as the Allen-Bradley
publication Industrial Automation Wiring and Grounding Guidelines
For Noise Immunity, publication 1770-4.1.
This equipment is classified as open equipment and must be mounted
in an enclosure during operation to provide safety protection.
23Publication 1761-UM005B-EN-P - October 2006
24 Installation and Wiring
Safety Considerations
This equipment is suitable for use in Class I, Division 2, Groups A, B,
C, D, or non-hazardous locations only.
ATTENTION
Use only the following communication cables and replacement
connectors in Class I, Division 2, Hazardous Locations.
Environment ClassificationCommunication Cables
Class I, Division 2 Hazardous Environment1761-CBL-PM02 Series C (or later)
Explosion Hazard
Substitution of components may impair suitability for
Class I, Division 2.
Do not replace components unless power has been
switched off and the area is known to be
non-hazardous.
Do not disconnect connectors unless power has
been switched off and the area is known to be
non-hazardous.
1761-CBL-HM02 Series C (or later)
1761-CBL-AM00 Series C (or later)
1761-CBL-AP00 Series C (or later)
1761-RPL-00 DeviceNet Connector
Mounting
The DNI can be mounted in the vertical or horizontal position. There
are no spacing requirements except as necessary for DIN rail latch
movement.
See Physical Specifications on page 85 for operating temperature
specifications.
DIN Rail Mounting
Follow these steps to mount the DNI on a DIN rail.
1. Mount your DIN rail.
2. Snap the DIN rail latch into the closed position.
3. Hook the top slot over the DIN rail.
4. While pressing the unit against the rail, snap the unit into
position.
Publication 1761-UM005B-EN-P - October 2006
Installation and Wiring 25
Side
View
DIN
Rail
Latch
Follow these steps to remove the DNI from the DIN rail.
1. Place a screwdriver in the DIN rail latch at the bottom of the
unit.
2. Holding the unit, pry downward on the latch until the unit is
released from the DIN rail.
Side
DIN Rail
View
Panel Mounting
Follow these steps to mount the DNI on a panel.
1. Remove the mounting template from Appendix A of this
document.
2. Secure the template to the mounting surface.
3. Drill holes through the template.
4. Remove the mounting template.
5. Mount the unit.
Mounting Template
Publication 1761-UM005B-EN-P - October 2006
26 Installation and Wiring
Network Port Wiring
DeviceNet Network
To properly design your DeviceNet network, see DeviceNet Media
Design Installation Guide, publication DNET-UM072. This document
provides design guidelines concerning wiring practices, connectors,
grounding and power budgeting.
This publication is available from your Allen-Bradley distributor, or
from the Internet at www.literature.rockwell.com.
Port Identification
NODE
DANGER
GND
V–
CAN_L
SHIELD
CAN_H
V+
TX/RX
NET
MOD
DeviceNet Network
(Port 1) (Replacement
connector part no.
1761-RPL-0000)
Use this write-on
area to mark the
DeviceNet node
Address.
Cable Selection Guide
RS-232 (Port 2)
Port 2 of the DNI is an 8-pin mini-DIN RS-232 port that provides
connection to DF1 compatible RS-232 devices. The table below
describes the RS-232 compatible cables.
RS-232 Devices
DNI Connected to:Catalog NumberUse Cable
MicroLogix (all series)1761-CBL-AM00
1761-CBL-HM02
SLC 5/03, SLC 5/04, or
SLC 5/05 Channel 0
1761-CBL-AP00
1761-CBL-PM02
PLC 51761-CBL-AP00
1761-CBL-PM02
Mini DIN to Mini DIN
45cm (17.7 in)
2m (6.5 ft.)
Mini DIN to D-Shell
45cm (17.7 in)
2m (6.5 ft.)
Mini DIN to D-Shell
45cm (17.7 in)
2m (6.5 ft.)
Publication 1761-UM005B-EN-P - October 2006
Chapter
DNI Configuration Parameters and
Programming Notes
5
Information About DNI
Series B
The following changes have been made which affect the EDS file.
• The Standby/Operational parameter has been removed from the
EDS file. The operating mode is now controlled by the I/O Scan
Enable parameter.
• Three new parameters have been added to the EDS file. The
parameters are:
– DF1 Substitution Address - The DF1 Substitution Address
allows any DF1 device, such as the MicroView, to
communicate to A-B controllers over the DeviceNet network.
– Input Split Point and Output Split Point - The split point
parameters are used to define how much data is configured
as Master/Slave I/O and how much data is configured for
explicit I/O assembly messaging.
ATTENTION
DNI Series A configurations are not compatible with
DNI Series B. You must manually re-enter the Series
A parameters into the Series B DNI. This step is
required because of the enhanced functionality of
DNI Series B.
TIP
27Publication 1761-UM005B-EN-P - October 2006
DNI Series A stopped shipping in June of 1999. DNI
Series B started shipping in July of 1999.
28 DNI Configuration Parameters and Programming Notes
EDS Parameters for the DNI
The following list shows the available parameters for configuring the
DNI. Parameter definitions and usage information are provided in the
sections following the table.
IMPORTANT
When modifying most DNI parameters, you must
first disable polling (Set the Data Enable parameter
to disable for DNI Series A. Set the I/O Scan Enable
parameter to disable for DNI Series B). You can
enable polling after setting your configuration.
For information on how to set up and modify
parameters, see Setup, Programming, and
Troubleshooting on page 53.
EDS Parameters for the DNI
Parameter
Ty pe
I/O41Input SizeSeries A: 1…16
I/ONot
I/O53Input TypeBit or Integer FileInteger File33
Parameter NumberDescriptionRangeDefault ValueFor More
Series ASeries B
1 word29
Series B: 1…32
2Input Split Point1…321 word30
Applicable
Information
I/O64Input Data File3…254733
I/O75Input Word Offset0…254034
I/O86Output SizeSeries A: 1…16
Series B: 1…32
I/ONot
Applicable
I/O98Output TypeBit or Integer FileInteger File38
I/O109Output Data File3…254739
I/O1110Output Word Offset0…254139
I/O1411DF1 Device0…3:
I/O312DNI Series A: Data
I/O1213DF1 HeartbeatSeries A: 2…10
7Output Split Point1…321 word36
0: Other
1: PLC
2: SLC/ Other
MicroLogix
3: MicroLogix 1000
Disabled (0) or
Enable
DNI Series B: I/O
Scan Enable
(Polling Enable)
Enabled (1)
Series B: 1…10
1 word35
3 = MicroLogix 100041
Disabled (0)41
243
I/O1314Data Scan Delay
(Polling Delay)
Publication 1761-UM005B-EN-P - October 2006
20…3000 ms50 ms45
DNI Configuration Parameters and Programming Notes 29
EDS Parameters for the DNI
Messaging215Message Timeout0…2500 ms0 ms46
MessagingNot
Applicable
DF11517DF1 AutobaudDisabled (0) or
DF11618DF1 Baud Rate0…5:
DeviceNet119DeviceNet Autobaud Disabled (0) or
Device17Not
16DF1 Substitute
Address
DNI ModeStandby (0) or
Applicable
0…6464 = Disabled47
Enabled (1)
0: 38,400
1: 19,200
2: 9600
3: 4800
4: 2400
5: 1200
Enabled (1)
Operational (1)
Input Size
Input Size Parameter Definition
Parameter
Ty pe
Parameter Number DescriptionRangeDefault
Series ASeries B
Enabled (1)47
Series A: 2 = 9600
Series B: 1 = 19,200
Enabled (1)48
Operational (1)49
48
Value
I/O41Input SizeSeries A: 1…16
Series B: 1…32
1
This parameter identifies the size, in words, of the data array that is
read from the controller attached to the DNI’s RS-232 port.
IMPORTANT
For DNI Series B, you must also configure the Input
Split Point.
See Input Split Point on page 30.
The array may contain up to 16 (16-bit) words of data for DNI Series A
(32 words for DNI Series B) from a contiguous block within the
attached controller.
Publication 1761-UM005B-EN-P - October 2006
30 DNI Configuration Parameters and Programming Notes
The first byte (byte 0) of the first word contains the status byte and is
not available to the user.
Input Size Sample Data Array
Series ASeries B
00Data (8 bits)Status
11Data Most Significant Byte
22Data MSBData LSB
33Data MSBData LSB
↓↓↓↓
1430Data MSBData LSB
1531Data MSBData LSB
WordInput Image
(MSB)
Data Least Significant
Byte (LSB)
TIP
TIP
Byte 1 (MSB) of word 0 is available for user data.
For information on the Status Byte (byte 0), see the
Status Byte section on page 50.
Input Split Point
Input Split Point Parameter Definition
Parameter
Ty pe
I/On/a2Input Split Point1…321
IMPORTANT
Paremeter NumberDescriptionRangeDefault
Series ASeries B
The Input Split Point parameter cannot be used with
DNI Series A.
Value
Publication 1761-UM005B-EN-P - October 2006
The Input File Size within the DNI is configurable from 1…32 words.
The Input Split Point defines how much data is configured as
Master/Slave I/O and how much data is configured for explicit
assembly messaging.
DNI Configuration Parameters and Programming Notes 31
Organization of Input Data
The following diagram describes how the Split Point parameter affects
the data in the DF1 Device. The split point represents the last word of
the Master data. Words above the split point are Explicit data.
Organization of Input Data
DNI Device
Explicit\
Input
Assembly
Master
Input
Assembly
Split
Point
DF1 Device
most significant word
Explicit
Inputs
least significant word
most significant word
Master’s
Inputs
least significant word
Higher
Addresses
Input
File
Size
Lower
Addresses
Input Split Point Example
We need 4 (3.5 data + 0.5 status) words of slave data that the master
will own, and we need to configure an additional 15 words so that
other DeviceNet products can read data.
• Input Size = 19
• Input Split Point = 4
Publication 1761-UM005B-EN-P - October 2006
32 DNI Configuration Parameters and Programming Notes
The DNI’s input image will consist of:
WordInstance ID
DNI’s Input Image
0Master’s Slave Data and
Status
1Master’s Slave Data
2↓
3Master’s Slave Data
Split Point
4Explicit Input Data0x70You can use 0x66
5↓0x71
6↓0x72
7↓0x73
8↓0x74
9↓0x75
10↓0x76
11↓0x77
12↓0x78
13↓0x79
14↓0x7A
15↓0x7B
0x64
to access the
entire configured
explicit assembly.
16↓0x7C
17↓0x7D
18↓Explicit Input Data0x7E
The minimum value allowed for the split point is 1, if the Input Size
parameter is 32 (the maximum), the resulting range of explicit input
words would be 0x70 to 0x8E.
See Input Assembly Data (Explicit, Split Point, and Slave) on page 67
for more information.
Publication 1761-UM005B-EN-P - October 2006
Input Type
DNI Configuration Parameters and Programming Notes 33
Parameter
Ty pe
I/O53Input TypeBit or Integer FileInteger File
Parameter NumberDescriptionRangeDefault
Series ASeries B
Value
This parameter is used to identify the type of data to be read within
the controller. The DNI supports data exchange with either bit or
integer files.
Input Data File
Parameter
Ty pe
I/O64Input Data File3…2547
This parameter is used to identify the data file to be read within the
controller. The following table shows the files within Allen-Bradley
controllers.
Parameter NumberDescriptionRangeDefault Value
Series ASeries B
ControllerInput Data FilesNumber Values
MicroLogix 1000Bit3
Integer7
SLC/Other MicroLogixBit3, 10-255
Integer7, 9-255
PLCBit3, 10-999
Integer7, 9-999
TIP
The DNI can access only files 3…254.
Publication 1761-UM005B-EN-P - October 2006
34 DNI Configuration Parameters and Programming Notes
Input Word Offset
Parameter
Ty pe
I/O75Input Word Offset0…2540
Parameter NumberDescriptionRangeDefault Value
Series ASeries B
This parameter identifies the starting word within the input file
identified by the parameter Input Data File. The value entered is the
first word of data that is read from the controller attached to the DNI.
The sizes of compatible data files within Allen-Bradley controllers vary
based on the DFI device selected.
Compatible Data File Sizes
ControllerInput Data FilesFile Size
MicroLogix 1000Bit32 Words
Integer105 Words
SLC/Other MicroLogixBit255 Words
Integer255 Words
PLCBit999 Words
Integer999 Words
TIP
IMPORTANT
The DNI can only access files 3 through 254.
You must have sufficient room in the file that you
select. Make sure the Input Word Offset plus the
Input Size does not exceed the boundary of the
controller’s data file. For example, a MicroLogix 1000
controller has 32 words in its bit file; therefore, you
could not use a Input Word Offset of 30 and a Input
Size of 5 because this exceeds the file size.
Publication 1761-UM005B-EN-P - October 2006
DNI Configuration Parameters and Programming Notes 35
IMPORTANT
If you use RSNetWorx or DeviceNet Manager to
configure/commission the DNI, it is up to you to
select the correct values for:
• Input Size
• Input Split Point (DNI Series B only)
• Input Type
• Input Data File
• Input Word Offset
Only the DNI Configuration Software Utility
performs checks on the information entered.
Output Size
Parameter
Ty pe
I/O86Output SizeSeries A: 1…16
Parameter NumberDescriptionRangeDefault
Series ASeries B
Series B: 1…32
Value
1
IMPORTANT
For DNI Series B, you must also configure the
Output Split Point. See page 36.
This parameter identifies the size, in words, of the data array that will
be written to the controller attached to the DNI’s RS-232 port. The
array may contain up to 16 (16-bit) words of data for DNI Series A
(32 words for DNI Series B) from a contiguous block within the
attached controller.
Publication 1761-UM005B-EN-P - October 2006
36 DNI Configuration Parameters and Programming Notes
The first byte (byte 0) of the first word contains the status byte and is
not available to the user. A sample of the data array is shown below.
Sample Data Array
WordOutput Image
Series ASeries B
00Data (8 bits)Status
11Data Most Significant Byte
22Data MSBData LSB
33Data MSBData LSB
ØØØØ
1430Data MSBData LSB
1531Data MSBData LSB
(MSB)
Data Least Significant
Byte (LSB)
TIP
TIP
Byte 1 (MSB) of word 0 is available for user data.
For information on the Status Byte (byte 0), see the
Status Byte section on page 50.
Output Split Point
Parameter
Ty pe
I/On/a7Output Split Point1…321
IMPORTANT
The Output Size within the DNI is configurable from 1…32 words.
The Output Split Point defines how much data is configured as
Master/Slave I/O and how much data is configured for explicit
assembly messaging.
Parameter NumberDescriptionRangeDefault
Series ASeries B
Value
The Output Split Point parameter cannot be used
with DNI Series A.
Publication 1761-UM005B-EN-P - October 2006
DNI Configuration Parameters and Programming Notes 37
Organization of Output Data
The following diagram describes how the Split Point parameter affects
the data in the DF1 Device. The split point represents the last word of
the Master data. Words above the split point are Explicit data.
Output Data Organization
DNI Device
Explicit
Output
Assembly
Master
Output
Assembly
Split
Point
DF1 Device
most significant word
Explicit
Outputs
least significant word
most significant word
Master’s
Outputs
least significant word
Higher
Addresses
Output
File
Size
Lower
Addresses
Output Split Point Example
We need 4 (3.5 data + 0.5 status) words of slave data that the master
will own, and we need to configure an additional 15 words so that
other DeviceNet products can write data.
• Output Size = 19
• Output Split Point = 4
Publication 1761-UM005B-EN-P - October 2006
38 DNI Configuration Parameters and Programming Notes
The DNI’s output image will consist of:
WordInstance ID
0Master’s Slave Data and Status0x65
1Master’s Slave Data
2↓
3Master’s Slave Data
Split Point
4Explicit Output Data0x90You can use
5↓0x91
6↓0x92
9↓0x93
8↓0x94
9↓0x95
10↓0x96
11↓0x97
12↓0x98
13↓0x99
14↓0x9A
15↓0x9B
16↓0x9C
17↓0x9D
18Explicit Output Data0x9E
DNI’s Output Image
0x67 to access
the entire
configured
explicit
assembly.
The minimum value allowed for the Split Point is 1. If the Output Size
is 32 (maximum), the resulting range of explicit output words would
be 0x90 to 0xAE.
See Output Assembly Data (Explicit, Split Point, and Slave) on page 68
for more information.
Output Type
Parameter
Ty pe
I/O98Output TypeBit or Integer File Integer File
This parameter is used to identify the type of data to be written to the
controller. The DNI supports data exchange with either bit or integer
files.
Parameter numberDescriptionRangeDefault
Series ASeries B
Value
Publication 1761-UM005B-EN-P - October 2006
Output Data File
DNI Configuration Parameters and Programming Notes 39
Parameter
Ty pe
I/O109Output Data File3…2547
Parameter NumberDescriptionRangeDefault
Series ASeries B
Value
This parameter is used to identify the target data file where data will
be written within the controller.
The sizes of compatible data files within Allen-Bradley controllers vary
based on the DFI device selected.
Controller Data Files
ControllerOutput Data FilesFile Sizes
MicroLogix 1000Bit3
Integer7
SLC/Other MicroLogixBit3, 10-255
Integer7, 9-255
PLCBit3, 10-999
Integer7, 9-999
TIP
The DNI can access only files 3…254.
Output Word Offset
Parameter
Ty pe
I/O1110Output Word Offset0…2541
This parameter identifies the starting word within the output file
identified by the Output Data File parameter. The value entered is the
first word of data that is written to the controller attached to the DNI.
Parameter NumberDescriptionRangeDefault
Series ASeries B
Value
Publication 1761-UM005B-EN-P - October 2006
40 DNI Configuration Parameters and Programming Notes
The sizes of compatible data files within Allen-Bradley controllers vary
based on the DFI device selected.
Controller Data Files
ControllerOutput Data FilesFile Sizes
MicroLogix 1000Bit32 Words
SLC/Other MicroLogixBit255 Words
PLCBit999 Words
Integer105 Words
Integer255 Words
Integer999 Words
TIP
IMPORTANT
IMPORTANT
The DNI can only access files 0…254.
You must have sufficient room in the file that you
select. Make sure the Output Word Offset plus the
Output Size does not exceed the boundary of the
data file. For example, a MicroLogix 1000 controller
has 32 words in its bit file; therefore, you could not
use a Output Word Offset of 30 and a Output Size of
5 because this exceeds the file size.
If you use RSNetWorx or DeviceNet Manager to
configure/commission the DNI, it is up to the user to
select the correct values for:
• Output Size
• Output Split Point (DNI Series B only)
• Output Type
• Output Data File
• Output Word Offset
Only the DNI Configuration Software Utility
performs checks on the information entered.
Publication 1761-UM005B-EN-P - October 2006
Device Type
Device Type Parameter Definition
DNI Configuration Parameters and Programming Notes 41
Parameter
Typ e
I/O1411DF1 Device0…3:
Parameter NumberDescriptionRangeDefault
Series ASeries B
0: Other
1: PLC
2: SLC/ Other
MicroLogix
3: MicroLogix
1000
Value
3 = MicroLogix
1000
Select the device connected to the DNI’s RS-232 port. If you are
connecting an Allen-Bradley controller as a DeviceNet I/O slave
device, this selection is used by the DNI to determine the type of
communication commands used to read and write data.
To achieve the best communications performance you should use
these recommended combinations.
Recommended Combinations
RS-232 DeviceDF1 Device
Value
MicroLogix 10003N (integer)7
SLC 5/03 or higher
Other MicroLogix (MicroLogix 1500)
2N (integer)9
File TypeFile Number
TIP
If you do not want to communicate with these
specific data files, RS-232 port communications
throughput will suffer marginally.
I/O Scan Enable
Parameter
Ty pe
I/O312DNI Series A:
This parameter enables the DNI to scan/exchange I/O data with DF1
devices. If the DNI is being used in an application that does not use
this feature, disabling this parameter improves the DNI’s messaging
Parameter NumberDescriptionRangeDefault
Series ASeries B
Disabled (0) or
Data Enable
DNI Series B:
I/O Scan Enable
(Polling Enable)
Publication 1761-UM005B-EN-P - October 2006
Enabled (1)
Value
Disabled (0)
42 DNI Configuration Parameters and Programming Notes
performance. When this parameter is disabled, PCCC messaging still
operates.
IMPORTANT
IMPORTANT
Enable this parameter to use explicit messaging to
assemblies.
When modifying most DNI parameters, you must
first disable polling (Set the Data Enable parameter
to disable for DNI Series A. Set the I/O Scan Enable
parameter to disable for DNI Series B). You can
enable polling after setting your configuration.
For information on how to set up and modify
parameters, see Setup, Programming, and
Troubleshooting on page 53.
Publication 1761-UM005B-EN-P - October 2006
DNI Configuration Parameters and Programming Notes 43
DF1 Heartbeat
DF1 Heartbeat Parameter Definition
Parameter
Ty pe
I/O1213DF1 HeartbeatSeries A: 2…10
Parameter NumberDescriptionRangeDefault
Series ASeries B
Series B: 1…10
Value
2
The DF1 data heartbeat is used to detect a valid communications path
between the controller and the DNI and also to detect if the
connected controller is scanning its ladder logic.
The heartbeat is enabled when:
• DNI Series A: Data Enable is enabled and DNI Mode is
operational
• DNI Series B: I/O Scan Enable is enabled
The heartbeat consists of a bit in the first byte (byte 0, bit 7) of the
data packet that is exchanged with the controller. The DNI sets this bit
in the output data being sent to the controller. The user must move
this bit, using ladder logic, to the corresponding bit position in the
input data area where the bit is then read from the controller by the
DNI.
At the heartbeat rate, once the DNI sees the bit return in its correct
state, it toggles the bit to the opposite state and sends it back to the
controller (this is a round robin process). If the bit state does not
change, it is detected as a communication/controller error and
reported to the DNI master as a zero-length packet. Refer to your
scanner or master controller documentation to determine how this is
detected in the master logic.
This bit should also be monitored by the controller attached to the
DNI, and if the bit does not change in the output image at the
heartbeat rate, it can be used within the controller to detect a problem
with the DNI/DeviceNet Master.
Publication 1761-UM005B-EN-P - October 2006
44 DNI Configuration Parameters and Programming Notes
DF1 Heartbeat Rotation Example
The value entered for the heartbeat determines how often the DNI
will rotate the heartbeat bit. The table below illustrates the heartbeat
rotation with the default setting of two (heartbeat checked on every
other read).
DF1 (RS-232) PortA DEFA
DNI’s Read Sequence
DNI’s Write Sequence
A. DNI gets (reads) data from controller
B. DNI checks heartbeat and toggles bit
C. DNI sets (writes) data to controller
D. Data Scan Delay period
BCBC
E. DNI gets (reads) data from controller
F. Data Scan Delay (period)
IMPORTANT
The example above does not represent accurate
timing relationships.
Consider the following with the above list.
• B is done inside the DNI and is completed extremely fast,
typically less than a millisecond.
• D is the only consistent time variable; the DNI waits for the
amount of time specified by the Data Scan Delay parameter.
• A, C, and E are variable; the time associated with each is
dependent on a number of factors: baud rate, communication
errors/retries.
• If you are monitoring the heartbeat bit in the controller to
determine communications integrity, as a general rule, multiply
the Data Scan Delay by the DF1 Heartbeat plus 1 to determine
the preset time value for the heartbeat timer.
• DF1 Heartbeat determines how many input reads are done
between heartbeat checks and toggles (step B). When the DF1
Heartbeat is set to 2, this occurs on every other read; when the
DF1 Heartbeat is set to 3, this occurs on every third read.
Publication 1761-UM005B-EN-P - October 2006
See the application example DF1 Heartbeat (Bit 7) on page 51 and
MicroLogix as I/O on the DeviceNet Network on page 69 for more
information about using the DF1 Heartbeat.
DNI Configuration Parameters and Programming Notes 45
Data Scan Delay
Data Scan Delay Parameter Definition
Parameter
Ty pe
I/O1314Data Scan
Parameter NumberDescriptionRangeDefault
Series ASeries B
20…3000 ms50 ms
Delay
(Polling Delay)
Value
When Data Enable (parameter 3) is enabled (DNI Series A) or I/O
Scan Enable (parameter 12) is enabled (DNI Series B), the value
entered for Data Scan Delay defines the amount of time that the DNI
will delay between communications. This value does not identify how
often communications take place; it defines the delay between the
completion (end) of one communication sequence and the beginning
of the next.
IMPORTANT
It is important not to set this value too low. Setting
Data Scan Delay too low limits access to the
controller from other devices on the network. If this
value is too low, programming terminals, other
controllers, and any other devices attempting to
communicate with this controller are unable to due
so, because the RS-232 port communications link
bandwidth is being consumed by the I/O scan
feature of the DNI.
IMPORTANT
To move data from the controller to the DeviceNet
master as quickly as possible, use the DNI’s input
messaging feature.
See input messaging on page 49.
See the application example MicroLogix as I/O on the DeviceNet
Network on page 69 for more information about using the Data Scan
Delay.
Publication 1761-UM005B-EN-P - October 2006
46 DNI Configuration Parameters and Programming Notes
Message Timeout
Message Timeout Parameter Definition
Parameter
Ty pe
Messaging215Message Timeout0…2500 ms0 MS
Parameter NumberDescriptionRangeDefault
Series ASeries B
Value
The Message Timeout is the amount of time that a DeviceNet explicit
connection is held open after message completion. The Message
Timeout allows the DNI to hold open a connection with another
device over the DeviceNet network. On a DeviceNet network, a
connection means that two devices have established a
communications path. Each time communications need to occur
between devices, a connection is established; when the
communications have completed, the connection is released.
The number of connections that each device can support depends on
the design/capabilities of each device. The DNI has five connections
available for messaging. The Message Timeout allows the user to tune
how a connection behaves after communications have completed.
You may want to dedicate a connection to a specific node/device to
maintain a connection. This reduces the amount of time needed to
re-establish communications with the device.
It is recommended that this value only be changed (from the default)
if communications with another node is constant. When the timeout is
set, the connection is not released back to the system until the timeout
expires (where 0 ms means close immediately after use).
Publication 1761-UM005B-EN-P - October 2006
IMPORTANT
An open connection between devices over
DeviceNet does not limit or inhibit communications
over the network. If two devices maintain a
connection, other devices continue to communicate.
DNI Configuration Parameters and Programming Notes 47
DF1 Substitute Address
DF1 Substitute Address Parameter Definition
Parameter
Ty pe
Messagingn/a16DF1 Substitute
IMPORTANT
Parameter NumberDescriptionRangeDefault Value
Series ASeries B
0…6464 = Disabled
Address
The DF1 Substitute Address parameter cannot be
used with DNI Series A.
If the device that is connected to the DNI is not capable of selecting a
DF1 destination address of 0…63, by entering a value in this
parameter, the DNI automatically routes all DF1 communications to
this address with the following exceptions:
• Responses to poll requests are sent to the configured address.
• COS/Cyclic I/O data messages are sent to the configured device.
For example, when using a MicroView operator interface over
DeviceNet, DF1 Substitute Address defines the device (node number)
that the MicroView exchanges data with.
TIP
A value of 64 (default) disables this feature.
DF1 Autobaud
Parameter
Ty pe
DF11517DF1 AutobaudDisabled (0)
The DNI’s RS-232 baud rate is set up to automatically synchronize to
the attached RS-232 device. If you want to lock the RS-232 baud rate,
disable this parameter. If this parameter is disabled (0), the DNI’s
RS-232 port baud rate is set to the value specified by the DF1 Baud
Rate parameter.
Parameter NumberDescriptionRangeDefault Value
Series ASeries B
Enabled (1)
or
Enabled (1)
Publication 1761-UM005B-EN-P - October 2006
48 DNI Configuration Parameters and Programming Notes
This parameter defines the baud rate for the RS-232 port when DF1
Autobaud is disabled.
DeviceNet Autobaud
DeviceNet Autobaud Parameter Definition
Parameter
Ty pe
DeviceNet119DeviceNet
Parameter NumberDescriptionRangeDefault Value
Series ASeries B
Autobaud
Disabled (0) or
Enabled (1)
Enabled (1)
The DNI automatically synchronizes to the DeviceNet network that it
is attached to (125K, 250K, or 500K baud). To disable this feature, set
DeviceNet Autobaud to disable (0).
When set to disable, the DNI uses the DeviceNet baud rate configured
during the node commissioning process. Therefore, when the
DeviceNet Autobaud is disabled, the baud rate the DNI is set to may
be different than the DeviceNet network baud rate.
IMPORTANT
When parameter is disabled (0), the baud rate is set
using the node commissioning utility in your
network configuration software, and is not set by the
DNI’s EDS file.
IMPORTANT
Power cycle the DNI for baud rate changes to take
effect.
Publication 1761-UM005B-EN-P - October 2006
DNI Mode
DNI Mode Parameter Definition
DNI Configuration Parameters and Programming Notes 49
Programming Notes
Parameter
Typ e
Device17n/aDNI ModeStandby (0) or
IMPORTANT
Parameter NumberDescription RangeDefault Value
Series A Series B
Operational (1)
Operational (1)
The DNI Mode parameter only applies to DNI Series
A. For DNI Series B, the operating mode is controlled
by the I/O Scan Enable parameter.
This parameter defines the mode of the DNI. You must set this mode
to Standby (0) when you want to change a number of DNI
parameters. Once you have made the necessary changes, set this
value to Operational (1).
Input Messaging
The DNI is capable of accepting an unsolicited Input Data Message
from the DF1 device. This capability allows the controller to update
the DNI’s input data whenever it detects a change in its input data.
With this capability, a user can increase the value of the data scan
delay; this reduces the amount of communications traffic over the
RS-232/DF1 port, but still maintains very high I/O throughput
performance.
To utilize this feature, simply program a message instruction in the
controller with a destination address of 254. The DNI accepts the
message and when it sees the 254 address (which is invalid on
DeviceNet), it recognizes that the message is input data. All data
received by message instruction with address 254 is automatically
routed to the DNI’s input data area.
See the application example MicroLogix as I/O on the DeviceNet
Network on page 69 for more information about input messaging.
Publication 1761-UM005B-EN-P - October 2006
50 DNI Configuration Parameters and Programming Notes
Input Messaging Considerations
• You cannot write to a specific word in the DNI’s input area.
• The destination offset value in the controller’s message
• The message length must equal the size specified by the Input
• For MicroLogix 1000 controllers, use N7 as the destination file
instruction is ignored. Data always starts at word 0.
Size parameter. For DNI Series B only, both the Master’s Slave
data and the Explicit Assembly are considered to be input. For
more information, see:
– Input Split Point on page 30.
– Input Assembly Data (Explicit, Split Point, and Slave) on
page 67.
type.
– For other controllers, see the recommended file number on
page 41.
Status Byte
The first byte (bits 0…7) of the first word of I/O data is set aside as
status information. The second byte (bits 8…15) of the first word of
I/O is available for user data. The DNI Input/Output Image is shown
below:
WordInput/Output Image
Series A Series B
00Data (bits 8…15)Status Byte (bits 0…7)
11Data Most Significant Byte (MSB) Data Least Significant Byte (LSB)
22Data MSBData LSB
33Data MSBData LSB
↓↓↓↓
1430Data MSBData LSB
1531Data MSBData LSB
Input Status to Master Device
Publication 1761-UM005B-EN-P - October 2006
The Input Status Byte provides the following information.
Functionn/aOutput Buffer Overdrive n/a
Bit Number76543210
DNI Configuration Parameters and Programming Notes 51
Output Buffer Overdrive (Bit 6, written by the DNI)
This bit is set (1) when Master Outputs arrive at a rate faster than the
DNI can forward the data to the DF1 device. When the Buffer
Overdrive bit is set, the output image is being overwritten before it
can be sent to the DF1 device. To resolve this, limit the data
production rate in the scanner until this bit stays clear (0).
Output Status to DF1 Device
The Output Status Byte provides the following information.
FunctionHeartbeat Valid Data DeviceNet Node Number
Bit Number76543210
DeviceNet Node Number (Bits 0 - 5)
Whenever the DNI sets (writes) output data to the DF1 device, these
six bits contain the DeviceNet address that the DNI is assigned on
DeviceNet. If the user program needs to know what node number its
DNI is configured for, program a masked move (MVM) instruction in
the ladder logic to move the node number out of this byte. The MVM
should have:
• its destination address located in the controller’s integer file
• a masked value of 003F
• the source address should match the location identified by the
Output Word Offset parameter.
DeviceNet Valid Data (Bit 6)
The DNI sets this bit (1) to the DF1 device whenever it detects that the
DNI’s DeviceNet master is on-line/operational. The ladder logic
program in the controller should monitor this bit and take any
necessary control action.
DF1 Heartbeat (Bit 7)
The DNI writes the status of this bit to the controller, using the interval
set by the DF1 Heartbeat parameter. The DNI expects the controller to
move the status of bit 7 from the output data area to the input data
area. The easiest way to accomplish this is by programming an XIC
instruction in series with an OTE instruction as shown in the following
example.
Publication 1761-UM005B-EN-P - October 2006
52 DNI Configuration Parameters and Programming Notes
Example
With the starting output word at N7:95 (Output Word Offset), and the
starting input word at N7:90 (Input Word Offset), you need to
program this rung in the controller’s program to move the heartbeat
bit.
N7:95
7
N7:90
7
Your program should also monitor N7:95/7 for activity. If activity is
lost, it represents a problem with the connection to the DNI, or the
DNI has some type of error or problem.
See the application example MicroLogix as I/O on the DeviceNet
Network on page 69 for more information about using the DF1
Heartbeat.
Publication 1761-UM005B-EN-P - October 2006
Chapter
Setup, Programming, and Troubleshooting
6
DNI Software Files
To configure the DNI as an I/O slave device on a DeviceNet network,
you may need to obtain two software files. These two files provide
your network configuration software with the information it needs to
interface with the DNI.
DNI Series A Information
RSNetWorx and DeviceNet Manager (version 3.0 and higher) include
the files necessary for DNI Series A.
DNI Series B Information
To configure the Series B DNI, you must have the Series B DNI EDS
file installed in your DeviceNet configuration software. RSNetWorx
DeviceNet Network Management software version 2.11.36 or higher
includes all Series B DNI files. You can also download the new files
from http://www.ab.com/micrologix.
The following table shows the old and new file filenames:
Series B DNI Files
1761-NET-DNIFile DescriptionFile Name
Series BDNI Electronic Data Sheet1761DNI3.EDS
DNI Configuration Software UtilityDNIUTIL1.EXE (Rev. 2.0 or higher)
DNI Icon for Configuration Software 1761DNI.ICO or 1761DNIB.BMP
Series ADNI Electronic Data Sheet1761DNI2.EDS
DNI Configuration Software UtilityDNIUTIL1.EXE
DNI Icon for Configuration Software 1761DNI.BMP
ATTENTION
53Publication 1761-UM005B-EN-P - October 2006
DNI Series A configurations are not compatible with
DNI Series B. You must manually re-enter the Series
A parameters into the Series B DNI. This step is
required because of the enhanced functionality of
DNI Series B.
54 Setup, Programming, and Troubleshooting
TIP
DNI Series A stopped shipping in June of 1999. DNI
Series B started shipping in July of 1999.
File Descriptions
FileDescription
DNI Electronic Data
Sheet
DNI Icon for
Configuration
Software
DNI Configuration
Software Utility
This is a text file that is compatible with A-B network configuration
software. This file, along with the 1761DNI.BMP (or 1761DNI.ICO)
file, must be installed using the EDS import utility built into your
network configuration software.
This is a bitmap that is used to graphically illustrate the DNI in your
configuration software. For RSNetWorx, use 1761BMP.ICO. For
DeviceNet Manager, use 1761DNI.BMP. The DNI Configuration
Software Utility includes the DNI icon files.
The 1761-NET-DNI configuration utility can be used to configure all
1761-NET-DNI parameters, and also to commission (set node
number and baud rate) of other DeviceNet compatible products for
operation on a DeviceNet Network. This utility makes configuring a
1761-NET-DNI easier through the use of intuitive screens and
Wizards.
Obtaining the Files
These files are routinely incorporated into your network configuration
software. If they are not in your version of configuration software,
these files are available from a number of sources:
• Local Allen-Bradley distributor
• Local Allen-Bradley Sales Office
• Via the Internet at http://www.ab.com/micrologix
Publication 1761-UM005B-EN-P - October 2006
Setup, Programming, and Troubleshooting 55
Setting Up Network
Configuration Software
To configure the DNI, you must set up your network configuration
software and follow the configuration procedures. The initial set up is
only performed once. After the files have been saved by your network
configuration software, they are stored on the computer.
Setting Up DNI Configuration Software Utility
No initial set up is required to use the DNI Configuration Software
Utility.
Setting Up RSNetworx
With RSNetworx open, install 1761DNI2.EDS for DNI Series A
(1761DNI3.EDS for DNI Series B) and 1761DNI.ICO using the EDS
install utility (in the Utilities menu of RSNetworx).
Follow these steps to load both DNI files into RSNetWorx.
1. Start RSNetWorx.
2. With RSNetWorx open, select the View Tools Menu.
3. Select EDS Wizard.
4. Select Register an EDS file and follow the prompts.
RSNetWorx is now set up to recognize and configure the DNI.
5. To locate 1761-NET-DNI in RSNetWorx file list, double-click on
the following folders:
– Rockwell Automation - Allen-Bradley Company
Publication 1761-UM005B-EN-P - October 2006
56 Setup, Programming, and Troubleshooting
– Communications Adapter
Publication 1761-UM005B-EN-P - October 2006
Setup, Programming, and Troubleshooting 57
Setting Up DeviceNet Manager
With DeviceNet Manager open, install 1761DNI2.EDS for DNI Series A
(1761DNI3.EDS for DNI Series B) and 1761DNI.BMP for DNI Series A
(1761DNIB.BMP for DNI Series B) using the EDS install utility (in the
Utilities menu of DeviceNet Manager).
Follow these steps to load both DNI files into DeviceNet Manager.
1. Start DeviceNet manager.
2. With DeviceNet manager open, select the Utilities Menu.
3. Select Install EDS Files.
4. Locate 1761DNI2.EDS for DNI Series A (1761DNI3.EDS for DNI
Series B) on your computer.
5. Highlight and load electronic data sheet into the software.
6. Confirm the prompt to attach a bitmap.
7. Locate 1761DNI.BMP (1761DNIB.BMP for DNI Series B) on your
computer.
8. Highlight and load bitmap into the software. DeviceNet manager
is now set up to recognize and configure the DNI.
9. To locate 1761-NET-DNI in DeviceNet managers file list,
double-click on the following folders:
– Communications Adapter
– Allen-Bradley Company
Publication 1761-UM005B-EN-P - October 2006
58 Setup, Programming, and Troubleshooting
Commissioning the DNI
Your configuration software handles all interface issues for connection
to a DNI over a DeviceNet network. You use exactly the same
procedures to connect to a DNI as you do any other DeviceNet
product.
The DNI draws power from the DeviceNet connector. When the DNI
is connected to a DeviceNet network for the first time, the DNI
out-of-box configuration is:
• Node: 63
• Baud: Autobaud
Commissioning is accomplished with network configuration software
such as DNI Configuration Utility, RSNetWorx, or DeviceNet Manager.
There are two parameters that need to be set during the
commissioning process: the Node Address and Baud Rate.
IMPORTANT
If the tool you are using to commission the DNI is
connected to the DNI with a point-to-point
connection (Example: a 1770-KFD connected directly
to the DNI without any other devices), the
commissioning tool must not be set to Autobaud.
The DNI out-of-box configuration is set to Autobaud.
If both devices are set to Autobaud, they may hunt
and never find each other.
TIP
Follow these steps to commission the DNI.
1. Connect the DNI to a PC through a DeviceNet interface device
(1770-KFD, 1784-PCD).
2. Execute mini-who screen to locate the target DNI.
3. If DeviceNet Autobaud is disabled, enter the DeviceNet baud
rate.
4. Enter the node address to be configured.
5. Apply changes. Status is shown in status bar.
6. Save changes.
For DNI Series B, you will be able to commission the
DNI via the RS-232 port. This can be done using the
DNI Configuration Software Utility version 2.001
(when available). For applications that use only
DNIs, this will eliminate the need for configuration
tools (such as RSNetWorx and the 1770-KFD
Interface). You can simply use an RS-232 cable.
Publication 1761-UM005B-EN-P - October 2006
Setup, Programming, and Troubleshooting 59
Programming Over the
DeviceNet Network
IMPORTANT
IMPORTANT
The DNI provides the ability to upload, download, or monitor the
ladder logic program of controllers connected to a DNI on the
network.
Configuring the baud rate is needed only when
DeviceNet Autobaud is disabled. The default
(out-of-box) setting for DeviceNet Autobaud is
“enabled”.
The new baud rate takes effect on power cycle or
when DNI is reset. Use caution when changing the
baud rate on an active network.
Computer with DNI
Follow these steps to upload, download, or monitor over the network.
1. Connect a commissioned DNI to the RS-232 port on a computer
(as shown under Local Access to a DeviceNet Network on page
21).
2. Set the communications in the configuration software to DF1 full
duplex.
3. Select the DeviceNet address of the destination DNI. You can
now upload/download/monitor over the network. The
functionality over the network is determined by the destination
device.
EXAMPLE
IMPORTANT
If the destination device is a MicroLogix 1000
controller, you cannot perform on-line editing. If the
destination device is an SLC 5/03 or later or PLC, you
can edit on-line.
With a computer connected to a DNI, you cannot
configure devices on the DeviceNet network. You
cannot use the DNI as a replacement for a 1770-KFD.
Publication 1761-UM005B-EN-P - October 2006
60 Setup, Programming, and Troubleshooting
Computer on DeviceNet Network
You must have RSLinx version 2.O or newer to upload, download, or
edit controller programs directly over DeviceNet (using a 1770-KFD,
1784-PCD, 1784-PCID or equal).
1. Open RSLinx, and select Configure Drivers.
2. Select DeviceNet Driver from the list.
3. Click Add New.
4. Open your configuration software and make sure it recognizes
and is configured to use RSLinx DeviceNet driver.
5. In the configuration software’s communications section, select
the destination DNI that you want to connect to.
Modifying DNI Parameters
Use the main configuration to set or change any of the DNI
parameters. Disable Polling Enable while you are making changes.
When you are finishing, click Save to File and Save to DNI.
Publication 1761-UM005B-EN-P - October 2006
Setup, Programming, and Troubleshooting 61
Using RSNetWorx to Modify Parameters
Once a DNI is placed on the network, double-click to open the EDS
file. All adjustable parameters that configure the DNI for operation are
set up through this configuration utility. The illustration below shows
the RSNetWorx Device Configuration screen with each DNI
configurable parameter.
Perform this procedure to configure any of the parameters.
1. Highlight the parameter.
2. Click the Modify Parameter button, or double-click on the
parameter.
3. For DNI Series A, set DNI mode to Standby. For DNI Series B,
set I/O Scan Enable to Disable.
4. Change the parameter data as needed.
5. For DNI Series A, set DNI mode to Operational. For DNI Series
B, set I/O Scan Enable to Enable.
6. For more detailed information click on Help.
Once a parameter is changed or after all parameters are
changed, click Download to Device.
Publication 1761-UM005B-EN-P - October 2006
62 Setup, Programming, and Troubleshooting
Using DeviceNet Manager to Modify Parameters
Once a DNI is placed on the network, double-click to open the EDS
file. All adjustable parameters that configure the DNI for operation are
set up through this configuration utility. The illustration below shows
the DeviceNet Manager Device Configuration screen with each DNI
configurable parameter.
To configure any of the parameters, perform this procedure.
1. Highlight the parameter.
2. Click the Modify Parameter button, or double-click on the
parameter.
3. For DNI Series A, set DNI mode to Standby. For DNI Series B,
set I/O Scan Enable to Disable.
4. Change the parameter data as needed.
5. For DNI Series A, set DNI mode to Operational. For DNI Series
B, set I/O Scan Enable to Enable.
6. For more detailed information, click on Help.
Once a parameter is changed or after all parameters are
changed, click Save to Device.
Publication 1761-UM005B-EN-P - October 2006
Setup, Programming, and Troubleshooting 63
Troubleshooting
The DeviceNet Interface has three LED indicators.
LED Indicators
LEDColor
Module Status LEDbicolor - red/green
Network Status LEDbicolor - red/green
RS-232 LEDgreen
Module Status LED (MOD LED)
The module status LED provides information specific to the DNI.
Module Status LED
LED ConditionDNI StateProblem/Indication
OffNot PoweredThe device may not be powered or
firmware unable to run.
(1)
Green
Flashing Green
DNI Series A: Device
Operational
DNI Series B:
Device Scanning
(1)
DNI Series A:
Device in Standby
The device is operating in a normal
condition.
For DNI Series A only, the device may be
in Standby Mode; set to operational.
For DNI Series B, I/O Scan (Polling
DNI Series B:
Device Not Scanning
Flashing RedMinor FaultRecoverable fault.
RedUnrecoverable FaultThe device has an unrecoverable fault
Flashing Red-Green Device Self TestingThe device is in self test and should occur
(1)
Normal condition.
Enable) may need to be set (1).
DNI may need to be commissioned (the
DNI will not operate when set to the
out-of-box defaults).
The device needs commissioning due to
missing, incomplete, or incorrect
configuration.
EEPROM may be corrupt, re-commission
the DNI.
which requires the power to be cycled, or
the DNI may need to replaced.
only at power up or reset.
Publication 1761-UM005B-EN-P - October 2006
64 Setup, Programming, and Troubleshooting
Network Status LED (NET LED)
The network status LED provides information specific to the
DeviceNet network.
Network Status LED
LED ConditionDNI StateProblem/Indication
OffNot Powered/Not
On-Line
Flashing Green
(1)
Green
Flashing RedConnection
RedCritical Link Failure Failed communication device. The DNI has
Flashing Red-GreenCommunication
(1)
Normal condition.
(1)
On-Line, Not
Connected
On-Line, Connected The DNI has one or more valid established
Time-O ut
Faulted
DNI is not on-line.
• DNI has not completed the
Dup_MAC_ID test yet.
• DNI may not be powered.
DNI has passed the Dup_MAC_ID test, is
on-line, but has not established connections
to other nodes.
connections. This can be either I/O or
Messaging
I/O connection(s) are in the timed-out state.
detected an error that has rendered it
incapable of communicating on the network
(Bus-Off error). If the error is Duplicate MAC
ID, the DNI only communicates via the Group
4 off-line connection set.
A specific communication fault recovery
stage or self-test.
RS-232 Port LED Indicator
The DNI has a green LED next to the RS-232 connector to provide
communications activity status. The LED is lit whenever data is being
transmitted or received. When communications are occurring, this
LED will appear to be flashing.
Fault Conditions
Fault Conditions
MOD LEDNET LEDFault ConditionDeviceNet Standard FaultAvailable Recovery Options
Solid RedNot ApplicableSelf-Test FailureModule - Major Unrecoverable Fault Power Cycle
Flash RedNot ApplicableInvalid Configuration
Parameter
Flash RedNot ApplicableEEPROM InvalidModule - Major Recoverable FaultRe-commission the DNI.
Not Applicable Solid RedDuplicate Node DetectedCommunication FaultPower Cycle, Group 4 Fault Recovery
Not Applicable Solid RedBus-Off ErrorCommunication FaultPower Cycle, set bus-off attribute of
Publication 1761-UM005B-EN-P - October 2006
The following table defines causes of faults in the DNI.
Module - Minor Recoverable FaultModify Invalid Parameter
DeviceNet object to 1.
Setup, Programming, and Troubleshooting 65
DNI Series A
DeviceNet Class Codes
Identity Object
Class Code: 0x01
Service NameService Code
Get Attribute Single0x0E
Set Attribute Single0x10
Reset0x05
Instance = 0x01
NameAttributeDataAccessValue
Vendor ID0x01UINTGet1
Device Type0x02UINTGet12
Product Code0x03UINTGet2
Revision0x04STRUCT of:Get
Major RevisionUSINTGet1
Minor RevisionUSINTGet 2
Status0x05WORDGetN/A
Serial Number0x06UDINTGetN/A
Product Name0x07SHORT_STRINGGet1761-NET-DNI
DNI Mode
(parameter 17)
0x64BOOLGet/Set0 or 1
Slave I/O Assembly Data
Class Code: 0x04
NameAccessInstanceData
Ty peVa l ue
Input AssemblyGet/SetInput100 (64H)3
Output AssemblyGet/SetOutput101 (65H)3
Attribute
Publication 1761-UM005B-EN-P - October 2006
66 Setup, Programming, and Troubleshooting
DNI Series B
DeviceNet Class Codes
Identity Object
Class Code: 0x01
Service NameService Code
Get Attribute Single0x0E
Set Attribute Single0x10
Reset0x05
Instance = 0x01
NameAttribute DataAccessValue
Vendor ID0x01UINTGet1
Device Type0x02UINTGet12
Product Code0x03UINTGet32
Revision0x04STRUCT of:Get
Major RevisionUSINTGet2
Minor RevisionUSINTGet 1
Status0x05WORDGetN/A
Serial Number0x06UDINTGetN/A
Product Name0x07SHORT_STRINGGet1761-NET-DNI
Publication 1761-UM005B-EN-P - October 2006
Setup, Programming, and Troubleshooting 67
Input Assembly Data (Explicit, Split Point, and Slave)
Class Code: 0x04
NameAccessInstanceData Attribute
InputsTypeValue
Slave AssemblyGet/SetInput100 (64h)3
Input Split Point
Explicit Assembly
Explicit word 0Get/SetInput112 (70h)3
Explicit word 1Get/SetInput113 (71h)3
Explicit word 2Get/SetInput114 (72h)3
Explicit word 3Get/SetInput115 (73h)3
Explicit word 4Get/SetInput116 (74h)3
Explicit word 5Get/SetInput117 (75h)3
Explicit word 6Get/SetInput118 (76h)3
Explicit word 7Get/SetInput119 (77h)3
Explicit word 8Get/SetInput120 (78h)3
Explicit word 9Get/SetInput121 (79h)3
Explicit word 10Get/SetInput122 (7Ah)3
Explicit word 11Get/SetInput123 (7Bh)3
Explicit word 12Get/SetInput124 (7Ch)3
Explicit word 13Get/SetInput125 (7Dh)3
Explicit word 14Get/SetInput126 (7Eh)3
Explicit word 15Get/SetInput127 (7Fh)3
Explicit word 16Get/SetInput128 (80h)3
Explicit word 17Get/SetInput129 (81h)3
Explicit word 18Get/SetInput130 (82h)3
Explicit word 19Get/SetInput131 (83h)3
Explicit word 20Get/SetInput132 (84h)3
Explicit word 21Get/SetInput133 (85h)3
Explicit word 22Get/SetInput134 (86h)3
Explicit word 23Get/SetInput135 (87h)3
Explicit word 24Get/SetInput136 (88h)3
Explicit word 25Get/SetInput137 (89h)3
Explicit word 26Get/SetInput138 (8Ah)3
Explicit word 27Get/SetInput139 (8Bh)3
Explicit word 28Get/SetInput140 (8Ch)3
Explicit word 29Get/SetInput141 (8Dh)3
Explicit word 30Get/SetInput142 (8Eh)3
(1)
The split point determines the size of the slave assembly and the explicit assembly. If the input size (parameter
1) is set to 32, and the split point (parameter 2) is the minimum size (1), the remaining words are explicit inputs.
The example above illustrates the maximum amount of explicit inputs that can be configured. For more
information about using the split point parameter, see Input Split Point on page 30 or Output Split Point on page
36.
(2)
A get of this instance will return the entire set of Explicit Assembly Data.
(1)
(2)
Get/SetInput102 (66h)3
Publication 1761-UM005B-EN-P - October 2006
68 Setup, Programming, and Troubleshooting
Output Assembly Data (Explicit, Split Point, and Slave)
Class Code: 0x04
NameAccessInstanceData Attribute
OutputsTypeValue
Slave AssemblyGet/SetOutput101 (65h)3
Output Split Point
Explicit Assembly
Explicit word 0Get/SetOutput144 (90h)3
Explicit word 1Get/SetOutput145 (91h)3
Explicit word 2Get/SetOutput146 (92h)3
Explicit word 3Get/SetOutput147 (93h)3
Explicit word 4Get/SetOutput148 (94h)3
Explicit word 5Get/SetOutput149 (95h)3
Explicit word 6Get/SetOutput150 (96h)3
Explicit word 7Get/SetOutput151 (97h)3
Explicit word 8Get/SetOutput152 (98h)3
Explicit word 9Get/SetOutput153 (99h)3
Explicit word 10Get/SetOutput154 (9Ah)3
Explicit word 11Get/SetOutput155 (9Bh)3
Explicit word 12Get/SetOutput156 (9Ch)3
Explicit word 13Get/SetOutput157 (9Dh)3
Explicit word 14Get/SetOutput158 (9Eh)3
Explicit word 15Get/SetOutput159 (9Fh)3
Explicit word 16Get/SetOutput160 (A0h)3
Explicit word 17Get/SetOutput161 (A1h)3
Explicit word 18Get/SetOutput162 (A2h)3
Explicit word 19Get/SetOutput163 (A3h)3
Explicit word 20Get/SetOutput164 (A4h)3
Explicit word 21Get/SetOutput165 (A5h)3
Explicit word 22Get/SetOutput166 (A6h)3
Explicit word 23Get/SetOutput167 (A7h)3
Explicit word 24Get/SetOutput168 (A8h)3
Explicit word 25Get/SetOutput169 (A9h)3
Explicit word 26Get/SetOutput170 (AAh)3
Explicit word 27Get/SetOutput171 (ABh)3
Explicit word 28Get/SetOutput172 (ACh)3
Explicit word 29Get/SetOutput173 (ADh)3
Explicit word 30Get/SetOutput174 (AEh)3
(1)
The split point determines the size of the slave assembly and the explicit assembly. If the output size
(parameter 6) is set to 32, and the split point (parameter 7) is the minimum size (1), the remaining words are
explicit outputs. The example above illustrates the maximum amount of explicit outputs that can be configured.
For more information about using the split point parameter, see Input Split Point on page 30 or Output Split
Point on page 36.
(2)
A get of this instance will return the entire set of Explicit Assembly Data.
(1)
(2)
Get/SetOutput103 (67h)3
Publication 1761-UM005B-EN-P - October 2006
Chapter
7
Application Examples
All examples are for illustration and information purposes only.
Because of the many variables and requirements associated with any
particular installation, Rockwell Automation cannot assume
responsibility or liability for the actual use based on the examples and
diagrams.
MicroLogix as I/O on the
DeviceNet Network
MicroLogix controllers are incapable of being true slave I/O products.
But, they are capable of behaving like slave I/O and more by adding
logic (user program). This example turns a MicroLogix controller into
an I/O block on the DeviceNet network. The MicroLogix input data is
sent up to the DeviceNet master as input data, and the DeviceNet
master output data is sent to the MicroLogix outputs.
The example logic is a user program that monitors the
communications link between the MicroLogix and the DeviceNet
master and makes sure it is operational. If problems occur with the
communications link, the MicroLogix controller turns off the outputs.
If the connection is restored, the controller recovers and behaves like
an I/O block.
If you would prefer to have the MicroLogix maintain the outputs
when a communications fault is detected, remove or disable some of
the logic in this application (review the comments for each rung to
determine which logic to remove). Or, if you prefer to have the
controller behave differently on a communications fault, simply add
the corresponding logic that you require.
69Publication 1761-UM005B-EN-P - October 2006
70 Application Examples
Example DNI Configuration
Parameters
Parameter NumberDescriptionRangeDefault ValueFor this Example,
Series ASeries B
41Input SizeSeries A: 1…16
Not
Applicable
53Input TypeBit or Integer FileInteger FileInteger File
64Input Data File3…25477
75Input Word Offset0…254090
86Output SizeSeries A: 1…16
Not
Applicable
98Output TypeBit or Integer FileInteger FileInteger File
109Output Data File3…25477
1110Output Word Offset0…254195
1411DF1 Device0…3:
312DNI Series A:
1213DF1 HeartbeatSeries A: 2…10
1314Data Scan Delay
215Message Timeout0…2500 ms0 ms0 ms
Not
Applicable
1517DF1 AutobaudDisabled (0) or Enabled (1) Enabled (1)Enabled (1)
2Input Split Point1…321 word4 words
7Output Split Point1…321 word4 words
Data Enable
DNI Series B:
I/O Scan Enable
(Polling Enable)
(Polling Delay)
16DF1 Substitute
Address
All example ladder logic programs in this section use the following
DNI configuration.
ENTER
1 word4 words
Series B: 1…32
1 word4 words
Series B: 1…32
3 = MicroLogix 1000 3 = MicroLogix 1000
0: Other
1: PLC
2: SLC/ Other MicroLogix
3: MicroLogix 1000
0 or 1Disabled (0)Enabled (1)
22
Series B: 1…10
20…3000 ms50 ms100 ms
0…6464 = Disabled64 = Disabled
Publication 1761-UM005B-EN-P - October 2006
Application Examples 71
Parameter NumberDescriptionRangeDefault ValueFor this Example,
Series ASeries B
The ladder program example is used to monitor the integrity of the
communications link with the DNI. If something happens and
communications are lost (cable is cut or removed, DNI loses power or
faults) this logic detects that condition. The user can program the
controller to respond to a loss of communications, if desired.
The example ladder logic shown below is available for download
from http://www.ab.com/micrologix. The sample is compatible with
RSLogix 500 programming software. The file name is DNI I-O.RSS and
contains two programs.
• DNI MicroLogix Heartbeat Logic, DNI I-O.RSS Ladder 2 - Main
Program
Monitors the communications link for integrity. This is
considered to be part of the Heartbeat logic associated with the
DNI.
• DNI - COS (change of state) I/O Messaging, DNI I-O.RSS Ladder
6 - COS ML DNI
Moves the Input and Output data inside the controller, for
correct operation with the DNI.
Publication 1761-UM005B-EN-P - October 2006
72 Application Examples
DNI - MicroLogix Heartbeat Logic
TIP
Rung 9 in this example resets (0) all outputs to off if
communications are lost. If you prefer your
application to have the controller maintain the
outputs in their last state, remove this rung. Or, if
you want additional logic to control your outputs,
remove this rung and program the outputs as your
application requirements warrant.
Publication 1761-UM005B-EN-P - October 2006
0000
0001
0002
0003
Application Examples 73
DNI I-O.RSS Ladder 2 - Main Program
This rung sets status file bit S2:0/8. When this bit is set, it allows a program written for a 32-point
MicroLogix 1000 controller to run without an I/O mismatch error on a 10, 16, or 25-point controller.
This rung detects an off-to-on transition of bit N7:95/7. Bit N7:95/7 is the communication’s Heartbeat that is received
from the DNI.
N7:95
7
B3:31
OSR
15
This rung detects an on-to-off transition of bit N7:95/7. Bit N7:95/7 is the communication’s Heartbeat that is received
from the DNI.
N7:95
7
B3:31
OSR
13
This rung resets the communications watchdog whenever the DNI Heartbeat changes state (off-to-on or on-to-off).
DNI Heartbeat Pulse On Detected
B3:31
14
DNI Heartbeat
Pulse Off Detected
B3:31
12
Extend I/O Configuration
S:0
8
DNI Heartbeat Pulse On DetectedOff-to-On MemoryHeartbeat Bit from DNI
B3:31
14
DNI Heartbeat Pulse Off DetectedOn-to-Off MemoryHeartbeat Bit from DNI
B3:31
12
DNI Communications Watchdog
T4:39
RES
0004
Timer 39 is the communications watchdog for DNI/MicroLogix communications. If this timer ever “times out”, the outputs
directly controlled by the MicroLogix turn off. This timer is constantly being reset by the status of bit N7:95/7 (toggle on,
toggle off). Bit N7:95/7 is controlled by communications received from the DNI. The amount of time (preset) the timer
should be set to is dependent on the DF1 Heartbeat, Data Scan Delay, and the baud rate of the RS-232 port. Using this
logic with a Series D MicroLogix 1000 controller, set T4:39 to a preset value of 350 ms. If communications are lost with the
DNI, the MicroLogix 1000 turns off its outputs after 350 ms.
TON
TIP
TON
Timer On Delay
TimerT4:39
Time Base0.01
Preset350<
Accum22<
Subroutine 6 (COS ML DNI) is covered in the
following section.
EN
DN
Publication 1761-UM005B-EN-P - October 2006
74 Application Examples
DNI - COS (change of state) I/O Messaging
The ladder logic shown below is an example of how to send input
data to the DNI (COS input messaging). This procedure is
recommended because the latency issue associated with polling
devices is minimized. Polling is a mechanism that is used to acquire
data from a device. The DNI reading data from a controller at a set
interval is an example of a polled relationship. The problem with
polling is that usually the data does not change, so the
communications are consumed by reading the same data over and
over. Another problem is that information cannot be received quicker
than the polled rate, and depending on when the data changes, worst
case update can take up to twice the polled rate.
One solution to this problem is to allow for COS (change of state)
messaging. What this allows is for the device (MicroLogix for
example) to send input data to the DNI when it detects new/changed
data. Many also call this type of relationship unsolicited
communications. This can significantly improve system throughput
because the polling interval is eliminated.
The way the MicroLogix controllers can get input data into the DNI is
to message to node address 254. Address 254 is an invalid address on
the DeviceNet network. When the DNI detects an incoming message,
it looks at the destination address and size; if it reads 254 for the
address and the size is equal to the configured input size, it knows the
data in the message is input data destined for the DNI (For DNI Series
B, the size includes master and explicit input data). The data is then
placed into the DNI’s input image and is delivered to the DeviceNet
master using the polled or COS connection that was configured in the
DeviceNet master by the user.
Publication 1761-UM005B-EN-P - October 2006
0000
Application Examples 75
DNI I-O.RSS Ladder 6 - COS ML DNI
This rung checks to see if the input data has changed from the previous ladder scan. If the input data has changed, bit
B3:31 is set.
MicroLogix 1000 InputsInput Data has Changed Flag
NEQ
Not Equal
Source AI:0.0
341<
Source BN7:89
341<
NEQ
Not Equal
Source AI:0.1
0<
Source BN7:80
0<
The Time Out bit (TO) associated with each message instruction is used to clear the controller’s communications buffer and
message instruction. Setting the TO bit places the controller’s communication section in the same condition as when the
controller powers up. This rung detects if a message instruction is currently being processed and, when input data
changes, the existing message is terminated allowing a new transmission to start. It also terminates the message if the
message instruction does not complete (T4:38/DN).
B3:31
11
0001
0002
MicroLogix to DNI Message Input Data has Changed FlagMicroLogix to DNI Message Timeout
N7:82
13
B3:31
11
N7:82
8
Retry Message
T4:38
DN
This is the message instruction that writes data to the DNI. It is recommended that you use 485CIF as the target device. CIF
is the most efficient type of communications. This message instruction also has a destination address of 254. This value is
entered into the Setup Screen area of the message instruction.
MSG
Read/Write Message
Read/WriteWrite
Target Device485CIF
Control BlockN7:82
Control Block Length7
Setup Screen
EN
DN
ER
Publication 1761-UM005B-EN-P - October 2006
76 Application Examples
Publication 1761-UM005B-EN-P - October 2006
Chapter
8
Explicit Messaging (DNI Series B Only)
Explicit messaging is the mechanism that is used to move data over
the DeviceNet network. Every device on the DeviceNet network either
initiates or responds to some type of explicit message to either read
(get) or write (set) data.
In the network shown below, node 5 is a master (scanner) that owns
slave I/O data on the DeviceNet network. When the master interacts
with its slaves (either through strobed, polled, cyclic or COS
connections), the communications used are specific types of I/O
messages. If the MicroLogix controllers at nodes 10 and 30 want to
exchange data, they message through the DNIs to each other using
explicit messages.
Node 5
Node 15
Node 25
The functionality of each device determines how it can interact with
other devices on the network. Many devices can respond only to
requests. Some devices can be configured to respond, but they can
also initiate messages to others. One example is the PanelView
operator interface that has DeviceNet technology built in. It can be
owned by a master as slave I/O, and can also get or set data to other
devices on the network.
Node 10
Node 20
Node 30
77Publication 1761-UM005B-EN-P - October 2006
78 Explicit Messaging (DNI Series B Only)
The Series B DNI also has the ability to exchange data with other
DeviceNet devices using explicit messaging, provided those devices
are capable of interacting. The following list provides some of the
requirements.
• If a device is Unconnected Message Manager (UCMM) capable,
it should be 100 percent compliant with or without a master
being present on the network.
• If a device is not UCMM capable, it will need a master to be
present on the network, and it should be owned by the master.
• If a device is not UCMM capable and a master is not present (or
a master is present but the device is not owned by the master),
the device will not be compatible with the DNI using explicit
messaging.
Using DF1 Protocol for
Explicit Messages Over a
DeviceNet Network
The DNI is an intelligent bridge between DF1 full duplex
(Allen-Bradley open protocol) and DeviceNet. All Allen-Bradley
controllers that use DF1 protocol (basically any Allen-Bradley
controller with an RS-232 port) use the historical source/destination
model to move data.
The problem with this is that DeviceNet technology uses the newer
producer/consumer model and is not compatible with the
source/destination model. So, to allow controllers that use the
source/destination model (MicroLogix, SLC, PLC) access to devices on
the DeviceNet network, the DNI can act as an intermediary.
To act as an intermediary, the DNI must allow the historical DF1
message format to be compatible with the newer DeviceNet
producer/consumer object model. This is accomplished by creating a
routing profile. The routing profile basically takes the DF1 message
and converts it to DeviceNet. Each routing profile contains the
information needed to get or set data to other DeviceNet devices.
Each routing profile has the following five components.
• Node - the address of the Device on a DeviceNet network
• Class - the DeviceNet class code
• Instance - the DeviceNet instance code
• Attribute - the DeviceNet attribute code
• Size - the amount of data to be read or written
Publication 1761-UM005B-EN-P - October 2006
Explicit Messaging (DNI Series B Only) 79
The DNI can store up to 10 profiles. These profiles can be changed at
any time, and they are not backed up with a battery. If the power to
the DeviceNet network is lost, the profiles are cleared and must be
reloaded. This can be done with a subroutine.
Routing Profile
Configuration
TIP
A message instruction returning an error code of
0xD0H is an indication that profiles need to be
re-configured.
The 10 profiles are stored within the DNI in profile registers. To
configure a routing profile, the user creates a write message in the
controller’s ladder logic with a destination node address of 240…249.
The write message must have a data length of five words. Each word
corresponds to one of the five components in the routing profile.
WordTitleFunction
0Target NodeNode number (0…63) of the target device on a DeviceNet
network that communications will be established with.
1ClassClass of the target DeviceNet object.
2InstanceInstance of the target DeviceNet object.
3AttributeAttribute of the target DeviceNet object that will be read from or
written to (get/set).
4SizeAmount of data to be read or written in bytes.
When the DNI receives a write message with a destination address of
240…249, it stores the five words of data in the corresponding profile
register, location 240…249.
Publication 1761-UM005B-EN-P - October 2006
80 Explicit Messaging (DNI Series B Only)
Explicit Messaging
Examples
Once the profiles are correctly loaded into the DNI, getting data from
a DeviceNet device is as simple as reading data from another
controller. The procedure is illustrated by the following examples.
Reading (Get) Data Example
Node 5
Node 15
Node 25
Node 10
Node 20
Node 30
For the DeviceNet network shown above, we want to read data from
the proximity sensor at node 15. The proximity sensor has specific
DeviceNet parameters that are accessible via the DeviceNet network.
In this example, profile register 240 within the DNI (node 10) has
been configured to access specific data within the proximity sensor.
TIP
Devices must be UCMM capable. The proximity
switch and tower light are not UCMM capable. But,
because they are owned by the 1747-SDN scanner in
the SLC chassis, the DNI can explicit message to
them.
TIP
Any devices parameters should be identified in their
respective documents.
Publication 1761-UM005B-EN-P - October 2006
Explicit Messaging (DNI Series B Only) 81
DNI Profile Register 240:
• DeviceNet Node:15
• Class: 14 (0x0E)
• Instance: 1
• Attribute: 1
• Size: 1 byte
To read data from the proximity sensor, a read message is initiated
from the controller to node address 240. The DNI receives the node
240 read request and then generates the appropriate DeviceNet
explicit message to get (read) data from the proximity sensor at
node 15.
TIP
The profiles size parameter must match the
DeviceNet device.
In this example, the amount of data (size) being read over DeviceNet
(in bytes) is 1. The DNI receives the byte of information from the
sensor and replies to the controller read request with a word of data.
The actual byte of data from the sensor resides in the low order byte
of the data word within the controller.
In this example, the read message instruction has N7:10 identified as
the data table address, so the sensor data will appear in low order
byte of N7:10. The message instruction setup screen is shown below.
Publication 1761-UM005B-EN-P - October 2006
82 Explicit Messaging (DNI Series B Only)
Writing (Set) Data Example
In this example we want to write data to the light tower at node 20.
The light tower has specific parameters that are accessible via the
DeviceNet network. In this example, profile register 241 within the
DNI (node 10) has been configured to set data in the light tower.
DNI Profile Register 241:
• DeviceNet Node:20
• Class: 9
• Instance: 1
• Attribute: 3
• Size: 1 byte
Node 5
Node 15
Node 25
Node 10
Node 20
Node 30
To set DeviceNet data, a write message is initiated from the controller
to node address 250. The first data word of the write message
identifies which profile register to use (240…249). The remaining data
words in the message contain the data that is transmitted to the
DeviceNet device, in this example the light tower.
Publication 1761-UM005B-EN-P - October 2006
The size specified in the DNI’s profile register is in bytes. The data
being sent by the controller is in words. In this example N7:0 contains
the profile register to be used (241). Location N7:1 contains the data to
be sent to the light tower.
Explicit Messaging (DNI Series B Only) 83
The message instruction setup screen is shown below.
• The actual data portion of the controller’s write message (N7:1)
must match the size parameter in the respective profile register.
In this example:
• the size of profile register 241 is 1
• the controller’s write message has a length of 2
– the first word identifies the profile register to be used
– the second word is the actual data
To verify that this is a valid routing profile, we see that the data
portion of this message is 1, which corresponds to the profile’s size of
1. So, this example is valid. If the sizes do not match, the controller’s
write message will result in an error.
Publication 1761-UM005B-EN-P - October 2006
84 Explicit Messaging (DNI Series B Only)
Publication 1761-UM005B-EN-P - October 2006
Specifications
Appendix
A
Physical Specifications
DeviceNet Specifications
DescriptionSpecification
24V dc Power Source Required11…25V dc
Current Draw200 mA at 24V dc
350 mA at 11V dc
(400 mA maximum inrush for 30 ms at 24V dc)
Internal Isolation 500V dc
Ambient Operating Temp.0° C…+60° C (+32° F…+140° F)
Storage Temperature-40° C…+85° C (-40° F…+175° F)
Agency CertificationUL 1604
C-UL C22.2 No. 213
Class I Division 2 Groups A,B,C,D
CE compliant for all applicable directives
ODVA Conformance Version 2.0
FeatureY/NComments
Peer to Peer MessagingYOnly to other Controllers/DNI’s
I/O Assembly Explicit
Messaging
I/O Peer to Peer Messaging
(also known as Dynamic I/O)
UCMMY
Configuration Consistency
Allow 15 mm (0.6 in.)
clearance for DIN rail
latch movement during
installation and removal.
27.7 mm
(1.09 in.)
107 mm
(4.20 in.)
64.8 mm
(2.55 in.)
Publication 1761-UM005B-EN-P - October 2006
Mounting Template
Specifications 87
52.07 mm
(2.05 in)
118 mm
(4.64 in)
27.7 mm
(1.09 in)
107 mm
(4.20 in)
Allow 15 mm (0.6 in.)
clearance for DIN rail
latch movement during
installation and removal.
Publication 1761-UM005B-EN-P - October 2006
88 Specifications
Publication 1761-UM005B-EN-P - October 2006
Glossary
Interface Basics
The 1761-NET-DNI (DNI) is a smart interface that provides DF1
full-duplex capable devices a connection to the DeviceNet network.
To understand how the DNI operates, you need to become familiar
with certain terms. This figure illustrates the relationship between the
DF1 Device, the DNI function, and the DeviceNet network.
1761-NET-DNI Interface Diagram
DeviceNet
Input
Image
(To Master)
Output
Image
(From Master)
Messaging
DNI
Configuration,
Parameters,
Operating Systems
Terms and Abbreviations
MicroLogix or other DFI Device
The following terms and abbreviations are specific to this product. For
a complete listing of Allen-Bradley terminology, refer to Allen-Bradley
Industrial Automation Glossary, publication AG-7.1.
Autobaud
A feature that allows a communications port to automatically
synchronize to the device or network that it is attached to. This feature
typically minimizes the amount of configuration required, and also
makes it easier to replace devices.
Connection Set
These methods of communication relate to how data is communicated
between master and slave. For example, a master allocates a slave I/O
connection set. The ownership allows the master to read (get) and/or
write (set) data to the slave.
COS (Change Of State)
Communication method that does not send or receive data until a
change in data is detected.
89Publication 1761-UM005B-EN-P - October 2006
90 Glossary
DeviceNet Master
A product capable of owning input/output (I/O) on a DeviceNet
network.
DeviceNet Slave
A product whose data (or portion of) can be owned by DeviceNet
master.
DF1 Full Duplex
DF1 is a standard (open) point-to-point communication protocol.
Virtually all Allen-Bradley controllers (PLC-3, PLC-5R, SLC, MicroLogix)
that support an RS-232 communication port support DF1.
Explicit Messaging
A DeviceNet message that gets/sets device configuration information.
Heartbeat
A mechanism that lets a device, set of devices, or a connection check
for operation or integrity. Also known as a watchdog.
Input Buffer
A set of 16-bit words that is available to a master on a DeviceNet
network. The input buffer in DNI Series A is configurable from 1… 16
data words (DNI Series B is configurable from 1…32). The data in the
input buffer originates from the device connected to the RS-232 port
(either by the DNI reading the data, or the RS-232 device writing the
data to the DNI). The input buffer terminology is used because the
data is input data to the DeviceNet master.
Messaging
A general term that identifies the exchange of data between devices.
The two major types of DeviceNet messaging are:
• I/O - DeviceNet master and DeviceNet slave.
• Peer-to-peer - Between compatible devices without a master’s
involvement.
Publication 1761-UM005B-EN-P - October 2006
Output Buffer
A set of 16-bit data words that is available to a Master on a DeviceNet
network. The output buffer in DNI Series A is configurable from 1…16
Glossary 91
data words (DNI Series B is configurable from 1…32). Output data
received from the DeviceNet master is forwarded (written) to the
RS-232 device.
Peer-To-peer
A type of communication where both devices are equal. These
devices communicate to each other without a third device to manage
the transaction.
Profile Register
The location within the DNI where routing profile configurations are
stored.
PCCC
Programmable Controller Communication Commands
UCMM
Unconnected Message Manager
Publication 1761-UM005B-EN-P - October 2006
92 Glossary
Publication 1761-UM005B-EN-P - October 2006
Index
Numerics
1761-NET-DNI
agency certification
commissioning 58
compliance to EC directives 23
configuration parameters 27
configuration software 53
interface diagram 89
new features 27
port identification 26
specifications 85
85
A
application examples 69, 78
autobaud 47, 48
B
baud rate 48
C
cables 24
CE 85
commissioning the DNI 58
configuration parameters 27, 28
configuring master/slave I/O 13
configuring peer-to-peer messaging 11
C-UL 85
split point 27, 30, 36
standby/operational parameter 27, 49
start-up instructions 11
status
input status to master device
output status to DF1 device 51
status byte 50
substitute address 47
18, 57, 62
50
Publication 1761-UM005B-EN-P - October 2006
T
terms 89
troubleshooting
LED indicators
U
UL 85
W
wiring
26
cables 24
Index 95
62
Publication 1761-UM005B-EN-P - October 2006
96 Index
Publication 1761-UM005B-EN-P - October 2006
Index 97
Publication 1761-UM005B-EN-P - October 2006
98 Index
Publication 1761-UM005B-EN-P - October 2006
Rockwell Automation
Support
Rockwell Automation provides technical information on the Web to assist
you in using its products. At http://support.rockwellautomation.com
find technical manuals, a knowledge base of FAQs, technical and application
notes, sample code and links to software service packs, and a MySupport
feature that you can customize to make the best use of these tools.
For an additional level of technical phone support for installation,
configuration, and troubleshooting, we offer TechConnect Support programs.
For more information, contact your local distributor or Rockwell Automation
representative, or visit http://support.rockwellautomation.com
, you can
.
Installation Assistance
If you experience a problem with a hardware module within the first 24
hours of installation, please review the information that's contained in this
manual. You can also contact a special Customer Support number for initial
help in getting your module up and running.
United States1.440.646.3223
Monday – Friday, 8am – 5pm EST
Outside United
States
Please contact your local Rockwell Automation representative for any
technical support issues.
New Product Satisfaction Return
Rockwell tests all of its products to ensure that they are fully operational
when shipped from the manufacturing facility. However, if your product is
not functioning, it may need to be returned.
United StatesContact your distributor. You must provide a Customer Support case
number (see phone number above to obtain one) to your distributor in
order to complete the return process.
Outside United
States
Allen-Bradley, CompactLogix, ControlLogix, PowerFlex, Rockwell Automation, RSLinx, RSLogix, MicroLogix,
Panelview, RSNetWorx, and TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Please contact your local Rockwell Automation representative for
return procedure.