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

The text of a manual · part 5 of 22

1747-SDN DeviceNet Scanner Module User Manual: 2 - Planning Your Configuration and Data Mapping Your Devices

Pages 23 to 30 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 23

Chapter

2

Planning Your Configuration and Data Mapping Your Devices

What This Chapter Contains 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.

What You Need to Know

Topic

Page

What You Need to Know

23

Beginning the Process

24

The Example Network

24

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

23

Publication 1747-UM655B-EN-P - June 2007

Page 24

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. 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 Example Network

Publication 1747-UM655B-EN-P - June 2007

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.

Page 25

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)

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 Computer running Windows 2000 or later operating system, containing RSNetWorx for DeviceNet software. Series 9000 Photoelectric Sensor 1770-KFD Communication Module

Node 62

Node 9

DeviceNet Network Node 0

1747-SDN and SLC 500 Processor in SLC 1746 Chassis

IMPORTANT

Node 7

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

Page 26

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

Indicator Light Green Start Light Red Start Light

Bit 4 of the input byte indicates if the bulb is missing. Start Bit (green button) The RediSTATION operator interface produces one byte of input data and uses one byte of output data.

Input

G R

1 byte 7

Output

6

5

4

3

2

1

7

6 5

4

0

L

1 byte 3

2

1

Stop Bit (red button)

Status Bit for Indicator Light

0

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

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

Page 27

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? 1 byte 1

The bits for the RediSTATION operator interfaces’s red and green buttons are mapped into the 1747-SDN module’s M1 data table file.

G R

R = Bit for Red Button (STOP) G = Bit for Green Button (START)

= Unused Bits 1

2

The M1 file is then transferred to 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.

1747-SDN Module M1 File Data Table

G

SLC 500 Processor Input Data File1 N7:0

0000 0000 0000 00GR

N7:1

0000 0000 0000 0000

N7:2

0000 0000 0000 0000

N7:3

0000 0000 0000 0000

N7:4

0000 0000 0000 0000

Word 0 Word 1

2

N7:149 0000 0000 0000 0000

1

R

This mapping is based upon the example in chapters 4 and 6. The mapping for your system may be different.

Word 2 Word 3 Word 4

Up to Word 61 The red STOP button from the RediSTATION Example: The green START button from the RediSTATION operator interface appears in the operator interface appears in the SLC 500 processor’s input file at address N7:0/0. SLC 500 processor’s input file at address N7:0/1.

Publication 1747-UM655B-EN-P - June 2007

Page 28

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 Start/Stop Station Node Address 7

What’s Happening? 1

2

L

1 byte

The SLC 500 processor’s output 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.

L = Fit for the Station Indicator Light

= Unused Bits

1747-SDN Module M1 File Data Table

L

Word 0

PLC-5 Processor Output Data File1

Word 1

N8:0

0000 0000 0000 000L

Word 2

N8:1

0000 0000 0000 0000

N8:2

0000 0000 0000 0000

N8:3

0000 0000 0000 0000

N8:4

0000 0000 0000 0000

N8:149

0000 0000 0000 0000

1 Word 3 Word 4

Up to Word 149

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

The actual mapping for your system may be different. Example: The RediSTATION operator interface’s indicator light (L) is taken from N8:1/0 in the SLC 500 processor’s output data file.

Publication 1747-UM655B-EN-P - June 2007

Page 29

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

Status Bit

S D

1 byte 7

6

5

4

3

2

1

Data Bit

0

Publication 1747-UM655B-EN-P - June 2007

Page 30

30

Planning Your Configuration and Data Mapping Your Devices

Mapping Photoeye Input Data for an M1 File Data Table Read

1 byte

What’s Happening? 1 The status and data bits from the photoeye are mapped into the 1747-SDN Module’s M1 file data table. 2

S D

= Unused Bits 1

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.

1747-SDN Module M1 File Data Table S D

RediSTATION

Word 0 Word 1

SLC 500 Processor Input Data File1 N7:0

0000 00SD 0000 0000

N7:1

0000 0000 0000 0000

N7:2

0000 0000 0000 0000

N7:3

0000 0000 0000 0000

N7:4

0000 0000 0000 0000

N7:149

Word 2 Word 3 2

Word 4

Up to Word 149

0000 0000 0000 0000

1 This mapping is based upon the examples in chapters 4 and 6. The actual mapping for your system may be different.

What’s Next?

Publication 1747-UM655B-EN-P - June 2007

Example: The Status bit from the photoeye appears in the SLC 500 processor’s input data file at address N7:0/9. The Data bit from the photoeye appears in the SLC 500 processor’s input data file at address N7:0/8.

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