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

The text of a manual · part 4 of 12

ControlLogix DeviceNet Interface Module 1756-DNB User Manual: 2 - Planning Your Configuration and Data Mapping Your Devices

Pages 23 to 30 of 96, from ControlLogix DeviceNet Interface Module 1756-DNB User Manual

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 23

Chapter

2

Planning Your Configuration and Data Mapping Your Devices

This chapter introduces questions you should ask before configuring your 1756-DNB interface 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.

What You Need to Know

For information about

See page

What You Need to Know

2-1

Beginning the Process

2-1

The Example Network

2-2

Example Network Devices

2-2

Photoeye Input Data Mapping

2-7

Photoeye Input Data Mapping Example

2-8

RediSTATION Operator Interface Data Mapping

2-4

RediSTATION Input Data Mapping Example

2-5

RediSTATION Output Data Mapping Example

2-6

To map data via your 1756-DNB interface module, you must understand: • your network requirements • how input data is mapped • how output data is mapped

Beginning the Process

Planning before configuring your 1756-DNB module helps make sure that you can: • use your memory and bandwidth efficiently • cater to device-specific needs and requirements • give priority to critical I/O transfers • leave room for expansion A very important question to answer is “what is on your network?” You should be familiar with each device’s: • communication requirements • I/O importance and size • frequency of message delivery

1

Publication 1756-6.5.19 - May 2000

Page 24

2-2

Planning Your Configuration and Data Mapping Your Devices

You should also ask “how might this network appear in the future?” 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 will automatically map 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 manually map the devices if you need to assign them to specific memory locations. For details refer to the Help screens provided by the RSNetWorx for DeviceNet software. Additional support can be found at the Rockwell Software website: http://www.software.rockwell.com.

The Example Network

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 application.

Example Network Devices This example network has the following devices: • a Windows NT 4.0 PC running RSNetWorx for DeviceNet, RSLinx, and RSLogix 5000 software • a 1756-DNB communication module interfacing a Logix5550 controller with DeviceNet • a Series 9000 photoelectric sensor (strobed) • a RediSTATION operator interface (polled)

IMPORTANT

Publication 1756-6.5.19 - May 2000

In the following example, output is data sent to a device from a controller. Input is data collected from a device by a controller.

Page 25

Planning Your Configuration and Data Mapping Your Devices

2-3

The system you will set up is shown below:

PC running Windows NT 4.0 with RSNetWorx, RSLinx, and RSLogix 5000 software.

Series 9000 Photoelectric Sensor Node 62

∗

1770-KFD Communication Module

Node 9 ∗

DeviceNet Network Node 0

1756-DNB and Logix5550 Controller in ControlLogix Chassis

Node 7

RediSTATION Operator Interface

∗ See note below

IMPORTANT

Each end of the DeviceNet trunk cable must be properly terminated with a resistor. Refer to the DeviceNet Cable Planning and Installation Manual, publication DN-6.7.2 for information.

Publication 1756-6.5.19 - May 2000

Page 26

2-4

Planning Your Configuration and Data Mapping Your Devices

RediSTATION Operator Interface Data Mapping The RediSTATION has both inputs and outputs that must be mapped. The input byte is mapped to the 1756-DNB module’s input data file and then to the Logix5550 controller’s input image table. The output byte is mapped to the 1756-DNB module’s output data file and then to the Logix5550 controller’s output image table. The mapping procedure, using RSNetWorx for DeviceNet software, is described on pages 4-15 to 4-18. RediSTATION operator interface Two input bits from the RediSTATION will be mapped: bit 1 for the green Start button and bit 0 for the red Stop button.

Indicator light green start light

Bit 4 of the input byte can be commanded on by the Logix 5550’s ladder logic if the indicator light bulb is burnt out or missing.

red start light start bit (green button) The RediSTATION operator interface produces one byte of input data and uses one byte of output data.

input

1 byte 7

6

5

4

G R 3

2

1 stop bit (red button)

0 blink bit for indicator light output

1 byte 7

6

5

4

3

2

B

L

1

0 output bit for indicator light

One output bit for the RediSTATION’s indicator light (on/off) will be mapped.

In the RediSTATION’s bits for the red and green buttons and the indicator light status bit: • 1 = ON • 0 = OFF

Publication 1756-6.5.19 - May 2000

Page 27

Planning Your Configuration and Data Mapping Your Devices

2-5

RediSTATION Input Data Mapping Example The following is an example of input data mapping for the RediSTATION. RediSTATION Input Byte

What’s Happening? 1

2

The bits for the RediSTATION operator interface’s red and green buttons are mapped into the 1756-DNB module’s input data file.

1 byte

= unused bits

The data file is then transferred to the controller’s input image table.

1

Important: The 1756-DNB module only makes the data file available for the Logix5550 controller to read. The 1756-DNB module does not move the data file to the controller.

0000 0000 0000 0000

Word 1,L

0000 0000 0000 0000

Word 1,H

0000 0000 0000 0000

Word 2,L

0000 0000 0000 0000

Word 2,H

0000 0000 0000 0000

Bit

Bit 15/31

1756-DNB Module Input Data File1

0/16 G

Logix5550 Controller Input Image Table1 Address Data Word 0,L 0000 0000 0000 00GR Word 0,H

R = bit for red button (STOP) G = bit for green button (START)

G R

R

Word 0 Low Word 0 High Word 1 Low Word 1 High

2

Example: The green START button from the RediSTATION appears in the Logix5550 controller’s input image table in double word 0, bit 1. The red STOP button from the RediSTATION appears in the Logix5550 controller’s input image table in double word 1, bit 0.

Word 2 Low Word 2 High up to double word 123

1 This mapping is based upon the example in chapter 4. The actual mapping for your system may be different.

Publication 1756-6.5.19 - May 2000

Page 28

2-6

Planning Your Configuration and Data Mapping Your Devices

RediSTATION Output Data Mapping Example The RediSTATION’s output is mapped to the 1756-DNB module’s output data file. Within the output byte is a bit for the indicator light. The output data file is then transferred from the Logix5550 controller application to turn the light on or off. What’s Happening? 1

2

RediSTATION Output

The indicator-light bit for the RediSTATION operator interface is mapped to the 1756-DNB module’s output data file.

start/stop station node address 7 1 byte

The output data file is then sent out to the RediSTATION via a poll message from which the RediSTATION receives its indicator light bit.

B

2

L = bit for the station indicator light

L

= unused bits

Bit

Bit

Address

Logix5550 Controller Output Image Table1 Data

Word 0,L

0000 0000 0000 00BL

Word 0,H

0000 0000 0000 0000

Word 1,L

0000 0000 0000 0000

Word 1,H

0000 0000 0000 0000

Word 2,L

0000 0000 0000 0000

15/31

0/16 B

L

Word 0, Low Word 0, High

1

Example: The RediSTATION’s indicator light (L) is taken from double word 0, bit 0, in the 1756-DNB Output Image Table.

1 This mapping is based upon the example in chapter 4.

The actual mapping for your system may be different.

Publication 1756-6.5.19 - May 2000

1756-DNB Module Output Data Table1

Word 1, Low Word 1, High Word 2, Low up to double word 122

Page 29

Planning Your Configuration and Data Mapping Your Devices

2-7

Photoeye Input Data Mapping The photoelectric sensor (photoeye) inputs are mapped to the 1756-DNB module’s input data file and then to the Logix5550 controller’s input image table. The procedure for doing this using RSNetWorx for DeviceNet software is described on pages 4-15 to 4-17. 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. input status bit

S D

1 byte 7

6

5

4

3

2

1 data bit

0

Publication 1756-6.5.19 - May 2000

Page 30

2-8

Planning Your Configuration and Data Mapping Your Devices

Photoeye Input Data Mapping Example Photoeye Input Byte

What’s Happening? 1 The status and data bits from each photoelectric sensor are mapped into the 1756-DNB module’s input data file. 2

1 byte

S D

= unused bits

The input data file is then transferred to the Logix5550 controller’s input image table.

1 Bit

Bit Important: The 1756-DNB module only makes the data available for the controller to read. The 1756-DNB module does not move the data to the controller.

15/31

S

0000 0000 0000 0000

Word 1,L

0000 0000 0000 0000

Word 1,H

0000 0000 0000 0000

Word 2,L

0000 0000 0000 0000

Word 2,H

0000 0000 0000 0000

Word 0 Low

Word 1 High 2

Word 2 Low Word 2 High chapter 4. The actual mapping for your system may be different.

Publication 1756-6.5.19 - May 2000

RediSTATION

Word 1 Low

1 This mapping is based upon the example in

What’s Next?

D

0/16

Word 0 High

Logix5550 Controller Input Image Table1 Address Data Word 0,L 0000 00SD 0000 0000 Word 0,H

1756-DNB Module Input Data File1 up to double word 123

Chapter 3 describes how to set up the system hardware for the example application.