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://www.ab.com/manuals/gi) 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 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
• recognize the consequence
Labels may be located on or inside the drive to alert
people that dangerous voltage may be present.
Labels may be located on or inside the drive to alert
people that surfaces may be dangerous temperatures.
Preface
About This Manual
To:See :
get started with a Logix5000 controllerDeviceNet Modules in Logix5000™ Control Systems, publication
Look up abbreviated information and procedures
regarding programming languages, instructions,
communications, and status
program a Logix5000 controller—detailed and
comprehensive information
program a specific Logix5000 programming
instruction
import or export a Logix5000 project or tags from or
to a text file
convert a PLC-5 or SLC 500 application to a
Logix5000 project
control devices over an EtherNet/IP networkEtherNet/IP Modules in Logix5000 Control Systems User
control devices over an ControlNet™ networkControlNet Modules in Logix5000 Control Systems User Manual,
You are
here
control devices over an DeviceNet™ networkDeviceNet Modules in Logix5000 Control Systems User Manual,
The manual is one of various Logix5000 manuals.
1756-QS001
Logix5000 Controllers System Reference, publication
1756-QR007
Logix5000 Controllers Common Procedures, publication
1756-PM001
• Logix5000 Controllers General Instructions Reference
Manual, publication 1756-RM003
• Logix5000 Controllers Process and Drives Instructions
Reference Manual, publication 1756-RM006
• Logix5000 Controllers Motion Instruction Set Reference
Logix5550 Controller Converting PLC-5 or SLC 500 Logic to
Logix5550 Logic Reference Manual, publication 1756-6.8.5
Manual, publication ENET-UM001
publication CNET-UM001
publication DNET-UM004
This manual guides the development of a control system that uses a
Logix5000™ controller and a DeviceNet™ network. A Logix5000
controller is any of the following:
• 1756 ControlLogix® controllers
• 1769 CompactLogix™ controllers
• 1789 SoftLogix5800™ controllers
• 1794 FlexLogix™ controllers
• PoweFlex®700S with DriveLogix™ controllers
1Publication DNET-UM004A-EN-P - March 2004
Preface 2
Who Should Use this
This manual is for those who program or maintain industrial
automation systems.
Manual
To use this manual, you must already have experience with:
• programmable controllers
• industrial automation systems
• personal computers and Windows® 95, Windows 98,
Windows NT®, or Windows 2000 operating system
Conventions in this Manual
Text that is:Identifies:For example:Means:
Italicthe actual name of an item that you
see on your screen or in an example
courierinformation that you must supply
based on your application (a
variable)
enclosed in brackets a keyboard keyPress [Enter].Press the Enter key.
As you use this manual, you will see some terms that are formatted
differently from the rest of the text:
Right-click User-Defined …Right-click on the item that is named
User-Defined.
Right-click
name_of_program …
You must identify the specific program in
your application. Typically, it is a name or
variable that you have defined.
ControlNet main networkControlNet to DeviceNet Linking Device 1788-CN2DN
Bridging Across Networks
Device 1
Logix5000™ devices can usually communicate with devices on other
networks with no additional configuration or programming.
• A bridge connects two different networks. The bridge is either:
– single device with communication ports for two different
networks
– separate communication devices in the same chassis
• For example, the bridge device shown below is connected to
both EtherNet/IP and DeviceNet networks. Device 1 on
EtherNet/IP can communicate with Device 2 on DeviceNet
through the bridge.
EtherNet/IP network
switch
bridge
DeviceNet network
Publication DNET-UM004A-EN-P - March 2004
Device 2
Before You Begin 1-7
Communication can bridge these networks:.
A device on this networkCan access a device on this network:
EtherNet/IPControlNet:DeviceNet:
EtherNet/IPyesyesyesyes
ControlNetyesyesyesyes
DeviceNetnonoyesno
RS-232yes
(1)
To use RSNetWorx software to configure and schedule a ControlNet network, we recommend that you either:
yes
(1)
yesyes
• connect to an EtherNet/IP network and bridge to the ControlNet network
• use a 1784-PCC interface device to connect directly to the ControlNet network
(2)
Typically, this is a point-to-point connection between a Logix5000 controller and another device, such as a PanelView™
Plus operator terminal.
RS-232
(2)
:
workstation
In this example, a workstation configures a drive on a DeviceNet
network. The workstation bridges EtherNet/IP to reach the drive.
EtherNet/IP network
switch
bridge
DeviceNet network
PWR
STS
PORT
MOD
Drive
NET A
NET B
Publication DNET-UM004A-EN-P - March 2004
1-8 Before You Begin
EtherNet/IP network
EtherNet/IP bridge in
1756 system
DeviceNet bridge in
same 1756 system
DeviceNet network
This example RSLinx window shows how the DeviceNet bridge links
to the EtherNet/IP network:
distributed DeviceNet
devices
Publication DNET-UM004A-EN-P - March 2004
Before You Begin 1-9
Choose a Baud Rate for the
The default baud rate for a DeviceNet network is 125K bits/s. This is
the easiest baud rate to use and is usually sufficient.
Network
The 2 most common methods to set the baud rate of a device are:
Method:Description:
autobaud featureAt power up, the device automatically sets its baud rate to the baud rate of the first device it hears on the network. It
remains set until the device powers up again.
The network requires at least one device with a fixed baud rate so the autobaud devices have something against
which to set. Typically, scanners and network interfaces have a fixed baud rate.
switches or
pushbutton on the
device
softwareSome devices require a programming device to set its address. For example, you can use your computer and the
Some devices have switches or a pushbutton that set the baud rate.
• The device reads the switch setting at power up.
• Typically, the switch lets you select either:
• autobaud
• fixed baud rate of 125K, 250K, or 500K
• If you change the switch setting, you have to cycle power to the device before the change to takes effect.
There are exceptions. For example, the 1756-DNB module has a pushbutton, which only lets you set the baud rate if
the module is unconnected from the network or network power is off. Once you change the baud rate, the module
automatically resets to the new baud rate.
DeviceNet Node Commissioning tool (software) to set the baud rate of a device. The Node Commissioning tool is
available:
• automatically when you install RSNetWorx for DeviceNet software
• as a separate application on the RSLogix 5000 software CD, revision 13.0 or later
Publication DNET-UM004A-EN-P - March 2004
1-10 Before You Begin
If You Want to Use a Higher Baud Rate…
The length of the trunkline and type of cable determines which baud
rates you can use:
If you change the baud rate of your network, make sure that all
devices change to the new baud rate. Mixed baud rates produce
communication errors.
To set the baud rate for the network:
length
1. Connect the network interface to the network and set its baud
rate.
2. Connect the scanner to the network and set its baud rate.
3. For each device that has only fixed baud rates (no autobaud),
set the baud rate and connect it to the network.
4. Connect the remaining devices to the network and enable
autobaud for each of them.
If a device:Then:
has a switch to enable
autobaud
does not have a switch to
enable autobaud
A. Set the switch to autobaud.
B. Connect the device to the network.
A. Connect the device to the network.
B. Use RSNetWorx software to enable
autobaud.
Publication DNET-UM004A-EN-P - March 2004
Before You Begin 1-11
Calculate Scanner Memory
Requirements
If a device sends input data, it uses
input memory in the scanner.
devicedevicedevice
If a device gets output data, it uses
output memory in the scanner.
A Logix5000 scanner has fixed sections of memory for the input and
output data of your network. Each device on your network requires
either some input or output memory of the scanner. Some devices
both send and receive data, so they need both input and output
memory.
The memory of a Logix5000 scanner is organized as an array
scanner
module
Input
Memory
DINT
DINT
DINT
Output
Memory
DINT
DINT
DINT
of DINTs (4-byte elements). A Logix5000 system is easier to
program if you give each device its own DINT or DINTs
within the scanner.
byte 3byte 2byte 1byte 0
DINT
DINT
DINT
Some memory may be left
empty (not used).
Device B
The data fills only the portion
of memory that it needs.
Device A
To make sure your network is within limits, calculate the amount of
input and output memory that the scanner needs. This information
will also be very useful when you configure the scanner.
Check the I/O Limits of the Scanner
Once you tally the input and output data for your network, make sure
it is within the limits of the scanner. If they exceed the limits, use
multiple scanners.
ScannerMaximum input data (DINTs)Maximum output data (DINTs)
1756-DNB124123
1769-SDN9090
1784-PCIDS124123
1788-CN2DN124123
1788-EN2DN124123
1788-DNBO124123
Publication DNET-UM004A-EN-P - March 2004
1-12 Before You Begin
If You Are Using a SoftLogix5800 Controller
The 1784-PCIDS scanner organizes its input and output memory in
16-bit increments. When you access the data in the controller, the data
is packed into 32-bit increments (DINTs).
Scanner Input Memory
16 bits
16 bits
16 bits
16 bits
16 bits
16 bits
Controller Input Data
Controller Output DataScanner Output Memory
A Logix5000 system is easier to program if you give each device its
own DINT or DINTs within the controller. To accomplish this with a
PCIDS scanner:
Publication DNET-UM004A-EN-P - March 2004
• Allocate memory in 4-byte increments.
• This may result in some 16-bit words being left unused.
Before You Begin 1-13
Assign an Address to Each
To communicate on the DeviceNet network, each device requires its
own address. In general, a device can use any address between 0 to
Device
Give this device:This address:Notes:
scanner0If you have multiple scanners, give them the lowest addresses is sequence (0, 1…).
any device on your network
except the scanner
computer interface to the
network
no device63Always leave address 63 open. Out of the box, most DeviceNet devices are preset for
1 to 61• Give the lower addresses to devices with 15 bytes or more of input or output
62If you connect a computer directly to the DeviceNet network, use address 62 for the
63. However, we recommend that you follow these guidelines:
data.
• Gaps between addresses are OK and have no effect on system performance. If
you are uncertain of the final lay-out of your system, leave gaps between
addresses. This gives you some flexibility as you develop your system.
computer.
• Many computer interface devices use this address as their default.
• Devices such as a 1770-KFD or 1784-PCD connect a computer directly to a
DeviceNet network.
address 63.
• Some devices have no switches or pushbutton to set the address. They require
software such as RSNetWorx for DeviceNet software to change the address. This
means that you must first place it on the network at its preset address of 63
before you can change the address.
• If another device is already using address 63, there will be an address conflict
and you won’t be able to communicate with the newly connected device.
• Leaving address 63 open makes it possible to configure a new device.
• The auto-address recovery feature also requires address 63 to be open.
Publication DNET-UM004A-EN-P - March 2004
1-14 Before You Begin
1. Give address 0 to the scanner.2. Give the lower addresses to devices with 15 bytes or more of input or
Here’s an example:
output data.
3. Gaps in addresses are OK.
DeviceAddressInput Size of
Device
(bytes)
Input Memory
in Scanner
(DINTs)
Output Size
of Device
scanner0n/an/an/an/a
PanelView terminal31283212832
<empty>22
I/O adapter w/ modules59352
<empty>22
drive74141
<empty>22
photoeye91100
computer interface62n/an/an/an/a
63
4. Give address 62 to the computer interface device.5. Leave address 63 open.
(bytes)
Output Memory
in Scanner
(DINTs)
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Offline
Chapter
2
How to Use This Chapter
To configure your DeviceNet network, you have the following
options:
If:Then configure your network:See:
Any of the following conditions apply:
• The network and devices are not yet installed.
• You do not have access to the network. (I.e., You are
off-site.)
• You prefer to do most of the configuration before you get
on-site with the network.
Both of the following conditions apply:
• The network and devices are already installed.
• You have access to the network. (I.e., You are on-site.)
offlineThis chapter
onlineChapter 6
Offline configuration lets you do most of the DeviceNet configuration
tasks before you connect to the network.
Off-Site
RSNetWorx for DeviceNet software
1. Configure parameters of each device.
2. Configure the scanner to communicate
On-Site
DeviceNet network
Scanner
Scan List
device 1
device 2
device3
…
1Publication DNET-UM004A-EN-P - March 2004
device 1
parameter 1
parameter 2
parameter 3
…
…
…
device 2
parameter 1
parameter 2
parameter 3
…
…
…
device 3
parameter 1
parameter 2
parameter 3
…
…
…
with the devices on your network.
2-2 Configure Your Network Offline
To configure a DeviceNet network while offline:
Step:Page:
❑ Before You Begin2-2
❑ Create a File for the Network2-3
❑ Draw Your Network2-4
❑ Configure Each Device2-5
❑ Configure the Scanner2-8
❑ Save the Network File2-15
❑ Generate an RSNetWorx Report2-16
❑ Download the Configuration to Network2-17
Before You Begin
DeviceAddressInput Size of
scanner0n/an/an/an/a
PanelView terminal31283212832
<empty>22
I/O adapter w/ modules59352
<empty>22
drive74141
<empty>22
photoeye91100
computer interface62n/an/an/an/a
Before you configure the network, make sure you have a list of the
devices that you are putting on your network and the address for each
of them.
For example:
63
Total
Device
(bytes)
Input Memory
in Scanner
(DINTs)
4341
Output Size
of Device
(bytes)
Output Memory
in Scanner
(DINTs)
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Offline 2-3
Create a File for the
Network
RSNetWorx software stores information about the configuration of
each device in a file on your computer.
Step:See page:
❑ Create a DeviceNet Configuration File2-3
❑ Give the File a Descriptive Name2-3
Create a DeviceNet Configuration File
1. Start RSNetWorx software.
2. Create a file.
3. Select DeviceNet Configuration.
4. Choose OK.
Save the file.
Give the File a Descriptive Name
Since the file stores the configuration of the network, give it a name
that identifies this specific DeviceNet network.
As you work in RSNetWorx software, periodically save your changes
to the file for the network.
Publication DNET-UM004A-EN-P - March 2004
2-4 Configure Your Network Offline
Draw Your Network
1. Browse the hardware list for the device.
2. If there is a [+] sign next to the device, click the [+] sign.
To configure a DeviceNet network, you use RSNetWorx software to
build a graphical picture of your network. To build a graphical picture
of your network, complete the following steps for each of your
devices:
graphical picture of your network
3. Double-click the major revision of the device.
For a device without a list of major revisions (no + or - sign), double-click the device.
Publication DNET-UM004A-EN-P - March 2004
If Your Device Is Not in the Hardware List…
If the hardware list does not show a device, then RSNetWorx requires
the EDS file for the device:
1. To see if an EDS file is available, go to
www.ab.com/networks/eds/
2. Use the EDS wizard of RSNetWorx software to register the file.
Configure Your Network Offline 2-5
Configure Each Device
Typically, a DeviceNet device has a set of parameters that define the
behavior of the device.
To configure a device offline:
Step:See page:
❑ Specify the Address of the Device2-6
❑ Configure the Parameters of the Device2-7
Publication DNET-UM004A-EN-P - March 2004
2-6 Configure Your Network Offline
Specify the Address of the Device
When you are offline, the address on the diagram identifies a device.
It does not set the device to that address. In chapter 5, you will set the
address of each device.
1. Double-click the device.
2. Type or select the DeviceNet address for the
device.
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Offline 2-7
Configure the Parameters of the Device
1. Click the Parameters tab.
2. Set a parameter to the required value:
• Select a new value.
– or –
• Click, type a new value, and press [Enter].
3. Close the dialog box.
Publication DNET-UM004A-EN-P - March 2004
2-8 Configure Your Network Offline
Configure the Scanner
Scanner
Scan List
device at address 1
device at address 2
device at address 3
To configure the scanner to communicate with the devices on your
network, you set up a scan list in the scanner. Then you define
memory locations for the data of each device.
scan list – A list in the scanner that identifies the devices with which the
scanner communicates. For each device in its scan list, the scanner sets aside
input and/or output memory for the data of the device.
Output Memory
DINTInput Memory
0
1
2
3
4
5
device at address 1
device at address 2
device at address 3
To configure the scanner offline:
Step:See page:
❑ Specify the Address of the Scanner2-9
❑ Define the Properties of the Scanner2-10
❑ Set the Alignment Option2-11
❑ Clear or Set the Automap on Add Check Box2-12
❑ Build the Scan List2-13
❑ Manually Assign Each Device to a Memory Location2-14
❑ Close the Configuration of the Scanner2-15
Publication DNET-UM004A-EN-P - March 2004
Specify the Address of the Scanner
1. Double-click the scanner.
2. Type or select the DeviceNet address for the
scanner.
Configure Your Network Offline 2-9
Publication DNET-UM004A-EN-P - March 2004
2-10 Configure Your Network Offline
Define the Properties of the Scanner
1. Click the Module tab
2. If this is a CompactLogix scanner (1769-SDN), choose
CompactLogix.
3. If the scanner uses a slot number, type its slot number.
Publication DNET-UM004A-EN-P - March 2004
Set the Alignment Option
Configure Your Network Offline 2-11
TIP
The alignment option you choose applies to both the input and
output maps.
1. Click the Input tab.
2. Choose Options.
3. Choose DWord Align.
If You Have a SoftLogix5800 Controller
The SoftLogix5800 scanner 1784-PCIDS organizes its input and output
memory in 16-bit words. For that scanner, choose Word Align.
Publication DNET-UM004A-EN-P - March 2004
2-12 Configure Your Network Offline
Clear or Set the Automap on Add Check Box
As an option, RSNetWorx software can automatically assign the
memory location for each device. Depending on how you want to
organize the memory, you may or may not want to use this option.
If you want to:Then:
leave gaps between devices
Memory
device at address 1
device at address 2
device at address 3
place devices in sequential DINTs
Memory
device at address 1
1. Click the Scanlist tab
2. Clear (uncheck) the
Automap on Add check box
After you add your devices to the scan list, manually assign the memory location
for each device.
1. Click the Scanlist tab
device at address 2
device at address 3
Publication DNET-UM004A-EN-P - March 2004
2. Set (check) the Automap on Add check box.
As you add your devices to the scan list, the software automatically assigns the
memory locations for each device.
Build the Scan List
Configure Your Network Offline 2-13
1. You should be at the Scanlist tab
If you get the following warning for a device, see Set the I/O
Parameters of a Device on page 11-6
2. Add devices to the scan list.
To add:Do this:
devices one at a
time
all the devices
at once
Select a device and click the >
button.
Click the >> button.
.
Publication DNET-UM004A-EN-P - March 2004
2-14 Configure Your Network Offline
Manually Assign Each Device to a Memory Location
IMPORTANT
1. Click the Input tab.
2. Select the device.
If you used Automap on Add (page 2-12).as you built your scan list,
then skip this section. Each device already has a memory location.
3. Type the element number to which you want to assign the data. This is the
starting point for the data. Larger data sizes wrap to several elements.
For example, to start the data in …Data[3], type 3 in the
Start DWord box.
4. Choose AutoMap.
An entry for the device shows up in the input array.
5. Click the Output tab and repeat steps 2 - 4.
Sometimes, a specific input or output value may end up as the upper
bytes of a DINT in the scanner.
To make your programming easier, use advanced mapping to re-map
the value to its own memory location. For more information, see Give a Value Its Own Memory Location on page A-1.
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Offline 2-15
Close the Configuration of the Scanner
Close the dialog box.
Save the Network File
Save the file.
After you configure each device on your network, including the
scanner, save the file.
Publication DNET-UM004A-EN-P - March 2004
2-16 Configure Your Network Offline
Generate an RSNetWorx
Report
1. File⇒Generate Report.
2. Entire network
An RSNetWorx report shows the following:
• devices on your network
• memory addresses of those devices in the scanner
• configuration of each device
The report is a very useful reference when you program your system.
The report shows up as an
HTML file.
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Offline 2-17
Download the
Configuration to Network
After you configure the network offline, you must download the
configuration to the network. Do this after the network and devices
are installed and you have access to the network.
Step:See page:
❑ Before You Download the Configuration2-17
❑ Open the Configuration File for the Network2-17
❑ Go Online to the Network2-18
❑ Download the Configuration to the Network2-19
Before You Download the Configuration
Before you download the configuration, your computer must be able
to communicate with each device on your DeviceNet network. Make
sure that you have completed the following steps:
Step:See:
Connect a Computer to the SystemChapter 3
1. Start RSNetWorx software.
2. Open the dnt file for the network.
Connect Each Device to the NetworkChapter 5
Open the Configuration File for the Network
Publication DNET-UM004A-EN-P - March 2004
2-18 Configure Your Network Offline
Go Online to the Network
When you go online to a DeviceNet network, RSNetWorx software
looks at the network (browses) one time and shows you the devices
on the network.
• It does not read (upload) or change (download) the parameters
of any of the devices.
• The picture you see remains static. It does not show any changes
since the last browse.
1. Go online.
2. Browse to the DeviceNet network.
3. Choose OK.
The message is telling you that the
software is not going to read or
change the parameters of the
devices. You do that in the next
step.
Publication DNET-UM004A-EN-P - March 2004
4. Check that you are online.
Configure Your Network Offline 2-19
Download the Configuration to the Network
IMPORTANT
1. Network⇒Download to Network.
2. Yes, download the entire network.
Make sure the scanner is in idle mode. To put the scanner in idle
mode, either:
• Turn off the …O.CommandRegister.Run bit of the scanner.
- or -
• Place the controller in program/remote program mode.
Publication DNET-UM004A-EN-P - March 2004
2-20 Configure Your Network Offline
Notes:
Publication DNET-UM004A-EN-P - March 2004
Connect a Computer to the System
Chapter
3
How to Use This Chapter
This chapter shows how to connect a computer to your system so you
can:
• configure the devices on the network
• configure network parameters
• upload, download, monitor, and program projects for Logix5000
controllers
Some networks let you browse (bridge) to other networks in your
system. This lets you connect to one network and access devices or
controllers on other networks.
To access your system, choose a network to which to connect and
configure a driver for the network.
For this information:See page:
Connect a Computer to a Network3-2
Configure a Driver for a Network3-3
1Publication DNET-UM004A-EN-P - March 2004
3-2 Connect a Computer to the System
Connect a Computer to a
Network
IMPORTANT
To access a network, either:
• connect directly to the network
• connect to a different network and browse (bridge) to the
desired network. This requires no additional programming.
To use RSNetWorx software to configure and schedule a ControlNet
network, either:
• connect to an EtherNet/IP network and bridge to the ControlNet
network
• use a 1784-PCC interface device to connect directly to the
ControlNet network
The following diagram shows your options:
ports, cards, or modules in a Logix5000 controller, chassis, or linking device
Logix5000
controller
EtherNet/IP
port
ControlNet
port
DeviceNet
port
ethernet card
serial port
EtherNet/IP network
LaptopDesktop
1784-PCC1784-PCIC
1770-KFC15 1784-PCICS
1784-KTCX15
1770-KFC15
point-to-point
RS-232
connection
ControlNet network
LaptopDesktop
1784-PCD1784-PCID
Only lets you access
devices on the
DeviceNet network
DeviceNet network
If you connect directly to a DeviceNet
network, you can access only the devices
on that network.
Publication DNET-UM004A-EN-P - March 2004
1770-KFD1784-PCIDS
1770-KFD
Connect a Computer to the System 3-3
Once you choose a network to which to connect:
• Install the communication card, if required.
• Determine any network parameters for the computer, such as a
network address.
• Connect the computer to the network with the correct cable.
Configure a Driver for a
Network
1. Start RSLinx software.
2. Click the Configure Driver button.
3. Add the driver:
For this network: Select this driver:
RS-232RS-232 DF1 Devices
To communicate over a specific network, configure a driver for the
network.
Add the Driver
ControlNet™driver that matches your card.
EtherNet/IPEthernet devices
DeviceNet™DeviceNet Drivers…
4. Configure the driver.
descriptive name for the network (driver)
configuration (see pages 3-4 to 3-5 for help with specific drivers)
Publication DNET-UM004A-EN-P - March 2004
3-4 Connect a Computer to the System
RS-232 DF1 Devices
Important: Make sure no other driver is configured for the
COM port to which you connect the serial cable.
1. Choose the following:
COM port that you are using.
Logix 5550/CompactLogix.
Auto-Configure
5. Wait for the auto-configuration to finish.
Ethernet Devices
1784-PCC
Enter the IP address of the controller or communication
module.
Use the address that the software picks.
Or assign a specific address:
A. Clear this check box.
B. Enter the address that you to use.
Publication DNET-UM004A-EN-P - March 2004
1784-PCD
1. Use the default address of 62, if it is
unused.
2. Select the baud rate for the network.
3. OK.
Connect a Computer to the System 3-5
1770-KFD
Important: Make sure no other driver is configured for the COM
port to which you connect the serial cable.
1. Select the COM port to which you connected the 1770-KFD
device.
2. Use the default address of 62, if it is unused.
3. Select the baud rate for the network.
4. OK.
Publication DNET-UM004A-EN-P - March 2004
3-6 Connect a Computer to the System
3. Open the RSWho window.
Make Sure the Driver Works
1. Check that the driver is running.
2. Close the dialog box.
4. Double-click the driver to see the network.
Publication DNET-UM004A-EN-P - March 2004
Chapter
Automatically Configure a DeviceNet
Network
4
How To Use This Chapter
Before you use this chapter:
Connect your computer to the
system. See chapter 4.
Determine If You Can Use
AutoScan
This chapter provides a quick method for configuring a DeviceNet
network. It uses the AutoScan feature to establish communication
between the controller and your devices with minimal steps.
To use the AutoScan feature to configure your network:
Step:Page:
❑ Determine If You Can Use AutoScan4-1
❑ Review How AutoScan Effects Your Network4-2
❑ Install the Node Commissioning Tool4-2
❑ Connect Each Device to the Network4-3
❑ Add the Scanner to the RSLogix 5000 Project4-6
❑ Turn On AutoScan4-7
❑ Access Device Data4-9
❑ Put the Scanner in Run Mode4-11
❑ Additional Information About AutoScan4-12
To use this chapter, make sure your network meets the following
requirements:
Each device on your DeviceNet network (except the scanner):
• sends ≤ 4 bytes of input data
• gets ≤ 4 bytes of output data
You have one of the following DeviceNet scanners:
• ControlLogix 1756-DNB
• FlexLogix 1788-DNBO
Your scanner has the following firmware revision:
This scanner:Requires this firmware:
ControlLogix 1756-DNBrevision 5.0 or greater
FlexLogix 1788-DNBOrevision 3.0 or greater
You have RSLogix 5000 software revision 13.0 or greater.
If your network does not meet the requirements listed above, then use
chapters 5 to 7 to configure your network and control your devices.
1Publication DNET-UM004A-EN-P - March 2004
4-2 Automatically Configure a DeviceNet Network
How AutoScan Effects Your
As you use AutoScan, keep the following in mind:
Network
Consideration:Description:
1. AutoScan clears the current
configuration.
2. AutoScan allocates a fixed memory
size for each device.
The actual data for the device fills the portion
that it needs and the rest remains unused.
3. New devices are automatically
available.
4. The Automatic Device Recovery
(ADR) option is not available.
With AutoScan, the scanner automatically sets up communication with the devices on your
DeviceNet network. When you turn on the AutoScan option, the scanner removes any
previous configuration that was done to the scanner.
At its default setting, AutoScan allocates 1 DINT of input memory and 1 DINT of output
memory for each device on the DeviceNet network.
While the scanner is in idle mode, AutoScan continues to establish communication with
devices that you connect to the network (as long as the device uses ≤ 4 bytes of input data
and ≤ 4 bytes of output data).
To use the Automatic Device Recovery (ADR) option of a DeviceNet scanner, you have to
use RSNetWorx software to edit the configuration of the scanner. This turns off AutoScan.
DINTInput Memory
0
1
2
device at address 0
device at address 1
device at address 2
Install the Node
Commissioning Tool
Use this tool to set the DeviceNet address of a device that has no
switch, pushbutton, or other mechanism for its address.
If all your devices have a switch or pushbutton for their address, then
skip this step. You do not need the Node Commissioning tool.
To install the Node Commissioning tool:
1. Get your RSLogix 5000 software CD.
2. On the CD, find the following folder:
language\Tools\Node Commissioning Tool
where:
language is the language of your software. For example, for
software in English, open the ENU folder.
3. Follow the instructions in the readmefirst file.
Publication DNET-UM004A-EN-P - March 2004
Automatically Configure a DeviceNet Network 4-3
Connect Each Device to the
As you connect your devices to the DeviceNet network, follow these
guidelines:
Network
Step:Details:
❑1. Assign an address to each
device.
❑2. Connect the scanner and any
network interface to the
network.
❑3. Connect the rest of your devices
to the network one at a time.
The following addresses are recommended but not required:
Give this address:To this device:
0scanner
1 to 61your devices
62computer interface to the network, such as a 1770-KFD or
63Leave open. Out of the box, a DeviceNet device is preset for
By first connecting the scanner and/or network interface device to the network, you reduce
the number of baud rate errors as you connect the rest of your devices:
1784-PCD device
address 63. Leaving address 63 open lets you get a new device on
the network without conflicting with another device.
• Scanners and network interface devices use a fixed baud rate.
• Sensors and similar DeviceNet devices use autobaud to set their baud rate. They
wait for another device to communicate. Then they set their baud rate to the same
baud rate as the other device.
• By first placing a scanner or network interface on the network, the other device
have a baud rate against which to set their baud rate.
• Initially, leave the baud rate of the scanner and network interface at the default
setting of 125K bits/s. If you want to change the baud rate, wait until after you
establish communication with all your devices at the default setting (125K).
• To set the DeviceNet address of the scanner, see Set the Address of a Scanner on
page 4-4.
• Out of the box, a DeviceNet device is preset for address 63. To avoid address
conflicts, connect and set the devices one at a time. Otherwise the address conflicts
may prevent communication with them.
• If a device has a switch to set its baud rate, set the switch to autobaud, if available.
Otherwise, set the device to the baud rate of the network.
• After you change the address or baud rate of a device via a switch, cycle power to
the device.
• If a device has no switch or pushbutton for its address or baud rate, see Set the
Address and Baud Rate of a Device Via Software on page 4-5.
• After you set the address of a device, check its network status indicator. Typically, a
solid red or flashing red indicator means an address conflict or problem with the
baud rate.
Publication DNET-UM004A-EN-P - March 2004
4-4 Automatically Configure a DeviceNet Network
DeviceNet
TM
MOD/NET I/O OK
1. Connect the device to the network. (If disconnected or the network power is off, the
2. Turn on the power to the device.
3. Press and hold the manual configuration pushbutton until the device displays the desired
4. After the device resets, check the 4-character display on the front of the module:
Set the Address of a Scanner
ControlLogix Scanner 1756-DNB
pushbutton changes the baud rate.)
address.
When you release the button, the device resets to the new address.
If:Then the:
A#addressaddress is OK
Duplicate Node Addressaddress conflicts with another device
DriveLogix and FlexLogix Scanner 1788-DNBO
N
31288-M
1. To change the address, press the button above or below a number.
2. Connect the device to the network.
3. Turn on power to the device.
4. Check the NS (network status) light.
If:Then the:
green (flashing or solid)address is OK
solid redaddress and/or baud rate conflict with another device
Publication DNET-UM004A-EN-P - March 2004
1. Start the Node Commissioning tool.
3. Check this box.
4. Browse to the DeviceNet network.
Automatically Configure a DeviceNet Network 4-5
Set the Address and Baud Rate of a Device Via Software
2. Click Browse.
5. Type the current address for the
device. Out of the box, a device
uses address 63.
7. Type the new address for the device.
8. Select the baud rate for the device.
9. Apply the change.
10. Look for confirmation here.
6. Click OK.
Publication DNET-UM004A-EN-P - March 2004
4-6 Automatically Configure a DeviceNet Network
Add the Scanner to the
RSLogix 5000 Project
To access the data of your network, add the scanner to the I/O
configuration of the controller. To add a scanner:
Step:See page:
❑ Add the Scanner to the I/O Configuration Folder4-6
❑ Define the Properties of the Scanner4-7
Add the Scanner to the I/O Configuration Folder
1. Right-click and choose New Module.
2. Choose the type of scanner.
3. Select the major revision of the scanner.
Publication DNET-UM004A-EN-P - March 2004
Automatically Configure a DeviceNet Network 4-7
Define the Properties of the Scanner
1. Type a name for the scanner.
2. Type or select the slot number of
the scanner.
3. Choose Finish.
Turn On AutoScan
1. Save your changes.2. Download the project to the controller.
To turn on AutoScan:
Step:See page:
❑ Download the RSLogix 5000 Project and Go Online4-7
❑ Turn On AutoScan4-8
Download the RSLogix 5000 Project and Go Online
Publication DNET-UM004A-EN-P - March 2004
4-8 Automatically Configure a DeviceNet Network
Turn On AutoScan
IMPORTANT
3. Select (check) this check box.
4. Choose OK.
In the following steps, you clear any existing configuration from the
scanner and reconfigure its to communicate with the devices on your
network.
• In the controller, this may change the tag addresses of the devices.
• If you have already programmed your logic, make sure that it still
addresses the correct data.
1. Double-click the scanner.
2. Click the Scan List tab.
Publication DNET-UM004A-EN-P - March 2004
A blue dot indicates a device that the scanner now
controls.
Automatically Configure a DeviceNet Network 4-9
Access Device Data
input data from the scanner
output data for the scanner
status data from the scanner
When you add the scanner to the I/O configuration of the controller,
RSLogix 5000 software automatically creates a set of tags for the input,
output, and status data of the network:
The tags for your DeviceNet data follow this format:
where:
adapter is the name of the EtherNet/IP or ControlNet
module in the remote chassis.
FlexLogix 1788-DNBOname of the scanner in the I/O configuration of the controller
typetype of data:
Where:Is:
input from a deviceI
output to a deviceO
dnet_addressaddress of the device on the DeviceNet network (based on 4 bytes per node)
bitspecific bit within the data of the device
Publication DNET-UM004A-EN-P - March 2004
4-10 Automatically Configure a DeviceNet Network
While you can use the input and output tags of the scanner directly in
your logic, it is a lot easier to use alias tags.
As an option, create tags that describe each device without pointing them to
the actual addresses of the devices. Later, convert the tags to aliases for the
data of the devices.
alias tag – a tag that represents another tag
• Both tags share the same data.
• When the data changes, both tags change.
• An alias tag provides a descriptive name for
data, such as DeviceNet input or output data.
• If the location of the data changes, simply point
the alias tag lets to the new location without
editing your logic.
1. Enter your logic.
4. Select the Alias button.
5. Select the tag that this alias tag represents.
6. Select the scope for the alias tag.
2. Type a descriptive tag name for the DeviceNet data.
3. Right-click the tag name and choose
New…
7. Choose OK.
Look in the
controller-scoped tags.
Publication DNET-UM004A-EN-P - March 2004
Select the address of the data.
To select a bit, click the ▼.
Automatically Configure a DeviceNet Network 4-11
Put the Scanner in Run
Mode
To put the scanner in run
mode, turn on this bit.
To run the DeviceNet network:
1. Place the controller in run/remote run mode.
2. Set the following bit of the output structure for the scanner:
If you want to:The set this bit:To:
run the network…O.CommandRegister.Run1
not run the network (idle mode)…O.CommandRegister.Run0
fault the network…O.CommandRegister.Fault1
not fault the network…O.CommandRegister.Fault0
disable the network…O.CommandRegister.DisableNetwork1
enable the network…O.CommandRegister.DisableNetwork0
halt the scanner (ceases all operation)…O.CommandRegister.HaltScanner1
unhalt the scanner…O.CommandRegister.HaltScanner0
reset the scanner …O.CommandRegister.Reset1
resume operation after a reset…O.CommandRegister.Reset0
3. Check the scanner for run mode:
If you have this scanner:Then this indicator:Displays:
ControlLogix 1756-DNB4-character displayRUN
FlexLogix 1788-DNBOI/Osolid green
Publication DNET-UM004A-EN-P - March 2004
4-12 Automatically Configure a DeviceNet Network
Additional Information
About AutoScan
Type of Connection that the Scanner Sets Up
The type of update (connection) that the scanner sets up with each
device depends on the device. The scanner chooses the first
connection type that the device supports in this order:
1. change-of-state (COS)
2. polled
3. strobed
4. cyclic at 1000 ms
The scanner tries to set up a change-of-state connection. If the device
doesn’t support change-of-state, then the scanner tries to set up a
polled connection, etc. The type of connection that the scanner sets
up may not be the default for the device.
Allocating More Memory for Each Device
The AutoScan feature is easiest to use if you leave it set to 1 DINT
(4 bytes) of input memory and output memory for each address.
number of bytes of input memory and output
memory to allocate in for each address
As an option, you can allocate more memory for each device.
Publication DNET-UM004A-EN-P - March 2004
Consideration:Description:
Automatically Configure a DeviceNet Network 4-13
1. The bytes/node value defines how
much memory for each address.
For example, if you specify 2 DINTs (8 bytes)
per address, the scanner sets aside 2 DINTs
The actual data for the device fills the portion
that it needs and the rest remains unused.
2. The scanner sets-up communication
with any device that fits within the
allocated memory size.
3. The scanner skips devices that are
too large.
AutoScan lets you specify how much input and output memory to give to each address on
your network.
DINTInput Memory
for each address.
0
1
2
device at address 0
device at address 1
3
4
device at address 2
5
The scanner automatically sets up communication with those devices that fit within the
memory allocated for each address.
• For example, if you allocate 2 DINTs (8 bytes) per address, the scanner sets up
communication with any device that sends or receives 1 - 8 bytes of data.
• The scanner adds as many device as it can until it runs out of memory.
• If you give too much memory to each address, you may not have enough memory for
all your devices.
If a device needs more memory than is allocated, the scanner skips it and does not set up
communication with it.
For example, if you specify 2 DINTs (8 bytes) per address but a device sends 9 bytes, the
scanner does not add the device to the scan list.
4. Manually editing the scan list turns
off AutoScan.
If you use RSNetWorx software to edit the configuration of the scanner, the scanner turns
off AutoScan. Do not turn it back on or you will clear the configuration that you just
entered.
For example, if you use RSNetWorx software to manually add a device to the scan list, the
scanner turns off AutoScan. If turn on AutoScan again, the scanner clears it current
configuration and starts over.
Publication DNET-UM004A-EN-P - March 2004
4-14 Automatically Configure a DeviceNet Network
Notes:
Publication DNET-UM004A-EN-P - March 2004
Chapter
Connect Each Device to the Network
5
Using This Chapter
Before You Begin
DeviceAddressInput Size of
scanner0n/an/an/an/a
PanelView terminal31283212832
This chapter describes how to set the address of a device so it can
communicate on your DeviceNet network.
For this information:See page:
Before You Begin5-1
Set the Address of a Device5-2
Set an Address with Software5-3
Procedures for Specific Devices5-4
Make Sure Your Devices Are on the Network5-11
At this point, you should have a list of the devices that you are putting
on your network and an address for each of them.
For example:
Device
(bytes)
Input Memory
in Scanner
(DINTs)
Output Size
of Device
(bytes)
Output Memory
in Scanner
(DINTs)
<empty>22
I/O adapter w/ modules59352
<empty>22
drive74141
<empty>22
photoeye91100
computer interface62n/an/an/an/a
63
Total
1Publication DNET-UM004A-EN-P - March 2004
4341
5-2 Connect Each Device to the Network
Set the Address of a Device
A DeviceNet device uses at least one of the following methods to set
its address on the network:
Method:Description:
switchesIf a device has switches or another hardware mechanism to set
its network address, use that mechanism. Keep in mind that a
device typically reads the switches on power up. If you change
the address, you usually have to cycle power to the device.
Some switches also let you set the address of the device via
software such as RSNetWorx.
pushbuttonSome devices have a pushbutton that lets you cycle through
different addresses.
• Usually, the pushbutton is optional.
• You can typically also set the address of the device via
software such as RSNetWorx.
softwareIf a device has no switches or other mechanism to set its address,
use RSNetWorx for DeviceNet software. Because a device is
preset to address 63, connect and set the devices one at a time.
Otherwise the address conflicts (all of them at 63) may prevent
communication with them.
Publication DNET-UM004A-EN-P - March 2004
Connect Each Device to the Network 5-3
Set an Address with
To use RSNetWorx software to set the address of a device:
5. Type the current address for the
device. Out of the box, a device
uses address 63.
7. Type the new address for the device.
8. Apply the change.
9. Look for confirmation here.
6. Click OK.
Publication DNET-UM004A-EN-P - March 2004
5-4 Connect Each Device to the Network
Procedures for Specific
Devices
DeviceNet
TM
MOD/NET I/O OK
The following sections show how to set the address of specific
devices.
For this device:See page:
ControlLogix Scanner 1756-DNB5-4
CompactLogix Scanner 1769-SDN5-4
ControlNet to DeviceNet Linking Device 1788-CN2DN5-5
DriveLogix and FlexLogix Scanner 1788-DNBO5-5
EtherNet/IP to DeviceNet Linking Device 1788-EN2DN5-6
SoftLogix5800 Scanner 1784-PCIDS5-10
ControlLogix Scanner 1756-DNB
1. Connect the device to the network. (If disconnected or the network power is off, the
pushbutton changes the baud rate.)
2. Turn on the power to the device.
3. Press and hold the manual configuration pushbutton until the device displays the desired
address.
When you release the button, the device resets to the new address.
4. After the device resets, check the 4-character display on the front of the module:
If:Then the:
A#addressaddress is OK
Duplicate Node Addressaddress conflicts with another device
CompactLogix Scanner 1769-SDN
The 1769-SDN device has no hardware mechanism to set its address.
1. Connect the device to the network.
2. Turn on the power to the device.
3. Use RSNetWorx software to set the address of the device. See Set an Address with Software on page 5-3.
4. After the device resets, check the 2-character display on the front of the device. It shows
the status code and address of the device (status code first, then address).
Publication DNET-UM004A-EN-P - March 2004
Connect Each Device to the Network 5-5
ControlNet to DeviceNet Linking Device 1788-CN2DN
1. Set the DeviceNet address.
(Switches shown set to node 26)
2
Do not use the PGM area.
0
PGM
4
6
MSDLSD
2. Set the ControlNet address.
(Switches shown set to node 14)
2
4
0
6
8
MSDLSD
3. Connect the device to the DeviceNet and ControlNet networks.
4. Turn on power to the device.
5. Check the DeviceNet network status light.
If:Then the:
green (flashing or solid)address is OK
solid redaddress and/or baud rate conflict with another device
2
4
0
6
8
2
4
0
6
8
DriveLogix and FlexLogix Scanner 1788-DNBO
N
31288-M
1. To change the address, press the button above or below a number.
2. Connect the device to the network.
3. Turn on power to the device.
4. Check the NS (network status) light.
If:Then the:
green (flashing or solid)address is OK
solid redaddress and/or baud rate conflict with another device
Publication DNET-UM004A-EN-P - March 2004
5-6 Connect Each Device to the Network
EtherNet/IP to DeviceNet Linking Device 1788-EN2DN
Set the DeviceNet Address
The 1788-EN2DN device has no hardware mechanism to set its DeviceNet address.
1. Connect the device to the network.
2. Turn on the power to the device.
3. Use RSNetWorx software to set the address of the device. See Set an Address with Software on page 5-3.
4. After the device resets, check the DeviceNet network status indicator:
If:Then the:
green (flashing or solid)address is OK
solid redaddress and/or baud rate conflict with another device
Go Online to Your DeviceNet Network
1. Start RSNetWorx software.
2. Open a new DeviceNet configuration file.
Disable AutoBaud
By default, AutoBaud is enabled for the linking device. If you use the
linking device as the scanner for the DeviceNet network, disable
AutoBaud for the linking device. The network requires at least one
device with a fixed baud rate, which typically is the scanner.
3. Go online to your DeviceNet network.
Publication DNET-UM004A-EN-P - March 2004
Disable AutoBaud
Connect Each Device to the Network 5-7
1. Right-click the device and choose Class Instance Editor.
2. Select Set Single Attribute.
3. Type the object address:
Class = 3
Instance = 1
Attribute = 64
4. Select Byte.
5. Type a value of 01.
6. Choose Execute.
7. Check that the execution was completed.
Publication DNET-UM004A-EN-P - March 2004
5-8 Connect Each Device to the Network
Set the IP Address with BootP/DHCP
If the DIP switch = 0 (default), BootP/DHCP is enabled for the device.
ON
23456781
23456
8
7
ON
1
31421-M
1. Get the ethernet (MAC) address of the device. The ethernet address is on a sticker located on the side of the device. The ethernet
address in a format similar to: 00-0b-db-14-55-35.
On power up, the device requests an IP address from a BootP/DHCP
server.
RSLinx software includes a BootP/DHCP server that lets you easily
assign an IP configuration to an EtherNet/IP device such as the linking
device.
3. If this is the first time you’ve used the software, specify the default
settings for your network. This typically includes a subnet mask but
may also include other settings shown on the dialog box.
If you’ve previous used the software and need to change these
settings, access the dialog box from Tools ⇒ Network Settings.
4. Double-click the ethernet address of the device.
5. Enter the IP address or host name for the device.
Publication DNET-UM004A-EN-P - March 2004
6. Check that the relation list shows the device and the status line
indicates that the software sent the address to the device.
Connect Each Device to the Network 5-9
Turn Off BootP/DHCP
If you leave BootP/DHCP enabled for the device, its IP configuration
lasts only until the next power cycle. After the next power up, the
device sends out a new request for an IP address from a BootP/DHCP
server.
To permanently assign the configuration to the device, disable
BootP/DHCP.
1. Select the device.
2. Disable BootP/DHCP.
3. Check that the command was successful.
Publication DNET-UM004A-EN-P - March 2004
5-10 Connect Each Device to the Network
ON
23456781
23456
8
7
ON
1
31421-M
Optional—Set the IP Address with the Configuration DIP Switch
The DIP switch on the end of the linking device lets you set the
device to the following IP configuration.
IP address192.168.1.n
where:
n is the value of the DIP switch
Subnet mask255.255.255.0
Gateway address0.0.0.0 (No gateway set)
IMPORTANT
The numbers on the switch are opposite the address
value bit locations; i.e., bit 0 is set by switch 8.
1. Connect the device to the network.
2. Set the switch to the desired value for n.
3. Turn on or cycle the power to the device.
4. After the device completes its power-up sequence, check the EtherNet/IP Network
Status indicator:
If:Then the:
green (flashing or solid)address is OK
solid redaddress conflicts with another device
SoftLogix5800 Scanner 1784-PCIDS
The 1784-PCIDS device has no hardware mechanism to set its address.
S
Allen-Bradley
1784-PCIDS
Scanner
I/O
MOD NET
Publication DNET-UM004A-EN-P - March 2004
1. In RSLinx software, configure a driver for the scanner. Refer to Configure a Driver for a
Network on page 3-3.
2. Check the NET light.
If:Then the:
green (flashing or solid) address is OK
solid redaddress and/or baud rate conflict with another device
Connect Each Device to the Network 5-11
Make Sure Your Devices
Are on the Network
1. Start RSLinx software.
2. Click the RSWho button.
3. Expand a driver that lets you access
the DeviceNet network.
4. Browse to the DeviceNet network.
5. Make sure you see all the devices
that are connected to the DeviceNet
network.
Once you have assigned an address to each device, make sure that
the devices are communicating on the network.
Publication DNET-UM004A-EN-P - March 2004
5-12 Connect Each Device to the Network
Notes:
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Online
Chapter
6
How to Use This Chapter
To configure your DeviceNet network, you have the following
options:
If:Then configure your network:See:
Any of the following conditions apply:
• The network and devices are not yet installed.
• You do not have access to the network. (I.e., You are
off-site.)
• You prefer to do most of the configuration before you get
on-site with the network.
Both of the following conditions apply:
• The network and devices are already installed.
• You have access to the network. (I.e., You are on-site.)
offlineChapter 2
onlineThis chapter
With online configuration, you upload the current configuration of the
network. This reduces the number of configuration steps that you
have to perform. However, it requires access to the DeviceNet
network.
On-Site
RSNetWorx for DeviceNet software
1. Configure parameters of each device.
2. Configure the scanner to communicate
with the devices on your network.
DeviceNet network
Scanner
Scan List
device 1
device 2
device3
…
1Publication DNET-UM004A-EN-P - March 2004
device 1
parameter 1
parameter 2
parameter 3
…
…
…
device 2
parameter 1
parameter 2
parameter 3
…
…
…
device 3
parameter 1
parameter 2
parameter 3
…
…
…
6-2 Configure Your Network Online
To configure a DeviceNet network while online:
Step:Page:
❑ Before You Begin6-2
❑ Create a File for the Network6-3
❑ Go Online to the Network6-5
❑ Configure Each Device6-6
❑ Configure the Scanner6-9
❑ Upload and Save the Network File6-16
❑ Generate an RSNetWorx Report6-17
Before You Begin
DeviceAddressInput Size of
scanner0n/an/an/an/a
PanelView terminal31283212832
<empty>22
I/O adapter w/ modules59352
<empty>22
drive74141
<empty>22
photoeye91100
computer interface62n/an/an/an/a
Before you configure the network, make sure you have a list of the
devices that you are putting on your network and the address for each
of them.
For example:
63
Device
(bytes)
Input Memory
in Scanner
(DINTs)
Output Size
of Device
(bytes)
Output Memory
in Scanner
(DINTs)
Publication DNET-UM004A-EN-P - March 2004
Total
4341
To configuration the network online, your computer must also be able
to communicate with each device on your DeviceNet network. Make
sure that you have completed the following steps:
Step:See:
Connect a Computer to the SystemChapter 3
Connect Each Device to the NetworkChapter 5
1. Start RSLinx software.
2. Click the RSWho button.
3. Expand a driver that lets you access
the DeviceNet network.
4. Browse to the DeviceNet network.
5. Make sure you see all the devices
that are connected to the DeviceNet
network.
Configure Your Network Online 6-3
To make sure that you can communicate with all your devices, use
RSLinx software to show your DeviceNet network.
Create a File for the
Network
RSNetWorx software stores information about the configuration of
each device in a file on your computer.
Step:See page:
❑ Create a DeviceNet Configuration File6-4
❑ Give the File a Descriptive Name6-4
Publication DNET-UM004A-EN-P - March 2004
6-4 Configure Your Network Online
Create a DeviceNet Configuration File
1. Start RSNetWorx software.
2. Create a file.
3. Select DeviceNet Configuration.
4. Choose OK.
Save the file.
Give the File a Descriptive Name
Since the file stores the configuration of the network, give it a name
that identifies this specific DeviceNet network.
As you work in RSNetWorx software, periodically save your changes
to the file for the network.
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Online 6-5
Go Online to the Network
When you go online to a DeviceNet network, RSNetWorx software
looks at the network (browses) one time and shows you the devices
on the network.
• It does not read (upload) or change (download) the parameters
of any of the devices.
• The picture you see remains static. It does not show any changes
since the last browse.
1. Go online.
2. Browse to the DeviceNet network.
3. Choose OK.
The message is telling you that the
software is not going to read or
change the parameters of the
devices. You do that in the next
step.
4. Check that you are online.
Publication DNET-UM004A-EN-P - March 2004
6-6 Configure Your Network Online
Configure Each Device
Typically, a DeviceNet device has a set of parameters that define the
behavior of the device.
Publication DNET-UM004A-EN-P - March 2004
To configure a device online:
Step:See page:
❑ Upload the Configuration of a Device6-7
❑ Change and Download Parameters6-8
Upload the Configuration of a Device
1. Double-click the device.
Configure Your Network Online 6-7
2. Click the Parameters tab.
3. Upload the configuration
from the device.
Publication DNET-UM004A-EN-P - March 2004
6-8 Configure Your Network Online
Change and Download Parameters
1. Change a parameter:
• Select a new value.
– or –
• Click, type a new value, and press [Enter].
2. Apply the changes.
3. Download the changes.
4. Close the dialog box.
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Online 6-9
Configure the Scanner
Scanner
Scan List
device at address 1
device at address 2
device at address 3
To configure the scanner to communicate with the devices on your
network, you set up a scan list in the scanner. Then you define
memory locations for the data of each device.
scan list – A list in the scanner that identifies the devices with which the
scanner communicates. For each device in its scan list, the scanner sets aside
input and/or output memory for the data of the device.
Output Memory
DINTInput Memory
0
1
2
3
4
5
device at address 1
device at address 2
device at address 3
To configure the scanner online:
Step:See page:
❑ Upload the Current Configuration of the Scanner6-10
❑ Define the Properties of the Scanner6-11
❑ Set the Alignment Option6-12
❑ Clear or Set the Automap on Add Check Box6-13
❑ Build the Scan List6-14
❑ Manually Assign Each Device to a Memory Location6-15
❑ Download the Configuration to the Scanner6-16
Publication DNET-UM004A-EN-P - March 2004
6-10 Configure Your Network Online
Upload the Current Configuration of the Scanner
1. Double-click the scanner.
2. Click the Module tab.
3. Upload the configuration
from the scanner.
Publication DNET-UM004A-EN-P - March 2004
Define the Properties of the Scanner
1. Click the Module tab
2. If this is a CompactLogix scanner (1769-SDN), choose
CompactLogix.
3. If the scanner uses a slot number, type its slot number.
Configure Your Network Online 6-11
Publication DNET-UM004A-EN-P - March 2004
6-12 Configure Your Network Online
Set the Alignment Option
TIP
The alignment option you choose applies to both the input and
output maps.
1. Click the Input tab.
2. Choose Options.
3. Choose DWord Align.
If You Have a SoftLogix5800 Controller
The SoftLogix5800 scanner 1784-PCIDS organizes its input and output
memory in 16-bit words. For that scanner, choose Word Align.
Publication DNET-UM004A-EN-P - March 2004
Clear or Set the Automap on Add Check Box
As an option, RSNetWorx software can automatically assign the
memory location for each device. Depending on how you want to
organize the memory, you may or may not want to use this option.
If you want to:Then:
Configure Your Network Online 6-13
leave gaps between devices
Memory
device at address 1
device at address 2
device at address 3
place devices in sequential DINTs
Memory
device at address 1
1. Click the Scanlist tab
2. Clear (uncheck) the
Automap on Add check box
After you add your devices to the scan list, manually assign the memory location
for each device.
1. Click the Scanlist tab
device at address 2
device at address 3
2. Set (check) the Automap on Add check box.
As you add your devices to the scan list, the software automatically assigns the
memory locations for each device.
Publication DNET-UM004A-EN-P - March 2004
6-14 Configure Your Network Online
Build the Scan List
1. You should be at the Scanlist tab
If you get the following warning for a device, see Set the I/O
Parameters of a Device on page 11-6
2. Add devices to the scan list.
To add:Do this:
devices one at a
time
all the devices
at once
Select a device and click the >
button.
Click the >> button.
.
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Online 6-15
Manually Assign Each Device to a Memory Location
IMPORTANT
1. Click the Input tab.
2. Select the device.
If you used Automap on Add (page 6-13).as you built your scan list,
then skip this section. Each device already has a memory location.
3. Type the element number to which you want to assign the data. This is the
starting point for the data. Larger data sizes wrap to several elements.
For example, to start the data in …Data[3], type 3 in the
Start DWord box.
4. Choose AutoMap.
An entry for the device shows up in the input array.
5. Click the Output tab and repeat steps 2 - 4.
Sometimes, a specific input or output value may end up as the upper
bytes of a DINT in the scanner.
To make your programming easier, use advanced mapping to re-map
the value to its own memory location. For more information, see Give a Value Its Own Memory Location on page A-1.
Publication DNET-UM004A-EN-P - March 2004
6-16 Configure Your Network Online
Download the Configuration to the Scanner
Important: Make sure the scanner is in idle mode. To put the
scanner in idle mode, either:
• Turn off the …O.CommandRegister.Run bit of the scanner.
- or -
• Place the controller in program/remote program mode.
1. Apply the changes,
2. Yes, download.
3. Close the dialog box.
Upload and Save the
Network File
1. Network⇒Upload from Network.
2. Yes, upload the entire network.
3. Save the file.
Once you configure the devices on your network, upload the entire
network and save the file. This stores the configuration of each device
in your offline file.
Publication DNET-UM004A-EN-P - March 2004
Configure Your Network Online 6-17
Generate an RSNetWorx
Report
1. File⇒Generate Report.
2. Entire network
An RSNetWorx report shows the following:
• devices on your network
• memory addresses of those devices in the scanner
• configuration of each device
The report is a very useful reference when you program your system.
The report shows up as an
HTML file.
Publication DNET-UM004A-EN-P - March 2004
6-18 Configure Your Network Online
Notes:
Publication DNET-UM004A-EN-P - March 2004
Control a Device
Chapter
7
How to Use This Chapter
Use this chapter to develop the logic that examines and controls your
devices.
Step:Page:
❑ Before You Use This Chapter7-2
❑ Determine the Address of DeviceNet Data7-7
❑ Program Your Logic With Alias Tags7-10
❑ Determine If a Device Has Failed7-11
❑ Place the Scanner in Run Mode7-12
❑ When to Use a MSG Instruction7-13
❑ Determine the Parameter Number to Access7-13
❑ Determine the Configuration of the Parameter7-14
❑ Test the Parameter7-15
❑ Enter Message Logic7-16
1Publication DNET-UM004A-EN-P - March 2004
7-2 Control a Device
Before You Use This
Chapter
Before you use this chapter, get the following information:
RSNetWorx Report for Your Network
Data Map for Each of Your Devices
Publication DNET-UM004A-EN-P - March 2004
Control a Device 7-3
Add the Scanner to the I/O
Configuration of the
Controller
To access the data of your network, add the scanner to the I/O
configuration of the controller.
To add a scanner:
Step:See page:
❑ If You Need to Conserve EtherNet/IP or ControlNet Network
Bandwidth
❑ Add the Scanner to the I/O Configuration Folder7-5
❑ Define the Properties of the Scanner7-6
7-3
If You Need to Conserve EtherNet/IP or ControlNet Network
Bandwidth
The default configuration of the scanner gives you the maximum
amount of input, output, and status data.
If the scanner communicates with the controller via an EtherNet/IP or
ControlNet network and you need to conserve bandwidth over that
network, consider reducing the input, output, or status sizes.
• Set the input and output sizes = the number of input and output
DINTs in the scanner that actually store device data.
• If you are not going to use all the status information, set the
status size to the minimum required. See Table 7.1 on page 7-4.
EXAMPLE
Set the status size for a scanner
• If you want to only use the ASCII representation
of scanner status/display, then set the
Status Size = 10.
• If you also want to read the status code of the
scanner, set the Status Size = 11.
Publication DNET-UM004A-EN-P - March 2004
7-4 Control a Device
Table 7.1 Set the status size for a scanner
If you want this information:Set the Status
Size to (DINTs):
Which gives you:
Member:Data Type
count of I/O scans10ScanCounterDINT
indication that a device has failed:
DeviceFailureRegisterSINT[8]
• There is 1 bit for each address on the DeviceNet network (0 -63).
• The position of a bit = address of a device.
• If a bit = 1, then the device at that address has failed.
indication that the data size of a device does not match the amount of
AutoverifyFailureRegisterSINT[8]
memory allocated for the device in the scanner:
• There is 1 bit for each address on the DeviceNet network (0 -63).
• The position of a bit = address of a device.
• If a bit = 1, then their is a mismatch with that address.
indication that a device is idle:
DeviceIdleRegisterSINT[8]
• There is 1 bit for each address on the DeviceNet network (0 -63).
• The position of a bit = address of a device.
• If a bit = 1, then the device at that address is idle.
indication that a device is online:
ActiveNodeRegisterSINT[8]
• There is 1 bit for each address on the DeviceNet network (0 -63).
• The position of a bit = address of a device.
• If a bit = 1, then the device at that address is online.
ASCII representation of scanner status/displayStatusDisplaySINT[4]
address of the scanner11ScannerAddressSINT
status code of scannerScannerStatusSINT
address with an error:
ScrollingDeviceAddressSINT
• scrolls through the addresses with errors
• ScrollingDeviceStatus member shows the status code
status code of an address with an error:
ScrollingDeviceStatusSINT
• scrolls through addresses with errors
• ScrollingDeviceAddress member shows the address
possible future expansion of the structure – 5 DINTs16
status code of lower 32 devices – 1 byte per device24DeviceStatusSINT[32]
status code of all devices – 1 byte per device32DeviceStatusSINT[64]
Publication DNET-UM004A-EN-P - March 2004
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.