Installation Instructions DeviceNet Scanner Module (Catalog Number 1747-SDN/B) Contents Use this document as a guide when installing the 1747-SDN/B scanner module. See page prevent Electrostatic Discharge understand compliance to European Union Directives identify related publications identify scanner module features prepare for module installation install the scanner module into the chassis connect the scanner module to the DeviceNet drop line...
Page 2
1747-SDN DeviceNet Scanner Module Installation Instructions The slave mode function has the following variations: The scanner is in: When: Null Mode it contains an empty or disabled scan list (out-of- box default) Master Mode it serves as a master to one or more slaves but is not simultaneously serving as a slave to another master Slave Mode...
Low Voltage, by applying the safety requirements of EN 61131–2 Programmable Controllers, Part 2 – Equipment Requirements and Tests. For specific information required by EN 61131-2, see the appropriate sections in this publication, as well as these Allen-Bradley publications: Publication Publication number Industrial Automation Wiring and Grounding Guidelines 1770-4.1...
1747-SDN DeviceNet Scanner Module Installation Instructions Identify Related For software configuration information, refer to your Publications DeviceNetManager Software User Manual (publication number 1787-6.5.3) and your 1747-SDN Scanner Configuration Manual (publication number 1747-6.5.2). This icon is used when a For planning and installation information, refer to the DeviceNet related publication is Cable System Planning and Installation Manual (publication number referenced.
Page 5
1747-SDN DeviceNet Scanner Module Installation Instructions Series A Module Features The Series A version of this module (1747-SDN) contains the following features: DH-485 port different wiring label five-pin linear plug DeviceNet STATUS MODULE NET ADDRESS/ERROR DH485 port Five-pin linear Wiring Label plug inserted Color Codes into DeviceNet...
1770-KFD RS-232 DeviceNet Adapter or 1784-PCD DeviceNet PC Card SLC 1746 chassis with SLC 5/02, 5/03 or 5/04 processor Before you install your module you must know how to: program and operate an Allen-Bradley SLC 500 programmable controller install and configure the devices on your DeviceNet...
1747-SDN DeviceNet Scanner Module Installation Instructions Install the Module Into the To install your module into the chassis: Chassis 1. Turn off the chassis power supply. ATTENTION: Do not install the 1747-SDN Scanner Module with the chassis power supply on. Installing the module with the chassis power supply on may damage the module.
1747-SDN DeviceNet Scanner Module Installation Instructions Connect the Module to the To connect your module to the DeviceNet drop line: DeviceNet Drop Line 1. Turn off the network power supply. ATTENTION: Do not wire the 1747-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.
1747-SDN DeviceNet Scanner Module Installation Instructions Apply Chassis Power When you apply chassis power, the module numeric indicators cycle through the following displays: DeviceNet Module 1. Seven-segment lamp test (88) numeric STATUS indicators MODULE 2. Firmware major revision (01 through 7F hexadecimal) 3.
Page 10
1747-SDN DeviceNet Scanner Module Installation Instructions SLC Memory Configuration ID Code The ID code for the 1747-SDN scanner module is 13606. Use this For More Information... code to configure the memory of your SLC 5/02, 5/03 or 5/04 processor. Refer to the documentation supplied with your Advanced Programming Software User Manual for additional information on module ID codes and their use.
1747-SDN DeviceNet Scanner Module Installation Instructions Program the Module Using The M0 and M1 files are data files that reside in the module. There is the SLC M0 and M1 Files no image for these files in the processor memory. The M0 file is a module output file and the M1 file is a module input file.
Page 12
1747-SDN DeviceNet Scanner Module Installation Instructions To show the state of the M0 or M1 addressed bit, transfer the state to an internal processor bit. This is illustrated below, where an internal processor bit is used to indicate the true/false state of a rung. M0:3.0 EQUAL Source A...
Page 13
1747-SDN DeviceNet Scanner Module Installation Instructions The COP instruction below copies six words of data from an M1 data file in a module positioned in slot four to an integer file (N1:0). This technique is used to monitor the contents of an M0 or M1 data file indirectly, in a processor data file.
1747-SDN DeviceNet Scanner Module Installation Instructions The following diagram illustrates another economizing technique. The COP instruction addresses an M1 file, adding approximately 4.29 ms to the scan time if you are using a 5/02, Series B processor. You can save scan time by making this rung true only periodically. For example, you can use a clock bit S:4/8 (clock bits are discussed in the programming manual).
Page 15
1747-SDN DeviceNet Scanner Module Installation Instructions Module Status Register The module status register is located at word 0 in the input image area for the slot. Bits 0–5 echo back to the processor, the current state of bits 0–5 of the module command register. The echoes verify that the commands were executed.
Page 16
1747-SDN DeviceNet Scanner Module Installation Instructions Status Word I:s.0 Operating Mode Description o e e Operating Mode 1 = run mode, 0 = idle mode (echoed The scanner module maps output data from its scanner output table (M0) and dis- from the module command register) crete outputs to each device on the network.
Page 17
1747-SDN DeviceNet Scanner Module Installation Instructions The first 150 words are used for data transfer from the module. The remaining 106 words are reserved for: node status scan counter device idle table device failure table auto verify table explicit message program control For a detailed description of the mapping of input and output image tables, refer to page 9.
1747-SDN DeviceNet Scanner Module Installation Instructions Auto Verify Failure Table Words 220 through 223 in the M1 file are used for the auto verify failure table. The auto verify failure table is used to verify that data size received from the device matches the setting in the module input data map.
Page 19
1747-SDN DeviceNet Scanner Module Installation Instructions Command Word 0:S.0 Operating Mode Description o e e Operating Mode The scanner module maps output data from its scanner output table (M0) and discrete 1 = run mode, 0 = idle mode outputs to each device on the network. Inputs are received and mapped into the scanner input table (M1) and discrete inputs.
1747-SDN DeviceNet Scanner Module Installation Instructions Explicit Message Program Use the Explicit Message Program Control feature to configure Control device parameters on your DeviceNet network via the M0 and M1 files in the SLC processor that is controlling these devices. You can use Explicit Message Program Control only with devices that are slaves of your 1747-SDN Scanner Module.
Page 21
1747-SDN DeviceNet Scanner Module Installation Instructions 1. Format an M0 file transfer in the processor to send an Explicit Message Request to the scanner module (download). 2. The scanner module transmits the Explicit Message Request to the slave device over the DeviceNet network. 3.
Page 22
1747-SDN DeviceNet Scanner Module Installation Instructions transaction body – in a request, this contains the DeviceNet Class, Instance, Attribute and Service Data portion of the transaction. In a response, this contains only the response message. Each of the data attributes in the transaction header are one byte in length: command/status –...
Page 23
1747-SDN DeviceNet Scanner Module Installation Instructions For each upload, the status code provides the processor with status on the device and its response: Status Code Description Ignore transaction block (block empty) Transaction completed successfully Transaction in progress (not ready) Error – slave not in scan list Error –...
Page 24
1747-SDN DeviceNet Scanner Module Installation Instructions The following figure describes the format and mapping of transaction blocks for request and response messages in the scanner module: Format of 32-word M0 Transfer File Format of 32-word M1 Transfer File for Explicit Message Request for Explicit Message Response TXID command...
Page 25
1747-SDN DeviceNet Scanner Module Installation Instructions Message lengths and slave device types impact transaction message completion times. If the processor has queued multiple Explicit Message Transactions to the scanner module for multiple slave devices, the transactions with the slaves may not complete in the order in which the requests were received.
Page 26
1747-SDN DeviceNet Scanner Module Installation Instructions As transactions are removed from the queue and response transaction blocks are returned to the processor, additional transaction blocks can be issued in their place, as long as the total does not exceed ten. The scanner module supports one transaction block per upload and download.
1747-SDN DeviceNet Scanner Module Installation Instructions Troubleshoot the Module The bicolor (green/red) module status indicator (MODULE) and Network displays module status. It indicates whether the module has power and is functioning properly. Table 1 Module Status Troubleshooting DeviceNet If MODULE Then: Take this action: STATUS...
Page 28
1747-SDN DeviceNet Scanner Module Installation Instructions Your module uses numeric displays to indicate diagnostic information about the status of your module. The display flashes at 1 DeviceNet second intervals. Table 3 summarizes the meanings of the numeric Node Address STATUS and Status codes.
Page 29
1747-SDN DeviceNet Scanner Module Installation Instructions Numeric Code: Description: Take this action: Device is producing idle state data while the scanner is Check device configuration/slave node status. in Run Mode. Available for allocation. Scanner has not yet been Monitor scanner to determine if error code clears detected by allocated master, or slave mode is when master detects scanner.
Philippines Poland Portugal Puerto Rico Qatar Romania Russia–CIS Saudi Arabia Singapore Slovakia Slovenia South Africa, Republic Spain Sweden Switzerland Taiwan Thailand Turkey United Arab Emirates United Kingdom United States Uruguay Venezuela Yugoslavia Allen-Bradley Headquarters, 1201 South Second Street, Milwaukee, WI 53204 USA, Tel: (1) 414 382-2000 Fax: (1) 414 382-4444 Publication 1747-5.8 – July 1997 PN 955129-69 Copyright 1997 Allen-Bradley Company, Inc.
Need help?
Do you have a question about the DeviceNet 1747-SDN/B and is the answer not in the manual?
Questions and answers