DeviceNet Starter Kit 1787-GEN2SKIT, -2, -3, -4, -5, -6, -7 User Manual
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.
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.
Preface In This Manual The following chapters describe how to set up a simple DeviceNet network and perform basic operations with RSNetWorx for DeviceNet: Start Chapter 1 Chapter 2 Chapter 3 Before You Begin Construct Your Starter Kit Connect Devices and Commission Nodes Chapter 5 Chapter 4 RSNetWorx for DeviceNet Starter Kit Demonstration Build the Scanlist Finish 42032 Conventions We use the following conventions: • Bulleted lists provide information, not procedural steps.
Preface 6 Your Questions or Comments About This Manual If you find a problem with this manual, please notify us of it on the enclosed Publication Problem Report (at the back of this manual).
Table of Contents Preface In This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Your Questions or Comments About This Manual . . . . . . . 6 Chapter 1 Before You Begin What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . What is DeviceNet? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Set up Your Starter Kit. . . . . . . . . . . . . . . . . . . . . . .
Table of Contents ii Chapter 3 Connect Devices and Commission What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . 3-1 What is Node Commissioning?. . . . . . . . . . . . . . . . . . . . . . 3-1 Nodes RSNetWorx for DeviceNet Node Commission Tool . . . RSNetWorx Communicates via RSLinx. . . . . . . . . . Device Configuration . . . . . . . . . . . . . . . . . . . . . . Electronic Data Sheets (EDS) . . . . . . . . . . . . . . . . Prepare to Add Nodes . . . . . . . . . . . . . . . . . . . .
Table of Contents iii Chapter 5 RSNetWorx for DeviceNet Starter What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . 5-1 What Does the DeviceNet Starter Kit Demonstration Do? . . 5-1 Kit Demonstration Files to Use With Your Starter Kit . Run the Demonstration . . . . . . . . . . . Ladder Logic for SKITs 1 and 2 . . . . . Ladder Logic for SKITs 3 and 4 . . . . . Ladder Logic for SKITs 5 and 6 . . . . . Ladder Logic for SKIT 7. . . . . . . . . . . Monitor the I/O Data . . . . . . . . . .
Table of Contents iv Notes: Publication DNET-UM003A-EN-P - August 2000
Chapter 1 Before You Begin What This Chapter Contains This chapter describes what you must know and do before you begin to use your Starter Kit. The following table describes what this chapter contains and where to find specific information.
1-2 Before You Begin Set up Your Starter Kit The following table lists the steps you need to take to get your Starter Kit constructed and operating properly. Copy the list and use it as a reference or checklist to help you keep track of your work. Refer to Chapters 2, 3, 4, and 5 for detailed instructions. Table 1.A Follow these steps to set up your Starter Kit Check Steps to follow: Chapter 1 r 1. Organize your Starter Kit contents. Chapter 2 r 2. Assemble the KwikLink Media System. r 3.
Before You Begin 1-3 Table 1.A Follow these steps to set up your Starter Kit Check Chapter 4 Chapter 5 The Hardware and Software You Need for Your Starter Kit Steps to follow: r 14. Connect and node commission one device at a time. a. CompactBlock I/O b. ControlTower Stack Light c. Inductive Proximity Switch d. RightSight Photoelectric Sensor r 15. Automap a scanlist, modify the scanlist and download the configuration to the scanner or use the .dnt file provided with your Starter Kit. r 16.
1-4 Before You Begin Base products provided in the SKITS: KwikLink tap (IDC), open-style for power (1) KwikLink tap (IDC), micro quick-disconnect (5) Application disk Gym bag Pocket knife Screw driver IMPORTANT Catalog Number: 1485P-P1H4-T4 1485P-P1H4-R5 n/a n/a n/a n/a The Starter Kit catalog numbers are 1787-GEN2KIT1, 2, 3, 4, 5, 6, and 7. For simplicity, we are referring to the Starter Kits in this manual as SKIT1 through SKIT7.
Before You Begin 1-5 SKIT6 also contains: DeviceNet Scanner for ControlLogix DeviceNet PCMCIA Interface 1 1 1756-DNB 1784-PCD SKIT7 also contains: DeviceNet PCI bus interface/scanner 1 ControlPak CD-ROM 1784-PCIDS4 1 The 1747-SDN works with an SLC™ 5/02, 5/03, 5/04, or 5/05 processor. 2 The 1771-SDN works with the PLC-5® family processors. 3 The 1756-DNB works with ControlLogix 5550 processors. 4 The 1784- PCIDS works with PC based control systems such as SoftLogix 5. . You Must Provide: 1.
1-6 Before You Begin What You Must Know and Have Done The descriptions in this user manual assume that you know how to install and use all of the hardware and software that you must provide (listed above). If you do not, read the documentation associated with these items for guidance. Identify the Starter Kit Components Unpack your Starter Kit and use the following illustrations to identify all of the components shipped.
Before You Begin 1-7 . Probe cable Cat. no.1787-PCABL Serial cable for use with 1770-KFD in SKITs 1, 3 and 5 P/N 96881501 KwikLink tap (IDC), micro quick-disconnect (5) Cat. no. 1485P-P1H4-R5 Cable micro 90 to conductor (2) Cat. no. 1485K-P1F5C KwikLink tap (IDC), open-style (1) Cat. no. 1485P-P1H4-T4 Cable micro male to micro female (2) Cat. no. 1485K-P1F5-R5 KwikLink termination resistor (2) Cat. no. 1485A-T1H4 Sensor cable for use with Standard Proximity Switch and ArmorBlock MaXum I/O Cat. no.
1-8 Before You Begin SKIT2: 1747-SDN and 1784-PCD SKIT1: 1747-SDN and 1770-KFD SKIT3: 1771-SDN and 1770-KFD 84 84 84 SKIT5: 1756-DNB and 1770-KFD SKIT4: 1771-SDN and 1784-PCD SKIT6: 1756-DNB and 1784-PCD DEVICENET DEVICENET 84 84 84 SKIT7: 1784-PCIDS with CDROM S 1784-PCIDS Scanner 42073 Publication DNET-UM003A-EN-P - August 2000
Before You Begin 1-9 Serial #: 0123456789 (any 10 digit number) 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Module Status Network Status CompactBlock I/O 1791D-888P 8 INPUTS / 8 OUTPUTS • DC POWER DEMO VERSION, RSNetWorx for DeviceNet Cat. no. 9357-DNET-L3 Floppy disk containing files for demonstration CompactBlock I/O (8 IN / 8 Out) Cat. no. 1791D-8B8P Standard Proximity Switch for use with ArmorBlock MaXum I/O Cat. no. 872C-D3NP8-D4 MaXum Base for flat media Cat. no.
1-10 Before You Begin Rockwell Automation Support Rockwell Automation offers support services worldwide, with over 75 sales/support offices, over 500 authorized distributors, and 260 authorized systems integrators located throughout the United States alone, plus Rockwell Automation representatives in every major country around the world.
Before You Begin Related Publications For information about how to: plan and install a DeviceNet cable system select DeviceNet products design DeviceNet systems configure the 1771-SDN scanner 1-11 The following table is a list of reference publications for the DeviceNet network. You can access these publications on the web at www.theautomationbookstore.com.
1-12 Before You Begin Summary and What’s Next In this chapter, we described: • the DeviceNet network • what you need to use this Starter Kit • how to identify the Starter Kit components • the steps you need to take to get your kit constructed and operating properly • Rockwell Automation support services Move on to Chapter 2 to: • construct your network • install the ArmorBlock MaXum base and seal block • connect your power supply • ground your network • connect your scanner and interface • install RSNetW
Chapter 2 Construct Your Starter Kit What This Chapter Contains Read this chapter to construct your Starter Kit, connect the scanner and interface, install software, and properly ground the network before setting up an online connection with your PC. The following table describes what this chapter contains and where to find specific information.
2-2 Construct Your Starter Kit SKITS 1, 3, and 5 Your computer connected with serial cable to 1770-KFD.
Construct Your Starter Kit 2-3 SKITS 2, 4, and 6 Your PLC-5, SLC-500, or ControlLogix chassis DEVICENET 1784-PCD Your laptop connected to a 1784-PCD1 and probe cable Inductive Proximity Switch with micro cable 1784-PCD1 cable 1756-DNB, 1747-SDN, or 1771-SDN Probe cable ControlTower Stack Light Standard Proximity Switch with sensor cable to ArmorBlock MaXum I/O Your power supply connected to an open style tap micro conductor cable I-0 O-0 A-0 I-1 O-1 A-1 Terminator Auxiliary Power Network
2-4 Construct Your Starter Kit SKIT 7 Your computer with the 1784-PCIDS PLUG10R CDROM Inductive Proximity Sensor with micro cable micro to conductor cable Standard Proximity Sensor with sensor cable to ArmorBlock MaXum I/O Your power supply connected to an open style tap ControlTower Stack Light I-0 O-0 A-0 I-1 O-1 A-1 Terminator Terminator Auxiliary Power Network Status RightSight Photoelectric Sensor with micro cable Module Status CompactBlock I/O and PLUG10R with micro conductor cable
Construct Your Starter Kit 2-5 KwikLink open-style tap connected to your power supply ArmorBlock MaXum I/O KwikLink Termination Resistor and end cap KwikLink Taps (IDC) I-0 O-0 KwikLink Tap (IDC) A-0 I-1 Termination Resistor and end cap O-1 A-1 Auxiliary Power Network Status Node 05 RightSight Photoelectronic Sensor Node 04 Inductive Proximity Switch Node 03 ControlTower Stack Light Node 02 Compact Block I/O Module Status Node 01 Standard Proximity Switch connected to Input 1 Node 00 Scan
2-6 Construct Your Starter Kit 2. Close the hinged assembly, apply pressure until the latch locks into place. TIP The latch has two catches.The first catch loosely holds the connector on the cable. The second catch needs more pressure applied to close the connector tightly. If the cable is not in the correct position, the connector will not close. 30475 3. Be certain that the cable is straight before moving on to step four. 30492 .
Construct Your Starter Kit 2-7 Check the cable position before you tighten the screws. Tighten screws by the latch first 30476-M 5. Drive the IDC contacts into the cable by tightening down the two screws all the way into the center of the base assembly. Determine the exact placement of the connector before you engage the IDC contacts ATTENTION ! Once the IDC contacts are driven into the cable, the module should not be removed. 30477 6.
2-8 Construct Your Starter Kit two remaining mounting holes 30478 8. Connect all the taps, repeating steps 1 through 7. Refer to the tap package instructions for additional information.
Construct Your Starter Kit Install the ArmorBlock MaXum Base 2-9 Follow these instructions to install the ArmorBlock MaXum base onto the KwikLink media. Refer to installation instructions that come with the MaXum Base for additional information. Mount the Cable Base For the Starter Kit example you do not need to mount the base. The KwikLink media system will remain as a moveable table top object. The section “Mount the Cable Base” for the Starter Kit application is for informational purposes only.
2-10 Construct Your Starter Kit They need to have another 24v power source. The Starter Kit power will come from the open style tap connected to your power supply. IMPORTANT For the Starter Kits, you will not be using the power option for the AmorBlock MaXum I/O. Install the caps to seal the power opening. IMPORTANT Because the Starter Kit is a simple application, you are going to power an output, such as the CompactBlock off the DeviceNet Network. In a real world application you would not do this.
Construct Your Starter Kit 2-11 If a power cable is not used, seal the cable slots. Place the two end caps in the slots to seal them. Pass through End cap Apply End cap before you install cable. The cable must end between these two lines. The clear end cap allows you to see the cable position. 30827-M Attach the Flat Media Cables The KwikLink DeviceNet flat media cable is a four-conductor cable. It has a key design feature that allows it to “seat” in the cable base in only one direction.
2-12 Construct Your Starter Kit Attach the Seal Block The seal block contains the contacts that pierce the cable. Contact occurs when you attach the seal block to the cable base. The seal block is designed to attach to the base in only one direction. ATTENTION ! The seal block has extremely sharp contacts. Do not press against them with your fingers. You may be injured. Be certain to properly align the seal block when you attach it to the base. This will maintain the integrity of the sealed base.
Construct Your Starter Kit 2-13 . Seal Block When the lines of the seal block meet the base it is fully seated. Match arrows so the seal block is in the correct position over the cable base. Base 41533 IMPORTANT ATTENTION ! You will set the node address and place the top of the ArmorBlock MaXum I/O onto the seal block when you commission the node in Chapter 3. Be certain that all screws and end caps are securely tightened to properly seal the base against leaks and maintain IP67 requirements.
2-14 Construct Your Starter Kit Connect Your Power Supply The power supply that you select to use with your Starter Kit must be within the DeviceNet specifications. Refer to the DeviceNet power supply specifications in publication, DN-6.7.2, DeviceNet Cable System Planning and Installation Manual for detailed information. Follow these steps to connect your power supply: 1. Connect your 24V dc power supply to the KwikLink open style tap. 2. Connect +24V dc to red (+). 3. Connect -24V dc to black (-).
Construct Your Starter Kit Ground Your Network 2-15 You only need to ground a flat media DeviceNet network at one location. Follow the guidelines below: • Ground the V- conductor at one place. • Make this ground connection with a 25 mm (1 in.) copper braid or a #8 AWG wire up to a maximum 3m (10 ft) in length. • Use the same ground for the V- conductor of the cable system and the chassis ground of the power supply. Do this at the power supply.
2-16 Construct Your Starter Kit Set Node Address Switches for Channel 1 Channel 1 DIP switches on set from factory On=1 Off=0 1 2 3 4 5 6 7 8 You must set the node address for the 1771-SDN before you install the scanner and go online. To set the I/O chassis addressing node switches: Node 63 set for SKITs 3&4 on 8 On=1 1. Locate the switch bank labeled “Channel 1” on the left side of the module. Off=0 1 2 3 4 5 6 7 8 Node 0 30292 The address range is from 0 to 63.
Construct Your Starter Kit Connect the 1770-KFD for SKITs 1, 3, and 5 2-17 To connect the 1770-KFD interface module: Refer to the installation instructions that are included with your hardware for additional information. The driver for the 1770-KFD is included in the RSLinx software. 1. Connect the RS-232 cable from the 1770-KFD to a serial port on your computer. 2. Connect the RS-232 cable to the 1770-KFD interface module. 1. Connect the RS-232 cable to your computer. 3.
2-18 Construct Your Starter Kit 3. Connect the probe cable to the 1770-KFD interface module. ATTENTION ! Do not wire the 1771-SDN Scanner Module with the network power supply on. Wiring the module with the network power supply on may short your network or disrupt communication. 4. Connect the micro to conductor cable to the PLUG10R. Most open-style devices ship with an open-style connector included. These connectors are also shipped in packages of 10.
Construct Your Starter Kit 2-19 42103 5. Connect the other end of the probe cable to PLUG10R and insert into the 1771-SDN, 1747-SDN, or the 1756-DNB. Install the 1784-PCD for SKITs 2, 4, and 6 Use the 1784-PCD Installation Utility Disk that comes with the PCD to install the PCD driver software. If the drivers are not installed, you will not be able to select your interface in RSLinx.
2-20 Construct Your Starter Kit 20718-M 3. Insert the card into the PCMCIA slot and slide it in until it is firmly seated in the connector. Some computers have an ejector button that pops out when the card is seated in the connector. 20720 4. Connect the cable to the card. Connect the 1784-PCD to Your Network for SKITs 2, 4, and 6 Follow these steps to connect the 1784-PCD to you network: 1. Connect the 1784-PCD1 cable to the card. DEVICENET 1784-PCD Your laptop 2.
Construct Your Starter Kit 2-21 1. Locate the 1784-PCD1 cable and connect it to the PCD card installed in your laptop computer. 2. Attach the probe cable to the other end of the 1784-PCD1 cable. 3. Connect the micro to conductor cable to the PLUG10R. Most open-style devices ship with an open-style connector included. These connectors are also shipped in packages of 10.
2-22 Construct Your Starter Kit 1771-SDN, 1747-SDN, or 1756-DNB micro to conductor cable probe connection 42034 IMPORTANT Be certain to install the required drivers for your 1784-PCD or RSLinx will not know to look for the hardware when you go online with your network. Refer to your 1784-PCD documentation for details. The 1784-PCD is now a part of your network. Remove the 1784-PCD Card If you want to remove the card on most computers, you press the release button and remove the card from the slot.
Construct Your Starter Kit Set up the 1784-PCIDS for SKIT7 2-23 The 1784-PCIDS is part of the I/OLinx family of real-time hardware drivers for Allen-Bradley NetLinx scanner modules. The 1784-PCIDS communication interface card, with appropriate software, is a peripheral component interconnect (PCI) open-bus interface card that provides DeviceNet configuration and I/O scanner capabilities.
2-24 Construct Your Starter Kit . TIP The 1784-PCIDS card is 4.2” (10.7 cm) high and 4.721” (12 cm) long. ´ FP 30138-M ´ FP Access the computer’s expansion slots To install the 1784-PCIDS card, you must access the computer’s expansion slots. Refer to your computer’s user guide for instructions on how to: 1. Turn off your computer. 2. Remove the computer’s cover. 3. Select a vacant PCI expansion slot. 4.
Construct Your Starter Kit 2-25 Install the 1784-PCIDS Drivers Follow these steps to install the PCID(S) drivers: 1. Insert the CD in the CD-ROM drive. IMPORTANT TIP Exit all Windows programs before you run this Setup program. The CD-ROM has the Windows Autorun loaded. Once the CD is inserted into the CD-ROM drive, if you have Autorun configured, the installation will automatically start at the first setup screen. If Autorun is configured, go to step 5. If Autorun is not configured: 1.
2-26 Construct Your Starter Kit You see the “Choose Destination Location” screen. If you want to: click on: install software in this directory C:\Program Files\Rockwell Automation\IOLinx\DeviceNet Next install software in a different directory Browse and select the directory exit Setup Cancel 6. Choose a destination location. You see the Setup progress bar, followed by the “Setup Complete” screen. 7. Click Finish to complete Setup.
Construct Your Starter Kit pin number: wire color: abbreviation: 2-27 description: 1 black V- 24V dc power return 2 blue CAN_L data low - data line 3 bare DRAIN shield 4 white CAN_H data high - data line 5 red V+ +24V dc 8. Wire the 90° micro male to conductor cable to the PLUG10R and insert into the 1784-PCIDS card. 42120 9. Connect the 90° micro male end of the cable to a KwikLink tap. Your 1784-PCIDS scanner is now connected to your network.
2-28 Construct Your Starter Kit configured on your computer, the installation screen appears automatically. 2. Insert the RSNetWorx CD into the CD drive and run the file autorun.exe. You see: 3. Select Install RSNetWorx and follow the instructions. 4. Select Install RSLinx and follow the instructions. Publication DNET-UM003A-EN-P - August 2000 IMPORTANT When prompted for a serial number use, 9876543210 or any 10 digit number.
Construct Your Starter Kit Summary and What’s Next 2-29 In this chapter, you: • constructed your network • installed the ArmorBlock MaXum base and seal block • connected your power supply • grounded your network • connected your scanner and interface • installed RSNetWorx for DeviceNet software • Move on to Chapter 3 to: • select your scanner in RSLinx • go online and browse your network • connect the devices to your network • commission and assign node addresses for your devices Publication DNET-UM003A
2-30 Construct Your Starter Kit Notes: Publication DNET-UM003A-EN-P - August 2000
Chapter 3 Connect Devices and Commission Nodes What This Chapter Contains Read this chapter to connect the devices for your Starter Kit and perform node commissioning on the devices. The following table describes what this chapter contains and where to find specific information.
3-2 Connect Devices and Commission Nodes The node commission process can be done via hardware (dip switches, rotary switches, thumbwheels) or software (RSNetWorx). Once you commission a device via hardware, you cannot overwrite the settings via software. Many devices support “autobaud”. This allows a device to “set itself” to the proper data rate when it is connected to an operational DeviceNet network. This shortens the steps you need to take when adding or replacing devices on your network.
Connect Devices and Commission Nodes 3-3 RSNetWorx Communicates via RSLinx RSNetWorx communicates to the network through RSLinx. RSNetWorx does not have to be online (connected to an operating network) to setup your network. You can setup your network offline and then download the device scanlist to your scanner. The nodes are not commissioned until you are online communicating to the network.
3-4 Connect Devices and Commission Nodes Prepare to Add Nodes At this point you should have read and performed tasks in Chapters 1 & 2. Review your checklist from Chapter 1.
Connect Devices and Commission Nodes Set up Your Network 3-5 Follow these directions to set up your scanner using RSLinx and RSNetWorx. For our demonstration, we are using a DH-485 connection between the SLC-5 and the PC (via an Allen-Bradley PIC module). The screens you see may be different than the screens provided in this manual. 1. Check to be certain that you have installed the required drivers and that the your scanner is not displaying any error codes. See Appendix A: Numeric Code Display Summary.
3-6 Connect Devices and Commission Nodes Configure Drivers 1. Start RSLinx. 2.
Connect Devices and Commission Nodes 3-7 You see: 3. Select DeviceNet Drivers by clicking once. 4. Click . You see: 5. Click on your interface. SKITS 1, 3, and 5 1770-KFD SKITS 2, 4, and 61784-PCD SKIT71784-PCIDS If your interface is not listed, check to be certain that you properly installed the driver for your interface. 6. Click .
3-8 Connect Devices and Commission Nodes You will see a different screen for all three interfaces. Below is an example of the 1770-KFD Driver Configuration screen: 7. Change the Driver configuration if needed. Serial port setup may vary, depending on the PC you are using. For the Starter Kit demonstrations you want the DeviceNet node address to be 62 and the data rate to be 125. TIP 8.Click If your Starter Kit is SKIT7, the node address for the 1784-PCIDS must be 00. . 9.
Connect Devices and Commission Nodes 3-9 If you receive this message, be certain that your network is powered and your interface is connected properly. The version of RSLinx may display a slightly different screen. 10. Your interface is now configured. Click . You see: You should see your interface module listed. For SKITs 1, 3, and 5 the 1770-KFD, for SKITs 2, 4, and 6 the 1784-PCD and for SKIT7 the 1784-PCIDS.
3-10 Connect Devices and Commission Nodes If you do not see your scanner, check your connections and repeat the process. You will get an error if the drivers are not installed. Exit RSLinx and refer to the interface installation instructions to install the driver. 11. Click on the + next to your interface module. RSLinx will browse your network and graphically displays what it finds. At this point, you should see your PC and scanner. You see: 12. Minimize RSLinx. 13. Start RSNetWorx for DeviceNet.
Connect Devices and Commission Nodes 3-11 You see 16. Click + next to your DeviceNet interface. You see: 17. Click .
3-12 Connect Devices and Commission Nodes You see: 18.Click to upload information from your network. Wait for RSNetWorx to poll the network to see what is connected. When RSNetWorx has browsed your network you see: Notice that your scanner has been given the node address of 00. Scanners take the lowest position possible. For SKITs 1 through 6 the interface is at node 62 as assigned when the interface was configured.
Connect Devices and Commission Nodes 3-13 highest but is reserved for devices when they are first added to your network. You can change the description of the devices by with the Properties function on the menu Device/Properties. Refer to Edit the Properties on page 3-40 for more information. Commission Nodes In this demonstration, you will set the node address for the Stack Light, ArmorBlock I/O, and the CompactBlock I/O using hardware switches.
3-14 Connect Devices and Commission Nodes Commission the ArmorBlock MaXum I/O Module You can set the node address with the rotary switches, RSNetWorx, or other software configuration tool. Valid node addresses are 00 to 63. Each module is shipped set for node address 63. The rotary switches are located on the underside of the module. The two switches are: • MSD (most significant digit) • LSD (least significant digit) To reset the node address, use a small blade screwdriver to rotate the switches.
Connect Devices and Commission Nodes 3-15 Attach the Module IMPORTANT Be certain to properly align the screws to complete the connections between the module contacts and the cable contacts. 1. Position the module over the mounted cable base. Align the three captive screws in the module with the accepting receptacles in the base. 2. Tighten the screws with a torque of 8 inch-pounds (0.904 NM) to secure the module to the base.
3-16 Connect Devices and Commission Nodes 4. Browse the network, Click . You see: RSNetWorx has found the ArmorBlock MaXum at node 01. 5. Save your network file. Select File/Save and use a filename that relates to your work, such as 1747StarterKit.dnt.
Connect Devices and Commission Nodes 3-17 Connect and Commission the CompactBlock I/O Module 1. Open the switch cover on the CompactBlock I/O and check to see if the rotary switches are set to the “switchless” setting of 99. If they are not, set them to 99. You will be setting the node address to 02 in RSNetWorx over the DeviceNet network. switch cover 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Module Status Network Status CompactBlock I/O 1791D-888P 8 INPUTS / 8 OUTPUTS • DC POWER 41985 2.
3-18 Connect Devices and Commission Nodes 4. Attach the other ends of the insulated wires to a power supply. 0 1 2 3 4 5 6 7 + - 0 1 2 3 4 5 6 7 Module Status Network Status Attach the wires to the 6th screw in each bank Attach the 24V insulated wires to a 24V power supply 42168 We do not recommend that you use the DeviceNet power to power I/O devcies. For the Starter Kit, use an alternative power supply to power the CompactBlock I/O, if possible. 5.
Connect Devices and Commission Nodes 3-19 Commission the CompactBlock I/O Module Now, place the CompactBlock on the network. Select the device on the “Hardware” side of the RSNetWorx window and drag it over to the network view side and then node commission. 1. Click the + next to General Purpose Discrete I/O to expand selections. 2. Click 1791D Block I/O 8Input/8Output to select and then drag it over to the view side of the window.
3-20 Connect Devices and Commission Nodes The CompactBlock currently states that it has an address of 63. It shows up as 63 because it is set for the “switchless” setting of 99. You need to commission this device to be node 2. 3. Select Tools/Node Commissioning. You see: 4. Click Publication DNET-UM003A-EN-P - August 2000 .
Connect Devices and Commission Nodes 3-21 You see: 5. Click the + next to your interface. RSLinx performs a Network Who and returns the current devices on the network. Select 6. Click once on to select CompactBlock and click . RSLinx browses the network and returns the current device settings.
3-22 Connect Devices and Commission Nodes You see: Displays message when ‘Apply’ is successful. 7. Change Node Address to 02, leave data rate as 125 kb and click and . You will see the CompactBlock I/O still at node 63.
Connect Devices and Commission Nodes 8. Click 3-23 to browse the network. You see the CompactBlock I/O at node 02. TIP If your nodes are not in order, press F5 to refresh the window. 9. Save your network file. When you are node commissioning, you may see a copy of a device with a red X in either RSLinx or RSNetworx. This simply means that RSLinx and RSNetworx can no longer find the device at node address 63. You need to tell RSLinx not to look for that device at node address 63.
3-24 Connect Devices and Commission Nodes Connect and Commission the ControlTower Stack Light 1. Assemble the ControlTower Stack Light. Refer to the instructions provided with the device. For our demonstration, we placed the red Stack Light on the top and the green on the bottom. 2. Set the node address by hand to 03. Use tool provided with the ControlTower Stack Light to set these switches and refer to the instructions provided with the device for details. 3.
Connect Devices and Commission Nodes 3-25 Commission the ControlTower Stack Light 5. Go to RSNetWorx and click . The ControlTower Stack Light automatically displays as node 03. TIP If your nodes are not in order, press F5 to refresh the window. Since the ControlTower Stack Light came up as node 03 when you browsed the network, you don’t need to do the Tools/Node Commissioning step. You are done with this device. 6. Save your network file.
3-26 Connect Devices and Commission Nodes Connect and Commission the Inductive Proximity Switch 1. Locate the 90° micro male to micro female cable and connect the female end to the Inductive Proximity Switch and the 90° male end to a KwikLink tap. Your network should look like this: To scanner and interface I-0 O-0 A-0 I-1 O-1 A-1 T Auxiliary Power Network Status Module Status 0 1 2 3 4 5 6 7 T 0 1 2 3 4 5 6 7 Module Status Network Status 42040 2.
Connect Devices and Commission Nodes 3-27 You see: Commission the Inductive Proximity Switch 3. Select Tools/Node Commissioning. You see: 4. Click .
3-28 Connect Devices and Commission Nodes You see: 5. Click the + next to your interface. RSLinx returns the current devices on the network. You see: 6. Select the Inductive Proximity Switch at node 63 and click . RSLinx browses the network and returns the current device settings.
Connect Devices and Commission Nodes 3-29 You see: 7. Change Node Address to 04. 8. Click and . You will see the Inductive Proximity Switch still at node 63. 9. Click to browse the network. You see the Inductive Proximity Switch at node 04.
3-30 Connect Devices and Commission Nodes If they are not in order, press F5 to refresh the display. 10.Save your network file. Connect and Commission the RightSight Photoelectric Sensor 1. Locate a 90° micro male to micro female cable and connect the female end to the RightSight Photoelectric sensor and then the 90° male end to a KwikLink tap.
Connect Devices and Commission Nodes 3-31 You see: 3. Click . You see: 4. Click the + next to your interface. RSLinx returns the current devices on the network.
3-32 Connect Devices and Commission Nodes You see: Publication DNET-UM003A-EN-P - August 2000
Connect Devices and Commission Nodes 5. Select the RightSight Photoelectric Sensor and click 3-33 . RSLinx browses the network and returns the current device settings. You see: 6. Change Node Address to 05 and click and . You will see the RightSight Photoelectric Sensor still at node 63. 7. Click to browse the network. You see the devices and node addresses updated.
3-34 Connect Devices and Commission Nodes If they are not in order, press F5 to refresh the display. 8. Save your network file. You now have all the devices of your Starter Kit connected and commissioned. At this point, in the real world, you would configure each device for your application. For the Starter Kits we provide an RSNetworx for DeviceNet (.dnt) network configuration file which has the scanlist created and the devices mapped.
Connect Devices and Commission Nodes What Your Network Will Look Like in RSNetWorx 3-35 Use the illustration below to see how your DeviceNet network will look after you connect and commission all the devices. Your device descriptions may be different.
3-36 Connect Devices and Commission Nodes SKIT3 SKIT4 Publication DNET-UM003A-EN-P - August 2000
Connect Devices and Commission Nodes 3-37 SKIT5 SKIT6 Publication DNET-UM003A-EN-P - August 2000
3-38 Connect Devices and Commission Nodes SKIT7 Publication DNET-UM003A-EN-P - August 2000
Connect Devices and Commission Nodes 3-39 If You Use the Provided .dnt File We provide the file SKIT1.dnt on the floppy disk. You can use this file to commission your network. After you connect your devices and configure your interface you can open this file and browse the network. If there are any errors you might see a screen like this.
3-40 Connect Devices and Commission Nodes you no longer wish to have the software look for that device at that address, select the device and delete it. To fix the error, you would need to: • • • • • check device connections re-browse your network close the software, re-power your network, and go online re-commission the devices if the above does not solve your problems, start the Starter Kit process over. If that does not work, contact your Rockwell representative.
Connect Devices and Commission Nodes 3-41 You see: 3.Change the name to “ArmorBlock MaXum” (or other name you desire). 4.Add “Standard Proximity Switch” (or other description) to the description field. 5.Click and for the changes to take effect.
3-42 Connect Devices and Commission Nodes You return to the main project screen. Notice that the ArmorBlock MaXum I/O name has changed. 6.Place the cursor over the ArmorBlock MaXum icon on the network diagram. You see the device description that you entered appear at the lower left-hand corner of the screen. 7. Save your network file.
Connect Devices and Commission Nodes Summary and What’s Next 3-43 In this chapter, you: • connected devices • commissioned nodes • viewed your network Move on to Chapter 4 to: • open the .
3-44 Connect Devices and Commission Nodes Notes: Publication DNET-UM003A-EN-P - August 2000
Chapter 4 Build the Scanlist What This Chapter Contains Read this chapter to configure the scanner by building the scanlist. The following table describes what this chapter contains and where to find specific information. To: Introduction See page: learn about scanlists 4-2 configure your scanner 4-3 map input devices 4-17 map output devices 4-22 With the Starter Kit, you are not required to create a scanlist and map the device input and outputs.
4-2 Build the Scanlist What is a Scanlist? Before a scanner can successfully communicate to the devices on a DeviceNet network, it must first be configured. There are module level parameters and also the scanlist. The scanlist contains all of the information to tell the scanner how to communicate to the devices.
Build the Scanlist Configure Your Scanner 4-3 For this example we are using SKIT1. If you do not know how to map the device inputs and outputs in relation to where your ladder logic wants to find the devices, simply use the .dnt files provided. We recommend using the provided files first. Get your network up and running and then go back to the file you created and practice mapping the inputs and outputs as outlined here. Here’s an overview of what you need to do to configure your scanner. 1.
4-4 Build the Scanlist You see: 4. Please wait while RSNetWorx is browsing your network. You see: 5. Double-click the scanner (node 00) on your DeviceNet network to display the Properties dialog box. (You can also right click on the device to bring up a menu and then choose Properties).
Build the Scanlist 4-5 You see: In Properties, you build the scanlist to include the devices that will be scanned on the network. 6. Click the Scanlist tab at the top of the screen. You see: 7. Click . This sends the scanlist from the provided .dnt file to the scanner. 8. Go to Chapter 5.
4-6 Build the Scanlist If You Want to Use the .dnt File You Created in Chapter 3 If want to create your own scanlist and map the inputs and outputs, you can either start from scratch by selecting File/New and going online to display your network or you can use the file you created in Chapter 3, follow these procedures: 1. In RSNetWorx, open the your .dnt file. If you are going to start from scratch (File/New), you would click to display your network. 2.
Build the Scanlist 4-7 3. Click the Scanlist tab at the top of the screen. You see: 4. Click . This sends the current information about your network from the scanner to the software.
4-8 Build the Scanlist You see: Notice that the is checked.
Build the Scanlist 4-9 EDS file. We are going to automap these devices then edit the input and output mapping positions. 5. Click on to add all devices to the scanlist at once. When all devices are added to the scanlist you see: Notice the Electronic Key area of the window. When the Electronic Keys are checked, RSNetWorx will remember what version of the device you are adding to the scanlist as well as I/ O mapping. This is helpful when you need to be certain that a particular device release is used.
4-10 Build the Scanlist version. Your scanlist will error because the scanner will be looking for a different version of the device. 6. In the scanlist window, hold down the Shift Key and click on each device, selecting the whole list. 7. Click Device Type. The Electronic Key will deactivate for all devices. 8. Click . You see: 9. Click You see: Publication DNET-UM003A-EN-P - August 2000 to download the scanlist to the scanner.
Build the Scanlist 4-11 The scanlist is now automapped. Let’s take a look at how the inputs and outputs were automapped. 10. Click on the Input tab. You see: 11.Click on the Output tab.
4-12 Build the Scanlist You see: 12. Click on the Summary Tab. You see: Notice the "Yes" in the Rx Map and Tx Map columns, which is showing that data is currently mapped to and/or from the scanner.
Build the Scanlist 4-13 this Summary, the Key column is blank. If we had checked the Electronic Key a DVP code would appear. This code is used by the scanner to check that the device being communicated to is the correct type. The abbreviations are: • • • • D = Device V = Vendor P = Product R = Major Firmware Revision. The scanner checks for an exact match of certain type, by a certain vendor having a specific firmware revision based on the EDS file definitions.
4-14 Build the Scanlist You see: 2. Click the Scanlist tab at the top of the screen. If you see: you will want to upload the scanlist from the scanner to get the correct device information.
Build the Scanlist 4-15 1. You see:. 1. Select the Inductive Proximity Switch and click Edit the I/O parameters 2. Check Strobed and change the Rx size to 2. 3. Uncheck Change of State/Cyclic. 4. Click OK.
4-16 Build the Scanlist You see: 5. Click Publication DNET-UM003A-EN-P - August 2000 to download the scanlist to the scanner.
Build the Scanlist 4-17 Map Input Devices This screen shows how the inputs are mapped when RSNetWorx automapped. Once you have edited the I/O Parameters for the Inductive Proximity Switch, you will notice that the switch has taken up all of word three and removed the RightSight Photoelectric Sensor. SKIT1 Inputs automapped SKIT1, for example: • The ArmorBlock MaXum needs the two bytes of word 1. • The ControlTower Stack Light needs to be mapped to the high byte of word 2.
4-18 Build the Scanlist The steps to modify an automapped input or output word are: 1. Click on the device that you want to change. 2. Click Unmap. 3. Click on the device to map/remap. 4. Look at the example for your Starter Kit and determine the word placement. For example, the ArmorBlock MaXum needs 2 bytes of word 1. 5. Set the Start Word number where you would like the input to begin. 6. Click AutoMap. 7. Repeat the process until you have mapped all the devices like the example mapping.
Build the Scanlist 4-19 SKITs 1 and 2 Inputs Mapped Publication DNET-UM003A-EN-P - August 2000
4-20 Build the Scanlist SKITs 3 and 4 Inputs Mapped SKITs 5 and 6 Inputs Mapped Publication DNET-UM003A-EN-P - August 2000
Build the Scanlist 4-21 SKIT 7 Inputs Mapped Publication DNET-UM003A-EN-P - August 2000
4-22 Build the Scanlist Map Output Devices The following screen is how the device outputs are automapped. The following are the modified Output mapping windows for each of the Starter Kits. If you are going to map these devices to use with the provided ladder logic you must be exact or the ladder will not run properly.
Build the Scanlist 4-23 The steps to modify an automapped input or output word is: 1. Click on the device that you want to change. 2. Click Unmap. 3. Click on the device to map/remap. 4. Look at the example for your Starter Kit and determine the word placement. 5. Set the Start word number where you would like the input to begin. 6. Click AutoMap. 7. Repeat the process until you have mapped the devices like the example mapping.
4-24 Build the Scanlist SKITs 1 and 2 Outputs Mapped SKITs 3 and 4 Outputs Mapped Publication DNET-UM003A-EN-P - August 2000
Build the Scanlist 4-25 SKITs 5 and 6 Outputs Mapped SKIT7 Outputs Mapped Publication DNET-UM003A-EN-P - August 2000
4-26 Build the Scanlist Notes: Publication DNET-UM003A-EN-P - August 2000
Chapter 5 RSNetWorx for DeviceNet Starter Kit Demonstration What This Chapter Contains Read this chapter to use the RSNetWorx for DeviceNet demonstration network files and ladder logic programs provided for your Starter Kit. The following table describes what this chapter contains and where to find specific information.
5-2 RSNetWorx for DeviceNet Starter Kit Demonstration If you use your own file that you created earlier for the demonstration, you must follow the instructions accurately when setting node numbers and mapping the inputs/outputs. The ladder logic is written to recognize certain devcies at certain node addresses with particular mapping attributes. If the address or mapping does not match what is in the provided ladder, the demonstration won’t work properly.
RSNetWorx for DeviceNet Starter Kit Demonstration Run the Demonstration 5-3 Follow these steps to run the demonstration: 1. Follow instructions in Chapters 1-4. At this point you should have your Starter Kit assembled, powered, commissioned, and configured. RSLinx should be minimized with your scanner, interface and all nodes listed without errors. 2. Locate the floppy disk that came with your Starter Kit. 3. Open your ladder logic programming tool, i.e. RSLogix 500.
5-4 RSNetWorx for DeviceNet Starter Kit Demonstration Ladder Logic for SKITs 1 and 2 Publication DNET-UM003A-EN-P - August 2000 Below is the ladder logic for SKIT1 and SKIT2. The files were created in RSLogix 500 Version 2.5, Revision 2.57.0.0. The filenames are Skit1.rss and Skit2.rss.
RSNetWorx for DeviceNet Starter Kit Demonstration Ladder Logic for SKITs 3 and 4 5-5 Below is the ladder logic for SKIT3 and SKIT4. The files were created in RSLogix 5 Release 3.0 Revision 3.22.00.00. The filenames are Skit3.rsp and Skit4.rsp.
5-6 RSNetWorx for DeviceNet Starter Kit Demonstration Ladder Logic for SKITs 5 and 6 Publication DNET-UM003A-EN-P - August 2000 Below is the ladder logic for SKIT5 and SKIT6. The files were created in RSLogix 5000 Version 2.10.00. The filenames are Skit5.acd and Skit6.acd.
RSNetWorx for DeviceNet Starter Kit Demonstration Ladder Logic for SKIT 7 5-7 Below is the ladder logic for SKIT7. The file was created in RSLogix 5 Release 3.0 Revision 3.22.00.00. The filename is Skit7.rsp.
5-8 RSNetWorx for DeviceNet Starter Kit Demonstration Monitor the I/O Data The next section of the demonstration uses the ladder logic programming software (RSLogix 500) to go inside the processor to monitor the I/O data for your devices on your DeviceNet network. 1. Start the ladder logic programming software. (i.e. RSLogix 500, 5000, 5) 2. Open the ladder file for your Starter Kit. 3. From the Comms menu, choose Go Online.
RSNetWorx for DeviceNet Starter Kit Demonstration 5-9 4. In the navigation window on the left, scroll down to the Data Files. You can monitor the data coming from and going to devices on the DeviceNet network using your ladder logic software. Remember, you determine the location of the inputs and outputs by the scanlist and datatable map. In Chapter 4, you created the scanlist and datatable map in the RSNetWorx and downloaded the configuration to the scanner. Refer to the Help screens in the RSNetWorx.
5-10 RSNetWorx for DeviceNet Starter Kit Demonstration You see a similar screen: low byte of word 1 Input No Activity Output In this screen, we have placed the cursor on the Standard Proximity Switch. Watch the “0” in the low byte of word 1 change to a “1” when you place a metal object on the switch. 6. Place a piece of metal in front of the Standard Proximity Switch and watch the bytes change. Notice the Input and Output activity in the ladder.
RSNetWorx for DeviceNet Starter Kit Demonstration 5-11 7. Minimize the Inputs window. Now let’s monitor the data outputs. 8. From Data Files, double click . You see a similar screen: Input No Activity Output 9. Again, place a metal object on the Standard Proximity Switch.
5-12 RSNetWorx for DeviceNet Starter Kit Demonstration In this screen, we have placed the cursor on the Stack Light(Red). 10. Watch the 0 in the low byte of word 3 change to a 1 when you place the metal object against the switch. Experiment with the other devices using steps 1 through 6 as an example. 11. Try the RightSight Photoelectric Sensor. 12. Place your hand in front of the RightSight Photoelectric Sensor. 13. Monitor the I/O Data. 14. Watch the ladder activity. 15.
Appendix A Numeric Code Display Summary Use the table below as a reference to find the definition of scanner messages. Refer to your scanner’s documentation for information about scanner diagnostics. Table A.A Scanner Message Definitions 131 Numeric Code Description Take this action: Network Address Displays 0-63 Normal operation. The numeric display matches the scanner’s node address on the DeviceNet network. None. 70 Module failed Duplicate Node Address check.
A-132 Numeric Code Display Summary Table A.A Scanner Message Definitions Numeric Code Description Take this action: 85 Data size returned is bigger than expected. Check accuracy of scan list table entry. Check slave device configuration. 86 Device is producing idle state data while the scanner is in Check device configuration/slave node status. Run Mode. 87 Available for allocation.
Allen-Bradley Publication Problem Report If you find a problem with our documentation, please complete and return this form. Pub. Title/Type Cat. No. DeviceNet Starter Kit User Manual 1787-GEN2SKIT, -2, -3, Pub. No. -4, -5, -6, -7 Check Problem(s) Type: DNET-UM003A-EN-P Pub. Date August 2000 Part No.
PLEASE FASTEN HERE (DO NOT STAPLE) PLEASE FOLD HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO.
Index Numerics 1747-SDN 1-4 1756-DNB 1-4, 1-5 1770-KFD 1-4 connecting 2-17 1771-SDN 1-4 setting node address 2-16 setup 2-15 1784-PCD 1-5 install the card 2-19 1784-PCIDS 1-5 A ArmorBlock MaXum I/O 1-9, 3-15 commission 3-14 assistance Rockwell Automation support services 1-10 automap 4-8 C cable base 2-9 cable installation KwikLink 2-5 checklist 1-2 commission nodes 3-1 CompactBlock I/O 1-9 connect 3-17 CompactBlock I/O Module commission 3-19 configure drivers 3-6 configure your scanner 4-3 connect device
2 mapping outputs 4-22 messages scanner A-1 monitor the I/O Data 5-8 P PCD driver software installing 2-19 power supply 1-5 R red X 3-39 RightSight Photoelectric Sensor 1-9, 5-1 behavior 5-1 connect 3-30 Rockwell 1-10 RSLinx 3-6, 3-21 RSNetWorx 1-9 online help 3-5 S scanner numeric code display A-1 SKIT1 1-4, 1-8 connect 1770-KFD 2-17 ladder logic 5-2 SKIT2 1-4, 1-8 install the 1784-PCD 2-19 ladder logic 5-2 Publication DNET-UM003A-EN-P - August 2000 SKIT3 1-4, 1-8 connect 1770-KFD 2-17 ladder logic 5
Back Cover Publication DNET-UM003A-EN-P - August 2000 4 Supersedes Publication DN-6.5.16 - November 1999 PN 957345-19 © 2000 Rockwell International Corporation. Printed in the U.S.A.