Allen-Bradley DeviceNet 1784-PCIDS Скачать руководство пользователя страница 23

1

Publication 1784-6.5.30 - February 2001

Chapter

 2

Planning Your Configuration and Data 
Mapping Your Devices

What This Chapter Contains

This chapter introduces questions you should ask before configuring 
your 1784-PCIDS card. In addition, it presents an example DeviceNet 
network and I/O data mapping scheme for a photoeye and a 
RediSTATION operator interface module. The following table 
identifies what this chapter covers and where to find specific 
information.

What You Need to Know

To map data via your 1784-PCIDS communication interface card, you 
must understand:

your network requirements

how input data is mapped

how output data is mapped

Beginning the Process

Planning before configuring your 1784-PCIDS communication 
interface card 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

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

Mapping Photoeye Input Data

2-8

RediSTATION Operator Interface Data Mapping

2-4

Mapping RediSTATION Input Data

2-5

Mapping RediSTATION Output Data

2-6

Allen-Bradley Parts

Содержание DeviceNet 1784-PCIDS

Страница 1: ...DeviceNet PCI Communication Interface Card 1784 PCIDS CPCIDS User Manual Allen Bradley Parts...

Страница 2: ...dley office describes some important differences between solid state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in t...

Страница 3: ...MC Generic Immunity Standard Part 2 Industrial Environment This product is intended for use in an industrial environment Low Voltage Directive This product is tested to meet Council Directive 73 23 EE...

Страница 4: ......

Страница 5: ...your DeviceNet network This manual is designed to provide you enough information to get the example network up and running Use this manual if you are knowledgeable about DeviceNet networks but may no...

Страница 6: ...tual configuration will depend on your application Note If you use different software versions of these products some of your screens may appear different from those shown in the examples Product Name...

Страница 7: ...nd areas of the screen such as dialog boxes status bars radio buttons and parameters TIP This symbol identifies helpful tips A definition box defines terms that may be unfamiliar to you Screen capture...

Страница 8: ...r Interface User Manual 2705 804 the 9000 Series Photoeye refer to the information that came with your photoeye n a IOLinx software DeviceNet PCI Communication Interface Card Installation Instructions...

Страница 9: ...artbeat signal to indicate the device is still operating on the network even if no data has changed Host Platform The computer in which the 1784 family scanner is installed I O An abbreviation for inp...

Страница 10: ...ll Automation representative or call Rockwell directly at 1 440 646 5800 For presales support call 1 440 646 3NET You can obtain technical assistance online from the following Rockwell Automation WEB...

Страница 11: ...suggestions about how we can make this manual more useful to you please contact us at the following address Rockwell Automation Allen Bradley Company Inc Control and Information Group Technical Commun...

Страница 12: ...Publication 1784 6 5 30 February 2001 P 8 About This User Manual...

Страница 13: ...ta Mapping 2 7 Mapping Photoeye Input Data 2 8 What s Next 2 8 Chapter 3 Setting Up the Hardware for the Example Network What This Chapter Contains 3 1 Installing the 1784 PCIDS Card 3 1 Accessing the...

Страница 14: ...r A 2 Network NET Status Indicator A 2 Appendix B Creating and Running a SoftLogix 5 Application What This Appendix Contains B 1 Configuring the RSLinx SoftLogix 5 Driver B 2 Configuring the SoftLogix...

Страница 15: ...S card you must understand the data exchange between a host application and DeviceNet devices through the 1784 PCIDS card user configurable scanner module data tables the role of RSNetWorx for DeviceN...

Страница 16: ...configuration data monitor a device s operational status The scanner engine in the PCIDS communicates with the host application in the form of Input Output and Diagnostic Tables Information exchanged...

Страница 17: ...4 Mapping Data Tables Chapters 2 and 4 Testing the Network Chapter 5 Input Device Output Device Input Data from Device to scanner Chapters 2 5 DeviceNet Network Output Data to Device from scanner Chap...

Страница 18: ...Plus Configuring Devices and Data Collection on Higher Level Networks Using RSLinx Gateway Architecture Target Device to be configured Source Device to collect data Configuration of device using RSNe...

Страница 19: ...ner 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 A poll messa...

Страница 20: ...ed between the scanner and the host application must be initiated by the host application Output data is sent or written to the scanner by your host application by placing the data in the output image...

Страница 21: ...RSNetWorx Software as a Configuration Tool RSNetWorx for DeviceNet software is used to configure the scanner s data tables in our example This software tool connects to the scanner locally or remotely...

Страница 22: ...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 network Chapter 4 covers confi...

Страница 23: ...nterface card you must understand your network requirements how input data is mapped how output data is mapped Beginning the Process Planning before configuring your 1784 PCIDS communication interface...

Страница 24: ...upper 8 bits and Device B to the lower 8 bits However you can also have the system map the devices such that no two devices share the same word by selecting the word align option when performing autom...

Страница 25: ...llected from a device by the host application DeviceNet Network Series 9000 Photoelectric Sensor RediSTATION Operator Interface Node 7 Node 9 Node 0 Host Platform with RSLinx IOLinx and RSNetWorx for...

Страница 26: ...ediSTATION s bits for the red and green buttons and the indicator light energize bit 1 ON 0 OFF RediSTATION operator interface Two input bits from the RediSTATION will be mapped bit 1 for the green St...

Страница 27: ...R Word 1 0000 0000 0000 0000 Word 2 0000 0000 0000 0000 Word 3 0000 0000 0000 0000 Word 5 0000 0000 0000 0000 Word 0 Word 1 Word 2 Word 3 Word 4 Word 1023 Word 4 0000 0000 0000 0000 RediSTATION Input...

Страница 28: ...then sent to the RediSTATION via a poll message from which the RediSTATION receives its indicator light bit unused bits 2 RediSTATION Output Byte L 1 Example The RediSTATION s indicator light L is tak...

Страница 29: ...nner s input data table The mapping procedure using RSNetWorx for DeviceNet software is described on pages 4 16 to 4 17 The photoeye has no outputs to map Series 9000 Photoeye Two input bits from the...

Страница 30: ...The host application reads word zero into its input data file and reacts accordingly S D 2 Word 0 Word 1 Word 2 Word 3 Word 4 Word 1023 1784 PCIDS Scanner Input Image Table1 S D Word 0 0000 00SD 0000...

Страница 31: ...ed a PCI bus based personal computer with Windows NT 4 0 with Service Pack 5 1 or later one open PCI slot approximately 2 MB available disk space For detailed information refer to the DeviceNet PCI Co...

Страница 32: ...ower switch Remove the computer s cover Locate a vacant PCI expansion slot Remove the slot s expansion cover ATTENTION The PCIDS card uses CMOS technology which is highly sensitive to electrostatic di...

Страница 33: ...rform the following steps to connect your 1784 PCIDS card to the DeviceNet network 1 Connect the DeviceNet drop line to the 5 pin DeviceNet connector provided with the card Match the wire insulation c...

Страница 34: ...he CPU cover when computer comes up correctly This completes the installation of the 1784 PCIDS card Refer to chapter 4 for information on configuring the 1784 PCIDS driver software IMPORTANT If the c...

Страница 35: ...connect the RediSTATION to the network Set this position To this value 1 2 3 4 5 6 1 On 1 On 1 On node 0 Off address1 0 Off 0 Off 7 8 0 Off data 1 On rate2 9 10 0 Off 0 Off 1 The DeviceNet address is...

Страница 36: ...ode Light Operate default Baud Rate 500k baud The factory default settings for Series 9000 photoeyes are node address 63 light operate and 125k baud rate For directions on how to use the programming p...

Страница 37: ...similar to that shown below What s Next The next step is to configure the 1784 PCIDS card and perform I O data mapping using RSNetWorx for DeviceNet software IMPORTANT Make sure each end of your Devic...

Страница 38: ...Publication 1784 6 5 30 February 2001 3 8 Setting Up the Hardware for the Example Network...

Страница 39: ...Rockwell software You must install RSLinx before installing the other two software packages 1 RSLinx must be installed first 2 IOLinx shipped with the 1784 PCIDS scanner card 3 RSNetWorx for DeviceNe...

Страница 40: ...atically where d is your CD ROM driver letter 4 Click on OK You will see the progress bar followed by the welcome screen 5 Follow the prompts on the screen as you set up your software Configuring the...

Страница 41: ...or use with RSNetWorx for DeviceNet 1 Start RSLinx 2 From the Communications menu select Configure Drivers The Configure Drivers window will open 3 From the list of Available Driver Types select Devic...

Страница 42: ...the IOLinx CD ROM 4 Highlight the Allen Bradley 1784 PCIDS driver and click on Select The 1784 PCIDS Driver Configuration window will open Note If you have multiple PCIDS cards installed for your app...

Страница 43: ...The card does not have to be configured or connected to the network to perform the tests 6 Click on OK 7 In the DeviceNet Port Setup area of the Driver Configuration window make sure the Node Address...

Страница 44: ...the physical connection is intact verify the network baud rate and ensure that the PCIDS card s node number is unique Also check the external 24V power connections The Network LED on the 1784 PCIDS c...

Страница 45: ...t the Input tab To manually map output devices select the Output tab To browse the network click on the Online or Browse buttons and select the driver If no PCIDS driver is seen refer to page 4 2 for...

Страница 46: ...ne connection to the DeviceNet network using the 1784 PCIDS driver 1 Start RSNetWorx for DeviceNet 2 From the File menu select New If you have RSNetWorx for ControlNet installed on your computer you m...

Страница 47: ...on OK You will be prompted that you will have to upload or download devices before viewing their online configuration 6 Click on OK to go online and browse the network RSNetWorx for DeviceNet will beg...

Страница 48: ...e shot browse when you go online or choose the browse feature The software will poll for devices once and display the results Consequently there will be no live indication if a node which was online l...

Страница 49: ...4 11 The following window will appear 2 Select the Module tab You will be prompted to upload or download the configuration 3 Click on Upload Note You could also have done an offline configuration of t...

Страница 50: ...ner communicates with other devices on the DeviceNet network The factory defaults for the Packet Rate and Transmit Retries are the optimum values for most applications Since these parameters are not u...

Страница 51: ...ilable Devices 5 For this example uncheck the Automap on Add box as shown above We will do this mapping later 6 Click on the double arrow button to add the photoeye and RediSTATION to the Scanlist TIP...

Страница 52: ...ble click on the photoeye in the Scanlist The Edit I O Parameters window will appear for the photoeye The I O parameters define the configuration for the device in terms of how much and with what data...

Страница 53: ...ifying the RediSTATION Configuration 1 Double click on the RediSTATION in the Scanlist window The Edit I O Parameters window will appear for the RediSTATION 2 Make sure that the Polled box is checked...

Страница 54: ...rom these tables is done as a word index offset from zero There is no reserved status or command bytes in the mapped image tables The Options button provides you the option of aligning the data on byt...

Страница 55: ...for the RediSTATION inputs are START Word 0 bit 1 STOP Word 0 bit 0 The input byte from the photoeye will appear in the Input Image Table as word 0 bits 8 15 Recall from chapter 2 that the input bit i...

Страница 56: ...s Word 0 bits 0 7 Recall from chapter 2 that the indicator light is output bit 0 Therefore the address for the RediSTATION s indicator light is Word 0 bit 0 6 Note the output mapping assigned to this...

Страница 57: ...r configuration Note The Network Status LED on the photoeye will turn solid green to indicate that the photoeye has been configured 4 Close the Scanlist window 5 Select the Save as option from the RSN...

Страница 58: ...Publication 1784 6 5 30 February 2001 4 20 Configuring the DeviceNet Network...

Страница 59: ...ation is automatically installed as part of the driver installation procedure You can also use this test application to configure the DeviceNet port on the 1784 PCIDS card instead of using RSLinx as d...

Страница 60: ...Rockwell Software IOLinx IOLinx for DeviceNet DNetTest The DeviceNet Test Application window will open 2 From the Setup menu select Configure Port You will see your machine s available DeviceNet Drive...

Страница 61: ...use the Serial Number pulldown window to select the PCIDS you want to configure 5 Click on Test Card You should receive the following message If the tests fail you have a hardware problem in your com...

Страница 62: ...Click on OK Testing the DeviceNet Network To test the example network using the DNetTest program perform the following steps 1 Start the DeviceNet test program path Start Programs Rockwell Software IO...

Страница 63: ...the Port Names field select your 1784 PCIDS card s port e g DeviceNet Port A Note You must use the down arrow on your keyboard to scroll through the list of Port Names 4 Under the Message Type select...

Страница 64: ...to see its status including MAC ID status code and status info e g device stopped communicating Make sure that there are no failures F indicated for the devices on your network e g the 1784 PCIDS card...

Страница 65: ...mapped to Word 0 bit 8 1 Use the Switch Mode button to change the scanner s mode from IDLE to RUN 2 Repeatedly press and release the START button on the RediSTATION On your screen you should see input...

Страница 66: ...hapter 5 that the RediSTATION s indicator light is mapped to Output Word 0 bit 0 1 If the scanner is not in RUN mode use the Switch Mode button to change the scanner s mode from IDLE to RUN 2 Select b...

Страница 67: ...WARNING If you perform a Write test to a device on your network be certain that you are writing to the correct location and that you are aware of the possible results of writing to that device Failure...

Страница 68: ...Publication 1784 6 5 30 February 2001 5 10 Using IOLinx To Test the Example Network...

Страница 69: ...nactive All inputs are inactive green output s active input s active One or more outputs are active and under control and no outputs are faulted One or more inputs are active and producing data and no...

Страница 70: ...to the card by shutting down and cycling power to your computer If the problem persists the device may need to be replaced flashing red green device self testing Device is in self test Refer to the De...

Страница 71: ...It is also possible to run RSLogix 5 on a workstation or programming terminal communicating with the SoftLogix controller over an Ethernet or Data Highway Plus network The following table describes wh...

Страница 72: ...controller you must configure the RSLinx SoftLogix 5 driver on the workstation where you will run RSLogix 5 To configure the driver perform the following steps 1 Start RSLinx 2 From the Communication...

Страница 73: ...T5 1 and click on OK The Configure driver window will open 5 Enter the Host Name of your host platform e g US00807385 and click on OK Your SoftLogix 5 driver will be added to the list of Configured Dr...

Страница 74: ...tLogix 5 controller to communicate with the DeviceNet network you must configure the SoftLogix 5 DeviceNet driver To configure the SoftLogix 5 DeviceNet driver perform the following steps 1 Click on t...

Страница 75: ...ning a SoftLogix 5 Application B 5 3 Select the I O Device Driver Configuration tab 4 Highlight the A B DeviceNet Scanner and click on Install The PCIDS Port Configuration window will open 5 Accept th...

Страница 76: ...stalled Drivers 6 Click on Apply and Close the window Putting the SoftLogix Controller in Remote Mode In order to download the example application program described in the following section the SoftLo...

Страница 77: ...on B 7 Creating the Example Application Program Perform the following steps to create the example application program 1 Start RSLogix 5 or RSLogix SL5 The RSLogix 5 main window will open 2 From the Fi...

Страница 78: ...5 Select the DeviceNet tab and enter the integer files that will be used for DeviceNet Output Input and Diagnostics We used the following files In this field Select or Enter Processor Name enter a na...

Страница 79: ...as the DeviceNet diagnostic file Word 0 of file N20 now corresponds to word 0 of the 1784 PCIDS scanner s output image file Word 0 of file N21 corresponds to the word 0 of the 1784 PCIDS scanner s in...

Страница 80: ...x Communications window will open your window will appear different from that shown below depending upon the system you have set up 2 Select the SOFT5 1 Ethernet driver Expand the tree under driver an...

Страница 81: ...e RediSTATION The red light should turn on On your screen you should see rung 0 in your ladder program become energized as you press the button 3 Pass your hand back and forth over the photoeye severa...

Страница 82: ...Publication 1784 6 5 30 February 2001 B 12 Creating and Running a SoftLogix 5 Application...

Страница 83: ...rolLogix Gateway you will use to communicate with the 1784 PCIDS card For more information on using a ControlLogix Gateway see the ControlLogix Gateway System User Manual publication 1756 6 5 13 For i...

Страница 84: ...odule connected to the DeviceNet network as well as a communications module for the network on which the remote workstation resides i e a 1756 CNB 1756 DHRIO or 1756 ENET module To configure the netwo...

Страница 85: ...elect DeviceNet Configuration and click on OK 4 Click on the Online button on the toolbar The Browse for network window will appear You will see the drivers you have configured on your system 5 Select...

Страница 86: ...inished browsing the DeviceNet network will be displayed on your workstation s screen similar to the example network shown below Once you are online to the DeviceNet network you can perform the proced...

Страница 87: ...e remote workstation and the host computer containing the 1784 PCIDS card are connected to the Ethernet network The host computer is configured as an RSLinx Gateway and the remote workstation is a gat...

Страница 88: ...te workstation 2 From the File menu select New IMPORTANT You must install the Gateway version of RSLinx on the host computer by obtaining a Gateway authorization key from Rockwell Software and checkin...

Страница 89: ...your system you may see the following window Otherwise proceed to step 4 3 Select DeviceNet Configuration and click on OK 4 Click on the Online button on the toolbar The Browse for network window will...

Страница 90: ...below 7 Expand the tree under your host platform until you reach the 1784 PCIDS DeviceNet driver as shown above 8 Highlight the DeviceNet driver and click on OK You will receive the following prompt 9...

Страница 91: ...sing the DeviceNet network will be displayed on your workstation s screen similar to the example network shown below You are now online to the DeviceNet network via the RSLinx Gateway Refer to the pro...

Страница 92: ...Publication 1784 6 5 30 February 2001 C 10 Configuring the DeviceNet Network from Another Network...

Страница 93: ...driver This includes any Soft Control engines as well as explicit messaging applications 2 Delete the 1784 PCIDS driver from RSLinx 3 Change the baud rate on any non autobaud devices on your network b...

Страница 94: ...Publication 1784 6 5 30 February 2001 D 2 Changing the Network Baud Rate...

Страница 95: ...yclic message 1 5 D data mapping your devices 2 1 to 2 8 photoeye input data mapping 2 7 to 2 8 RediSTATION data mapping 2 4 to 2 6 diagnostics and troubleshooting A 1 to A 2 I O status indicator A 1...

Страница 96: ...network 4 1 to 4 19 S scanlist configuration 4 10 to 4 19 scanner data tables 1 7 SoftLogix 5 example application B 1 to B 11 configuring drivers RSLinx SoftLogix 5 driver B 2 to B 3 SoftLogix 5 Devic...

Страница 97: ...s Type Describe Problem s Internal Use Only Technical Accuracy text illustration Completeness procedure step illustration definition info in manual What information is missing example guideline featur...

Страница 98: ...HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST CLASS MAIL PERMIT NO 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH...

Страница 99: ...Allen Bradley Parts...

Страница 100: ...Publication 1784 6 5 30 February 2001 2 PN 955134 58 Supersedes Publication 1784 6 5 28 July 1998 2001 Rockwell International Corporation Printed in the U S A...

Страница 101: ...DeviceNet PCI Communication Interface Card User Manual Allen Bradley Parts...

Отзывы: