Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 3 of 12

ControlLogix DeviceNet Interface Module 1756-DNB User Manual, pages 13 to 22

Pages 13 to 22 of 96: Table of Contents; 1 - Before You Begin

The original document is the PDF (1.7 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 1756-DNB

Page 13

Table of Contents Chapter 1 Before You Begin

What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . What You Need to Know . . . . . . . . . . . . . . . . . . . . . . . . . What Your 1756-DNB Module Does. . . . . . . . . . . . . . . . . . Communicating with Your Devices . . . . . . . . . . . . . . . . . . What 1756-DNB Module Data Tables Are and What They Do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Scanner Configuration Table (SCT) . . . . . . . . . . . . The Scanlist Table (SLT). . . . . . . . . . . . . . . . . . . . . . . . RSNetWorx Software as a Configuration Tool . . . . . . . . . . . RSNetWorx for DeviceNet Configuration Screen Map. . . What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-1 1-1 1-2 1-4 1-5 1-5 1-6 1-6 1-7 1-8

Chapter 2 Planning Your Configuration and Data Mapping Your Devices

What You Need to Know . . . . . . . . . . . . . . . . . . . . . . . . . Beginning the Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Example Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . Example Network Devices . . . . . . . . . . . . . . . . . . . . . . RediSTATION Operator Interface Data Mapping . . . . . . RediSTATION Input Data Mapping Example . . . . . . . . . RediSTATION Output Data Mapping Example. . . . . . . . Photoeye Input Data Mapping . . . . . . . . . . . . . . . . . . . Photoeye Input Data Mapping Example . . . . . . . . . . . . What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2-1 2-1 2-2 2-2 2-4 2-5 2-6 2-7 2-8 2-8

Chapter 3 Hardware Setup

What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . Installing the 1770-KFD Communication Module . . . . . . . . Installing the Logix5550 Controller. . . . . . . . . . . . . . . . . . . Installing the 1756-DNB Interface Module . . . . . . . . . . . . . Installing a ControlNet, Ethernet, or DH+ Interface Module. Installing the RediSTATION Operator Interface. . . . . . . . . . Installing the Series 9000 Photoeye . . . . . . . . . . . . . . . . . . How Your Example System Will Look . . . . . . . . . . . . . . . . What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-1 3-1 3-2 3-2 3-3 3-5 3-6 3-7 3-7

Chapter 4 Configuring the DeviceNet Network i

What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . Installing the Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . Using RSLinx to Configure the DeviceNet Driver . . . . . . . . Using RSNetWorx to Configure the 1756-DNB Module Scanlist. . . . . . . . . . . . . . . . . . . . . . Setting Up an Online Connection . . . . . . . . . . . . . . . . . Setting the 1756-DNB Node Address . . . . . . . . . . . . . . . Configuring the Scanlist . . . . . . . . . . . . . . . . . . . . . . . .

4-1 4-1 4-2 4-4 4-4 4-6 4-9

Publication 1756-6.5.19 - May 2000

Page 14

Table of Contents ii

Chapter 4 (continued) Verifying the Photoeye Configuration . . . . . . . . . . . . . . . 4-12 Verifying the RediSTATION Configuration . . . . . . . . . . . 4-14 AutoMapping the Devices into the Scanlist . . . . . . . . . . . 4-15

Saving the DeviceNet Configuration . . . . . . . . . . . . . . . 4-18 What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18

Chapter 5 Configuring DeviceNet From Another Network

What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . 5-1 Where to Find More Information . . . . . . . . . . . . . . . . . . . . 5-2 Configuring DeviceNet from a ControlNet Network . . . . . . 5-2 Configuring DeviceNet from an Ethernet Network . . . . . . . 5-5 Configuring DeviceNet From a Data Highway Plus Network 5-8 What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10

Chapter 6 The Example Application Program

What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . 6-1 Installing the Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2 Creating the Example Application . . . . . . . . . . . . . . . . . . . 6-2 Creating a New Controller . . . . . . . . . . . . . . . . . . . . . . 6-2 Creating the Controller Tags . . . . . . . . . . . . . . . . . . . . . 6-3 I/O Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5 Creating the Ladder Logic. . . . . . . . . . . . . . . . . . . . . . . 6-7 Downloading and Running the Example Application Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9 Downloading and Running the Program from a ControlNet Network . . . . . . . . . . . . . . . . . . . . . 6-9 Downloading and Running the Program from an Ethernet Network . . . . . . . . . . . . . . . . . . . . . . 6-11 Downloading and Running the Program from a DH+ Network . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13 What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14

Chapter 7 Troubleshooting

What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . Power-Up Cycle Diagnostics . . . . . . . . . . . . . . . . . . . . . . . Node Address/Status Indicator . . . . . . . . . . . . . . . . . . . . . . Interpreting the Three LED Status Indicators. . . . . . . . . . . . MOD/NET Status Indicator . . . . . . . . . . . . . . . . . . . . . . IO Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . OK Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . .

7-1 7-1 7-2 7-4 7-4 7-5 7-6

Appendix A 1756-DNB Status Structure Index Publication 1756-6.5.19 - May 2000

Module Status Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1

Page 15

Chapter

1

Before You Begin

What This Chapter Contains This chapter provides an overview of communication between a

Logix5550 controller and DeviceNet devices via a 1756-DNB module. The data tables and the RSNetWorx for DeviceNet screens and windows used to configure data tables are also described. The following table identifies what this chapter contains and where to find specific information.

What You Need to Know

For information about

See page

What You Need to Know

1-1

What Your 1756-DNB Module Does

1-2

Communicating with Your Devices

1-4

What 1756-DNB Module Data Tables Are and What They Do

1-5

The Scanner Configuration Table (SCT)

1-5

The Scanlist Table (SLT)

1-6

RSNetWorx Software as a Configuration Tool

1-6

RSNetWorx for DeviceNet Configuration Screen Map

1-7

Before configuring your 1756-DNB module, you must understand: • the data exchange between the controller and DeviceNet devices through the 1756-DNB module • user-configurable 1756-DNB module data tables • the role of RSNetWorx for DeviceNet software

1

Publication 1756-6.5.19 - May 2000

Page 16

1-2

Before You Begin

What Your 1756-DNB Module Does

In a typical configuration, the 1756-DNB module acts as an interface between DeviceNet devices and the Logix5550 controller.

DeviceNet Network

ControlLogix Chassis

Logix5550 Controller

1770-KFD Interface Module

1756-DNB Module

Series 9000 Photoeye

PC with RSNetWorx for DeviceNet software

FLEX I/O Rack RediSTATION DeviceNet Devices

1305 Drive

The 1756-DNB 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 1756-DNB module communicates with the controller in the form of Input, Output, and Diagnostic Tables. Information exchanged includes: • device I/O data • status information • configuration data

Publication 1756-6.5.19 - May 2000

Page 17

Before You Begin

1-3

A controller to I/O DeviceNet configuration is shown in the following figure. See the referenced chapters for information on a particular topic.

Controller to I/O PC running RSNetWorx for DeviceNet

Input Read by Controller (Chapter 2)

Configure DNB module (Chapter 4) Mapping Table (Chapters 2 and 4) Output Write by Controller (Chapter 2)

Input Device

Output Data to Devices from DNB (Chapter 2)

DeviceNet Network

Input Data from Device to DNB (Chapter 2)

Output Device

The 1756-DNB interface module can also be used to bridge a DeviceNet network with another network. See the referenced chapters for information on a particular topic.

Configuring Devices and Data Collection on Higher-Level Networks Via ControlLogix/DNB Industrial workstation running RSView

Laptop PC running RSNetWorx for DeviceNet

ControlNet, DH+, or Ethernet Network 1756-DNB Module Logix 5550 Processor 1756-CNB, -DHRIO. or -ENET interface module

Configuration of Devicenet Network via ControlNet, DH+, or Ethernet (Chapter 5)

Configuration of devices using RSNetWorx (Chapters 4 & 5)

Target Device to be configured

Collection of status or alarm data (Chapter 6)

DeviceNet Network Source Device to collect data

Publication 1756-6.5.19 - May 2000

Page 18

1-4

Before You Begin

Communicating with Your Devices A strobe message is a multicast transfer of data (which is 64 bits in length) sent by the 1756-DNB module that solicits a response from each strobed slave device. There is one bit for each of the possible 64 node addresses. The devices respond with their data, which can be as much as 8 bytes.

The 1756-DNB 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 1756-DNB module and made available to the controller. Data received from your Logix5550 controller, or output data, is organized in the 1756-DNB module and sent on to your devices.

IMPORTANT

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.

A poll message is a point-to-point transfer of data (0-255 bytes) sent by the 1756-DNB module that solicits a response from a single device. The device responds with its input data (0-255 bytes). A change of state message is a transfer of data sent whenever a data change occurs. A user-configurable heartbeat rate can also be set to allow devices to indicate proper operation during intervals between data changes. This does not solicit response data, but may receive an acknowledge message. A cyclic message is sent only at a user-configurable rate, such as every 10 ms.

Throughout this document, input and output are defined from the Logix5550 controller’s point of view. Output is data sent from the Logix5550 controller to a device. Input is data collected by the Logix5550 controller from a device.

DeviceNet Devices

1756-DNB Module

Input Data From DeviceNet Devices

Input Data Storage

Different portions of data from a single device can be mapped to separate 1756-DNB module memory locations. For example, “On/Off” values can be mapped to one location, diagnostic values to another, etc. 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

4

E

5

E

6

3

A2

A1

B input from the devices to the controller

C D E

Output Data To DeviceNet Devices Output Data Storage X Y Y

X output from the Logix 5550 controller

Y

Y

Y Y Z

Publication 1756-6.5.19 - May 2000

Z

Page 19

Before You Begin

What 1756-DNB Module Data Tables Are and What They Do

1-5

To manage the flow of data between your controller and the network devices, the 1756-DNB module uses the following data tables. • 1756-DNB Module Configuration Table • Scanlist Table • Device Input Data Table • Device Output Data Table • Device Idle Table • Device Failure Table You can configure two of these data tables through RSNetWorx software. These two tables are stored in the 1756-DNB module’s non-volatile memory and used to construct all other data tables: • Scanner Configuration Table (SCT) • Scanlist Table (SLT)

The Scanner Configuration Table (SCT) The SCT controls basic information your 1756-DNB module needs to function on your DeviceNet network. It tells your 1756-DNB 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

Publication 1756-6.5.19 - May 2000

Page 20

1-6

Before You Begin

The Scanlist Table (SLT) The SLT supports I/O updating for each of your devices on the network. It also makes it possible for your 1756-DNB module to make device data available to your controller. The SLT tells your 1756-DNB 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 • the size of the input data/output data • exactly where to map the input or output data for your controller to read or write

Interscan delay is the time between I/O scans (polled and strobed). It is the time the 1756-DNB module will wait between the last poll message request and the start of the next scan cycle.

Userconfigured Tables

Data in this Table

RSNetWorx Configuration Screen

SCT

• • • • basic operation module parameters interscan delay background poll ratio

1756-DNB Module Configuration

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

Background poll ratio sets the frequency of poll messages to a device in relation to the number of I/O scans. For example, if the ratio is set at 10, that device will be polled once every 10 scans.

RSNetWorx Software as a Configuration Tool

RSNetWorx for DeviceNet software is used to configure the 1756-DNB module’s data tables. This software tool connects to the 1756-DNB module over the DeviceNet network via a 1770–KFD interface module or PC Card (1784-PCID, -PCIDS, or -PCMCIA). TIP

Publication 1756-6.5.19 - May 2000

These values can be configured automatically through the AutoMap function or manually through the Data Table Map.

The 1756-DNB module can also be configured remotely from a ControlNet, Ethernet, or Data Highway Plus network. See chapter 5.

Page 21

Before You Begin

1-7

The configuration screen map below shows the RSNetWorx for DeviceNet screens used to configure the 1756-DNB module and the navigation paths between them. The use of these screens is described in Chapter 4.

RSNetWorx for DeviceNet Configuration Screen Map The main RSNetWorx for DeviceNet screen.

To browse the network, click on the Online button and select the driver.

To access the 1756-DNB Interface Module, double-click on the 1756-DNB icon To access the scanlist, click on the Scanlist tab

To automatically map input devices, select the Input tab and click on the AutoMap button

To automatically map output devices, select the Output tab and click on the AutoMap button.

To edit a device’s I/O parameters, double-click on the device in the scanlist

Publication 1756-6.5.19 - May 2000

Page 22

1-8

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 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 1756-DNB module.

Publication 1756-6.5.19 - May 2000