1747-SDN DeviceNet Scanner ModuleCatalog Number 1747-SDN, Series CUser Manual
Publication 1747-UM655B-EN-P - June 200710 PrefaceThe Example ApplicationThis manual describes how to set up an example application. The manual
Publication 1747-UM655B-EN-P - June 2007100 DeviceNet Explicit MessagingSend Data TabThe Send Data Tab provides a convenient way of viewing and
Publication 1747-UM655B-EN-P - June 2007DeviceNet Explicit Messaging 101Control Block LayoutThe control block layout is shown below.SLC 5/0x De
Publication 1747-UM655B-EN-P - June 2007102 DeviceNet Explicit Messaging
103 Publication 1747-UM655B-EN-P - June 2007Chapter 9AutoScanOverviewThe DeviceNet network AutoScan feature enables a scanner to automatically map a n
Publication 1747-UM655B-EN-P - June 2007104 AutoScanThe diagram below shows an example system using the 1747-SDN module.The node addresses can
Publication 1747-UM655B-EN-P - June 2007AutoScan 105However, for applications where you would like to customize the I/O allocation size, config
Publication 1747-UM655B-EN-P - June 2007106 AutoScan4. On the DEM instruction setup screen to initiate AutoScan, fill in the fields as follows.
Publication 1747-UM655B-EN-P - June 2007AutoScan 1077. Download the program and then trigger each DEM instruction individually, 8. Verify that
Publication 1747-UM655B-EN-P - June 2007108 AutoScan9. Return the scanner to Run mode (bit 0 in the scanner control output word is set to 1) an
Publication 1747-UM655B-EN-P - June 2007AutoScan 1096. On the Auto Scan Setup screen, change AutoScan from Disable to Enable by pressing either
Publication 1747-UM655B-EN-P - June 2007Preface 11Common Techniques Used in This ManualThe following conventions are used throughout this manua
Publication 1747-UM655B-EN-P - June 2007110 AutoScanHow AutoScan OperatesAutoScan is active when the feature is enabled and the scanner is in I
Publication 1747-UM655B-EN-P - June 2007AutoScan 111For even I/O allocation sizes, the formula for calculating the Input or Output data offset
Publication 1747-UM655B-EN-P - June 2007112 AutoScanOther Important Information about AutoScanThe factory default setting for AutoScan is disab
Publication 1747-UM655B-EN-P - June 2007AutoScan 113The AutoScan feature will automatically be disabled in the scanner as soon as a scanner pro
Publication 1747-UM655B-EN-P - June 2007114 AutoScanWhen a scanner is transitioned from Run mode to Idle mode while AutoScan is enabled, it onl
115 Publication 1747-UM655B-EN-P - June 2007Appendix AData Map ExampleWhat This Appendix ContainsThis appendix illustrates a basic mapping example tha
Publication 1747-UM655B-EN-P - June 2007116 Data Map ExampleExample FrameworkThis example adheres to the following structure:• There cannot be
Publication 1747-UM655B-EN-P - June 2007Data Map Example 117In this example, nothing is mapped to the DeviceNet input data area of the processo
Publication 1747-UM655B-EN-P - June 2007118 Data Map ExampleExample Output Mapping SchemeThis example’s output mapping scheme is a simplified a
Publication 1747-UM655B-EN-P - June 2007Data Map Example 119The processor writes output data for each scanned device in the scanner's disc
Publication 1747-UM655B-EN-P - June 200712 PrefaceYou can view or download publications at http://literature.rockwellautomation.com. To order p
Publication 1747-UM655B-EN-P - June 2007120 Data Map Example
121 Publication 1747-UM655B-EN-P - June 2007Appendix BConfiguring the M0/M1 Files by Using RSLogix 500 SoftwareRSLogix 500 I/O ConfigurationTo enable
Publication 1747-UM655B-EN-P - June 2007122 Configuring the M0/M1 Files by Using RSLogix 500 Software3. Click Read I/O Config to upload the I/O
Publication 1747-UM655B-EN-P - June 2007Configuring the M0/M1 Files by Using RSLogix 500 Software 123Programming the Module by Using the SLC M0
Publication 1747-UM655B-EN-P - June 2007124 Configuring the M0/M1 Files by Using RSLogix 500 SoftwareWhen You Cannot Use M0-M1 Data File Addres
Publication 1747-UM655B-EN-P - June 2007Configuring the M0/M1 Files by Using RSLogix 500 Software 125To show the state of the M0 or M1 addresse
Publication 1747-UM655B-EN-P - June 2007126 Configuring the M0/M1 Files by Using RSLogix 500 SoftwareThe COP instruction below copies six words
Publication 1747-UM655B-EN-P - June 2007Configuring the M0/M1 Files by Using RSLogix 500 Software 127The first two ladder diagrams in the last
Publication 1747-UM655B-EN-P - June 2007128 Configuring the M0/M1 Files by Using RSLogix 500 Software
129 Publication 1747-UM655B-EN-P - June 2007Appendix C1747-SDN Module Firmware HistoryPurposeThis section describes enhancements, corrected anomalies
13 Publication 1747-UM655B-EN-P - June 2007Chapter 1Before You BeginWhat This Chapter ContainsThis chapter provides an overview of communication betwe
Publication 1747-UM655B-EN-P - June 2007130 1747-SDN Module Firmware History• If a slave in the scanlist does not match the identity of the sla
Publication 1747-UM655B-EN-P - June 20071747-SDN Module Firmware History 131EnhancementsThis section describes the enhancements to the firmware
Publication 1747-UM655B-EN-P - June 2007132 1747-SDN Module Firmware HistoryRevision 5.001This section describes the enhancements for firmware
133 Publication 1747-UM655B-EN-P - June 2007Appendix DData OrganizationUnderstand the Data Organization of the ModuleThe module has four data areas to
Publication 1747-UM655B-EN-P - June 2007134 Data OrganizationUpload Input Data from the Module to the SLC ProcessorThe SLC 500 processor reads
Publication 1747-UM655B-EN-P - June 2007Data Organization 135Bit TableStatus Word I:s.0 Operating Mode DescriptionBit Operating Mode0 1 = Run m
Publication 1747-UM655B-EN-P - June 2007136 Data OrganizationSLC M1 FileThe SLC M1 file is a file with up to 256 words or more that can be used
Publication 1747-UM655B-EN-P - June 2007Data Organization 137Scan CounterWord 211 is used for the module scan counter. The module increments th
Publication 1747-UM655B-EN-P - June 2007138 Data OrganizationExplicit Message Program ControlWords 224…255 are used for Explicit Message Progra
Publication 1747-UM655B-EN-P - June 2007Data Organization 139Command Register BitsCommand Word 0:S.0 Operating Mode DescriptionBit Operating Mo
Publication 1747-UM655B-EN-P - June 200714 Before You BeginWhat Your 1747-SDN Module DoesIn a typical configuration, the 1747-SDN module acts a
Publication 1747-UM655B-EN-P - June 2007140 Data OrganizationRestore Factory Default Settings/Flush MemoryFollow these steps to restore the mod
Publication 1747-UM655B-EN-P - June 2007Data Organization 141SLC M0 FileThe SLC M0 file is a 256 word file that can be used to transfer a large
Publication 1747-UM655B-EN-P - June 2007142 Data Organization
143 Publication 1747-UM655B-EN-P - June 2007Appendix EExplicit Message Program ControlUsing Explicit Message Program ControlUse the Explicit Message P
Publication 1747-UM655B-EN-P - June 2007144 Explicit Message Program ControlHow the Explicit Message Program Control Feature Works1. Format an
Publication 1747-UM655B-EN-P - June 2007Explicit Message Program Control 145The module requires a precisely-formatted M0 and M1 file transfer s
Publication 1747-UM655B-EN-P - June 2007146 Explicit Message Program ControlFor each upload, the status code provides the processor with status
Publication 1747-UM655B-EN-P - June 2007Explicit Message Program Control 147• TXID (transaction ID) – when you create and download a request to
Publication 1747-UM655B-EN-P - June 2007148 Explicit Message Program ControlThe following figure describes the format and mapping of transactio
Publication 1747-UM655B-EN-P - June 2007Explicit Message Program Control 149Message lengths and slave device types impact transaction message c
Publication 1747-UM655B-EN-P - June 2007Before You Begin 15Processor to I/OThe 1747-SDN interface module can also be used to bridge a DeviceNet
Publication 1747-UM655B-EN-P - June 2007150 Explicit Message Program ControlAs transactions are removed from the queue and response transaction
Publication 1747-UM655B-EN-P - June 2007Explicit Message Program Control 151Explicit Messaging Error CodesError codes have two bytes of data. T
Publication 1747-UM655B-EN-P - June 2007152 Explicit Message Program Control
153 Publication 1747-UM655B-EN-P - June 2007GlossaryBridgeThe module’s support of explicit message transfer.Background Poll RatioSets the frequency of
Publication 1747-UM655B-EN-P - June 2007154 GlossaryHost PlatformThe computer on which the application software is run.I/OAn abbreviation for i
Publication 1747-UM655B-EN-P - June 2007Glossary 155OnlineWhen the host platform is configured and enabled to communicate on the network.Output
Publication 1747-UM655B-EN-P - June 2007156 GlossaryTxAn abbreviation for transmit.
Publication 1747-UM655B-EN-P - June 2007IndexAautomapping 58-62autoscan 103implementing 103important information 112operation 110overview 103Bbefore y
Publication 1747-UM655B-EN-P - June 2007158 IndexMM0/M1 file configuration 121program the module 123module features 40module status indicator 8
Publication 1747-UM655B-EN-P - June 200716 Before You BeginCommunicating with Your DevicesThe 1747-SDN module communicates with a device via st
Publication 1747-UM655B-EN-P - June 2007 161 PN xxxxSupersedes Publication 1747-6.5.5 - August 2000 Copyright © 2007 Rockwell Automation, Inc. All rig
Publication 1747-UM655B-EN-P - June 2007Before You Begin 17Communicating With Other Devices1747-SDN ModuleDeviceNet DevicesInput Data StorageIn
Publication 1747-UM655B-EN-P - June 200718 Before You BeginCommunicating with Your SLC 500 ProcessorThe 1747-SDN module does not send data to y
Publication 1747-UM655B-EN-P - June 2007Before You Begin 191747-SDN Module Data TablesTo manage the flow of data between your SLC 500 processor
Important User InformationSolid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines
Publication 1747-UM655B-EN-P - June 200720 Before You Begin• the size of the input data/output data.• exactly where to map the input or output
Publication 1747-UM655B-EN-P - June 2007Before You Begin 21RSNetWorx for DeviceNet Configuration Dialog MapThe main RSNetWorx for DeviceNet dia
Publication 1747-UM655B-EN-P - June 200722 Before You BeginWhat’s Next?The remaining sections of this manual provide the following information:
23 Publication 1747-UM655B-EN-P - June 2007Chapter 2Planning Your Configuration and Data Mapping Your DevicesWhat This Chapter ContainsThis chapter in
Publication 1747-UM655B-EN-P - June 200724 Planning Your Configuration and Data Mapping Your DevicesBeginning the ProcessPlanning before config
Publication 1747-UM655B-EN-P - June 2007Planning Your Configuration and Data Mapping Your Devices 25Example Network DevicesThis example network
Publication 1747-UM655B-EN-P - June 200726 Planning Your Configuration and Data Mapping Your DevicesRediSTATION Operator Interface Input and Ou
Publication 1747-UM655B-EN-P - June 2007Planning Your Configuration and Data Mapping Your Devices 27Mapping RediSTATION Input Data for an M1 Fi
Publication 1747-UM655B-EN-P - June 200728 Planning Your Configuration and Data Mapping Your DevicesMapping RediSTATION Output Data for an M0 F
Publication 1747-UM655B-EN-P - June 2007Planning Your Configuration and Data Mapping Your Devices 29Photoeye Input Data MappingThe photoelectri
3 Publication 1747-UM655B-EN-P - June 2007Summary of ChangesThe information below summarizes the changes to this manual since the last publication.To
Publication 1747-UM655B-EN-P - June 200730 Planning Your Configuration and Data Mapping Your DevicesMapping Photoeye Input Data for an M1 File
31 Publication 1747-UM655B-EN-P - June 2007Chapter 3Hardware SetupWhat This Chapter ContainsThis chapter describes how to set up the hardware for the
Publication 1747-UM655B-EN-P - June 200732 Hardware SetupFor detailed directions on how to install the 1770-KFD module, see the DeviceNet RS-23
Publication 1747-UM655B-EN-P - June 2007Hardware Setup 33Chassis InstallEstablishing Data Highway Plus CommunicationFor the examples using the
Publication 1747-UM655B-EN-P - June 200734 Hardware SetupDH+ Network ConnectionSee Chapter 5 for information on configuring the SLC 5/04 proces
Publication 1747-UM655B-EN-P - June 2007Hardware Setup 35Configuring the RS-232 Port for the ControlNet InterfaceIf you need to communicate wit
Publication 1747-UM655B-EN-P - June 200736 Hardware SetupDip Switch SettingFor the example application, we used the following configuration to
Publication 1747-UM655B-EN-P - June 2007Hardware Setup 37Bank S1 DIP SwitchesSwitch Setting PositionSwitches 1…3Upper digit of DF1 station addr
Publication 1747-UM655B-EN-P - June 200738 Hardware SetupRefer to the SLC 500 ControlNet RS-232 Interface User Manual, publication 1747-5.34, f
Publication 1747-UM655B-EN-P - June 2007Hardware Setup 39Install the 1747-KFC15 Module in the Chassis1. Remove power from your 1746 I/O chassis
Publication 1747-UM655B-EN-P - June 20074 Summary of Changes
Publication 1747-UM655B-EN-P - June 200740 Hardware SetupRefer to the ControlNet Coax Media Planning and Installation Guide, publication CNET-I
Publication 1747-UM655B-EN-P - June 2007Hardware Setup 41Install the 1747-SDN Module In the ChassisFollow these steps to install your module in
Publication 1747-UM655B-EN-P - June 200742 Hardware SetupConnect the 1747-SDN Module to the DeviceNet NetworkFollow these steps to connect your
Publication 1747-UM655B-EN-P - June 2007Hardware Setup 43For additional information about installing the 1747-SDN module, see the 1747-SDN Devi
Publication 1747-UM655B-EN-P - June 200744 Hardware SetupSee Chapter 2 of the RediSTATION Operator Interface User Manual, publication 2705-UM00
Publication 1747-UM655B-EN-P - June 2007Hardware Setup 45Top View of Series 9000 PhotoeyeFor detailed directions, see the instructions that cam
Publication 1747-UM655B-EN-P - June 200746 Hardware SetupWhat’s Next?The next step is to configure the 1747-SDN module and perform I/O data map
47 Publication 1747-UM655B-EN-P - June 2007Chapter 4Configuring the DeviceNet NetworkWhat This Chapter ContainsThis chapter describes how to configure
Publication 1747-UM655B-EN-P - June 200748 Configuring the DeviceNet NetworkUse RSLinx Software to Configure the DeviceNet DriverFollow these s
Publication 1747-UM655B-EN-P - June 2007Configuring the DeviceNet Network 494. Select the Allen-Bradley 1770-KFD driver.The Driver Configuratio
5 Publication 1747-UM655B-EN-P - June 2007Table of ContentsPrefaceIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Publication 1747-UM655B-EN-P - June 200750 Configuring the DeviceNet NetworkUsing RSNetWorx for DeviceNet Software to Configure the 1747-SDN Mo
Publication 1747-UM655B-EN-P - June 2007Configuring the DeviceNet Network 514. Click Online on the toolbar.A list of the available drivers in
Publication 1747-UM655B-EN-P - June 200752 Configuring the DeviceNet Network6. Click OK to upload the devices and go online.RSNetWorx for Devic
Publication 1747-UM655B-EN-P - June 2007Configuring the DeviceNet Network 53If 00 appears to the right of the 1747-SDN icon and you do not need
Publication 1747-UM655B-EN-P - June 200754 Configuring the DeviceNet Network3. Select the 1770-KFD driver.The devices on the network appear in
Publication 1747-UM655B-EN-P - June 2007Configuring the DeviceNet Network 55Configure the I/O DevicesFollow these steps to configure the I/O de
Publication 1747-UM655B-EN-P - June 200756 Configuring the DeviceNet Network3. Click Upload.After uploading, the following dialog appears.4. Ve
Publication 1747-UM655B-EN-P - June 2007Configuring the DeviceNet Network 577. Click the double arrow to add the photoeye and RediSTATION ope
Publication 1747-UM655B-EN-P - June 200758 Configuring the DeviceNet NetworkThe Edit I/O Parameters dialog appears for the RediSTATION operator
Publication 1747-UM655B-EN-P - June 2007Configuring the DeviceNet Network 591. Double-click the 1747-SDN module icon and select the Input tab.2
Publication 1747-UM655B-EN-P - June 20076 Table of ContentsChapter 5Communicating with the DeviceNet Network from Another NetworkWhat This Chap
Publication 1747-UM655B-EN-P - June 200760 Configuring the DeviceNet NetworkRecall from Chapter 2 that the START button is bit 1 and the STOP b
Publication 1747-UM655B-EN-P - June 2007Configuring the DeviceNet Network 615. Select the Output tab.6. Select M File in the Memory field.7. Hi
Publication 1747-UM655B-EN-P - June 200762 Configuring the DeviceNet NetworkDownload and Save Your Configuration1. Click the Scanlist tab and t
63 Publication 1747-UM655B-EN-P - June 2007Chapter 5Communicating with the DeviceNet Network from Another NetworkWhat This Chapter ContainsThis chapte
Publication 1747-UM655B-EN-P - June 200764 Communicating with the DeviceNet Network from Another NetworkAdditional ResourcesThese documents con
Publication 1747-UM655B-EN-P - June 2007Communicating with the DeviceNet Network from Another Network 65The SLC 500 chassis used for these exam
Publication 1747-UM655B-EN-P - June 200766 Communicating with the DeviceNet Network from Another NetworkConfigure the Ethernet Devices DriverTo
Publication 1747-UM655B-EN-P - June 2007Communicating with the DeviceNet Network from Another Network 67You are prompted to choose a name for t
Publication 1747-UM655B-EN-P - June 200768 Communicating with the DeviceNet Network from Another Network6. Click Accept and then OK.The new dri
Publication 1747-UM655B-EN-P - June 2007Communicating with the DeviceNet Network from Another Network 692. From the Communication menu, choose
Publication 1747-UM655B-EN-P - June 2007Table of Contents 7Appendix C1747-SDN Module Firmware HistoryPurpose . . . . . . . . . . . . . . . . .
Publication 1747-UM655B-EN-P - June 200770 Communicating with the DeviceNet Network from Another Network8. Click OK.You are prompted to enter a
Publication 1747-UM655B-EN-P - June 2007Communicating with the DeviceNet Network from Another Network 711. Start RSNetWorx for DeviceNet softwa
Publication 1747-UM655B-EN-P - June 200772 Communicating with the DeviceNet Network from Another NetworkThe Browse for network dialog appears.
Publication 1747-UM655B-EN-P - June 2007Communicating with the DeviceNet Network from Another Network 73You are now online to the DeviceNet net
Publication 1747-UM655B-EN-P - June 200774 Communicating with the DeviceNet Network from Another Network2. From the Communication menu, choose
Publication 1747-UM655B-EN-P - June 2007Communicating with the DeviceNet Network from Another Network 756. Expand your DH+ driver (AB_KT-1 abov
Publication 1747-UM655B-EN-P - June 200776 Communicating with the DeviceNet Network from Another Network1. Start RSNetWorx for DeviceNet softwa
Publication 1747-UM655B-EN-P - June 2007Communicating with the DeviceNet Network from Another Network 77The Browse for network dialog appears.
Publication 1747-UM655B-EN-P - June 200778 Communicating with the DeviceNet Network from Another NetworkYou are now online to the DeviceNet net
79 Publication 1747-UM655B-EN-P - June 2007Chapter 6Creating and Running the Example Application ProgramWhat This Chapter ContainsThis chapter describ
Publication 1747-UM655B-EN-P - June 20078 Table of Contents
Publication 1747-UM655B-EN-P - June 200780 Creating and Running the Example Application ProgramInstall the SoftwareFollow these steps to instal
Publication 1747-UM655B-EN-P - June 2007Creating and Running the Example Application Program 812. From the File menu, choose New.The Select Pro
Publication 1747-UM655B-EN-P - June 200782 Creating and Running the Example Application ProgramDownload and Run the ProgramYou cannot go online
Publication 1747-UM655B-EN-P - June 2007Creating and Running the Example Application Program 834. Change the SLC 500 processor mode to Run afte
Publication 1747-UM655B-EN-P - June 200784 Creating and Running the Example Application ProgramDownload and Run the Program via an Ethernet Net
Publication 1747-UM655B-EN-P - June 2007Creating and Running the Example Application Program 855. Double-click the O0 - OUTPUT file under the D
Publication 1747-UM655B-EN-P - June 200786 Creating and Running the Example Application ProgramDownload and Run the Program via a DH+ NetworkFo
Publication 1747-UM655B-EN-P - June 2007Creating and Running the Example Application Program 876. Double-click the O0 - OUTPUT file under the D
Publication 1747-UM655B-EN-P - June 200788 Creating and Running the Example Application Program
89 Publication 1747-UM655B-EN-P - June 2007Chapter 7TroubleshootingThe 1747-SDN interface module is provided with status diagnostic indicators on its
9 Publication 1747-UM655B-EN-P - June 2007PrefaceIntroductionThis user manual is designed to provide you enough information to get a small example app
Publication 1747-UM655B-EN-P - June 200790 TroubleshootingNetwork Status IndicatorThe bicolor (green/red) network status indicator (NET) provid
Publication 1747-UM655B-EN-P - June 2007Troubleshooting 91Numeric DisplayNumeric CodeDescription Corrective Action0…63 Normal operation. The nu
Publication 1747-UM655B-EN-P - June 200792 Troubleshooting86 Device is producing zero length data (idle state) while module is in Run mode.Chec
93 Publication 1747-UM655B-EN-P - June 2007Chapter 8DeviceNet Explicit MessagingDeviceNet Explicit Message Instruction OverviewThe DeviceNet Explicit
Publication 1747-UM655B-EN-P - June 200794 DeviceNet Explicit MessagingDeviceNet Explicit Message (DEM)This is an output instruction that lets
Publication 1747-UM655B-EN-P - June 2007DeviceNet Explicit Messaging 95Parameters for Target Device on the General Tab• Message Timeout(x1 sec)
Publication 1747-UM655B-EN-P - June 200796 DeviceNet Explicit Messaging• Class (hex)/(dec)Possible Classes are 0…FF (hex). See Volume 1 of the
Publication 1747-UM655B-EN-P - June 2007DeviceNet Explicit Messaging 97• Abort bit AB (word 0, bit 8) lets you abort an executing DEM instructi
Publication 1747-UM655B-EN-P - June 200798 DeviceNet Explicit MessagingScanner Status, Error, and Error Description on the General TabThe error
Publication 1747-UM655B-EN-P - June 2007DeviceNet Explicit Messaging 99Any time the error code is non-zero, the DEM error (ER) bit is set.CIP R
Comments to this Manuals