Rockwell Automation DEVICENET 1771-SDN User Manual

Rockwell Automation DEVICENET 1771-SDN User Manual

Plc-5 devicenet scanner module
Table of Contents

Advertisement

PLC-5 DeviceNet
Scanner Module
1771-SDN
User Manual

Advertisement

Table of Contents
loading

Summary of Contents for Rockwell Automation DEVICENET 1771-SDN

  • Page 1 PLC-5 DeviceNet Scanner Module 1771-SDN User Manual...
  • Page 2 Important User Information Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
  • Page 3 European Communities (EC) Directive Compliance If this product has the CE mark it is approved for installation within the European Union and EEA regions. It has been designed and tested to meet the following directives. EMC Directive This product is tested to meet the Council Directive 89/336/EC Electromagnetic Compatibility (EMC) by applying the following standards, in whole or in part, documented in a technical construction file:...
  • Page 5: Publication 1771-6.5.132 - June

    RSLogix 5 programming software to create a ladder logic program to control a photoeye and a RediSTATION This User manual should be used in conjunction IMPORTANT with the 1771-SDN DeviceNet Scanner Module Installation Instructions, publication 1771-5.14. The Installation Instructions contain important information on configuring your scanner.
  • Page 6 1771-SDN module. We assume that you: are developing a DeviceNet network using a PLC-5 processor in conjunction with the 1771–SDN scanner module know each of your device’s I/O parameters and requirements understand PLC-5 processor programming and operation are experienced with the Microsoft...
  • Page 7 The Example Application Product Name Qty Hardware PLC-5C processor 1771 Universal I/O chassis DeviceNet Scanner module Ethernet Interface module DeviceNet Quad-Tap RediSTATION operator interface module 2705-TxDN1x42x-xxxx Series 9000 Photoeye DeviceNet RS-232 interface module RS-232 cables DeviceNet dropline or trunkline cables, as needed...
  • Page 8 About This User Manual Common Techniques Used in This Manual Publication 1771-6.5.132 - June 2000 The following conventions are used throughout this manual: Bulleted lists provide information, not procedural steps. Numbered lists provide sequential steps. Information in bold contained within text identifies menu windows, or screen options, screen names and areas of the screen, such as dialog boxes, status bars, radio buttons and parameters.
  • Page 9: More Information

    Refer to the following publications as needed for additional help when setting up and using your DeviceNet network: See this publication 1771-SDN Scanner Module Installation Instructions ControlNet PLC-5 Programmable Controllers User Manual Phase 1.5 PLC-5 Instruction Set Reference Manual...
  • Page 10 Bridge The scanner module’s support of explicit message transfer. Change of State A type of I/O data communication. The scanner module can send and receive data with slave devices that have the change of state feature. Data is sent whenever a data change occurs. Data is updated at the rate of the heartbeat.
  • Page 11 Rockwell Automation Support Rockwell Automation offers support services worldwide, with over 75 sales/support offices, 512 authorized distributors, and 260 authorized systems integrators located throughout the United States alone, plus Rockwell Automation representatives in every major country in the world. Local Product Support Contact your local Rockwell Automation representative for: sales and order support product technical training...
  • Page 12 About This User Manual Publication 1771-6.5.132 - June 2000...
  • Page 13: Table Of Contents

    Installing the 1785-ENET Ethernet Module ....3-5 Installing the 1771-SDN Scanner Module ....3-7 Setting the Channel 1 Data Rate and Node Address Switches .
  • Page 14 AutoMapping the Devices into the Scanlist ..4-14 Download the Configuration to the Scanner ..4-17 What’s Next? ........4-17 Chapter 5 What This Chapter Contains .
  • Page 15 Troubleshooting 1785-ENET Module Channel Configuration Installing and Configuring the ControlNet Communications Driver Installing and Configuring the DH+ Communications Driver Data Map Example Index Chapter 7 What This Chapter Contains ......7-1 Module Status Indicator .
  • Page 16 Table of Contents Publication 1771-6.5.132 - June 2000...
  • Page 17: What This Chapter Contains

    The Scanlist Table (SLT) RSNetWorx Software as a Configuration Tool RSNetWorx for DeviceNet Configuration Screen Map Before configuring your 1771-SDN scanner module, you must understand: the data exchange between the PLC -5 processor and DeviceNet devices through the 1771-SDN module...
  • Page 18: What Your 1771-Sdn Module Does

    Before You Begin What Your 1771-SDN Module Does 1771-SDN Scanner module 1771 I/O Chassis PLC-5 Processor Series 9000 Photoeye Publication 1771-6.5.132 - June 2000 In a typical configuration, the 1771-SDN module acts as an interface between DeviceNet devices and the PLC-5 processor.
  • Page 19 A processor to I/O DeviceNet configuration is shown in the following figure. See the referenced chapters for more information. Input Read by Processor (Chapter 2) Output Write by Processor (Chapter 2) Input Data from Device to SDN (Chapter 2) Input Device Processor to I/O Configure SDN module (Chapter 4)
  • Page 20: Address Density And Discrete I/O

    Address Density and Discrete I/O Publication 1771-6.5.132 - June 2000 The 1771-SDN scanner module can also be used to bridge a DeviceNet network with another network. Configuring Devices and Data Collection on Higher-Level Networks Via PLC-5/SDN Laptop PC...
  • Page 21 In the scanner’s input and output data tables, there is one byte of memory that is reserved for communication between the processor and the scanner. Processor-specific responses from the scanner are read by the processor in this byte of the input data table.
  • Page 22: Communicating With Your Devices

    In this example (only two bits of input information), the upper six bits are insignificant. 1771-SDN Scanner Module Input Data Storage Output Data Storage DeviceNet Devices...
  • Page 23: Communicating With Your Plc-5 Processor

    Output data is sent, or “written”, to the scanner by your processor. This data is organized in the 1771-SDN module, which in turn passes the data on to your scanned devices via strobe, poll, change of state, or cyclic messages.
  • Page 24: What 1771-Sdn Module Data Tables Are And What They Do

    Scanner Configuration Table (SCT) Scanlist Table (SLT) The Scanner Configuration Table (SCT) The SCT controls basic information your 1771-SDN module needs to function on your DeviceNet network. It tells your 1771-SDN module:...
  • Page 25: Rsnetworx Software As A Configuration Tool

    Interscan delay is the time between I/O scans (polled and strobed). It is the time the 1771-SDN module will wait between the last poll message request and the start of the next scan cycle. Background poll ratio sets the frequency of poll messages to a device in relation to the number of I/O scans.
  • Page 26: Rsnetworx For Devicenet Configuration Screen Map

    1-10 Before You Begin RSNetWorx for DeviceNet Configuration Screen Map The main RSNetWorx for DeviceNet screen. To access the 1771-SDN scanner Module, double-click on the 1771-SDN icon. To automatically map input devices, select the Input tab and click on the AutoMap button.
  • Page 27: What's Next

    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.
  • Page 28 1-12 Before You Begin Publication 1771-6.5.132 - June 2000...
  • Page 29: Planning Your Configuration And Data Mapping Your Devices

    Mapping Your Devices This chapter introduces questions you should ask before configuring your 1771-SDN Scanner. 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.
  • Page 30: The Example Network

    Example Network Devices This example network has the following devices: a PC running RSNetWorx for DeviceNet software a 1771-SDN Scanner module interfacing a PLC-5 processor with DeviceNet a Series 9000 photoelectric sensor (strobed) a RediSTATION operator interface (polled)
  • Page 31 IMPORTANT The system you will set up is shown below: PC running Windows NT or Windows 95/98, containing RSNetWorx for DeviceNet software 1770-KFD Communication Node 62 Module Node 0 1771-SDN and PLC-5 in 1771 I/O Chassis * See note below IMPORTANT Planning Your Configuration and Data Mapping Your Devices In the following example, output is data sent to a...
  • Page 32: Redistation Operator Interface Data Mapping

    Planning Your Configuration and Data Mapping Your Devices Publication 1771-6.5.132 - June 2000 RediSTATION Operator Interface Data Mapping The RediSTATION has both inputs and outputs that must be mapped. The input byte is mapped to the 1771-SDN module’s block transfer read data table and then to the PLC-5 processor’s input data file.
  • Page 33: Mapping Redistation Input Data For A Block Transfer Read

    Mapping RediSTATION Input Data for a Block Transfer Read The RediSTATION operator interface’s input byte is mapped to the scanner’s block transfer read data table through a 62 word BTR. In this example, we use data file N9:0. RediSTATION Input Byte...
  • Page 34: Mapping Redistation Output Data For A Block Transfer Write

    7 1 byte Note: This example uses 1-slot addressing. 1771-SDN Scanner Block Transfer Write Data Table reserved for module status word Example: The RediSTATION’s indicator light (L) is taken from N10:1/0 in the PLC-5 processor’s output data file.
  • Page 35: Photoeye Input Data Mapping

    Planning Your Configuration and Data Mapping Your Devices Photoeye Input Data Mapping The photoelectric sensor (photoeye) inputs are mapped to the 1771-SDN module’s block transfer read data table and then to the PLC-5 processor’s input data file. The procedure for doing this using RSNetWorx for DeviceNet software is described on pages 4-14 to 4-17.
  • Page 36: Mapping Photoeye Input Data For A Block Transfer Read

    Publication 1771-6.5.132 - June 2000 Mapping Photoeye Input Data for a Block Transfer Read The photoeye’s input byte is mapped to the scanner’s block transfer read data table through a 62 word BTR. In this example, we use data file N9.
  • Page 37: What's Next

    Planning Your Configuration and Data Mapping Your Devices What’s Next? Chapter 3 describes how to set up the system hardware for the example application. Publication 1771-6.5.132 - June 2000...
  • Page 38 2-10 Planning Your Configuration and Data Mapping Your Devices Publication 1771-6.5.132 - June 2000...
  • Page 39: Hardware Setup

    Installing the 1771-SDN Scanner Module Setting the Channel 1 Data Rate and Node Address Switches Setting the I/O Chassis Addressing Node Switches Installing the Scanner Module in the Chassis Connecting the Scanner to the DeviceNet Network Installing the RediSTATION Operator Interface...
  • Page 40: Setting The I/O Chassis Backplane Switches

    Hardware Setup Installing the PLC-5 Processor 1771 I/O Chassis Publication 1771-6.5.132 - June 2000 Refer to the following figure while installing your PLC-5 processor. PLC-5C Processor and 1771 I/O Chassis Card Guides DH+ Address Switches Battery (on back) Setting the I/O Chassis Backplane Switches Set the backplane switches in the 1771 I/O chassis for 1-slot addressing for the example application.
  • Page 41: Going Online To The Plc-5 Processor

    Going Online to the PLC-5 Processor You cannot go online to the PLC-5 processor over DeviceNet. In order to download and run the example application program in chapter 6 you must use the processor’s RS-232 connector, or download and run the program via another network.
  • Page 42 Hardware Setup More Publication 1771-6.5.132 - June 2000 To go online to the PLC-5 processor via Data Highway Plus: 1. Define the DH+ station address of channel 1A by setting switch assembly SW-1 on the back of the processor. For the example application we used address 1.
  • Page 43: Installing The 1785-Enet Ethernet Module

    Installing the 1785-ENET Ethernet Module Status Indicator Transmit Indicator External Transceiver Fuse Channel 3A: 15-pin AUI Connector Port To go online to the PLC-5 processor via Ethernet, you must install a 1785-ENET module in the 1771 I/O chassis. The Ethernet module is shipped with a 58-pin connector header that attaches to the PLC-5 processor.
  • Page 44 Hardware Setup Be sure power to the 1771 I/O chassis is OFF. More Publication 1771-6.5.132 - June 2000 3. Insert the interface module/processor combination in the left-most slot of the 1771 I/O chassis. 4. Assign an IP address to the interface module. 5.
  • Page 45: Installing The 1771-Sdn Scanner Module

    Refer to the following figure as you install the 1771-SDN module. Multi-position Switches - use to set the data rate, chassis addressing mode, and scanner node address for each channel. 3 4 5 6 7 8 3 4 5 6 7 8...
  • Page 46: Setting The Channel 1 Data Rate And Node Address Switches

    The chassis addressing mode setting for the 1771 I/O IMPORTANT chassis (page 3-2) must match the I/O chassis address setting of the scanner. If the switches do not match, data will be lost in the data transfer between the PLC-5 processor and the scanner module.
  • Page 47: Installing The Scanner Module In The Chassis

    1. Select a slot for the 1771-SDN module in the chassis. You may use any slot except the leftmost slot, which is reserved for the PLC-5 processor. For the example application, we installed the scanner in slot 1. 2. Insert the 1771-SDN Scanner module into the slot.
  • Page 48: Connecting The Scanner To The Devicenet Network

    You may short circuit your network or disrupt communication. To connect to the DeviceNet network: 1. Connect the DeviceNet drop line to the linear plug provided with the scanner. Match the wire insulation colors to the colors shown on the label. MODULE STATUS...
  • Page 49: Installing The Redistation Operator Interface

    Installing the RediSTATION Operator Interface More Begin installing the RediSTATION by removing the six screws fastening the cover and setting the DIP switches inside as follows: Set this position To this value: (node address (data rate The DeviceNet address is 000111 (node 7). The data rate is 10 (500k bps).
  • Page 50: Installing The Series 9000 Photoeye

    3-12 Hardware Setup Installing the Series 9000 Photoeye More Publication 1771-6.5.132 - June 2000 Connect the photoeye to the network and configure the photoeye as follows: Node Address: 9 Operating Mode: Light Operate (default) Baud Rate: 500 kb Top View of Series 9000 Photoeye Sensitivity Adjustment Yellow - Output...
  • Page 51: How Your Example System Will Look

    How Your Example System Will Look PC running Windows NT or Windows 95/98, containing RSNetWorx for DeviceNet software What’s Next? When you have finished installing all the devices, your example system should look similar to the one shown below: PC Serial Port Node 0 PLC-5 Processor with 1771-SDN...
  • Page 52 3-14 Hardware Setup Publication 1771-6.5.132 - June 2000...
  • Page 53: Installing The Software

    What This Chapter Contains Installing the Software Configuring the DeviceNet Network This chapter describes how to configure the DeviceNet network using RSLinx and RSNetWorx for DeviceNet software. The following table describes what this chapter contains and where to find specific information.
  • Page 54: Using Rslinx To Configure The Devicenet Driver

    Configuring the DeviceNet Network Using RSLinx to Configure the DeviceNet Driver Publication 1771-6.5.132 - June 2000 After you install the software, you use RSLinx to configure your DeviceNet driver and RSNetWorx for DeviceNet to configure the network. 1. Start the RSLinx software. 2.
  • Page 55 Your driver setup will vary according to your system setup (COM port, Data Rate, Node Address). Choose the appropriate settings for your system. We set the DeviceNet Port Setup Data Rate to 500K for the example application. The Allen-Bradley 1770-KFD Driver Configuration window will appear.
  • Page 56: Using Rsnetworx For Devicenet To Configure The Scanlist

    Configuring the DeviceNet Network Using RSNetWorx for DeviceNet to Configure the Scanlist Publication 1771-6.5.132 - June 2000 Setting Up an Online Connection Follow the procedure below to set up an online connection to the DeviceNet network using the 1770-KFD driver. 1.
  • Page 57 The Browse for network window will appear. You will see the drivers you have configured on your system. 5. Select the 1770-KFD-1, DeviceNet driver and click on OK. You will be prompted to upload or download devices before going online. 6.
  • Page 58: Setting The 1771-Sdn Node Address

    Once the devices are uploaded, their node addresses appear to the right of their icons. For the example application, the 1771-SDN scanner module should have a node address of “0” (or “00”). If you need to change a module’s node address, use the following procedure.
  • Page 59 Configuring the DeviceNet Network To change the node address of a device perform the following steps: 1. From the Tools menu select Node Commissioning. 2. Click on the Browse button. You will see the Device Selection window. 3. Select the 1770-KFD-1 driver. Publication 1771-6.5.132 - June 2000...
  • Page 60 Configuring the DeviceNet Network Publication 1771-6.5.132 - June 2000 The devices on the network will appear in the right panel. 4. Select the device from the right panel and click on OK. You will see the Node Commissioning window with the current settings for the device.
  • Page 61: Configuring The I/O Devices

    Configuring the DeviceNet Network Configuring the I/O Devices Next you must add the RediSTATION and the photoeye to the 1771-SDN’s scanlist, configure and/or verify their parameters, and map them to the PLC-5 processor’s memory. 1. Double-click on the 1771-SDN module icon. The following window will appear: 2.
  • Page 62 4-10 Configuring the DeviceNet Network Publication 1771-6.5.132 - June 2000 You will be prompted to upload or download the configuration. 3. Click on Upload. After uploading the Module page will appear: 4. Make sure the 1771-SDN module’s Rack and Group numbers are correct.
  • Page 63 The Scanlist page will appear with the RediSTATION and the photoeye in the list of Available Devices. 6. For this example, uncheck the Automap on Add box, as shown above. You will do this mapping later. 7. Click on the double arrow RediSTATION to the Scanlist.
  • Page 64: Verifying The Photoeye Configuration

    4-12 Configuring the DeviceNet Network Publication 1771-6.5.132 - June 2000 You will be prompted to download the changes to the device (i.e., the scanner). 9. Click on Yes. The PLC-5 processor must be in Program mode to IMPORTANT download the scanlist to the 1771-SDN module.
  • Page 65: Verifying The Redistation Configuration

    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 what data the device will exchange with the 1771-SDN module. By default, the photoeye will send 1 byte when it receives a strobe request.
  • Page 66: Automapping The Devices Into The Scanlist

    4-14 Configuring the DeviceNet Network There are six available blocks. Block Xfer 62 is the default. Publication 1771-6.5.132 - June 2000 3. Click on OK if you made any changes and close the Edit I/O Parameters window for the RediSTATION. 4.
  • Page 67 The resulting device mapping will appear in the lower panel of the window: File N9, Word 1 Note: The source address is actually determined by the block transfer instruction in the ladder logic. See chapter 6. In this example, the input byte from the RediSTATION will appear in the PLC-5 processor in file N9, word 1, as bits 0-7.
  • Page 68 4-16 Configuring the DeviceNet Network File N10, Word 1 Note: The destination address is actually determined by the block transfer instruction in the ladder logic. See chapter 6. Publication 1771-6.5.132 - June 2000 4. Select the Output tab. Highlight the RediSTATION as shown above and click on the AutoMap button.
  • Page 69: Download The Configuration To The Scanner

    What’s Next? Download the Configuration to the Scanner 1. Click on the Scanlist tab and then on the Download to Scanner button. You will see this window: 2. Select Channel A (default). Note: Both channels will download. 3. Select All Records.
  • Page 70 4-18 Configuring the DeviceNet Network Publication 1771-6.5.132 - June 2000...
  • Page 71: What This Chapter Contains

    What This Chapter Contains Communicating with DeviceNet from Another Network This chapter describes how to communicate with the DeviceNet network from another network, using the PLC-5 “pass-through” feature. This feature can be used to adjust and fine tune the nodes on your network.
  • Page 72: Where To Find More Information

    Communicating with DeviceNet from Another Network Where to Find More More Information For information about: the ControlNet PLC-5 processor the Ethernet interface module TCP/IP protocol and networking in general Publication 1771-6.5.132 - June 2000 The following table describes what this chapter contains and where to find specific information.
  • Page 73: Communicating With Devicenet From A Controlnet Network

    Communicating with DeviceNet from a ControlNet Network Communicating with DeviceNet from Another Network Before performing this example the ControlNet network must be configured and running. A ControlNet processor (PLC-5C) is required. In this example the PLC-5C processor is configured as ControlNet node 16.
  • Page 74 Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000 You will see the following list of drivers. 4. Select the Allen-Bradley 1771-SDNPT driver. The Driver Configuration window will appear. 5. Select a pass-through port to be configured from the pull-down list, e.g., Port 1.
  • Page 75 Communicating with DeviceNet from Another Network 9. Click on OK. You will see the following warning: 10. Verify that the routing information is accurate and click on the Yes button. You will be prompted to choose a name for the driver. 11.
  • Page 76: Communicating With The Devicenet Network

    Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000 Communicating with the DeviceNet Network Once you have the ControlNet pass-through driver configured, you can use RSNetWorx for DeviceNet to communicate with the DeviceNet network via the ControlNet network. Perform the following steps: 1.
  • Page 77 Communicating with DeviceNet from Another Network The Browse for network window will appear. You will see the drivers you have configured on your system. 5. Highlight your DeviceNet pass-through driver (1771-SDNPT-1 above) and click on OK. You will receive the following prompt: 6.
  • Page 78 Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000 When RSNetWorx for DeviceNet is finished browsing, the network displayed on your screen should look similar to the one shown below. You are now communicating with the DeviceNet network via the ControlNet network.
  • Page 79: Communicating With Devicenet From An Ethernet Network

    Communicating with DeviceNet from an Ethernet Network More Communicating with DeviceNet from Another Network Before performing this example the Ethernet network must be configured and running. A 1785-ENET module must be installed on the PLC-5 processor and connected to the network. See the PLC-5 Ethernet Interface Module User Manual (publication 1785-6.5.19) for more information.
  • Page 80 5-10 Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000 2. From the Communications menu, select Configure Drivers. 3. From the list of Available Driver Types, select the Ethernet to PLC-5/SLC-5/5820-EI driver and click on Add New. You will be prompted to choose a name for the new driver. 4.
  • Page 81 Communicating with DeviceNet from Another Network 5. In the IP address or hostname field, enter the IP address of the PLC-5 processor (130.130.130.2 in this example). You must configure the PLC-5’s communications IMPORTANT using BOOTP software or your PLC-5 programming software (e.g., RSLogix 5) before you will be able to communicate with the PLC-5 using this Ethernet address.
  • Page 82: Configuring The Devicenet Pass-Through Driver

    5-12 Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000 Configuring the DeviceNet Pass-Through Driver Before you can communicate with the 1771-SDN module via the Ethernet network, you must configure the DeviceNet pass-through driver (1771-SDNPT). RSLinx, version 2.10 or higher, is required. Connect your 1785-ENET module to your Ethernet network.
  • Page 83 Communicating with DeviceNet from Another Network You will see the following list of drivers. 4. Select the Allen-Bradley 1771-SDNPT driver. The Allen-Bradley 1771-SDNPT Driver Configuration window will open. 5. Select a pass-through port to be configured from the pull-down list, e.g., Port 2.
  • Page 84 5-14 Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000 7. Select the 1771-SDN Backplane Address Configuration. We used the following configuration for the example application. Rack Group Slot 8. Select the DeviceNet channel (Channel 1 for the example application).
  • Page 85: Communicating With The Devicenet Network

    Communicating with DeviceNet from Another Network The new driver will be added to the list of Configured Drivers in RSLinx. (Your list will contain the drivers you have configured.) 12. Close or Minimize RSLinx. Communicating with the DeviceNet Network Once you have the Ethernet pass-through driver configured, you can use RSNetWorx for DeviceNet to communicate with the DeviceNet network via the Ethernet network.
  • Page 86 5-16 Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000 2. From the File menu, select New. If you have RSNetWorx for ControlNet installed on your computer you may see the following window. Otherwise, proceed to step 4. 3.
  • Page 87 Communicating with DeviceNet from Another Network You will receive the following prompt: 6. Click on OK to upload the devices. RSNetWorx for DeviceNet will begin browsing for network devices. Performing a pass-through browse via the Ethernet ATTENTION network will take longer than browsing using the 1770-KFD DeviceNet driver as described in chapter 4.
  • Page 88: Communicating With Devicenet From A Dh+ Network

    5-18 Communicating with DeviceNet from Another Network Communicating with DeviceNet from a DH+ Network Publication 1771-6.5.132 - June 2000 Before performing this example the DH+ network must be configured and running. In this example, the PLC-5 processor’s DH+ channel A is configured as node 1.
  • Page 89 Communicating with DeviceNet from Another Network You will see the following list of drivers. 4. Select the Allen-Bradley 1771-SDNPT driver. The Driver Configuration window will appear. 5. Select a pass-through port to be configured from the pull-down list, e.g., Port 3. 6.
  • Page 90 5-20 Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000 9. Click on OK. You will see the following warning: 10. Verify that the routing information is accurate and click on the Yes button. You will be prompted to enter a name for the driver. 11.
  • Page 91: Communicating With The Devicenet Network

    Communicating with DeviceNet from Another Network Communicating with the DeviceNet Network Once you have the DH+ pass-through driver configured, you can use RSNetWorx for DeviceNet to communicate with the DeviceNet network via the DH+ network. Perform the following steps: 1. Start RSNetWorx. 2.
  • Page 92 5-22 Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000 The Browse for network window will appear. You will see the drivers you have configured on your system. 5. Highlight the 1771-SDNPT-3 driver and click on OK. You will receive the following prompt: 6.
  • Page 93: What's Next

    What’s Next? Communicating with DeviceNet from Another Network When RSNetWorx for DeviceNet is finished browsing, the network displayed on your screen should look similar to the one shown below. You are now online to the DeviceNet network via the Data Highway Plus network.
  • Page 94 5-24 Communicating with DeviceNet from Another Network Publication 1771-6.5.132 - June 2000...
  • Page 95: What This Chapter Contains

    What This Chapter Contains More Creating and Running the Example Application Program This chapter describes the procedure to create, download, and run an example ladder logic program to test the DeviceNet network. When the program is put into Run mode, pressing the START button on the network’s RediSTATION will cause the red indicator light to come on and stay on until the STOP button is pressed.
  • Page 96: Installing The Software

    Creating and Running the Example Application Program Installing the Software Creating the Example Application Program Publication 1771-6.5.132 - June 2000 Install the RSLogix 5 software. 1. Insert the CD in the CD-ROM drive. Note: The CD-ROM supports Windows Autorun. Once inserted into the CD-ROM drive, if you have Autorun configured, the installation will automatically start at the first setup screen.
  • Page 97 Creating and Running the Example Application Program The Select Processor Type window will open. 3. Enter the following information and click on OK. In this field Processor Name Platform Processor Series Revision Driver Processor Node You can use the Who Active button to select your communications driver. This is described in the “Downloading”...
  • Page 98 Creating and Running the Example Application Program RediSTATION Start bit RediSTATION Stop bit Photoeye input bit Publication 1771-6.5.132 - June 2000 4. Enter the following ladder program. Input data file mapped by RSNetWorx for DeviceNet Length of 62 specifies the first data block.
  • Page 99 The first word of the BTW downloaded from the IMPORTANT PLC-5 to block 62 is reserved as the scanner module command register. You must set bit 0 of the command register to “1” to place the scanner’s DeviceNet Channel 1 in run mode. You can do this by double-clicking on file N10 in the project window and manually setting N10:0, bit 0 to “1”...
  • Page 100: Downloading And Running The Program

    Creating and Running the Example Application Program Downloading and Running the Program Publication 1771-6.5.132 - June 2000 The remaining sections of this chapter provide examples of downloading and running the program via the following networks: ControlNet (page 6-6) Ethernet (page 6-9) Data Highway Plus (page 6-12) Downloading and Running the Program via a ControlNet Network Follow the procedure below to download and run the example...
  • Page 101 Creating and Running the Example Application Program RSLinx will open. You will see a window similar to the one below, displaying your system’s driver configuration. 3. Expand the tree under your ControlNet driver and highlight the PLC-5 processor as shown above. Click on OK. 4.
  • Page 102: Testing The Example Program

    Creating and Running the Example Application Program Publication 1771-6.5.132 - June 2000 Testing the Example Program 1. After the download is complete, go online and put the PLC-5 processor in Run mode. 2. Press and release the START button on the RediSTATION. The red light should turn on.
  • Page 103: Downloading And Running The Program Via An Ethernet Network

    Creating and Running the Example Application Program Downloading and Running the Program via an Ethernet Network The Ethernet configuration must be downloaded to IMPORTANT the PLC-5 processor before performing this example. See Appendix A. Follow the procedure below to download and run the example program via an Ethernet network.
  • Page 104 6-10 Creating and Running the Example Application Program Publication 1771-6.5.132 - June 2000 RSLinx will open. You will see a window similar to the one below, displaying your system’s driver configuration. 3. Expand the tree under your Ethernet driver and highlight the PLC-5 processor as shown above.
  • Page 105: Testing The Example Program

    Creating and Running the Example Application Program Testing the Example Program 1. After the download is complete, go online and put the PLC-5 processor in Run mode. 2. Press and release the START button on the RediSTATION. The red light should turn on. On your screen, you should see rung 1 in your ladder program being energized as you press the button.
  • Page 106: Downloading And Running The Program Via A Dh+ Network

    6-12 Creating and Running the Example Application Program Publication 1771-6.5.132 - June 2000 Downloading and Running the Program via a DH+ Network Follow the procedure below to download and run the example program via a DH+ network. 1. Click on the RSLogix 5 Comms menu and select System Communications.
  • Page 107 Creating and Running the Example Application Program 4. Click on the Download button. You will be asked if you want to proceed with the Download. You will see a message similar to the one below. 5. Click on Yes to download the program. You may be prompted to keep the existing online ControlNet configuration.
  • Page 108: Testing The Example Program

    6-14 Creating and Running the Example Application Program What’s Next? Publication 1771-6.5.132 - June 2000 Testing the Example Program 1. After the download is complete, go online and put the PLC-5 processor in Run mode. 2. Press and release the START button on the RediSTATION. The red light should turn on.
  • Page 109: What This Chapter Contains

    What This Chapter Contains Module Status Indicator Module Status Indicator Network Status Indicator Top Part of Module Troubleshooting This chapter describes the diagnostics provided by the LED diagnostic indicators on the 1771-SDN module’s front panel. For information about the Module Status Indicator Network Status Indicator Node/Error Code Indicator The bicolor (green/red) Module Status LED indicates whether the...
  • Page 110: Network Status Indicator

    Top of Module Node/Error Code Indicator Publication 1771-6.5.132 - June 2000 Each of the channels (1 and 2) on the 1771-SDN Scanner module has a bicolor (green/red) network status indicator that provides troubleshooting information about the channel’s communication links. Network Status Indicator...
  • Page 111 Numeric Display Code Summary Numeric Description Code Device’s identity information does not match electronic key in scanlist table entry (node number alternately flashes). Data overrun on port detected. No scanlist is active in the module. No direct network traffic for module detected.
  • Page 112 Troubleshooting Publication 1771-6.5.132 - June 2000 Numeric Display Code Summary Numeric Description Code Bus-off condition detected on comm port. Module is detecting communication errors. No network power detected on comm port. Application FLASH update in progress. None. Do not disconnect the module Module halted by user command.
  • Page 113: Configuring The Communications Channel

    Configuring the Communications Channel 1785-ENET Module Channel Configuration Before you can communicate with the PLC-5 processor over an Ethernet network, you must configure the 1785-ENET module’s Ethernet communications channel and download the configuration to the PLC-5 processor. The following example describes how to do this using RSLogix 5 software.
  • Page 114 1785-ENET Module Channel Configuration Publication 1771-6.5.132 - June 2000 2. Select the Channel 3A tab. 3. Select Ethernet as the Channel Type. 4. Uncheck the BOOTP Enabled box to disable BOOTP. 5. Enter the IP Address you want to assign to the PLC-5 processor (e.g., 130.130.130.2).
  • Page 115: Installing The 1784-Ktcx15 Communication Interface Card

    Installing the 1784-KTCX15 Communication Interface Card For detailed information on More installing the 1784-KTCX15, refer to the ControlNet Communication Interface Card Installation Instructions, publication number 1784-5.33. D000:0000 Factory-set address (recommended setting) 240h shown (adjust for your system) Installing and Configuring the ControlNet Communications Driver The examples using ControlNet in this manual were performed with a 1784-KTCX15 communication interface card installed in the personal...
  • Page 116: Configuring The 1784-Ktcx15 Communications Driver

    Installing and Configuring the ControlNet Communications Driver Publication 1771-6.5.132 - June 2000 These settings depend on the devices installed on your computer. We used the following addresses: Base I/O Space Address Base Memory Address D000:000 (factory default) When deciding which addresses to use, remember that each card in your computer must have a unique base memory address and a unique base I/O space memory address.
  • Page 117 Installing and Configuring the ControlNet Communications Driver 4. When prompted for a name for the new driver, select the default name assigned by the system, i.e., AB_KTC-1. The Configure Device window will appear: 5. Enter the following configuration: Station Name ABKTC Net.
  • Page 118 Installing and Configuring the ControlNet Communications Driver Publication 1771-6.5.132 - June 2000...
  • Page 119: Installing The 1784-Ktx Communication Interface Card

    Installing the 1784-KTX Communication Interface Card For more information, see the KTX Communication Interface More Card User Manual, publication number 1784-6.5.22. Installing and Configuring the DH+ Communications Driver The examples using Data Highway Plus (DH+) in this manual were performed with a 1784-KTX communication interface card installed in the personal computer that was used as the programming terminal.
  • Page 120: Configuring The 1784-Ktx Communications Driver

    Installing and Configuring the DH+ Communications Driver Configuring the 1784-KTX Communications Driver Publication 1771-6.5.132 - June 2000 After installing the card in the computer, you must run RSLinx to configure the communications driver. 1. Start the RSLinx software. 2. From the Communications menu select Configure Drivers. The Configure Drivers window will appear: 3.
  • Page 121 Installing and Configuring the DH+ Communications Driver 5. Enter the following configuration: Device Type KTX(D) Network Station Name RSLinx Station Number Board Address D700 None Interrupt DH+ Speed 57.6K Must match switch settings on card 6. Click on OK to save your settings. 7.
  • Page 122 Installing and Configuring the DH+ Communications Driver Publication 1771-6.5.132 - June 2000...
  • Page 123: Example Input Mapping Scheme

    These are given in response to a strobe message. With channel A only, the scanner maps this data to the discrete I/O table if it is available; otherwise, the data is mapped to block transfer locations.
  • Page 124: Example Framework

    1-slot 1/2-slot This example adheres to the following structure: only one master scanner can own a device; there may, however, be multiple masters on a network interface nodes (KFDs, PCDs, etc.) should be assigned node numbers 62, 61, 60, etc.
  • Page 125: Input Data Table Formats

    Note: 1 word = 2 bytes 1 byte = 8 bits Each device’s status and data bits are mapped into the device input data table. Data bits from devices on channel A are mapped into the first four words after the module status word in ascending, numeric order according to the device’s node address.
  • Page 126 Data Map Example Note: 1 word = 2 bytes 1 byte = 8 bits Input Image Table 23 22 21 20 19 18 17 16 2D 1D (for discrete input data bits) In 1-slot addressing, the first eight bits after the module status word are used for the input image table.
  • Page 127 Note: 1 word = 2 bytes 1 byte = 8 bits Input Image Table 23 22 21 20 19 18 17 16 2D 1D 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 (for discrete input data bits) In 1/2-slot addressing, the first 24 bits after the module status word are used for the input...
  • Page 128: Example Output Mapping Scheme

    8 byte (64 bit) data portion of the DeviceNet strobe message the output bit string source within the strobe message is divided across the discrete outputs (if any) assigned to the scanner and the device output data table Example Framework Based on the backplane addressing mode and the scanner’s block...
  • Page 129: Output Data Table Formats

    (after the module status word). Channel B devices fill the last four words of the table. The scanner takes the output bits from its output data table and organizes them into a strobe message. The strobe message contains one bit for each node address, 0-63.
  • Page 130 #40, where the output bit for node #25 (MAC ID 25) is written. The scanner takes the output bits from its output data table and organizes them into a strobe message. The strobe message contains one bit for each node address, 0-63.
  • Page 131 #40, where the output bit for node #25 (MAC ID 25) is written. The scanner takes the output bits from its output data table and organizes them into a strobe message. The strobe message contains one bit for each node address, 0-63.
  • Page 132 D-10 Data Map Example Publication 1771-6.5.132 - June 2000...
  • Page 133 RediSTATION data mapping block transfer read block transfer write data tables scanlist table (SLT) scanner configuration table (SCT) DeviceNet driver 1770-KFD configuring ENET module channel configuration example application example network system components example application program...
  • Page 134 C-1 to C-3 RSNetWorx installation RSNetWorx for DeviceNet as a configuration tool configuration screen map configuring the DeviceNet network scanlist configuration scanner module data tables scanner module functions software installation support and technical assistance system components terminology troubleshooting module status indicator...
  • Page 135 Pub. Name PLC-5 DeviceNet Scanner Module User Manual Cat. No. 1771-SDN Pub. No. 1771-6.5.132 Check Problem(s) Type: Describe Problem(s) Technical Accuracy text Completeness procedure/step What information is missing? example explanation Clarity What is unclear? Sequence What is not in the right order? Other Comments Use back for more comments.
  • Page 136 Other Comments PLEASE FOLD 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 44124-9705...
  • Page 138 Back Cover Publication 1771-6.5.132 - June 2000 PN 955134-57 Supersedes Publication 1771-6.5.118 - May 1997 © 2000 Rockwell International Corporation. Printed in the U.S.A.

Table of Contents