For this reference information: See page: Specifications Before you install your module you must know how to: • program and operate an Allen-Bradley PLC processor • install and configure devices on your DeviceNet network AB PLCs Publication 1771-IN014B-EN-P - September 2001...
Page 2
In no event will Allen-Bradley be responsible or liable for indirect or consequential damage resulting from the use or Identifies information that is critical for application of these products.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Prevent Electrostatic Discharge This equipment is sensitive to electrostatic discharge ATTENTION ATTENTION which can cause internal damage and affect normal operation. Follow these guidelines when you handle this equipment: • touch a grounded object to discharge potential static •...
Page 4
DeviceNet Scanner Module Catalog Number 1771-SDN/C Module Compatibility and The 1771-SDN/C DeviceNet Scanner Module is fully compatible with the Series A and Series B versions. You can use the Series C version as Maintenance Requirements a spare or replacement module with one requirement: you must change the postion of Switch 5 to the off or “0”...
Page 5
DeviceNet Scanner Module Catalog Number 1771-SDN/C Other Features Change of State Change of state enables the scanner module to perform a scan: • whenever a network data change occurs, or • at a user-configurable heartbeat rate Because data is only sent on an as-needed basis, this feature increases system performance by reducing network traffic.
Page 6
DeviceNet scanner node address, status and/or errors for Channel 2. DeviceNet Port 2 - use the color-coded header to wire your module. Allen-Bradley 1771-SDN 20275 Front of Module 20274 Left Side of Module Publication 1771-IN014B-EN-P - September 2001...
Page 7
DeviceNet Scanner Module Catalog Number 1771-SDN/C Series A Channel, Port and Switch Identification The Series A version of this module (1771-SDN) uses different channel, port and switch identification as shown in the following figure: Multi-position Switches- use to set the data rate, chassis addressing mode and scanner node address for each channel.
Page 8
DeviceNet Scanner Module Catalog Number 1771-SDN/C Software and Hardware Software Requirements Requirements Before you intall the scanner module, make sure you have the following software: • personal computer with Microsoft Windows™ 95 or later operating system • RSNetWorx for DeviceNet software, version 2.22 or later •...
Page 9
DeviceNet Scanner Module Catalog Number 1771-SDN/C • Remote I/O Chassis linked to ControlNet with a 1771-ACN(R) running in the leftmost slot Do not use the 1771-SDN Scanner Module with the following: • Chassis configured for complementary I/O • Remote I/O chassis connected to a preceding chassis using a 1771-SN Sub I/O Scanner Module The 1771-SDN Scanner Module fits in any slot of the IMPORTANT...
DeviceNet Scanner Module Catalog Number 1771-SDN/C Set the Data Rate Switches To set the DeviceNet data rate switches for Channels 1 and 2: for Channels 1 and 2 1. Locate the switchbank labeled “Channel 1” on the left side of the module.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Note: The scanner module consumes/produces 8 bits of discrete output/input for the processor connection. Therefore, the scanner module cannot be placed next to a 16-point module when using 1-slot addressing. I/O Chassis Addressing Mode Switch Position Note Your Mode...
Page 12
DeviceNet Scanner Module Catalog Number 1771-SDN/C 5. Repeat steps 1–3 to set the scanner node address for Channel 2, using the switchbank labeled “Channel 2”. Adjust the switches to your desired node address setting. The node address setting for DeviceNet Channel 1 must IMPORTANT not conflict with the node address of any other device on the network.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Install Your Module into Before you insert the module into the chassis, set all switches in accordance with the requirements of your networks. You must set the the Chassis switches before you install the the 1771-SDN Scanner Module or it will not function properly.
DeviceNet Scanner Module Catalog Number 1771-SDN/C 3. Insert the 1771-SDN Scanner Module into the slot you have selected. Locking Bar 20278 4. Apply firm, even pressure to seat the module in the I/O chassis backplane connectors. 5. Swing the locking bar down until locked in place to make sure that you have secured the module in the slot.
Page 15
DeviceNet Scanner Module Catalog Number 1771-SDN/C 1. Connect the DeviceNet drop line to the linear plug, by matching the wire insulation colors to the colors shown on the label: Module label shows wiring color scheme: +24V RED Can_H WHITE Ten-pin Linear Drain/Shield DeviceNet...
DeviceNet Scanner Module Catalog Number 1771-SDN/C How Your Module The 1771-SDN scanner module uses four methods to transfer data, status and command information between the scanner and the PLC-5: Communicates with the PLC-5 Processor • DIO points for high-speed discrete outputs •...
Page 17
DeviceNet Scanner Module Catalog Number 1771-SDN/C control files for each of the block transfer instructions when an integer file is used. This is not necessary when a control block file is a BT data type. To make sure the instruction is reset after the block transfer completes and recycles, you must use enable bits as the conditions on each rung with the PLC-5.
Page 18
DeviceNet Scanner Module Catalog Number 1771-SDN/C When using rungs like those in the preceding figure, the processor alternates between the BTR and the BTW, waiting to request the next block transfer until the previous block transfer is completed. When only one block transfer is active at a time, it is considered a single-threaded block transfer.
Page 19
DeviceNet Scanner Module Catalog Number 1771-SDN/C Accessed Block Scanner Output Scanner Output Data Table Transfer Size Block DeviceNet Messages Word 0 – Module Command Register Word 62 words Block 62 Words 1–61 61 words Block 61 Words 62–122 60 words Block 60 Words 123–182 59 words...
Page 20
DeviceNet Scanner Module Catalog Number 1771-SDN/C The following table outlines the module command register’s bit numbers and descriptions. Module Command Register - Word 0, Block 62 Bits Operating Mode Operating Mode Description Number DeviceNet Channel 1 Idle in idle mode The scanner does not map output data to the devices, but keeps network connections to devices open so device failures can be detected.
Page 21
DeviceNet Scanner Module Catalog Number 1771-SDN/C Use BTR to Upload Input Data from the Scanner The PLC-5 uploads input data from the scanner using block transfer read instructions over the 1771 backplane. The scanner interprets BTRs of length 1 through 50 and 62 words as being from the first block of the scanner input table.
Page 22
DeviceNet Scanner Module Catalog Number 1771-SDN/C To reduce block transfer time and increase system performance, use only the words you need. Use the RSNetWorx for DeviceNet software to map data from a DeviceNet node into the scanner input table. Data from a DeviceNet node can be split and put into as many as four different locations in the scanner input table.
Page 23
DeviceNet Scanner Module Catalog Number 1771-SDN/C Module Status Register - Word 0, Block 62 Bits Operating Mode Operating Mode Description Number DeviceNet Channel 1 in idle mode Idle The scanner does not map output data to the devices, but keeps network DeviceNet Channel 1 in run mode 00 - 01 connections to devices open so device failures can be detected.
Page 24
DeviceNet Scanner Module Catalog Number 1771-SDN/C Device Active Table The Device Active Table is located in words 0–7 of a 51 word BTR. The scanner assigns one bit of the first 128 bits to each device on the networks. The scanner assigns one bit to consecutive Device Addresses.
DeviceNet Scanner Module Catalog Number 1771-SDN/C • DeviceNet 2 Scan Counter (word 17) – the scanner increments a one-word counter whenever a scan of the DeviceNet 2 devices is completed. The counter rolls over when it reaches its maximum value. •...
DeviceNet Scanner Module Catalog Number 1771-SDN/C Clear the Scanner Module’s Scan List To clear the scanner module’s scan list, follow these procedures: 1. Remove power from the I/O chassis. If you insert or remove the scanner module with WARNING WARNING power applied to this module or any device on the network, an electrical arc can occur.
Page 27
DeviceNet Scanner Module Catalog Number 1771-SDN/C Use the Explicit Message Program Control feature to: • transmit configuration data from your scanner module to its slave devices on your DeviceNet network • receive status and diagnostics from these devices on your DeviceNet network •...
Page 28
DeviceNet Scanner Module Catalog Number 1771-SDN/C 2. The scanner module transmits the Explicit Message Request to the slave device over the DeviceNet network. 3. The slave device transmits the Explicit Message Response back to the scanner and is queued into a block transfer buffer. 4.
Page 29
DeviceNet Scanner Module Catalog Number 1771-SDN/C The transaction block is divided into two parts: • transaction header – contains information that identifies the transaction to the scanner and processor • transaction body – in a request, this contains the DeviceNet Class, Instance, Attribute and Service Data portion of the transaction.
Page 30
DeviceNet Scanner Module Catalog Number 1771-SDN/C • TXID (transaction ID) – when you create and download a request to the scanner, the processor’s ladder logic program TXID cmd/status word 0 Transaction assigns a TXID to the transaction. This is a one-byte integer in port size word 1...
Page 31
DeviceNet Scanner Module Catalog Number 1771-SDN/C The following figure describes the format and mapping of transaction blocks for request and response messages in the scanner module: Format of 64-word Block Transfer Write Format of 64-word Block Transfer Read for Explicit Message Request for Explicit Message Response TXID command...
Page 32
DeviceNet Scanner Module Catalog Number 1771-SDN/C Depending on the network load, the scanner could take a few seconds to complete the request. When a response is loaded, bit 15 of the module status register is set to 1. The program may have to poll the scanner module a number of times before the scanner returns a Response Transaction Block.
Page 33
DeviceNet Scanner Module Catalog Number 1771-SDN/C Explicit Message Program Control Limitations • The processor is always the DeviceNet client and the slave is always the DeviceNet server. • A maximum of ten Explicit Message Request Transaction Blocks with the execute command can be queued to the scanner module at any time.
Page 34
DeviceNet Scanner Module Catalog Number 1771-SDN/C • If a slave device returns a DeviceNet error in response to the request downloaded from the processor, the scanner recognizes the error as a successful transaction (status code =1). A failure to respond to the request within the number of retries or timeout period specified for the Explicit Message Connection is recognized by the scanner module as an error.
DeviceNet Scanner Module Catalog Number 1771-SDN/C Troubleshoot Your Module The bicolor (green/red) module status indicator displays device status. It indicates whether the device has power and is functioning properly. If your indicator is: Then: Take this action: There is no power applied to Verify power connections and the module.
Page 36
DeviceNet Scanner Module Catalog Number 1771-SDN/C Top part of module Numeric Description Take this action Code 0 - 63 Normal operation. The numeric display None. indicates the 1771-SDN’s node address on the DeviceNet network. Module failed Duplicate Node Address Change the module channel address to check.
Page 37
DeviceNet Scanner Module Catalog Number 1771-SDN/C Numeric Description Take this action Code • Slave device is transmitting Data size was incorrect for this device at runtime. incorrect length data. • Verify device is not configured for variable poll connection size. •...
Page 38
DeviceNet Scanner Module Catalog Number 1771-SDN/C The following information applies when operating this Informations sur l’utilisation de cet équipement en equipment in hazardous locations: environnements dangereux : Products marked “CL I, DIV 2, GP A, B, C, D” are Les produits marqués "CL I, DIV 2, GP A, B, C, D" ne suitable for use in Class I Division 2 Groups A, B, C, D, conviennent qu’à...
DeviceNet Scanner Module Catalog Number 1771-SDN/C Specifications Module Location 1771-A1B through -A4B or later I/O chassis Module Defaults Node Address – 63 Baud Rate – 125 Kbits/s Power Consumption - Backplane Current 5Vdc, 0.8A 24Vdc, 50mA per channel Class 2 - DeviceNet Isolation Voltage Optical Isolation between backplane and DeviceNet channel,...
Specifications - Continued Certifications UL Listed Industrial Control Equipment. Certified for (when product is marked) US and Canada UL Listed for Class I, Division 2 Groups A, B, C, D Hazardous Locations. Certified for US and Canada European Union 89/336/EEC EMC Directive, compliant with: EN 50081-2;...