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
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.
IMPORTANT
ATTENTION
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
SHOCK HAZARD
Labels may be on or inside the equipment, for example, a drive or
motor, to alert people that dangerous voltage may be present.
BURN HAZARD
Labels may be on or inside the equipment, for example, a drive or
motor, to alert people that surfaces may reach dangerous
temperatures.
Rockwell Automation, TechConnect, SLC, SLC 500, RSNetWorx for DeviceNet, RediSTATION, Series 9000, DH+, Data Highway
Plus, RSLogix 500, FLEX I/O, ControlFlash, RSView, PLC-5, PanelView, RSLinx Classic, are trademarks of Rockwell Automation,
Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Summary of Changes
The information below summarizes the changes to this manual since
the last publication.
To help you find new and updated information in this release of the
manual, we have included change bars as shown to the right of this
paragraph.
This manual contains this updated information.
TopicPage
The length of the M0 and M1 files64
Numeric code 65 for normal operation when
AutoScan is enabled was added
91
DeviceNet explicit messaging chapter was
added
AutoScan function chapter was addedChapter 9
Information about programming the module
by using the SLC M0 and M1 files was
added
Information on the 1747-SDN module’s
firmware history was added
Information about data organization was
added
Information about explicit message program
control was added
Chapter 8
123…127
Appendix C
Appendix D
Appendix E
3Publication 1747-UM655B-EN-P - June 2007
4 Summary of Changes
Publication 1747-UM655B-EN-P - June 2007
Before You Begin
Planning Your Configuration and
Data Mapping Your Devices
Understand the Data Organization of the Module . . . . . . . . 133
Upload Input Data from the Module to the SLC Processor. . 134
Download Output Data to the Module. . . . . . . . . . . . . . . . 138
Appendix E
Using Explicit Message Program Control . . . . . . . . . . . . . . 143
Glossary
Index
Publication 1747-UM655B-EN-P - June 2007
8 Table of Contents
Publication 1747-UM655B-EN-P - June 2007
Preface
Introduction
This user manual is designed to provide you enough information to
get a small example application up and running. Use this manual if
you are knowledgeable about DeviceNet and SLC 500 products, but
may not have used the products in conjunction. The information
provided is a base; modify or expand the examples to suit your
particular needs.
The manual contains instructions on configuring a DeviceNet network
by using RSLinx and RSNetWorx for DeviceNet software. It also
describes how to use the SLC 500 pass-through feature to
communicate with the DeviceNet network for adjustment and tuning
of network devices via an Ethernet and Data Highway Plus (DH+)
network.
The example application demonstrates how to perform control on a
DeviceNet network by using an SLC 500 processor and the 1747-SDN
module. You use RSLogix 500 programming software to create a
ladder logic program to control a photoeye and a RediSTATION
operator interface.
Audience
IMPORTANT
This manual is intended for control engineers and technicians who are
installing, programming, and maintaining a control system that
includes an SLC 500 processor communicating on a DeviceNet
network through a 1747-SDN module.
We assume that you:
• are developing a DeviceNet network by using a SLC 500
processor in conjunction with a 1747–SDN module.
• know each of your device’s I/O parameters and requirements.
• understand SLC processor programming and operation.
• are experienced with the Microsoft Windows environment.
• are familiar with RSNetWorx for DeviceNet software.
This user manual should be used in conjunction with the
1747-SDN DeviceNet Scanner Module Installation Instructions,
publication 1747-IN058. The installation instructions contain
important information on configuring your scanner.
9Publication 1747-UM655B-EN-P - June 2007
10 Preface
The Example Application
This manual describes how to set up an example application. The
manual provides examples of each step of the setup, with references
to other manuals for more details.
System Components
We used the following devices and software for the example
application. For your own application, substitute your own devices to
fit your needs. The recommended configurations in this user manual
will help you set up the test system and get it working. Your eventual
configuration will depend on your application.
TIP
If you use different software or fimware versions of these
products, some of your dialogs may appear slightly different
from those shown in the example.
SLC 500 ControlNet RS-232 Interface User
Manual, publication 1747-5.34
Provides information on installing
and connecting the module.
Provides instructions on using the
ControlFlash utility to upgrade the
firmware.
Provides information on RSLogix
500 software.
Provides information on RSLinx
software.
Provides information on using
DeviceNet communication network.
Provides information on using
RSNetWorx for DeviceNet
software.
Provides information on connecting
and installing the DeviceNet
RS-232 Interface module.
Provides information about the
1747-KFC15 module.
Publication 1747-UM655B-EN-P - June 2007
12 Preface
ResourceDescription
ControlNet Coax Media Planning and Installation
Guide, publication CNET-IN002
RediSTATION operator interface User Manual,
publication 2705-UM001
SLC 500 Module Hardware Style User Manual,
publication 1747-UM011
Quick Start for experienced Users, publication
1747-10.4
Provides information on planning
and installing ControlNet coax
media systems.
Provides information on installing
and using the RediSTATION
operator interface.
Provides information on installing,
wiring, startup, and maintenance of
SLC modular hardware.
Provides information on features,
setup, configuration, and
communication for the SLC 500
Ethernet processors.
You can view or download publications at
http://literature.rockwellautomation.com
. To order paper copies of
technical documentation, contact your local Rockwell Automation
distributor or sales representative.
Publication 1747-UM655B-EN-P - June 2007
Before You Begin
Chapter
1
What This Chapter Contains
This chapter provides an overview of communication between the
SLC 500 processor and DeviceNet devices via the 1747-SDN module.
The configuration data tables and the RSNetWorx for DeviceNet
software dialogs and dialogs used to configure the data tables are also
described.
The following table identifies what this chapter contains and where to
find specific information.
TopicPage
What You Need to Know13
What Your 1747-SDN Module Does14
Communicating with Your Devices16
Communicating with Your SLC 500
Processor
1747-SDN Module Data Tables19
RSNetWorx Software as a Configuration
Tool
18
20
What’s Next?22
What You Need to Know
13Publication 1747-UM655B-EN-P - June 2007
Before configuring your 1747-SDN module, you must understand:
• the data exchange between the an SLC 500 processor and
DeviceNet devices through the 1747-SDN module.
• user-configurable 1747-SDN module data tables.
• the role of RSNetWorx for DeviceNet software.
14 Before You Begin
What Your 1747-SDN
Module Does
SLC 500 Modular Chassis
SLC 500
Processor
1747-SDN Interface
Module
In a typical configuration, the 1747-SDN module acts as an interface
between DeviceNet devices and the SLC 500 processor.
Typical DeviceNet Network
Series 9000
Photoeye
RediSTATION
Operator
Interface
Computer with RSNetWorx
for DeviceNet Software
1770-KFD PC
Communication Module
FLEX I/O
Rack
DeviceNet
Devices
1305 Drive
The 1747-SDN module communicates with DeviceNet devices over
the network to:
• read inputs from a device.
• write outputs to a device.
• download configuration data.
• monitor a device’s operational status.
The 1747-SDN module communicates with the processor in the form
of M1/M0 File Transfers and/or Discrete I/O. Information exchanged
includes the following:
• Device I/O data
• Status information
• Configuration data
A processor to I/O DeviceNet configuration is shown in the following
figure. See the referenced chapters for more information.
Publication 1747-UM655B-EN-P - June 2007
Processor to I/O
Before You Begin 15
Input Read by Processor (Chapter 2)
Output Write by
Processor (Chapter 2)
Input Data from
Device to SDN
(Chapter 2)
Input
Device
Configure SDN Module (Chapter 4)
Computer
Configure SDN Module (Chapter 4)
Mapping Table (Chapters 2 and 4)
Output Data to Devices
from SDN (Chapter 2)
DeviceNet Network
Output
Device
Running
RSNetWorx for
DeviceNet
Software
The 1747-SDN interface module can also be used to bridge a
DeviceNet network with another network.
Target device to
be configured.
Configuring Devices and Data Collection on Higher-level Networks via
SLC 500/SDN Module
Industrial
workstation running
RSView software.
DH+ or Ethernet Network (Chapter 5)
Configuration of device
using RSNetWorx
software (Chapter 4).
DeviceNet Network
Laptop computer
running RSNetWorx
software.
Collection of status
or alarm data
(Chapter 6).
1747-SDN
Module
Source device
to collect data.
Publication 1747-UM655B-EN-P - June 2007
16 Before You Begin
Communicating with Your
Devices
The 1747-SDN module communicates with a device via strobe, poll,
change of state, and/or cyclic messages. It uses these messages to
solicit data from or deliver data to each device. Data received from the
devices, or input data, is organized by the 1747-SDN module and
made available to the processor. Data received from your SLC 500
processor, or output data, is organized in the 1747-SDN module and
sent on to your devices.
IMPORTANT
Throughout this document, input and output are defined from
the SLC 500 processor’s point of view. Output is data sent from
the SLC 500 processor to a device. Input is data collected by the
SLC 500 processor from a device.
All data sent and received on a DeviceNet network is in byte
lengths. A device may, for example, produce only two bits of
input information. Nevertheless, since the minimum data size
on a DeviceNet network is one byte, two bits of information are
included in the byte of data produced by the device. In this
example (only two bits of input information), the upper six bits
are insignificant.
Publication 1747-UM655B-EN-P - June 2007
Communicating With Other Devices
Before You Begin 17
Different portions of data from a single
device can be mapped to separate
1747-SDN memory locations. For example,
On/Off values can be mapped to one
location, diagnostic values to another. This
is known as map segmenting. This concept
is illustrated by byte A, stored separately
as segments A1 and A2.
1747-SDN Module
Input Data Storage
A1
B
C
A2
D
E
E
Output Data Storage
X
Y
Y
Y
Y
Z
Byte
0
1
2
3
4
5
6
Input from
the devices
to the
SLC 500
processor.
Output from
the SLC 500
processor.
DeviceNet Devices
Input Data From
DeviceNet Devices
A2
A1
B
C
D
E
Output Data To
DeviceNet Devices
X
Y
Z
Publication 1747-UM655B-EN-P - June 2007
18 Before You Begin
Communicating with Your
SLC 500 Processor
The 1747-SDN module does not send data to your processor. Data
transferred between the module and the processor must be initiated
by the processor. Output data is sent, or written, to the scanner by
your processor by placing the data in the M0 file. This data is
organized in the scanner, which in turn passes the data on to the
scanned devices via strobe, poll, change of state, or cyclic messages.
Data Flow
SLC 500 Processor
Discrete Input Image
B
A1
M1/M0 File Transfer Data File
C
A2
D
E
E
Discrete I/O
Tra ns fe r
I/O Map
M1 File
Tra ns fe r
(Read)
1747-SDN Module
Internal Input
Data Storage
A1
B
C
A2
D
E
E
Input from
the devices.
Discrete Output Image
X
M0 Data File
Z
Y
Y
Y
Y
Discrete I/O
Transfer
I/O Map
M0 File
Transfer
(Write)
Internal
Output Data
Storage
X
Y
Y
Y
Y
Z
Output to
the devices.
Publication 1747-UM655B-EN-P - June 2007
Before You Begin 19
1747-SDN Module Data
Tables
To manage the flow of data between your SLC 500 processor and the
network devices, the 1747-SDN module uses the following data tables:
• Scanner configuration table (SCT)
• Scanlist table (SLT)
• Device input data table
• Device output data table
• Device active table
• Device failure table
• Client/Server transaction tables
You can configure the first two of these data tables through
RSNetWorx for DeviceNet software.
• Scanner configuration table (SCT)
• Scanlist table (SLT)
These two tables are stored in the 1747-SDN module’s nonvolatile
memory and used to construct all other data tables.
Scanner Configuration Table (SCT)
The SCT controls basic information your 1747-SDN module needs to
function on your DeviceNet network. It tells your 1747-SDN module:
• if it can transmit and receive input and output data.
• how long it waits after each scan before it scans the devices
again.
• when to send out its poll messages.
Scanlist Table (SLT)
The SLT supports I/O updating for each of your devices on the
network. It also makes it possible for your 1747-SDN module to make
device data available to your SLC processor. The SLT tells your
1747-SDN module:
• which device node addresses to scan.
• how to scan each device (strobe, poll, change of state, cyclic, or
any valid combination).
• how often to scan your devices.
• exactly where in each device’s total data to find the desired data.
Publication 1747-UM655B-EN-P - June 2007
20 Before You Begin
• the size of the input data/output data.
• exactly where to map the input or output data for your
processor to read or write.
• how your processor reads each device’s input data (M1/M0 file
or discrete I/O).
Data Table Information
User-configured TablesData in This TableRSNetWorx Software Configuration
These values can be configured
automatically through the AutoMap
function or manually through the Data Table
Map
RSNetWorx Software as a
Configuration Tool
RSNetWorx for DeviceNet software is used to configure the 1747-SDN
module’s data tables. This software tool connects to the 1747-SDN
module over the DeviceNet network via a computer RS-232 interface
(1770-KFD module) or PC Card (1784-PCD, 1784-PCID, or
1784-PCIDS).
TIP
RSNetWorx for DeviceNet software can also communicate with
the 1747-SDN module via an Ethernet or Data Highway Plus
network.
See Chapter 5.
The configuration dialog map below shows the RSNetWorx for
DeviceNet dialogs used to configure the 1747-SDN module and the
navigation paths between them.
The use of these dialogs is described in Chapter 4.
Publication 1747-UM655B-EN-P - June 2007
RSNetWorx for DeviceNet Configuration Dialog Map
The main RSNetWorx for DeviceNet dialog.
Double-click the 1747-SDN icon to access the
1747-SDN Interface Module.
Before You Begin 21
Click Online and select the driver
to browse the network.
Click the Scanlist tab to access
the scanlist.
Click Download to Scanner to
download the scanlist.
Select the Input tab and click
AutoMap to automatically
map input devices.
Select the Output tab and click
AutoMap to automatically map
output devices.
Double-click the device in the scanlist to edit a
device’s I/O parameters.
Publication 1747-UM655B-EN-P - June 2007
22 Before You Begin
What’s Next?
The remaining sections of this manual provide the following
information:
• Chapter 2 covers the configuration process planning stage
through a data mapping example.
• Chapter 3 describes the hardware setup for the example
application.
• Chapter 4 covers configuration of the DeviceNet network by
using RSNetWorx for DeviceNet software.
• Chapter 5 describes how to configure a DeviceNet network from
another network.
• Chapter 6 describes how to create, download, and run the
example application program.
• Chapter 7 covers the diagnostics provided for troubleshooting
the 1747-SDN module.
• Chapter 8 covers DeviceNet explicit messaging.
• Chapter 9 covers the AutoScan feature.
Publication 1747-UM655B-EN-P - June 2007
Chapter
Planning Your Configuration and Data
Mapping Your Devices
2
What This Chapter Contains
What You Need to Know
This chapter introduces questions you should ask before configuring
your 1747-SDN communication module. In addition, it presents an
example DeviceNet network and I/O data mapping scheme for a
photoeye and a RediSTATION operator interface. The following table
identifies what this chapter covers and where to find specific
information.
TopicPage
What You Need to Know23
Beginning the Process24
The Example Network24
What’s Next?30
To map data via your 1747-SDN communication module, you must
understand the following:
• Network requirements
• Input data mapping
• Output data mapping
23Publication 1747-UM655B-EN-P - June 2007
24 Planning Your Configuration and Data Mapping Your Devices
Beginning the Process
Planning before configuring your 1747-SDN module helps you do
these things:
• Use your memory and bandwidth efficiently
• Cater to device-specific needs and requirements
• Give priority to critical I/O transfers
• Leave room for expansion
You need to know what is on your network. You should be familiar
with each device’s:
• communication requirements.
• I/O importance and size.
• frequency of message delivery.
At this point in your planning, it is advantageous for you to have some
idea of how the network could be expanded. I/O data mapping can
be performed automatically by the RSNetWorx software. But when
mapping your I/O, you also have the opportunity to allot room for
future I/O. This can save time and effort in the future.
For example, RSNetWorx software automatically maps the devices as
efficiently as possible, but the result is that multiple devices may share
the same word location in memory. However, you can also have the
system map the devices such that no two devices share the same
memory location by selecting the Dword align option when
performing automapping. You can also manually map the devices if
you need to assign or reassign them to specific memory locations.
The Example Network
Publication 1747-UM655B-EN-P - June 2007
For details, refer to the Help dialogs provided by the RSNetWorx for
DeviceNet software. Additional support can be found at the Rockwell
Software website: http://www.software.rockwell.com
The following example illustrates a data mapping plan for a
DeviceNet network. Note that even if the mapping is performed
automatically by the RSNetWorx software, you must know where the
devices are mapped in order to use them in your network.
.
Planning Your Configuration and Data Mapping Your Devices 25
Example Network Devices
This example network has the following devices:
• A computer running RSNetWorx for DeviceNet software
• A 1747-SDN communication module interfacing an SLC 500
processor with the DeviceNet network
• A Series 9000 photoelectric sensor (strobed)
• A RediSTATION operator interface (polled)
Computer running Windows 2000 or
later operating system, containing
RSNetWorx for DeviceNet software.
IMPORTANT
In the following example, output is data sent to a device from a
controller. Input is data collected from a device by a controller.
The system you set up is shown below.
Example Network
Node 62
Node 0
1770-KFD
Communication
Module
DeviceNet Network
Series 9000
Photoelectric Sensor
Node 9
Node 7
1747-SDN and SLC 500 Processor in
SLC 1746 Chassis
IMPORTANT
RediSTATION Operator Interface
Each end of the DeviceNet trunk cable must be properly
terminated with a resistor. Refer to the DeviceNet Media
Design Installation Guide, publication DNET-UM072, for
detailed information.
Publication 1747-UM655B-EN-P - June 2007
26 Planning Your Configuration and Data Mapping Your Devices
RediSTATION Operator Interface Input and Output Data Mapping
The RediSTATION operator interface has both inputs and outputs that
must be mapped. The input byte is mapped to the 1747-SDN module’s
M1 file and then to the SLC 500 processor’s input data file. The output
byte is mapped to the 1747-SDN module’s M0 file and then to the SLC
500 processor’s output data file.
The mapping procedure, using RSNetWorx for DeviceNet software, is
described on page 45.
RediSTATION Operator Interface
Indicator Light
Green Start Light
Red Start Light
Two input bits from the RediSTATION
operator interface will be mapped: bit 1 for
the green Start button and bit 0 for the red
Stop button.
Bit 4 of the input byte indicates if the bulb
is missing.
Start Bit (green button)
L
Stop Bit
(red button)
Status Bit for
Indicator Light
The RediSTATION
operator interface
produces one byte of
input data and uses one
byte of output data.
Input
Output
One output bit for the RediSTATION operator
interface’s indicator light (on/off) will be mapped.
1 byte
76543210
1 byte
76543210
G R
In the RediSTATION operator interface’s bits for the red and green
buttons and the indicator light status bit:
• 1 = ON.
• 0 = OFF.
Publication 1747-UM655B-EN-P - June 2007
Planning Your Configuration and Data Mapping Your Devices 27
Mapping RediSTATION Input Data for an M1 File Data Table Read
The following is an example of input data mapping for the
RediSTATION operator interface.
RediSTATION Input Byte
What’s Happening?
The bits for the RediSTATION
1
operator interfaces’s red and green
buttons are mapped into the
1747-SDN module’s M1 data table
file.
The M1 file is then transferred to
2
the SLC 500 processor’s input
data file.
Important: The 1747-SDN module only
makes the data file available for the
processor to read. The 1747-SDN
module does not move the data file to
the processor.
SLC 500 Processor
Input Data File1
N7:0
0000 0000 0000 00GR
0000 0000 0000 0000
N7:1
N7:2
0000 0000 0000 0000
0000 0000 0000 0000
N7:3
0000 0000 0000 0000
N7:4
1 byte
1
1747-SDN Module M1 File Data Table
2
G R
R = Bit for Red Button (STOP)
G = Bit for Green Button (START)
= Unused Bits
G R
Word 0
Word 1
Word 2
Word 3
Word 4
N7:149
0000 0000 0000 0000
1
This mapping is based upon the example in
chapters 4 and 6. The mapping for your system
may be different.
Example: The green START button from the
RediSTATION operator interface appears in the
SLC 500 processor’s input file at address
N7:0/1.
Up to
Word 61
The red STOP button from the RediSTATION
operator interface appears in the SLC 500
processor’s input file at address N7:0/0.
Publication 1747-UM655B-EN-P - June 2007
28 Planning Your Configuration and Data Mapping Your Devices
Mapping RediSTATION Output Data for an M0 File Data Table
Write
The RediSTATION operator interface’s output is mapped to the
1747-SDN module’s M0 file. Within the output byte is a bit for the
indicator light. The output data file is then transferred from the SLC
500 processor application to turn the light on or off.
RediSTATION Output Byte
What’s Happening?
The SLC 500 processor’s output
1
data file containing the indicator
light bit for the RediSTATION
operator interface is transferred
to the 1747-SDN Module’s M0
file data table.
2
The M0 file data table is then
sent to the RediSTATION
operator interface via a polled
message from which the
RediSTATION operator interface
receives its indicator light bit.
This mapping is based upon the example in chapter 4.
The actual mapping for your system may be different.
Publication 1747-UM655B-EN-P - June 2007
Up to
Word 149
Example: The RediSTATION operator interface’s indicator light (L)
is taken from N8:1/0 in the SLC 500 processor’s output data file.
Planning Your Configuration and Data Mapping Your Devices 29
Photoeye Input Data Mapping
The photoelectric sensor (photoeye) inputs are mapped to the
1747-SDN module’s M1 file and then to the SLC 500 processor’s input
data file. The procedure for doing this by using RSNetWorx for
DeviceNet software is described in chapter 4.
The photoeye has no outputs to map.
Series 9000 Photoeye
Two input bits from the photoeye
will be mapped: the status bit
and the data bit.
The photoeye produces
one byte of input data in
response to the strobe
message.
Status
Bit
Input
7
1 byte
543
6
2
S D
10
Data
Bit
Publication 1747-UM655B-EN-P - June 2007
30 Planning Your Configuration and Data Mapping Your Devices
Mapping Photoeye Input Data for an M1 File Data Table Read
What’s Happening?
The status and data bits from
1
the photoeye are mapped into
the 1747-SDN Module’s M1
file data table.
2
The M1 file data table is then
transferred to the SLC 500
processor’s input data file.
Important: The 1747-SDN module only
makes the data available for the
processor to read. The 1747-SDN
module does not move the data to the
processor.