The text of a manual · part 4 of 22
1747-SDN DeviceNet Scanner Module User Manual: 1 - Before You Begin
Pages 13 to 22 of 160, from 1747-SDN DeviceNet Scanner Module User Manual
The original document is the PDF (3.9 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1747-SDN
Page 13
Chapter
1
Before You Begin
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.
What You Need to Know
Topic
Page
What You Need to Know
13
What Your 1747-SDN Module Does
14
Communicating with Your Devices
16
Communicating with Your SLC 500 Processor
18
1747-SDN Module Data Tables
19
RSNetWorx Software as a Configuration Tool
20
What’s Next?
22
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.
13
Publication 1747-UM655B-EN-P - June 2007
Page 14
14
Before You Begin
What Your 1747-SDN Module Does
In a typical configuration, the 1747-SDN module acts as an interface between DeviceNet devices and the SLC 500 processor. Typical DeviceNet Network Computer with RSNetWorx for DeviceNet Software
SLC 500 Modular Chassis
SLC 500 Processor
1770-KFD PC Communication Module
1747-SDN Interface Module
Series 9000 Photoeye
FLEX I/O Rack RediSTATION Operator Interface
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
Page 15
Before You Begin
15
Processor to I/O Input Read by Processor (Chapter 2)
Configure SDN Module (Chapter 4) Computer Running RSNetWorx for DeviceNet Software
Configure SDN Module (Chapter 4) Mapping Table (Chapters 2 and 4)
Output Write by Processor (Chapter 2)
Output Data to Devices from SDN (Chapter 2)
Input Data from Device to SDN (Chapter 2)
DeviceNet Network
Input Device
Output Device
The 1747-SDN interface module can also be used to bridge a DeviceNet network with another network. Configuring Devices and Data Collection on Higher-level Networks via SLC 500/SDN Module Industrial workstation running RSView software.
Laptop computer running RSNetWorx software.
DH+ or Ethernet Network (Chapter 5)
Configuration of device using RSNetWorx software (Chapter 4). Target device to be configured.
Collection of status or alarm data (Chapter 6). 1747-SDN Module
DeviceNet Network
Source device to collect data.
Publication 1747-UM655B-EN-P - June 2007
Page 16
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
Page 17
Before You Begin
17
Communicating With Other Devices 1747-SDN Module
DeviceNet Devices Input Data From DeviceNet Devices
Input Data Storage
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.
A1
Byte 0
B
1
C A2
2
D E
3 4 5
E
6
A1 Input from the devices to the SLC 500 processor.
A2
B C D E
Output Data To DeviceNet Devices Output Data Storage X Y Y Y Y
X Output from the SLC 500 processor.
Y
Z
Z
Publication 1747-UM655B-EN-P - June 2007
Page 18
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
1747-SDN Module
Discrete Input Image Internal Input Data Storage
B A1 M1/M0 File Transfer Data File C A2
Discrete I/O Transfer I/O Map M1 File Transfer (Read)
D E E
A1 B C A2 D E E
Input from the devices.
Discrete Output Image X
Discrete I/O Transfer
M0 Data File Z Y
Internal Output Data Storage
I/O Map
X
Y Y Y
Y M0 File Transfer (Write)
Y Y Y Z
Publication 1747-UM655B-EN-P - June 2007
Output to the devices.
Page 19
Before You Begin
1747-SDN Module Data Tables
19
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
Page 20
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 Tables
Data in This Table
RSNetWorx Software Configuration Dialog
SCT
• Basic operation parameters
1747-SDN module configuration
• I/O communication data (enable/disable) • Interscan delay • Background poll ratio SLT
• Device-specific identification data
Scanlist editor (SLE)
• Data transfer method
Edit device I/O parameters
• Transmit/receive data size • Input and output data source and destination locations
RSNetWorx Software as a Configuration Tool
These values can be configured automatically through the AutoMap function or manually through the Data Table Map
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
Page 21
Before You Begin
21
RSNetWorx for DeviceNet Configuration Dialog Map The main RSNetWorx for DeviceNet dialog.
Click Online and select the driver to browse the network.
Double-click the 1747-SDN icon to access the 1747-SDN Interface Module.
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
Page 22
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